/* Subtle Custom Animations and Enhancements */

/* 1. Global Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

/* 2. Delicate Hover Lift for Cards (Does not override colors/backgrounds) */
.card-soft, .card-soft-hover {
  transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

.card-soft:hover, .card-soft-hover:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.04) !important;
  z-index: 10;
}

/* 3. Subtle Icon Animation inside Cards on Hover */
.card-soft .grid.h-11, .card-soft .grid.h-12, .card-soft-hover .grid.h-11, .card-soft-hover .grid.h-12 {
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
}

.card-soft:hover .grid.h-11, .card-soft:hover .grid.h-12, .card-soft-hover:hover .grid.h-11, .card-soft-hover:hover .grid.h-12 {
  transform: scale(1.15) !important;
}

/* 4. Button Hover Effects */
a.rounded-full, button.rounded-full {
  transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}
a.rounded-full:hover, button.rounded-full:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1) !important;
}

/* 5. Gallery & Image Zoom */
img.transition-transform {
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
}
.group:hover img.transition-transform {
  transform: scale(1.08) !important;
}

/* 6. List/Tender Items Hover Polish */
.divide-y > .grid {
  transition: all 0.3s ease;
  border-left: 2px solid transparent;
}
.divide-y > .grid:hover {
  background-color: rgba(0, 0, 0, 0.015) !important;
  border-left-color: var(--primary, #0ea5e9);
  padding-left: 1.7rem !important; /* Gentle shift */
}

/* 7. Gentle entry animation for the main layout (optional, but requested for 'animations') */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

main > * {
  animation: fadeInUp 0.8s ease-out forwards;
}

/* Ensure original structure is completely maintained */

/* Custom definitions for missing/purged Tailwind classes in Our Process page */
.bg-emerald-50 {
  background-color: #ecfdf5 !important;
}
.text-emerald-800 {
  color: #065f46 !important;
}
.text-emerald-600 {
  color: #059669 !important;
}
.text-emerald-500 {
  color: #10b981 !important;
}
.text-emerald-300 {
  color: #6ee7b7 !important;
}

.text-slate-800 {
  color: #1e293b !important;
}
.text-slate-700 {
  color: #334155 !important;
}
.text-slate-600 {
  color: #475569 !important;
}
.text-slate-400 {
  color: #94a3b8 !important;
}
.bg-slate-50 {
  background-color: #f8fafc !important;
}
.hover\:bg-slate-50:hover {
  background-color: #f8fafc !important;
}
.border-slate-100 {
  border-color: #f1f5f9 !important;
}

.py-1\.5 {
  padding-top: 0.375rem !important;
  padding-bottom: 0.375rem !important;
}
.text-\[11px\] {
  font-size: 11px !important;
}
.shadow-black\/5 {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -4px rgba(0, 0, 0, 0.05) !important;
}
.aspect-\[4\/3\] {
  aspect-ratio: 4 / 3 !important;
}
.duration-700 {
  transition-duration: 700ms !important;
}
.hover\:scale-105:hover {
  transform: scale(1.05) !important;
}

/* Accordion Specific Layout Fixes */
.accordion-btn {
  display: grid !important;
  grid-template-columns: auto minmax(0, 1fr) auto !important;
}

@media (min-width: 1024px) {
  .accordion-content {
    grid-template-columns: 1fr 1.2fr !important;
  }
}

/* Premium Feature Cards on Homepage */
.feature-card {
  background-color: #ffffff !important;
  border: 1px solid rgba(16, 185, 129, 0.08) !important;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.04), 0 1px 3px rgba(0, 0, 0, 0.02) !important;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), 
              box-shadow 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), 
              border-color 0.4s ease !important;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient-primary, linear-gradient(135deg, #0b7f52, #10b981));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-8px) scale(1.01) !important;
  border-color: rgba(16, 185, 129, 0.3) !important;
  box-shadow: 0 20px 35px -5px rgba(0, 163, 118, 0.12), 0 10px 15px -5px rgba(0, 163, 118, 0.06) !important;
}

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

/* Icon Animation on hover */
.feature-card .grid.h-14.w-14 {
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease !important;
  box-shadow: 0 4px 10px rgba(0, 163, 118, 0.1) !important;
}

.feature-card:hover .grid.h-14.w-14 {
  transform: scale(1.15) rotate(8deg) !important;
  box-shadow: 0 8px 22px rgba(0, 163, 118, 0.35) !important;
}

/* SVG Pulse/Shake inside Icon on Hover */
@keyframes icon-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}

.feature-card:hover .grid.h-14.w-14 svg {
  animation: icon-pulse 1s infinite ease-in-out;
}

/* Premium Objective Cards on Homepage */
.objective-card {
  background-color: #ffffff !important;
  border: 1px solid #f1f5f9 !important;
  border-left: 4px solid #10b981 !important; /* Green primary accent line */
  border-radius: 12px !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02) !important;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
  display: flex !important;
  align-items: flex-start !important;
  gap: 1rem !important;
  padding: 1.5rem !important;
}

.objective-card:hover {
  transform: translateY(-6px) scale(1.02) !important;
  border-left-width: 6px !important;
  border-color: rgba(16, 185, 129, 0.2) !important;
  box-shadow: 0 20px 25px -5px rgba(0, 163, 118, 0.08), 0 10px 10px -5px rgba(0, 163, 118, 0.04) !important;
  background-color: #ffffff !important;
}

/* Icon container style inside Objective Card */
.objective-card .objective-icon-wrapper {
  background-color: rgba(16, 185, 129, 0.08) !important;
  color: #059669 !important;
  border-radius: 10px !important;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
}

.objective-card:hover .objective-icon-wrapper {
  background: var(--gradient-primary, linear-gradient(135deg, #0b7f52, #10b981)) !important;
  color: #ffffff !important;
  transform: scale(1.1) rotate(5deg) !important;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3) !important;
}

/* Paragraph styling inside Objective Card */
.objective-card p {
  margin: 0 !important;
  font-size: 0.925rem !important;
  font-weight: 500 !important;
  color: #334155 !important;
  line-height: 1.6 !important;
  transition: color 0.3s ease !important;
}

.objective-card:hover p {
  color: #0f172a !important;
}

/* ==========================================
   CHANGE 1 - Stats Section: "A decade of measurable environmental impact"
   ========================================== */
.stats-section-redesigned {
  position: relative;
  overflow: hidden;
}

.stats-section-redesigned .stat-card-v2 {
  background: rgba(255,255,255,0.08) !important;
  border: 1px solid rgba(255,255,255,0.15) !important;
  border-radius: 20px !important;
  padding: 2rem 1.5rem !important;
  transition: transform 0.4s cubic-bezier(0.175,0.885,0.32,1.275), background 0.3s ease !important;
  text-align: center !important;
  position: relative;
  overflow: hidden;
}

.stats-section-redesigned .stat-card-v2::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 3px;
  background: rgba(255,255,255,0.35);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.stats-section-redesigned .stat-card-v2:hover {
  transform: translateY(-8px) !important;
  background: rgba(255,255,255,0.14) !important;
}
.stats-section-redesigned .stat-card-v2:hover::before {
  opacity: 1;
}

.stat-number-v2 {
  font-size: clamp(2.6rem, 5vw, 3.8rem) !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  letter-spacing: -0.02em !important;
  color: #fff !important;
  font-family: Fraunces, ui-serif, Georgia, serif;
}

.stat-unit-v2 {
  font-size: 1.1rem !important;
  font-weight: 600 !important;
  color: rgba(255,255,255,0.6) !important;
  margin-left: 2px !important;
}

.stat-label-v2 {
  margin-top: 0.6rem !important;
  font-size: 0.75rem !important;
  text-transform: uppercase !important;
  letter-spacing: 0.14em !important;
  color: rgba(255,255,255,0.95) !important;
  font-weight: 600 !important;
}

.stat-icon-v2 {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  background: rgba(255,255,255,0.12);
  border-radius: 14px;
  margin: 0 auto 1rem auto;
  color: rgba(255,255,255,0.85);
}

/* ==========================================
   CHANGE 2 - Gallery Lightbox on Homepage
   ========================================== */
.home-gallery-item {
  cursor: pointer;
  position: relative;
}

.home-gallery-item .gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
  opacity: 0;
  transition: opacity 0.35s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.home-gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-zoom-icon {
  background: rgba(255,255,255,0.18);
  border: 1.5px solid rgba(255,255,255,0.4);
  border-radius: 50%;
  padding: 12px;
  backdrop-filter: blur(4px);
  color: white;
  transform: scale(0.8);
  transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1);
}

.home-gallery-item:hover .gallery-zoom-icon {
  transform: scale(1);
}

/* ==========================================
   CHANGE 3 - "Get in touch with our team" Section
   ========================================== */
.contact-section-v2 {
  background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 60%, #f0faf5 100%);
  border-radius: 32px;
  padding: 3rem;
  position: relative;
  overflow: hidden;
}

.contact-section-v2::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 240px; height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(16,185,129,0.1) 0%, transparent 70%);
  pointer-events: none;
}

.contact-info-card-v2 {
  background: #ffffff !important;
  border: 1px solid rgba(16,185,129,0.12) !important;
  border-radius: 16px !important;
  padding: 1.25rem 1.4rem !important;
  display: flex !important;
  align-items: center !important;
  gap: 1rem !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease !important;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04) !important;
}

.contact-info-card-v2:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 8px 24px rgba(0,163,118,0.1) !important;
  border-color: rgba(16,185,129,0.3) !important;
}

.contact-icon-v2 {
  flex-shrink: 0;
  width: 46px; height: 46px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, #0b7f52, #10b981);
  color: white;
}

/* ==========================================
   CHANGE 4 & 5 - CETP Overview + What we work towards (about.html)
   ========================================== */

/* CETP Overview 3-col cards - redesigned */
.cetp-overview-card {
  background: #ffffff !important;
  border: 1px solid rgba(16,185,129,0.1) !important;
  border-radius: 20px !important;
  padding: 2rem 1.75rem !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 0 !important;
  transition: transform 0.4s cubic-bezier(0.175,0.885,0.32,1.275), box-shadow 0.4s ease, border-color 0.3s ease !important;
  box-shadow: 0 4px 20px rgba(0,0,0,0.04) !important;
  position: relative;
  overflow: hidden;
}

.cetp-overview-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 4px;
  background: linear-gradient(90deg, #0b7f52, #10b981);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.cetp-overview-card:hover {
  transform: translateY(-8px) !important;
  box-shadow: 0 20px 40px rgba(0,163,118,0.1), 0 8px 16px rgba(0,0,0,0.04) !important;
  border-color: rgba(16,185,129,0.25) !important;
}

.cetp-overview-card:hover::after {
  opacity: 1;
}

.cetp-overview-icon {
  width: 60px; height: 60px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: linear-gradient(135deg, #0b7f52, #10b981);
  color: white;
  margin-bottom: 1.25rem;
  transition: transform 0.4s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.3s ease !important;
  box-shadow: 0 4px 14px rgba(16,185,129,0.25);
}

.cetp-overview-card:hover .cetp-overview-icon {
  transform: scale(1.12) rotate(6deg) !important;
  box-shadow: 0 8px 22px rgba(16,185,129,0.4) !important;
}

/* What we work towards section - redesigned */
.work-towards-card {
  background: #ffffff;
  border: 1px solid #f1f5f9;
  border-radius: 14px;
  padding: 1.4rem 1.5rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  transition: all 0.35s cubic-bezier(0.175,0.885,0.32,1.275);
  position: relative;
  overflow: hidden;
}

.work-towards-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0;
  width: 4px; height: 100%;
  background: linear-gradient(180deg, #0b7f52, #10b981);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.work-towards-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0,163,118,0.08);
  border-color: rgba(16,185,129,0.2);
  padding-left: 1.8rem;
}

.work-towards-card:hover::before {
  opacity: 1;
}

.work-towards-check {
  flex-shrink: 0;
  width: 34px; height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(16,185,129,0.08);
  color: #059669;
  transition: all 0.35s cubic-bezier(0.34,1.56,0.64,1);
  margin-top: 1px;
}

.work-towards-card:hover .work-towards-check {
  background: linear-gradient(135deg, #0b7f52, #10b981);
  color: white;
  transform: scale(1.15);
  box-shadow: 0 4px 12px rgba(16,185,129,0.3);
}

/* ==========================================
   CHANGE 6 - "Read all objectives" button - centered
   ========================================== */
.objectives-link-centered {
  display: flex !important;
  justify-content: center !important;
  margin-top: 2.5rem !important;
}

.objectives-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 2rem;
  border-radius: 999px;
  border: 1.5px solid rgba(16,185,129,0.4);
  color: #059669;
  font-weight: 600;
  font-size: 0.875rem;
  transition: all 0.3s ease;
  background: rgba(16,185,129,0.04);
}

.objectives-link-btn:hover {
  background: linear-gradient(135deg, #0b7f52, #10b981);
  color: white;
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(16,185,129,0.3);
  gap: 0.75rem;
}

/* ==========================================
   CHANGE 7 - 3-col section spacing
   ========================================== */
.cetp-3col-section {
  gap: 2rem !important;
}

/* ==========================================
   CHANGE 8 - Contact Page Cards Enhancement
   ========================================== */
.contact-page-card {
  background: #ffffff !important;
  border: 1.5px solid rgba(16,185,129,0.1) !important;
  border-radius: 20px !important;
  padding: 1.75rem !important;
  display: flex !important;
  gap: 1.25rem !important;
  align-items: flex-start !important;
  transition: transform 0.35s cubic-bezier(0.175,0.885,0.32,1.275), box-shadow 0.35s ease, border-color 0.3s ease !important;
  box-shadow: 0 4px 16px rgba(0,0,0,0.04) !important;
  position: relative;
  overflow: hidden;
}

.contact-page-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: linear-gradient(90deg, #0b7f52, #10b981);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.contact-page-card:hover {
  transform: translateY(-6px) !important;
  box-shadow: 0 16px 36px rgba(0,163,118,0.12), 0 4px 12px rgba(0,0,0,0.04) !important;
  border-color: rgba(16,185,129,0.3) !important;
}

.contact-page-card:hover::before {
  opacity: 1;
}

.contact-page-icon {
  flex-shrink: 0;
  width: 52px; height: 52px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, #0b7f52, #10b981);
  color: white;
  box-shadow: 0 4px 14px rgba(16,185,129,0.25);
  transition: transform 0.4s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.3s ease;
}

.contact-page-card:hover .contact-page-icon {
  transform: scale(1.12) rotate(6deg);
  box-shadow: 0 8px 22px rgba(16,185,129,0.4);
}

.contact-page-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #10b981;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.contact-page-value {
  font-size: 0.925rem;
  font-weight: 600;
  color: #1e293b;
  line-height: 1.5;
}
.hero-cards{
  box-shadow: 0 1px 2px oklch(30% .03 150 / .04), 0 8px 24px oklch(30% .03 150 / .05);
    border: 1px solid #74a67e4d;
    border-radius: 20px;
    padding: 25px 10px;
}

.cetp-3col-section{
  margin-top: 40px;
}

.work-towards-card.active {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 163, 118, 0.08);
    border-color: rgba(16, 185, 129, 0.2);
    padding-left: 1.8rem;
}

.work-towards-card.active::before{
  opacity: 1;
}
.work-towards-card.active .work-towards-check {
    background: linear-gradient(135deg, #0b7f52, #10b981);
    color: white;
    transform: scale(1.15);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.accordion-content .accordian-content1{
  padding-left: 30px;
}

.accordion-btn{
  cursor: pointer;
}