/* --- Sustainability Page Styles --- */
.sustainability-wrapper {
  background-color: #fff;
  /* padding-bottom: 60px; */
  overflow: visible !important;
}

/* Hero Section */
.hero-section {
  padding-top: 40px;
}
.hero-card {
  position: relative;
  width: 100%;
  height: 480px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}
.hero-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  /* background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent); */
  display: flex;
  align-items: flex-end;
  padding: 50px;
}
.hero-overlay h1 {
  color: #fff;
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 700;
  line-height: 1.1;
  margin: 0;
}

/* Intro Text */
.intro-text {
  padding: 40px 100px 40px;
  text-align: left;
  /* background-color: #43a047; */
  margin: 0;
  max-width: 1000px !important;
}
.intro-text p {
  font-size: 18px;
  color: #444;
  line-height: 1.6;
  margin-bottom: 20px;
}
.intro-accent {
  color: #1a2b56;
}

/* ==========================================================================
   SUSTAINABILITY PAGE - STICKY TABS & CARD SYSTEM
   ========================================================================== */

/* Container that limits the stickiness to the cards section only */
.sust-main-sticky-wrapper {
  position: relative;
  overflow: visible; /* CRITICAL: Sticky fails if any parent has overflow: hidden */
}
/* 1. Sticky Tabs Container */
.tabs-container {
  position: sticky; /* Keep tabs visible during scroll */
  top: 0px;
  z-index: 99;
  background: #ffffff;
  padding: 10px 60px;
  margin-bottom: 40px;
  box-shadow: 0 10px 20px -10px rgba(0, 0, 0, 0.05);
}

.sust-tabs {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid #e2e8f0;
  width: 100%;
}

.sust-tab {
  padding: 15px 5px;
  font-size: 14px;
  font-weight: 500; /* Medium weight for cleaner look */
  color: #64748b;
  cursor: pointer;
  transition: all 0.3s ease;
  border-bottom: 3px solid transparent;
  white-space: nowrap;
}

/* Active State - Green highlight from design */
.sust-tab.active {
  color: #1a2b56;
  border-bottom: 3px solid #43a047;
}

/* 2. Enhanced Section Cards */
.sust-section-card {
  display: flex;
  align-items: center;
  gap: 60px;
  padding: 80px;
  border-radius: 12px; /* Matches clean design in reference */
  margin-bottom: 30px;

  /* Critical for smooth scroll: prevents header overlap */
  scroll-margin-top: 180px;
  transition: transform 0.3s ease;
}

/* Card Content Typography */
.sust-card-content {
  flex: 1.2;
}

.sust-card-content h2 {
  font-size: 28px;
  font-weight: 600;
  color: #1a2b56;
  margin-bottom: 25px;
  line-height: 1.35;
}

/* 3. Image Styling */
.sust-card-image {
  flex: 1;
  height: 400px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.sust-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 4. List Styling with Custom Checkmarks */
.sust-list {
  list-style: none;
  padding: 0;
}

.sust-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 18px;
  font-size: 15px;
  color: #4a5568;
  line-height: 1.6;
}

/* Styled Checkmark from reference */
.sust-list li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: #43a047;
  font-weight: 900;
  font-size: 16px;
}

/* ==========================================================================
   MOBILE RESPONSIVENESS
   ========================================================================== */
@media (max-width: 992px) {
  .sust-section-card {
    flex-direction: column !important;
    padding: 40px 24px;
    gap: 30px;
  }

  .sust-card-image {
    width: 100%;
    height: 300px;
  }

  /* Horizontal scroll for tabs on mobile */
  .sust-tabs {
    overflow-x: auto;
    justify-content: flex-start;
    gap: 25px;
    padding-bottom: 5px;
  }

  .sust-tab {
    padding: 10px 0;
  }
}
/* Environmental Protection Grid */
/* Container Spacing & Typography */
.environmental-protection {
  padding: 100px 0;
  background-color: #ffffff; /* Frame background is white */
}

.protection-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 80px;
  margin-bottom: 80px;
}

.header-left h2 {
  font-size: 48px;
  color: #003580; /* Deep Navy from design */
  font-weight: 700;
  line-height: 1.1;
  margin: 10px;
}

.header-right {
  max-width: 600px;
}

.sub-lead {
  font-weight: 700;
  font-size: 18px;
  color: #1a2b56;
  margin-bottom: 12px;
}

.header-desc {
  font-size: 15px;
  color: #4a4a4a;
  line-height: 1.6;
}

/* Base Card Styling */
.protection-card {
  padding: 30px;
  border-radius: 12px;
  min-height: 220px;
  transition: all 0.3s ease-in-out;
  border: 1px solid transparent; /* Required for hover */
}

.protection-icon img {
  width: 28px;
  height: 28px;
  margin-bottom: 20px;
}

.protection-card h4 {
  color: #002d62;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 15px;
  line-height: 1.4;
}

.protection-card p {
  font-size: 13px;
  color: #555555;
  line-height: 1.6;
  margin: 0;
}

/* Specific Card Backgrounds (Static State) */
.protection-card.highlight-card {
  background-color: #e7f1eb; /* Light Sage Green from screenshot */
}

.protection-card.standard-card {
  background-color: transparent; /* Transparent as per design */
}

/* HOVER EFFECTS: Kept as requested */
/* For already green cards, make them slightly darker green on hover */
.protection-card.highlight-card:hover {
  background-color: #ddebe3;
  transform: translateY(-5px);
  border: 1px solid #c4ded0;
}

/* For transparent cards, fade in a light green background on hover */
.protection-card.standard-card:hover {
  background-color: #f2f7f5;
  transform: translateY(-5px);
  border: 1px solid #e7f1eb;
}

/* Grid Layout definitions */
.protection-grid {
  display: grid;
  gap: 20px;
}

/* Row 1 Layout */
.grid-3col {
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 20px; /* Gap between rows */
}

/* Row 2 Layout (This ensures they split 50/50 exactly as shown) */
.grid-2col {
  grid-template-columns: 1fr 1fr;
}

/* Basic mobile responsive fix */
@media (max-width: 768px) {
  .protection-header {
    flex-direction: column;
    gap: 30px;
  }
  .header-left h2 {
    margin: 0;
  }
  .grid-3col,
  .grid-2col {
    grid-template-columns: 1fr;
  }
}

/* Compliance Section Styles */
.compliance-section {
  /* padding: 80px 0; */
  margin-bottom: 80px;
  background-color: #ffffff;
}

.compliance-section .zuari-container {
  /* max-width: 1100px; */
  margin: 0 auto;
}

.search-wrapper {
  position: relative;
  width: 280px;
  display: flex;
  align-items: center;
}

.search-icon-svg {
  position: absolute;
  left: 12px;
  /* Use 'currentColor' if you want it to inherit text color, 
     otherwise it uses the stroke defined in the SVG */
  pointer-events: none;
  z-index: 2;
}

.table-search {
  width: 100%;
  padding: 10px 12px 10px 38px; /* Extra left padding to clear the SVG */
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 14px;
  background-color: #ffffff;
  outline: none;
  transition: border-color 0.2s;
}

.table-search:focus {
  border-color: #003580; /* Changes border to your theme blue on click */
}

/* Optional: Change icon color when the input is focused */
.search-wrapper:focus-within .search-icon-svg path {
  stroke: #003580;
}

.compliance-section h2 {
  font-size: 44px;
  color: #003580;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.compliance-sub {
  font-size: 16px;
  color: #333333;
  margin-bottom: 30px;
  font-weight: 400;
}

/* Table Card Wrapper */
.table-card {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05); /* Subtle depth */
}

/* Table Header (Search/Filter Area) */
.table-header-flex {
  display: flex;
  justify-content: space-between;
  padding: 16px 20px;
  background-color: #ffffff;
  border-bottom: 1px solid #f3f4f6;
}

.search-wrapper {
  position: relative;
  width: 260px;
}

.table-search {
  width: 100%;
  padding: 10px 12px 10px 35px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  font-size: 14px;
  background-color: #ffffff;
  color: #6b7280;
}

/* Fix for the Search Icon alignment */
.search-icon {
  position: absolute;
  left: 12px;
  top: 52%;
  transform: translateY(-50%);
  width: 14px;
  height: 14px;
  filter: grayscale(1) opacity(0.5);
}

.category-select {
  padding: 8px 30px 8px 12px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background-color: #ffffff;
  font-size: 13px;
  color: #374151;
  appearance: none; /* Removes default arrow to match Figma style */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%236B7280'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 12px;
}
/* Update the table column logic */
.compliance-table {
  width: 100%;
  border-collapse: collapse;
  /* table-layout: fixed; Optional: keeps columns strictly consistent */
}

/* Define widths so columns don't 'fly' apart */
.compliance-table th:nth-child(1),
.compliance-table td:nth-child(1) {
  width: 80px;
} /* S.No */
.compliance-table th:nth-child(2),
.compliance-table td:nth-child(2) {
  width: 140px;
} /* Category */
.compliance-table th:nth-child(3),
.compliance-table td:nth-child(3) {
  width: auto;
} /* Document Name */
.compliance-table th:nth-child(4),
.compliance-table td:nth-child(4) {
  width: 200px;
} /* Action Name */

.compliance-table th {
  background-color: #f9fafb;
  text-align: left; /* Header must be left aligned */
  padding: 16px 20px;
  font-size: 11px;
  font-weight: 700;
  color: #003580;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 1px solid #e0e4ec;
}

.compliance-table td {
  padding: 20px;
  border-bottom: 1px solid #f3f4f6;
  font-size: 14px;
  color: #111827;
  text-align: left; /* Changed from right to left for perfect vertical alignment */
  vertical-align: middle;
}

/* Remove the .text-right class or change it to left */
.text-left-align {
  text-align: left !important;
}

.view-link {
  /* color: #003580; */
  text-decoration: none;
  font-weight: 700;
  font-size: 13px;
  display: inline-block;
}

.view-link:hover {
  text-decoration: underline;
}
/* Promise Section */
.promise-section {
  padding: 100px 0;
  background-color: #e0ece6;
}
.promise-flex {
  display: flex;
  gap: 80px;
  align-items: center;
}
.promise-title {
  flex: 1;
}
.promise-content {
  flex: 1.5;
}
.promise-title h2 {
  font-size: 56px;
  color: #003580;
}
.promise-content p {
  font-size: 18px;
  color: #555;
  line-height: 1.7;
}

/* Responsive */
@media (max-width: 992px) {
  .sust-section-card,
  .sust-section-card:nth-child(even) {
    flex-direction: column;
    padding: 30px;
    gap: 30px;
  }
  .sust-card-image {
    width: 100%;
    height: 380px;
  }
  .protection-header,
  .promise-flex {
    flex-direction: column;
    gap: 30px;
  }
  .protection-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .sust-tabs {
    overflow-x: auto;
    gap: 20px;
    justify-content: flex-start;
    display: none;
  }
  .sust-tab {
    white-space: nowrap;
  }
}

@media (max-width: 768px) {
  .protection-grid {
    grid-template-columns: 1fr;
  }
  .hero-card {
    height: 350px;
  }
  .sust-card-image {
    width: 100%;
    aspect-ratio: 16 / 10;
  }
  .protection-header h2,
  .promise-title h2 {
    font-size: 32px;
  }
  .intro-text {
    padding: 40px 40px 40px;
  }
}
