/* ===========================
   Sustainability Page Styles
   Equus Energy – Full Brand Alignment
   Updated to match Who We Are theme (brand: #ed2e2e, brand-2: #b61f1f)
   =========================== */

/* ===========================
   Theme Variables (Brand Aligned)
   =========================== */
: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);
}

html[data-theme="dark"] {
  --glass-bg: rgba(0, 0, 0, 0.2);
  --glass-border: rgba(255, 255, 255, 0.1);
}

/* ===========================
   Container & Section Header
   =========================== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 2;
}

.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);
}

.sub-tag {
  display: inline-block;
  padding: 4px 16px;
  background: color-mix(in srgb, var(--brand) 10%, transparent);
  color: var(--brand);
  border-radius: 30px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 15px;
}

/* ===========================
   Hero – Brand Colors
   =========================== */
.sust-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0b0f14 0%, #1a1f26 100%);
  overflow: hidden;
  padding: 120px 20px;
}

.sust-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
   
    url('../assets/Image-Equus/Equus-Pic-Mocks/img898.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); }
}

.sust-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;
}

@keyframes floatBadge {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

.sust-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;
}

.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: rgba(255, 255, 255, 0.8);
  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); }
}

/* ===========================
   Sustainability Policy – Brand
   =========================== */
.sust-policy {
  padding: 120px 0;
  background: var(--bg);
  position: relative;
  overflow: hidden;
}

.policy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}

.policy-text h2 {
  font-size: clamp(2rem, 5vw, 2.8rem);
  margin-bottom: 25px;
  color: var(--text);
}

.lead {
  font-size: 1.2rem;
  line-height: 1.8;
  color: var(--muted);
  margin-bottom: 25px;
  font-weight: 400;
}

.policy-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 40px;
}

.policy-buttons .btn {
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 700;
}

.policy-buttons .btn-primary {
  background: var(--brand-gradient);
  color: white;
  border: none;
}

.policy-buttons .btn-outline {
  background: transparent;
  border: 2px solid var(--brand);
  color: var(--brand);
}

.policy-buttons .btn-outline:hover {
  background: var(--brand);
  color: white;
}

.policy-visual {
  position: relative;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.policy-visual img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.6s ease;
}

.policy-visual:hover img {
  transform: scale(1.05);
}

.policy-badge {
  position: absolute;
  bottom: 30px;
  left: 30px;
  right: 30px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 20px 25px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 15px;
  color: black;
  font-weight: 700;
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.policy-badge i {
  font-size: 1.8rem;
  color: var(--brand);
}

/* ===========================
   Commitments (Axios) – Brand
   =========================== */
.sust-commitments {
  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;

  color: white
}

.commitments-loading,
.commitments-error {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 30px;
}

.commitments-loading i { 
  color: white; 
  font-size: 3rem; 
  margin-bottom: 20px; 
}

.commitments-error i { 
  color: #ff6b6b; 
  font-size: 3rem; 
  margin-bottom: 20px; 
}

.commitments-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.commitment-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 35px 30px;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: var(--transition-smooth);
  color: white;
  cursor: pointer;
}

.commitment-card:hover {
  transform: translateY(-15px);
  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);
}

.commitment-icon {
  width: 80px;
  height: 80px;
  background: rgba(255,255,255,0.2);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 2.2rem;
  color: white;
}

.commitment-card h3 {
  font-size: 1.4rem;
  margin-bottom: 15px;
  color: white;
}

.commitment-card p {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.9);
  line-height: 1.6;
}

/* ===========================
   Climate Action – Brand
   =========================== */
.sust-climate {
  padding: 120px 0;
  background: var(--surface);
}

.climate-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  margin-top: 50px;
}

.climate-card {
  background: var(--surface-2);
  padding: 45px 35px;
  border-radius: 40px;
  border: 1px solid color-mix(in srgb, var(--muted) 15%, transparent);
  transition: var(--transition-smooth);
}

.climate-card:hover {
  transform: translateY(-15px);
  border-color: var(--brand);
  box-shadow: var(--shadow-hover);
}

.climate-icon {
  width: 80px;
  height: 80px;
  background: var(--brand-gradient);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
}

.climate-icon i {
  font-size: 2.2rem;
  color: white;
}

.climate-card h3 {
  font-size: 1.6rem;
  margin-bottom: 20px;
  color: var(--text);
}

.climate-card p {
  font-size: 1rem;
  color: var(--muted);
  margin-bottom: 20px;
  line-height: 1.7;
}

.climate-target {
  display: inline-block;
  padding: 8px 20px;
  background: color-mix(in srgb, var(--brand) 15%, transparent);
  color: var(--brand);
  border-radius: 40px;
  font-size: 0.85rem;
  font-weight: 700;
}

/* ===========================
   Solar & Biodiversity – Brand
   =========================== */
.sust-solar {
  padding: 120px 0;
  background: var(--bg);
}

.solar-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}

.solar-content h2 {
  font-size: clamp(2rem, 5vw, 2.8rem);
  margin-bottom: 25px;
  color: var(--text);
}

.solar-stats {
  display: flex;
  gap: 40px;
  margin: 40px 0;
}

.solar-stat {
  display: flex;
  flex-direction: column;
}

.solar-stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--brand);
  line-height: 1;
}

.solar-stat-unit {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--muted);
  margin-left: 5px;
}

.solar-stat-label {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.solar-visual {
  position: relative;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.solar-visual img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.6s ease;
}

.solar-visual:hover img {
  transform: scale(1.05);
}

.solar-badge {
  position: absolute;
  bottom: 30px;
  left: 30px;
  right: 30px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 20px 25px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 15px;
  color: black;
  font-weight: 700;
}

.solar-badge i {
  color: var(--brand);
  font-size: 1.5rem;
}

.biodiversity-box {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 30px;
  background: linear-gradient(135deg, 
    color-mix(in srgb, var(--brand) 8%, transparent), 
    color-mix(in srgb, var(--brand-2) 5%, transparent));
  padding: 45px;
  border-radius: 40px;
  margin-top: 70px;
  border-left: 10px solid var(--brand);
}

.biodiversity-icon i {
  font-size: 3rem;
  color: var(--brand);
}

.biodiversity-content h4 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--text);
}

.biodiversity-content p {
  font-size: 1.1rem;
  color: var(--text-secondary, #2c3e50);
  line-height: 1.7;
}

html[data-theme="dark"] .biodiversity-content p {
  color: rgba(255,255,255,0.9);
}

/* ===========================
   Environment – Brand Tint
   =========================== */
.sust-environment {
  padding: 120px 0;
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../assets/Image-Equus/img7trv.jpg');
  background-size: cover;
  background-position: center;
  color: white
}


.env-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.env-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 40px 30px;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: var(--transition-smooth);
  text-align: center;
}

.env-card:hover {
  transform: translateY(-15px);
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.4);
}

.env-card i {
  font-size: 2.8rem;
  margin-bottom: 20px;
  color: white;
}

.env-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: white;
}

.env-card p {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.9);
}

.env-handbook {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 30px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 40px;
  border-radius: 40px;
  margin-top: 70px;
  border: 1px solid rgba(255,255,255,0.2);
}

.env-handbook i {
  font-size: 3rem;
  color: white;
}

.env-handbook h4 {
  font-size: 1.4rem;
  margin-bottom: 10px;
  color: white;
}

.env-handbook p {
  color: rgba(255,255,255,0.9);
  margin-bottom: 20px;
}

.env-handbook .btn {
  background: white;
  color: var(--brand);
  border: none;
  padding: 12px 32px;
  border-radius: 50px;
  font-weight: 700;
}

.env-handbook .btn:hover {
  background: rgba(255,255,255,0.9);
  transform: translateY(-3px);
}

/* ===========================
   Social Investment – Brand
   =========================== */
.sust-social {
  padding: 120px 0;
  background: var(--surface);
}

.egilik-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 80px;
}

.egilik-content h3 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: var(--text);
}

.egilik-stats {
  display: flex;
  gap: 40px;
  margin: 30px 0;
}

.egilik-stat {
  display: flex;
  flex-direction: column;
}

.egilik-number {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--brand);
  line-height: 1;
}

.egilik-label {
  font-size: 0.9rem;
  color: var(--muted);
  font-weight: 600;
  margin-top: 5px;
}

.egilik-visual {
  position: relative;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.egilik-visual img {
  width: 100%;
  height: auto;
  display: block;
}

.egilik-badge {
  position: absolute;
  bottom: 30px;
  left: 30px;
  right: 30px;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  padding: 20px;
  color: black;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-weight: 600;
}

.egilik-badge span:first-child {
  color: var(--brand);
  font-size: 1.5rem;
  font-weight: 800;
}

.cip-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 80px;
}

.cip-card {
  background: var(--surface-2);
  padding: 40px 30px;
  border-radius: 30px;
  border: 1px solid color-mix(in srgb, var(--muted) 15%, transparent);
  transition: var(--transition-smooth);
}

.cip-card:hover {
  transform: translateY(-10px);
  border-color: var(--brand);
  box-shadow: var(--shadow);
}

.cip-icon {
  width: 70px;
  height: 70px;
  background: var(--brand-gradient);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
}

.cip-icon i {
  font-size: 2rem;
  color: white;
}

.cip-card h4 {
  font-size: 1.5rem;
  margin-bottom: 20px;
  color: var(--text);
}

.cip-stats {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
  background: var(--surface);
  padding: 15px;
  border-radius: 15px;
}

.cip-stats div span {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--brand);
  margin-right: 8px;
}

.cip-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.cip-tags span {
  background: color-mix(in srgb, var(--brand) 10%, transparent);
  color: var(--brand);
  padding: 6px 16px;
  border-radius: 40px;
  font-size: 0.75rem;
  font-weight: 700;
}

.cip-link {
  display: inline-block;
  margin-top: 25px;
  color: var(--brand);
  font-weight: 700;
  text-decoration: none;
}

.cip-link:hover {
  text-decoration: underline;
}

/* ===========================
   News (Axios) – Brand
   =========================== */
.sust-news {
  margin-top: 60px;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.news-card {
  background: var(--surface-2);
  padding: 30px;
  border-radius: 20px;
  border-left: 8px solid var(--brand);
  transition: var(--transition-smooth);
}

.news-card:hover {
  transform: translateX(10px);
  box-shadow: var(--shadow);
}

.news-date {
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 10px;
  display: block;
}

.news-card h4 {
  font-size: 1.2rem;
  margin-bottom: 12px;
  color: var(--text);
}

.news-card p {
  font-size: 0.9rem;
  color: var(--muted);
}

.news-loading,
.news-error {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 40px;
  background: var(--surface-2);
  border-radius: 20px;
  color: var(--muted);
}

/* ===========================
   Environmental Monitoring – Brand
   =========================== */
.sust-monitoring {
  padding: 100px 0;
  background: var(--surface);
}

.monitoring-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 50px;
  align-items: center;
  background: var(--brand-gradient);
  padding: 50px 60px;
  border-radius: 50px;
  color: white;
}

.monitoring-icon i {
  font-size: 4rem;
  color: white;
}

.monitoring-content h3 {
  font-size: 1.8rem;
  margin-bottom: 20px;
}

.monitoring-content p {
  font-size: 1.1rem;
  margin-bottom: 25px;
  opacity: 0.95;
}

.monitoring-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.monitoring-grid span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.2);
  padding: 10px 22px;
  border-radius: 40px;
  font-size: 0.9rem;
  font-weight: 600;
}

/* ===========================
   Reports (Axios) – Brand
   =========================== */
.sust-reports {
  padding: 120px 0;
  background: var(--bg);
}

.reports-loading,
.reports-error {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px;
  background: var(--surface-2);
  border-radius: 30px;
}

.reports-loading i { 
  color: var(--brand); 
  font-size: 3rem; 
  margin-bottom: 20px; 
}

.reports-error i { 
  color: #dc3545; 
  font-size: 3rem; 
  margin-bottom: 20px; 
}

.reports-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.report-card {
  background: var(--surface-2);
  padding: 35px 30px;
  border-radius: 30px;
  border: 1px solid color-mix(in srgb, var(--muted) 15%, transparent);
  transition: var(--transition-smooth);
}

.report-card:hover {
  transform: translateY(-10px);
  border-color: var(--brand);
  box-shadow: var(--shadow);
}

.report-icon {
  font-size: 2.5rem;
  color: var(--brand);
  margin-bottom: 20px;
}

.report-card h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: var(--text);
}

.report-meta {
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 20px;
  display: block;
}

.report-link {
  color: var(--brand);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.report-link:hover {
  text-decoration: underline;
}

/* ===========================
   Mini Pillars – Brand
   =========================== */
.sust-pillars {
  padding: 80px 0;
  background: var(--surface-2);
}

.pillars-mini-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
}

.pillar-mini {
  background: var(--surface);
  padding: 30px;
  border-radius: 20px;
  text-align: center;
  border: 1px solid color-mix(in srgb, var(--muted) 15%, transparent);
  transition: var(--transition-smooth);
}

.pillar-mini:hover {
  transform: translateY(-5px);
  border-color: var(--brand);
}

.pillar-mini i {
  font-size: 2rem;
  color: var(--brand);
  margin-bottom: 15px;
}

.pillar-mini h4 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: var(--text);
}

.pillar-mini p {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 15px;
}

.pillar-mini a {
  color: var(--brand);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
}

.pillar-mini a:hover {
  text-decoration: underline;
}

/* ===========================
   Policy Document Card – Brand
   =========================== */
.sust-policy-card {
  padding: 80px 0 120px;
  background: var(--bg);
    padding: 120px 0;
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../assets/Image-Equus/img84e.jpg');
  background-size: cover;
  background-position: center;

  color: white;
}

.policy-doc-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 40px;
  align-items: center;
  background: var(--brand-gradient);
  padding: 50px 60px;
  border-radius: 50px;
  color: white;
}

.policy-doc-card i {
  font-size: 2rem;
  color: white;
}

.policy-doc-content h4 {
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.policy-doc-content p {
  font-size: 1.1rem;
  margin-bottom: 25px;
  opacity: 0.95;
}

.policy-doc-content .btn {
  background: white;
  color: var(--brand);
  border: 2px solid white;
  margin-right: 15px;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 700;
}

.policy-doc-content .btn-outline {
  background: transparent;
  color: white;
  border: 2px solid white;
}

.policy-doc-content .btn-outline:hover {
  background: white;
  color: var(--brand);
}
/* ===========================
   Mobile Fixes for Sustainability Page
   =========================== */

@media (max-width: 768px) {
    /* Fix for commitments section background */
    .sust-commitments {
        background-attachment: scroll !important;
        background-size: cover;
        background-position: center;
        position: relative;
    }
    
    .sust-commitments::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
    
        z-index: 1;
        pointer-events: none;
    }
    
    .sust-commitments .container {
        position: relative;
        z-index: 2;
    }
    
    /* Fix for community section background */
    .sust-community {
        background-attachment: scroll !important;
        background-size: cover;
        background-position: center;
        position: relative;
    }
    
    .sust-community::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
  
        z-index: 1;
        pointer-events: none;
    }
    
    .sust-community .container {
        position: relative;
        z-index: 2;
    }
    
    /* Fix for reports section */
    .sust-reports {
        background-attachment: scroll !important;
        background-size: cover;
        background-position: center;
        position: relative;
    }
    
    .sust-reports::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
      
        z-index: 1;
        pointer-events: none;
    }
    
    .sust-reports .container {
        position: relative;
        z-index: 2;
    }
    
    /* Ensure all text is white on dark overlays */
    .sust-commitments .section-header h2,
    .sust-commitments .section-header p,
    .sust-commitments .section-tag,
    .sust-community .section-header h2,
    .sust-community .section-header p,
    .sust-community .section-tag,
    .sust-reports .section-header h2,
    .sust-reports .section-header p,
    .sust-reports .section-tag {
        color: white !important;
    }
    
    /* Fix grids for mobile */
    .commitments-grid,
    .sust-news-grid,
    .reports-grid {
        grid-template-columns: 1fr !important;
        gap: 20px;
    }
    
    /* Fix cards on dark backgrounds */
    .commitment-card,
    .news-card,
    .report-card {
     
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }
    
    /* Loading states */
    .commitments-loading,
    .sust-news-loading,
    .reports-loading,
    .commitments-error,
    .sust-news-error,
    .reports-error {
     
        backdrop-filter: blur(10px);
    }
}

/* Extra small devices */
@media (max-width: 480px) {
    .sust-commitments,
    .sust-community,
    .sust-reports {
        background-position: 70% center !important;
    }
}

/* Tablet devices */
@media (min-width: 769px) and (max-width: 1024px) {
    .sust-commitments,
    .sust-community,
    .sust-reports {
        background-attachment: scroll !important;
    }
}
/* ===========================
   Back to Top – Brand
   =========================== */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 55px;
  height: 55px;
  background: var(--brand-gradient);
  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 color-mix(in srgb, var(--brand) 40%, transparent);
  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 color-mix(in srgb, var(--brand) 60%, transparent);
}

.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) {
  .policy-grid,
  .solar-grid,
  .egilik-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  
  .monitoring-card {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 40px 30px;
  }
  
  .policy-doc-card {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 40px 30px;
  }
  
  .biodiversity-box {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .env-handbook {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .monitoring-grid {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .sust-hero {
    min-height: 90vh;
    padding: 100px 20px;
  }
  
  .hero-stats {
    gap: 30px;
  }
  
  .stat-brick-number {
    font-size: 2rem;
  }
  
  .solar-stats,
  .egilik-stats {
    flex-direction: column;
    gap: 20px;
  }
  
  .policy-buttons,
  .docs-links {
    flex-direction: column;
    align-items: stretch;
  }
  
  .policy-buttons .btn {
    width: 100%;
    text-align: center;
  }
  
  .commitments-grid,
  .climate-grid,
  .env-grid,
  .cip-grid,
  .reports-grid,
  .pillars-mini-grid {
    grid-template-columns: 1fr;
    max-width: 450px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .biodiversity-box {
    padding: 30px 20px;
  }
  
  .env-handbook {
    padding: 30px 20px;
  }
  
  .policy-doc-content .btn {
    margin-right: 0;
    margin-bottom: 10px;
    display: block;
    width: 100%;
  }
}

@media (max-width: 480px) {
  .sust-hero h1 {
    font-size: 2.4rem;
  }
  
  .hero-sub {
    font-size: 1rem;
  }
  
  .hero-stats {
    flex-direction: column;
    gap: 20px;
    width: 100%;
  }
  
  .stat-brick {
    width: 100%;
  }
  
  .section-tag {
    padding: 6px 18px;
    font-size: 0.8rem;
  }
  
  .section-header h2 {
    font-size: 1.8rem;
  }
  
  .climate-card,
  .env-card,
  .cip-card,
  .report-card {
    padding: 30px 20px;
  }
  
  .climate-icon,
  .cip-icon {
    width: 60px;
    height: 60px;
  }
  
  .climate-icon i,
  .cip-icon i {
    font-size: 1.8rem;
  }
  
  .monitoring-card {
    padding: 30px 20px;
  }
  
  .monitoring-icon i {
    font-size: 3rem;
  }
  
  .monitoring-content h3 {
    font-size: 1.5rem;
  }
  
  .back-to-top {
    width: 45px;
    height: 45px;
    bottom: 20px;
    right: 20px;
  }
  
  .back-to-top svg {
    width: 20px;
    height: 20px;
  }
}

/* ===========================
   Dark Theme Adjustments
   =========================== */
html[data-theme="dark"] .sust-policy {
  background: var(--surface);
}

html[data-theme="dark"] .sust-climate {
  background: var(--surface-2);
}

html[data-theme="dark"] .sust-solar {
  background: var(--surface);
}

html[data-theme="dark"] .biodiversity-box {
  background: linear-gradient(135deg, 
    color-mix(in srgb, var(--brand) 15%, var(--surface)),
    color-mix(in srgb, var(--brand-2) 10%, var(--surface-2)));
  border-left-color: var(--brand);
}

html[data-theme="dark"] .biodiversity-content h4,
html[data-theme="dark"] .biodiversity-content p {
  color: white;
}

html[data-theme="dark"] .commitment-card,
html[data-theme="dark"] .env-card {
  background: rgba(0, 0, 0, 0.3);
}

html[data-theme="dark"] .env-handbook {
  background: rgba(0, 0, 0, 0.3);
}

html[data-theme="dark"] .sust-reports {
  background: var(--surface);
}

html[data-theme="dark"] .pillar-mini {
  background: var(--surface-2);
}

/* ===========================
   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;
  }
  
  .sust-hero-bg {
    animation: none;
  }
  
  .hero-badge,
  .hero-scroll,
  .back-to-top svg {
    animation: none;
  }
}

/* ===========================
   Print Styles
   =========================== */
@media print {
  .sust-hero,
  .sust-commitments,
  .sust-environment,
  .sust-monitoring,
  .back-to-top {
    display: none;
  }
  
  .sust-policy,
  .sust-climate,
  .sust-solar,
  .sust-social,
  .sust-reports {
    page-break-inside: avoid;
  }
}