/* ===== GLOBAL ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Inter", sans-serif;
}

body {
  background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
  color: #ffffff;
  min-height: 100vh;
  overflow-x: hidden;
}

/* ===== NAVBAR ===== */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  animation: slideDown 1s ease;
}

.navbar h2 {
  font-weight: 700;
  letter-spacing: 1px;
}

.navbar a {
  margin-left: 15px;
}

/* ===== BUTTONS ===== */
.btn-primary {
  padding: 12px 24px;
  border-radius: 30px;
  background: linear-gradient(135deg, #00f260, #0575e6);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.4s ease;
  box-shadow: 0 8px 25px rgba(0, 242, 96, 0.4);
}

.btn-primary:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 12px 40px rgba(0, 242, 96, 0.6);
}

.btn-outline {
  padding: 12px 24px;
  border-radius: 30px;
  border: 2px solid #00f260;
  color: #00f260;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.4s ease;
}

.btn-outline:hover {
  background: #00f260;
  color: #000;
  transform: translateY(-4px);
}

/* ===== HERO ===== */
.hero {
  text-align: center;
  padding: 100px 20px;
  animation: fadeIn 1.5s ease;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  line-height: 1.2;
  background: linear-gradient(90deg, #00f260, #0575e6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: 1.2rem;
  max-width: 600px;
  margin: auto;
  opacity: 0.9;
}

.hero-buttons {
  margin-top: 40px;
}

.hero-buttons a {
  margin: 10px;
  display: inline-block;
}

/* ===== FEATURES ===== */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  padding: 80px 40px;
}

.feature-card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 30px;
  text-align: center;
  transition: all 0.4s ease;
  backdrop-filter: blur(12px);
  animation: floatUp 1.5s ease;
}

.feature-card:hover {
  transform: translateY(-12px) scale(1.05);
  background: rgba(255, 255, 255, 0.18);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.feature-card h3 {
  margin-bottom: 15px;
  font-size: 1.3rem;
}

.feature-card p {
  font-size: 0.95rem;
  opacity: 0.9;
}

/* ===== FOOTER ===== */
.footer {
  text-align: center;
  padding: 25px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  font-size: 0.9rem;
  opacity: 0.8;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes floatUp {
  from {
    opacity: 0;
    transform: translateY(60px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.2rem;
  }

  .navbar {
    flex-direction: column;
    gap: 15px;
  }
}
/* ================= LOGIN BACKGROUND ================= */
.login-body {
  min-height: 100vh;
  background-image: url("loginbg.jpeg"); /* <-- your image */
  background-size: cover;
  background-position: center;
  font-family: "Inter", sans-serif;
  position: relative;
}

/* Dark green overlay */
.bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    rgba(0, 60, 30, 0.85),
    rgba(0, 30, 15, 0.9)
  );
  z-index: 0;
}

/* ================= WRAPPER ================= */
.login-wrapper {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 100vh;
  padding: 60px;
  gap: 60px;
  animation: fadeIn 1.2s ease;
}

/* ================= LEFT INFO ================= */
.login-info {
  flex: 1;
  color: #eaffea;
  animation: slideLeft 1.2s ease;
}

.login-info h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  background: linear-gradient(90deg, #6aff9f, #00f260);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.login-info p {
  font-size: 1.2rem;
  margin-bottom: 25px;
}

.login-info ul {
  list-style: none;
}

.login-info li {
  margin-bottom: 10px;
  font-size: 1rem;
}

/* ================= LOGIN CARD ================= */
.login-card {
  width: 420px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(20px);
  border-radius: 25px;
  padding: 40px;
  text-align: center;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5);
  animation: slideUp 1.3s ease;
}

.login-card h2 {
  font-size: 1.8rem;
  color: #ffffff;
}

.login-card p {
  font-size: 0.9rem;
  margin-bottom: 30px;
  opacity: 0.9;
}

/* ================= INPUT FIELDS ================= */
.field {
  position: relative;
  margin-bottom: 22px;
}

.field input {
  width: 100%;
  padding: 14px 18px;
  border-radius: 30px;
  border: none;
  outline: none;
  font-size: 0.95rem;
}

.field label {
  position: absolute;
  top: 50%;
  left: 18px;
  transform: translateY(-50%);
  font-size: 0.85rem;
  color: #555;
  transition: 0.3s ease;
}

.field input:focus + label,
.field input:valid + label {
  top: -8px;
  background: #0f3d2e;
  padding: 0 8px;
  font-size: 0.7rem;
  color: #6aff9f;
  border-radius: 10px;
}

/* ================= BUTTON ================= */
.login-btn {
  width: 100%;
  padding: 14px;
  border-radius: 30px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  background: linear-gradient(135deg, #6aff9f, #00c853);
  color: #003b1f;
  box-shadow: 0 0 25px rgba(0, 255, 150, 0.6);
  transition: all 0.4s ease;
}

.login-btn:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 0 40px rgba(0, 255, 150, 0.9);
}

/* ================= SIGNUP ================= */
.signup-text {
  display: block;
  margin-top: 20px;
  font-size: 0.9rem;
}

.signup-text a {
  color: #6aff9f;
  font-weight: 600;
  text-decoration: none;
}

/* ================= ANIMATIONS ================= */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideLeft {
  from { transform: translateX(-80px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

@keyframes slideUp {
  from { transform: translateY(80px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* ================= MOBILE ================= */
@media (max-width: 900px) {
  .login-wrapper {
    flex-direction: column;
    padding: 30px;
  }

  .login-card {
    width: 100%;
  }
}
/* ================= DASHBOARD ================= */
.dashboard-body {
  background: linear-gradient(120deg, #e8fff1, #f6fffb);
  font-family: "Inter", sans-serif;
  min-height: 100vh;
}

/* NAVBAR */
.navbar {
  background: linear-gradient(90deg, #00c853, #64dd17);
  padding: 18px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #003b1f;
}

.navbar nav a {
  margin-left: 20px;
  color: #003b1f;
  text-decoration: none;
  font-weight: 600;
}

.navbar .logout {
  background: white;
  padding: 8px 16px;
  border-radius: 20px;
}

/* DASHBOARD CONTENT */
.dashboard {
  padding: 40px;
}

/* STATS */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.stat-card {
  padding: 25px;
  border-radius: 20px;
  color: white;
  box-shadow: 0 15px 30px rgba(0,0,0,0.15);
  animation: slideUp 0.8s ease;
}

.stat-card h3 {
  font-size: 2rem;
}

.green { background: linear-gradient(135deg, #00c853, #64dd17); }
.yellow { background: linear-gradient(135deg, #ffb300, #ffd54f); }
.red { background: linear-gradient(135deg, #e53935, #ff5252); }
.blue { background: linear-gradient(135deg, #1e88e5, #64b5f6); }

/* FOOD GRID */
.section-title {
  margin: 40px 0 20px;
  color: #0f3d2e;
}

.food-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
}

.food-card {
  background: white;
  padding: 25px;
  border-radius: 20px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  transition: transform 0.4s ease;
  animation: fadeIn 1s ease;
}

.food-card:hover {
  transform: translateY(-8px) scale(1.03);
}

.food-card span {
  display: inline-block;
  margin-top: 10px;
  padding: 6px 14px;
  border-radius: 15px;
  font-size: 0.75rem;
  color: white;
}

.food-card.fresh span { background: #00c853; }
.food-card.warning span { background: #ffb300; }
.food-card.expired span { background: #e53935; }
.food-card {
  padding: 15px;
  margin: 10px 0;
  border-radius: 12px;
  color: white;
  animation: fadeIn 0.6s ease;
}

.food-card.fresh { background: #2ecc71; }
.food-card.warning { background: #f1c40f; }
.food-card.expired { background: #e74c3c; }

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
/* Fridge Section */
.fridge-section {
  padding: 40px;
}

.section-title {
  font-size: 26px;
  color: #1e8449;
  margin-bottom: 20px;
}

/* Fridge Glass Container */
.fridge-container {
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(18px);
  border-radius: 25px;
  padding: 30px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

/* Grid Layout */
.fridge-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}

/* Food Card */
.food-card {
  padding: 20px;
  border-radius: 20px;
  color: #fff;
  position: relative;
  animation: popIn 0.6s ease;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.food-card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 15px 30px rgba(0,0,0,0.25);
}

.food-card h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.food-card p {
  font-size: 14px;
  opacity: 0.9;
}

/* Status Colors */
.food-card.fresh {
  background: linear-gradient(135deg, #2ecc71, #27ae60);
}

.food-card.warning {
  background: linear-gradient(135deg, #f1c40f, #f39c12);
}

.food-card.expired {
  background: linear-gradient(135deg, #e74c3c, #c0392b);
}

/* Status Badge */
.food-card span {
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 12px;
  background: rgba(255,255,255,0.3);
  padding: 5px 10px;
  border-radius: 20px;
}

/* Animation */
@keyframes popIn {
  0% {
    opacity: 0;
    transform: scale(0.9) translateY(20px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}
/* Stats Section */
.stats-section {
  padding: 40px;
}

.stats-cards {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
}

.stat-card {
  flex: 1;
  padding: 25px;
  border-radius: 20px;
  color: #750a0a;
  text-align: center;
  animation: popIn 0.6s ease;
}

.stat-card h3 {
  font-size: 32px;
}

.stat-card.green {
  background: linear-gradient(135deg, #2ecc71, #27ae60);
}

.stat-card.red {
  background: linear-gradient(135deg, #e74c3c, #c0392b);
}

.stat-card.yellow {
  background: linear-gradient(135deg, #f1c40f, #f39c12);
}
.recipe-section {
  padding: 60px;
  margin-top: 50px;
  background: linear-gradient(120deg, #a8cd44, #c4da1c, #175933);
  background-size: 300% 300%;
  animation: bgMove 12s ease infinite;
  border-radius: 30px;
  box-shadow: 0 30px 60px rgba(0,0,0,0.15);
}

@keyframes bgMove {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.recipe-sub {
  color: #145a32;
  margin-bottom: 30px;
  font-size: 16px;
}
.recipe-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: linear-gradient(135deg, #2ecc71, #27ae60);
  color:wheat;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  box-shadow: 0 0 15px rgba(46,204,113,0.8);
}

.recipe-card button {
  margin-top: 15px;
  width: 100%;
  padding: 10px;
  border: none;
  border-radius: 15px;
  background: linear-gradient(135deg, #27ae60, #2ecc71);
  color: white;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
}

.recipe-card button:hover {
  background: linear-gradient(135deg, #1e8449, #239b56);
  transform: translateY(-2px);
}

.animated-bg {
  position: fixed;
  inset: 0;
  background: linear-gradient(
    120deg,
    #e8f8f5,
    #d4efdf,
    #abebc6,
    #82e0aa
  );
  background-size: 400% 400%;
  animation: bgFlow 15s ease infinite;
  z-index: -1;
}

@keyframes bgFlow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
.navbar {
  position: sticky;
  top: 20px;
  margin: 20px;
  padding: 15px 30px;
  background: rgba(255,255,255,0.25);
  backdrop-filter: blur(20px);
  border-radius: 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 15px 40px rgba(0,0,0,0.15);
  animation: slideDown 1s ease;
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-30px); }
  to { opacity: 1; transform: translateY(0); }
}

.navbar ul {
  list-style: none;
  display: flex;
  gap: 25px;
}

.navbar li {
  cursor: pointer;
  padding: 10px 18px;
  border-radius: 18px;
  transition: all 0.3s ease;
}

.navbar li:hover {
  background: linear-gradient(135deg, #0f2558, #463214);
  color: rgb(229, 217, 217);
  box-shadow: 0 0 20px rgba(22, 5, 19, 0.8);
  transform: scale(1.1);
}
.page-section {
  display: none;
  opacity: 0;
  transform: translateY(40px) scale(0.98);
  transition: all 0.6s ease;
}

.page-section.active {
  display: block;
  opacity: 1;
  transform: translateY(0) scale(1);
}
/* Fridge Section */
.fridge-section {
  padding: 40px;
}

.section-title {
  font-size: 26px;
  color: #1e8449;
  margin-bottom: 20px;
}

/* Fridge Glass Container */
.fridge-container {
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(18px);
  border-radius: 25px;
  padding: 30px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

/* Grid Layout */
.fridge-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}

/* Food Card */
.food-card {
  padding: 20px;
  border-radius: 20px;
  color: #fff;
  position: relative;
  animation: popIn 0.6s ease;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.food-card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 15px 30px rgba(0,0,0,0.25);
}

.food-card h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.food-card p {
  font-size: 14px;
  opacity: 0.9;
}

/* Status Colors */
.food-card.fresh {
  background: linear-gradient(135deg, #2ecc71, #27ae60);
}

.food-card.warning {
  background: linear-gradient(135deg, #f1c40f, #f39c12);
}

.food-card.expired {
  background: linear-gradient(135deg, #e74c3c, #c0392b);
}

/* Status Badge */
.food-card span {
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 12px;
  background: rgba(255,255,255,0.3);
  padding: 5px 10px;
  border-radius: 20px;
}

/* Animation */
@keyframes popIn {
  0% {
    opacity: 0;
    transform: scale(0.9) translateY(20px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}
/* Stats Section */
.stats-section {
  padding: 40px;
}

.stats-cards {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
}

.stat-card {
  flex: 1;
  padding: 25px;
  border-radius: 20px;
  color: #fff;
  text-align: center;
  animation: popIn 0.6s ease;
}

.stat-card h3 {
  font-size: 32px;
}

.stat-card.green {
  background: linear-gradient(135deg, #2ecc71, #27ae60);
}

.stat-card.red {
  background: linear-gradient(135deg, #e74c3c, #c0392b);
}

.stat-card.yellow {
  background: linear-gradient(135deg, #f1c40f, #f39c12);
}
.recipe-section {
  padding: 60px;
  margin-top: 50px;
  background: linear-gradient(120deg, #e8f8f5, #d5f5e3, #abebc6);
  background-size: 300% 300%;
  animation: bgMove 12s ease infinite;
  border-radius: 30px;
  box-shadow: 0 30px 60px rgba(0,0,0,0.15);
}

@keyframes bgMove {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.recipe-sub {
  color: #145a32;
  margin-bottom: 30px;
  font-size: 16px;
}
.recipe-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 30px;
}

.recipe-card {
  background: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(20px);
  border-radius: 25px;
  padding: 25px;
  color: #145a32;
  position: relative;
  animation: floatCard 4s ease-in-out infinite;
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.recipe-card:hover {
  transform: scale(1.05) rotate(-1deg);
  box-shadow: 0 35px 70px rgba(0,0,0,0.3);
}

@keyframes floatCard {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.recipe-section {
  padding: 60px;
  margin-top: 50px;
  background: linear-gradient(120deg, #e8f8f5, #d5f5e3, #abebc6);
  background-size: 300% 300%;
  animation: bgMove 12s ease infinite;
  border-radius: 30px;
  box-shadow: 0 30px 60px rgba(0,0,0,0.15);
}

@keyframes bgMove {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.recipe-sub {
  color: #145a32;
  margin-bottom: 30px;
  font-size: 16px;
}
.recipe-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 30px;
}

.recipe-card {
  background: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(20px);
  border-radius: 25px;
  padding: 25px;
  color: #145a32;
  position: relative;
  animation: floatCard 4s ease-in-out infinite;
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.recipe-card:hover {
  transform: scale(1.05) rotate(-1deg);
  box-shadow: 0 35px 70px rgba(0,0,0,0.3);
}

@keyframes floatCard {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.recipe-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: linear-gradient(135deg, #2ecc71, #27ae60);
  color: white;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  box-shadow: 0 0 15px rgba(46,204,113,0.8);
}

.recipe-card button {
  margin-top: 15px;
  width: 100%;
  padding: 10px;
  border: none;
  border-radius: 15px;
  background: linear-gradient(135deg, #27ae60, #2ecc71);
  color: white;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
}

.recipe-card button:hover {
  background: linear-gradient(135deg, #1e8449, #239b56);
  transform: translateY(-2px);
}
/* 📸 SCAN SECTION */
.scan-section {
  margin: 60px;
  padding: 60px;
  border-radius: 40px;
  background: linear-gradient(
      rgba(0,0,0,0.45),
      rgba(0,0,0,0.45)
    ),
    url("images/receipt-food-bg.jpg");
  background-size: cover;
  background-position: center;
  box-shadow: 0 30px 70px rgba(0,0,0,0.5);
  animation: fadeUp 1s ease;
}

.scan-sub {
  text-align: center;
  color: #dfffe8;
  margin-top: -10px;
}

/* Glass Scanner Card */
.scanner-card {
  margin: 50px auto 0;
  max-width: 420px;
  padding: 35px;
  background: rgba(255,255,255,0.2);
  backdrop-filter: blur(18px);
  border-radius: 30px;
  text-align: center;
  box-shadow: 0 25px 50px rgba(0,0,0,0.4);
}

/* Camera Frame */
.camera-frame {
  position: relative;
  height: 260px;
  border-radius: 20px;
  border: 3px dashed rgba(255,255,255,0.6);
  overflow: hidden;
  box-shadow: inset 0 0 30px rgba(0,0,0,0.5);
}

.camera-text {
  position: absolute;
  bottom: 15px;
  width: 100%;
  color: white;
  font-size: 14px;
  opacity: 0.85;
}

/* Scanning Line */
.scan-line {
  position: absolute;
  top: -10%;
  left: 0;
  width: 100%;
  height: 6px;
  background: linear-gradient(
    90deg,
    transparent,
    #2ecc71,
    transparent
  );
  animation: scanMove 2.5s linear infinite;
}

@keyframes scanMove {
  from { top: -10%; }
  to { top: 110%; }
}

/* Scan Button */
.scan-btn {
  margin-top: 30px;
  padding: 14px 28px;
  border: none;
  border-radius: 25px;
  background: linear-gradient(135deg, #2ecc71, #27ae60);
  color: white;
  font-size: 16px;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(46,204,113,0.5);
  transition: transform 0.3s, box-shadow 0.3s;
}

.scan-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 15px 40px rgba(46,204,113,0.7);
}

/* Scan Status */
.scan-status {
  margin-top: 20px;
  font-size: 15px;
  color: #ffffff;
}
/* 🌍 IMPACT SECTION */
.impact-section {
  margin: 60px;
  padding: 60px;
  border-radius: 40px;
  background: linear-gradient(
      rgba(0,0,0,0.4),
      rgba(0,0,0,0.4)
    ),
    url("images/eco-impact-bg.jpg");
  background-size: cover;
  background-position: center;
  box-shadow: 0 30px 70px rgba(0,0,0,0.5);
  animation: fadeUp 1s ease;
}

.impact-sub {
  text-align: center;
  color: #dfffe8;
  margin-bottom: 40px;
}

/* Cards */
.impact-cards {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.impact-card {
  width: 220px;
  height: 150px;
  background: rgba(255,255,255,0.22);
  backdrop-filter: blur(18px);
  border-radius: 28px;
  box-shadow: 0 20px 45px rgba(0,0,0,0.35);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
  animation: float 4s ease-in-out infinite;
}

.impact-card h3 {
  font-size: 30px;
  margin: 0;
}

.impact-card p {
  margin-top: 6px;
  font-size: 14px;
  opacity: 0.85;
}

/* Color Glow */
.impact-card.green {
  box-shadow: 0 0 30px rgba(46,204,113,0.7);
}

.impact-card.blue {
  box-shadow: 0 0 30px rgba(52,152,219,0.7);
}

.impact-card.orange {
  box-shadow: 0 0 30px rgba(243,156,18,0.7);
}

body {
  animation: fadeIn 0.8s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}
.bg-img{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  filter: brightness(0.45);
}

