/* sustainability.css */
/* ============================================================
   SUSTAINABILITY PAGE STYLES - FULLY RESPONSIVE & OPTIMIZED
   Follows same design system as company.css
   Uses company.css root colors
   ============================================================ */

/* ========== PAGE HERO (matching company.css) ========== */
.page-hero {
  position: relative;
  padding: 6rem 0 4rem;
  background-color: var(--primary-deep);
  color: var(--white);
  text-align: center;
  overflow: hidden;
}

.page-hero-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
}

.page-hero-content {
  position: relative;
  z-index: 2;
}

.page-hero-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(30, 127, 204, 0.12);
  padding: 0.5rem 1.2rem;
  border-radius: 40px;
  margin-bottom: 1.5rem;
}

.page-hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800;
  margin-bottom: 1rem;
}

.page-hero-title span {
  color: var(--accent);
}

.page-breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
}

.page-breadcrumb a {
  color: white;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s;
}

.page-breadcrumb a:hover {
  color: var(--accent);
}

.page-breadcrumb .sep {
  font-size: 0.7rem;
}

.se {
  font-weight: 600;
  color: white;
}

/* ========== WAVE DIVIDER ========== */
.wave-divider {
  line-height: 0;
  overflow: hidden;
}

.wave-divider svg {
  display: block;
  width: 100%;
}

/* ========== GENERAL SECTION STYLES ========== */
.section {
  padding: 5rem 2rem;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 1rem;
}

.section-title span {
  color: var(--primary);
}

.section-desc {
  max-width: 700px;
  margin: 0 auto;
  color: var(--text-light);
  font-size: 1rem;
  line-height: 1.6;
}

.bg-light {
  background: var(--light-gray);
}

/* ========== TWO COLUMN SECTION ========== */
.two-col-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.col-text .section-tag {
  display: inline-block;
}

.col-text p {
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 1.2rem;
}

.col-text strong {
  color: var(--accent);
}

.col-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* ECO FLOATING CARDS - OPTION 1 */
.eco-floating-cards {
  position: relative;
  min-height: 450px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.eco-center-image {
  position: relative;
  width: 250px;
  height: 250px;
  z-index: 10;
}

.eco-center-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  border: 4px solid var(--accent);
}

.eco-pulse {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background :var(--accent);
  animation: pulse 2s ease-in-out infinite;
  z-index: -1;
}

@keyframes pulse {
  0% { transform: translate(-50%, -50%) scale(1); opacity: 0.6; }
  100% { transform: translate(-50%, -50%) scale(1.3); opacity: 0; }
}

.floating-card {
  position: absolute;
  background: white;
  border-radius: 16px;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  z-index: 20;
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.95);
  border-left: 4px solid  var(--accent);
}

.card-1 {
  top: 0;
  left: 0;
  animation: floatCard1 4s ease-in-out infinite;
}

.card-2 {
  top: 30%;
  right: 0;
  animation: floatCard2 4.5s ease-in-out infinite 0.5s;
}

.card-3 {
  bottom: 0;
  left: 10%;
  animation: floatCard3 5s ease-in-out infinite 1s;
}

.card-icon {
  width: 45px;
  height: 45px;
  background: var(--accent);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 22px;
}

.card-data {
  text-align: left;
}

.card-number {
  display: block;
  font-size: 20px;
  font-weight: 800;
  color: #1e293b;
}

.card-label {
  font-size: 11px;
  color: #64748b;
  font-weight: 500;
}

@keyframes floatCard1 {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-10px) rotate(-2deg); }
}

@keyframes floatCard2 {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-8px) rotate(2deg); }
}

@keyframes floatCard3 {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-6px) rotate(-1deg); }
}

/* Responsive */
@media (max-width: 768px) {
  .eco-floating-cards {
    min-height: 500px;
  }
  
  .eco-center-image {
    width: 180px;
    height: 180px;
  }
  
  .floating-card {
    position: relative;
    margin: 15px auto;
    width: 90%;
    max-width: 280px;
    animation: none !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
  }
  
  .eco-floating-cards {
    flex-direction: column;
    gap: 15px;
  }
}

/* ========== STATS GRID ========== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem;
  text-align: center;
  margin-top: 1rem;
}

.stat-card {
  padding: 1.5rem;
  background: var(--white);
  border-radius: 20px;
  transition: var(--transition);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent);
}

.stat-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--accent);
}

.stat-row {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.2rem;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}

.stat-suffix {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dark-gray);
}

.stat-label {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-light);
  margin-top: 0.5rem;
}

/* ========== INITIATIVES GRID ========== */
.initiatives-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.initiative-card {
  background: var(--white);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  transition: var(--transition);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  position: relative;
}

.initiative-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent);
}

.init-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
}

.init-icon i {
  font-size: 2rem;
  color: var(--white);
}

.initiative-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--primary);
}

.initiative-card p {
  color: var(--text-light);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.init-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  background: rgba(30, 127, 204, 0.1);
  color: var(--accent);
  border-radius: 20px;
}

/* ========== TIMELINE ========== */
.timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding-left: 2rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, var(--accent), var(--primary));
  border-radius: 3px;
}

.timeline-item {
  position: relative;
  margin-bottom: 2.5rem;
  padding-left: 2rem;
}

.timeline-year {
  position: absolute;
  left: -2rem;
  top: 0;
  width: 4rem;
  font-weight: 800;
  font-size: 0.85rem;
  color: var(--accent);
  background: var(--white);
  padding: 0.2rem 0.5rem;
  border-radius: 20px;
  text-align: center;
  box-shadow: var(--shadow);
  z-index: 2;
}

.timeline-dot {
  position: absolute;
  left: -0.5rem;
  top: 1rem;
  width: 12px;
  height: 12px;
  background: var(--accent);
  border-radius: 50%;
  border: 2px solid var(--white);
  box-shadow: 0 0 0 2px var(--primary);
}

.timeline-content {
  background: var(--white);
  padding: 1.2rem 1.8rem;
  border-radius: 12px;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.timeline-content:hover {
  transform: translateX(8px);
  box-shadow: var(--shadow-lg);
}

.timeline-content h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--primary);
}

.timeline-content p {
  font-size: 0.85rem;
  color: var(--text-light);
  margin: 0;
}

/* ========== OFFSET PROJECTS GRID ========== */
.offset-projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.offset-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.offset-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent);
}

.offset-image {
  height: 200px;
  overflow: hidden;
}

.offset-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.offset-card:hover .offset-img {
  transform: scale(1.05);
}

.offset-content {
  padding: 1.5rem;
}

.offset-content h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.offset-location {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.offset-content p {
  color: var(--text-light);
  font-size: 0.85rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.offset-impact {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  background: rgba(30, 127, 204, 0.1);
  color: var(--accent);
  border-radius: 20px;
}

/* ========== SUSTAINABILITY PARTNERS ========== */
.sustainability-partners {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  text-align: center;
}

.partner-item {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: var(--transition);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.partner-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent);
}

.partner-logo-img {
  width: 100px;
  height: 80px;
  object-fit: contain;
  margin-bottom: 1rem;
  border-radius: var(--radius);
}

.partner-item h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.partner-item p {
  font-size: 0.8rem;
  color: var(--text-light);
  line-height: 1.5;
  margin: 0;
}

/* ========== FAQ SECTION ========== */
.faq-grid {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
}

.faq-question {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.5rem;
  cursor: pointer;
  transition: var(--transition);
}

.faq-question:hover {
  background: rgba(30, 127, 204, 0.03);
}

.faq-question i:first-child {
  color: var(--accent);
  font-size: 1.2rem;
}

.faq-question h3, .faq-question h4 {
  flex: 1;
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary);
  margin: 0;
}

.faq-toggle {
  color: var(--dark-gray);
  transition: transform 0.3s;
}

.faq-item.active .faq-toggle {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 1.5rem;
}

.faq-item.active .faq-answer {
  max-height: 200px;
  padding: 0 1.5rem 1rem;
}

.faq-answer p {
  color: var(--text-light);
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 0;
}

/* ========== CTA STRIP ========== */
.cta-strip {
  position: relative;
  padding: 3rem 2rem;
  color: var(--white);
  background-size: cover;
  background-position: center;
}

.cta-strip-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
}

.cta-strip-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
  position: relative;
  z-index: 1;
}

.cta-strip-inner h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.cta-strip-inner p {
  opacity: 0.85;
}

.cta-strip-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.8rem 1.8rem;
  border-radius: 40px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: var(--transition);
  cursor: pointer;
  border: none;
}

.btn-accent {
  background: var(--accent);
  color: var(--white);
}

.btn-accent:hover {
  background: var(--accent-light);
  transform: translateY(-2px);
}

.btn-primary {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.4);
  color: var(--white);
}

.btn-primary:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-2px);
  border-color: var(--accent);
}

/* ========== REVEAL ANIMATIONS ========== */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-group .reveal {
  transition-delay: calc(var(--index, 0) * 0.08s);
}

.from-left {
  transform: translateX(-30px);
}

.from-left.active {
  transform: translateX(0);
}

.from-right {
  transform: translateX(30px);
}

.from-right.active {
  transform: translateX(0);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  .two-col-section {
    gap: 2rem;
  }
  
  .green-image {
    width: 250px;
    height: 250px;
  }
  
  .gr1 {
    width: 290px;
    height: 290px;
  }
  
  .gr2 {
    width: 330px;
    height: 330px;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 3rem 1rem;
  }
  
  .container {
    padding: 0 1rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .two-col-section {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .col-visual {
    order: -1;
    margin-bottom: 2rem;
  }
  
  .green-image {
    width: 200px;
    height: 200px;
  }
  
  .gr1 {
    width: 240px;
    height: 240px;
  }
  
  .gr2 {
    width: 280px;
    height: 280px;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  
  .stat-number {
    font-size: 2.2rem;
  }
  
  .stat-suffix {
    font-size: 1.2rem;
  }
  
  .timeline {
    padding-left: 1rem;
  }
  
  .timeline::before {
    left: 0;
  }
  
  .timeline-year {
    left: -1.5rem;
    font-size: 0.7rem;
    width: 3rem;
  }
  
  .timeline-dot {
    left: -0.3rem;
  }
  
  .cta-strip-inner {
    flex-direction: column;
    text-align: center;
  }
  
  .faq-question h3, .faq-question h4 {
    font-size: 0.9rem;
  }
}






@media (max-width: 480px) {
  .page-hero {
    padding: 4rem 0 2rem;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
  }
  
  .initiatives-grid {
    grid-template-columns: 1fr;
  }
  
  .offset-projects-grid {
    grid-template-columns: 1fr;
  }
  
  .sustainability-partners {
    grid-template-columns: 1fr;
  }
  
  .cta-strip-actions {
    flex-direction: column;
    width: 100%;
  }
  
  .cta-strip-actions .btn {
    justify-content: center;
    width: 100%;
  }
  
  .faq-question {
    padding: 0.8rem 1rem;
  }
}

/* FIX HERO BORDER LINE ON MOBILE - ADD THIS AT THE END */
@media (max-width: 768px) {
  .page-hero {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
  }
  
  .page-hero::before,
  .page-hero::after {
    display: none !important;
  }
  
  .page-hero-grid {
    display: none !important;
  }
}