body {
  font-family: "Roboto", sans-serif; /* Primary body font */
  margin: 0;
  padding: 0;
  padding-top: 70px;
  overflow-x: hidden;
  background: #f4f4f4; /* Light grey background */
  line-height: 1.6; /* Comfortable line spacing */
}

/* Typography Adjustments */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Poppins", sans-serif; /* Heading font */
  margin: 0;
}

p {
  font-family: "Roboto", sans-serif;
  font-size: 1rem; /* Default paragraph size */
  color: #333; /* Dark gray for readability */
  margin-bottom: 1rem;
}

a {
  text-decoration: none;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 12px; /* Scrollbar width */
}

::-webkit-scrollbar-track {
  background: #1b5e20; /* Track color (green) */
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(
    90deg,
    #43a047,
    #81c784
  ); /* Green gradient thumb */
  border-radius: 6px; /* Rounded corners */
  border: 3px solid #f4f4f4; /* Adds padding to the thumb */
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(90deg, #388e3c, #66bb6a); /* Darker green hover */
}

/* Navbar Logo Styling */
.logo {
  height: 50px; /* Adjust the height as needed */
  max-height: 100%;
  width: 200px; /* Maintain aspect ratio */
}

/* Navbar Styling */
.navbar {
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 1) 0%,
    rgba(101, 233, 127, 1) 100%,
    rgba(0, 212, 255, 1) 100%
  );
  position: fixed; /* Keeps the navbar fixed on top */
  top: 0;
  width: 100%; /* Ensures it spans the full width */
  z-index: 1000; /* Keeps it above other elements */
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 1) 0%,
    rgba(101, 233, 127, 1) 100%,
    rgba(0, 212, 255, 1) 100%
  );
  padding: 10px 0;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
  font-family: "Poppins", sans-serif;
  font-size: 1.8rem;
  font-weight: bold;
  color: black;
}

.nav-link {
  font-family: "Poppins", sans-serif;
  font-size: 1rem;
  color: black;
  font-weight: bold;
  margin: 5px 20px;
  position: relative;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 0%;
  height: 2px;
  background: black;
  transition: width 0.3s ease-in-out;
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link.active {
  color: #1b5e20;
  font-weight: bold;
  background-color: #1b5e20;
  border-radius: 50px;
  padding-left: 15px !important;
  padding-right: 15px !important;
  color: white !important;
}

/* Responsive Fix for Active Link */
@media (max-width: 768px) {
  .nav-link.active {
    display: inline-block; /* Ensure it's not block-level */
    color: white !important;
    font-weight: bold;
    background-color: #1b5e20; /* Dark green for active link */
    border-radius: 50px;
    padding: 5px 15px; /* Proper padding for small screens */
    margin: 5px 12px; /* Add some margin for spacing */
    width: auto; /* Prevents it from taking full width */
    text-align: center; /* Center aligns the text inside */
  }
}


/* Latest Questions Button Styling */
.btn-black-capsule {
  background-color: #000000;
  color: white;
  font-weight: bold;
  padding: 10px 25px;
  border: none;
  border-radius: 50px;
  transition: all 0.3s ease-in-out;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.btn-black-capsule:hover {
  background: linear-gradient(to right, #f03333, #185fb5);
  color: white;
  transform: scale(1.05);
}

.btn-black-capsule:active {
  background: linear-gradient(to right, #3498db, #2980b9);
  box-shadow: inset 0 4px 8px rgba(0, 0, 0, 0.5);
  transform: scale(0.98);
}

.btn-black-capsule i {
  font-size: 1.2rem;
  color: #a3e4db;
}

/* Hero Section Adjustments */
.hero-section {
  background-image: url("particles.webp"); /* Background image */
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 1) 0%,
    rgba(101, 233, 127, 1) 100%,
    rgba(0, 212, 255, 1) 100%
  );
  position: relative;
  padding: 100px 20px;
  color: black;
  overflow: hidden;
}

/* General Leaf Styling */
.leaf {
  position: absolute;
  width: 150px;
  opacity: 0.8;
  z-index: 2; /* Ensure the leaves are above other elements */
  animation: float-leaf 10s ease-in-out infinite,
    random-position 12s linear infinite; /* Combined animations */
  transform-origin: center; /* Movement pivot point */
  transition: transform 0.8s ease, opacity 0.8s ease; /* Smooth hover in/out */
}

/* Specific Leaf Positions */
.leaf-top-left {
  top: -20%;
  left: 5%;
  transform: rotate(-20deg);
}

.leaf-top-right {
  top: -20%;
  right: 10%;
  transform: rotate(30deg);
}

.leaf-bottom-left {
  bottom: -15%;
  left: 18%;
  transform: rotate(-15deg);
}

.leaf-bottom-right {
  top: 75%;
  right: 18%;
  transform: rotate(30deg);
}

/* New Leaves Positioning */
.leaf-bottom-right-middle {
  bottom: 30%; /* Slightly above bottom */
  right: -5%; /* Positioned closer to the center */
  transform: rotate(20deg);
}

.leaf-bottom-left-middle {
  bottom: 30%; /* Slightly above bottom */
  left: -5%; /* Positioned closer to the center */
  transform: rotate(-20deg);
}

/* Hover Effect */
.leaf:hover {
  transform: scale(1.15) translateY(-5px); /* Slightly larger and shifts upward */
  opacity: 1; /* Fully visible on hover */
  animation: none; /* Pause float animation on hover */
  z-index: 5; /* Bring leaf to the top on hover */
}

/* Float Animation */
@keyframes float-leaf {
  0% {
    transform: translateX(0) rotate(0deg);
  }
  25% {
    transform: translateX(10px) rotate(5deg);
  }
  50% {
    transform: translateX(-10px) rotate(-5deg);
  }
  75% {
    transform: translateX(5px) rotate(3deg);
  }
  100% {
    transform: translateX(0) rotate(0deg);
  }
}

/* Random Position Animation */
@keyframes random-position {
  0%,
  100% {
    transform: translate(0, 0);
  }
  25% {
    transform: translate(5px, 5px);
  }
  50% {
    transform: translate(-8px, -8px);
  }
  75% {
    transform: translate(8px, -5px);
  }
}

/* Smooth Transition Back */
.leaf {
  transition: all 0.8s cubic-bezier(0.25, 0.8, 0.25, 1); /* Even smoother easing */
}

/* Hero Image */
.hero-image img {
  max-width: 200px;
  animation: float 3s ease-in-out infinite;
}

/* Float Animation */
@keyframes float {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0);
  }
}

/* Optional: Add a slight rotation effect */
.hero-image img:hover {
  animation: float-rotate 1.5s infinite ease-in-out;
}

@keyframes float-rotate {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-10px) rotate(5deg);
  }
}

/* Hero Title */
.hero-title {
  font-family: "Poppins", sans-serif;
  font-size: 2.5rem;
  font-weight: bold;
  color: #1b5e20;
  margin-bottom: 10px;
}

/* Hero Subtitle */
.hero-subtitle {
  font-family: "Roboto", sans-serif;
  font-size: 1.2rem;
  font-weight: 300;
  color: #3c763d;
  margin-bottom: 30px;
}

/* Button Group */
.button-group {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-top: 20px;
}

/* Upload Button */
.btn-upload {
  font-family: "Poppins", sans-serif;
  font-size: 1.2rem;
  font-weight: bold;
  color: white;
  background: linear-gradient(to right, #43a047, #81c784);
  padding: 15px 50px;
  border-radius: 30px;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  gap: 10px;
}

.btn-upload:hover {
  background: linear-gradient(to right, #388e3c, #66bb6a);
  transform: translateY(-2px);
}

/* Submit Button */
.btn-submit {
  font-family: "Poppins", sans-serif;
  font-size: 1.2rem;
  font-weight: bold;
  color: white;
  background: linear-gradient(to right, #3498db, #2980b9);
  padding: 15px 50px;
  border-radius: 30px;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  gap: 10px;
}

.btn-submit:hover {
  background: linear-gradient(to right, #2980b9, #1f618d);
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

/* Speech Bubble */
.speech-bubble {
  font-family: "Poppins", sans-serif;
  position: absolute;
  top: -55px;
  left: 40%;
  transform: translateX(-50%);
  background: white;
  border: 3px solid #43a047; /* Green border */
  border-radius: 20px;
  padding: 10px 20px;
  font-size: 1.2rem;
  font-weight: bold;
  color: #333;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  white-space: nowrap;
  z-index: 2;
  text-align: center;
  min-width: 200px;
}

.speech-bubble::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  border-width: 10px;
  border-style: solid;
  border-color: white transparent transparent transparent;
}

/* Image Preview Heading */
.preview-heading {
  font-family: "Poppins", sans-serif;
  font-size: 1.8rem;
  font-weight: bold;
  color: #1b5e20; /* Green color */
  margin-bottom: 15px;
  animation: fadeIn 0.5s ease-in-out; /* Add fade-in effect */
}

/* Image Preview Styling */
#image-preview-container {
  text-align: center;
  margin-top: 20px;
  position: relative;
}

#image-preview {
  width: 350px;
  height: auto;
  border: 3px solid #ddd;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  animation: fadeIn 0.5s ease-in-out;
}

/* Fade-in Animation */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Cancel Icon Styling */
.cancel-icon {
  position: absolute;
  top: 55px;
  right: 480px;
  background: transparent;
  border: none;
  color: #ff4d4d; /* Red color */
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 10;
  transition: transform 0.3s ease, color 0.3s ease;
}

.cancel-icon:hover {
  transform: scale(1.2);
  color: #ff0000; /* Bright red on hover */
}

@media (max-width: 768px) {
  /* Hero Section */
  .hero-section {
    padding: 50px 15px; /* Adjust padding */
    text-align: center; /* Center-align for mobile */
  }

  /* Speech Bubble */
  .speech-bubble {
    top: -20px; /* Move the bubble higher */
    padding: 10px 15px;
    border-radius: 15px;
    font-size: 1rem;
    width: auto;
    min-width: 180px;
    text-align: center;
    z-index: 10; /* Ensure it stays above other elements */
  }

  /* Hero Image */
  .hero-image img {
    max-width: 150px; /* Adjust image size for mobile */
    margin-top: 50px; /* Move the image down */
  }

  /* Hero Title */
  .hero-title {
    font-size: 2rem;
    margin-bottom: 10px;
  }

  /* Hero Subtitle */
  .hero-subtitle {
    font-size: 1rem;
    margin-bottom: 20px;
  }

  /* Button Group */
  .button-group {
    flex-direction: column; /* Stack buttons */
    gap: 10px;
    margin-top: 20px;
  }

  .btn-upload,
  .btn-submit {
    font-size: 1rem;
    padding: 10px 20px; /* Adjust button size */
  }

  /* Leaf Adjustments for Mobile */
  .leaf {
    width: 80px; /* Reduce leaf size */
    opacity: 0.7;
  }

  .leaf-top-left {
    top: 10%;
    left: 5%;
  }

  .leaf-top-right {
    top: 5%;
    right: 5%;
  }

  .leaf-bottom-left {
    bottom: 5%;
    left: 2%;
  }

  .leaf-bottom-right {
    top: 420px !important; /* Move leaf off-screen */
    right: 2%;
  }

  /* New Middle Leaves */
  .leaf-middle-left {
    top: 30%; /* Adjusted to move higher */
    left: 20%; /* Slightly closer to center */
    transform: translateY(-50%);
  }

  .leaf-middle-right {
    top: 40%; /* Adjusted to move higher */
    right: 20%; /* Slightly closer to center */
    transform: translateY(-50%);
  }

  /* Cancel Icon Styling */
  .cancel-icon {
    position: absolute;
    top: 50px; /* Ensure it stays visible */
    right: 40px;
    font-size: 1.2rem;
    color: #261111;
    border-radius: 10%;
    padding: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    z-index: 15; /* Higher z-index to ensure it's above */
    cursor: pointer;
    transition: transform 0.3s ease, background-color 0.3s ease;
  }

  .cancel-icon:hover {
    transform: scale(1.2);
    background-color: #ffe5e5;
  }

  /* Image Preview Styling */
  #image-preview-container {
    position: relative;
    margin-top: 20px;
    text-align: center;
  }

  #image-preview {
    width: 90%; /* Responsive width */
    max-width: 300px;
    height: auto;
    border-radius: 10px;
    border: 3px solid #ddd;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  }
}

/* Footer Section Styling */
.footer-section {
  background: linear-gradient(
    90deg,
    #2e7d32,
    #66bb6a
  ); /* Deep green gradient */
  color: white;
  padding: 50px 0;
  font-family: "Roboto", sans-serif;
}

/* Futuristic Heading Styling */
.footer-title {
  font-family: "Poppins", sans-serif; /* Clean and modern font */
  font-size: 2rem;
  font-weight: 700;
  color: #151414cf; /* Golden yellow for contrast */
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 15px;
  position: relative;
}

/* Heading Underline Effect */
.footer-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 80px;
  height: 4px;
  /* background: linear-gradient(to right, #ff6f00, #ffa000); Warm orange gradient */
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 1) 0%,
    rgba(101, 233, 127, 1) 100%,
    rgba(0, 212, 255, 1) 100%
  );
  border-radius: 2px;
}

/* About Section */
.about-section {
  background: linear-gradient(to bottom, #f4f4f4, #ffffff);
  padding: 40px 20px;
  color: #333;
}

.about-title {
  font-family: "Orbitron", sans-serif;
  font-size: 2rem;
  font-weight: bold;
  color: #2e7d32;
  margin-bottom: 20px;
}

.about-subtitle {
  font-size: 1.2rem;
  font-weight: 300;
  color: #555;
  margin-bottom: 20px;
}

.about-features {
  list-style: none;
  padding: 0;
}

.about-features li {
  font-size: 1rem;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  color: #388e3c;
}

.about-features i {
  font-size: 1.2rem;
  margin-right: 10px;
  color: #81c784;
}

.about-image {
  max-width: 100%;
}

.btn-learn-more {
  padding: 12px 30px;
  font-size: 1rem;
  color: white;
  background: linear-gradient(to right, #43a047, #66bb6a);
  border: none;
  border-radius: 30px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn-learn-more:hover {
  background: linear-gradient(to right, #388e3c, #43a047);
  transform: scale(1.05);
}

/* about section end */

/* Download Section */
.download-section {
  /* background: linear-gradient(90deg, #f4f4f4, #ffffff); Subtle gradient */
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 1) 0%,
    rgba(101, 233, 127, 1) 100%,
    rgba(0, 212, 255, 1) 100%
  );
  padding: 80px 20px;
  color: #333;
}

.download-title {
  font-family: "Orbitron", sans-serif;
  font-size: 2rem;
  font-weight: bold;
  color: #2e7d32; /* Green to match the theme */
  margin-bottom: 20px;
  text-transform: uppercase;
}

.download-subtitle {
  font-size: 1.2rem;
  font-weight: 300;
  color: #555;
  margin-bottom: 30px;
}

.app-buttons a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.2rem;
  font-weight: bold;
  text-decoration: none;
  padding: 15px 30px;
  border-radius: 30px;
  transition: all 0.3s ease;
  color: white;
}

.btn-playstore {
  background: linear-gradient(to right, #43a047, #81c784); /* Green gradient */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  margin: 10px;
}

.btn-appstore {
  background: linear-gradient(to right, #1d3557, #457b9d); /* Blue gradient */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.app-buttons {
  margin: 10px;
}

.app-buttons a:hover {
  transform: scale(1.05); /* Slight scaling effect */
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.app-buttons i {
  font-size: 1.5rem;
}

.download-image img {
  max-width: 70%;
  border-radius: 20px;
  transition: transform 0.3s ease;
}

.download-image img:hover {
  transform: translateY(-10px); /* Hover lift effect */
}

/* Subheading/Paragraph Styling */
.footer-section p {
  font-family: "Roboto", sans-serif;
  font-size: 1.1rem; /* Slightly larger for readability */
  font-weight: 400;
  color: #e8f5e9; /* Light green for balance */
  margin-bottom: 1.5rem;
  line-height: 1.8; /* Comfortable line spacing */
}

/* Footer Links */
.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  font-family: "Roboto", sans-serif;
  font-size: 1rem;
  text-decoration: none;
  color: #d4f1d8; /* Subtle green link */
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #ffffff;
}

/* Contact Icons */
.footer-section i {
  margin-right: 10px;
  font-size: 1.2rem;
  color: #ffcc80; /* Warm gold for contrast */
  transition: color 0.3s ease;
}

.footer-section i:hover {
  color: #ffffff;
}

/* Footer Credit */
.footer-credit {
  font-size: 0.9rem;
  color: #c8e6c9; /* Soft pastel green */
  text-align: center;
}

/* Divider for Footer Credit */
.footer-credit::before {
  content: "";
  display: block;
  width: 80%;
  height: 1px;
  background: rgba(255, 255, 255, 0.2); /* Divider line */
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .footer-title {
    font-size: 1.5rem;
  }

  .footer-section p {
    font-size: 1rem;
  }
}

/* about page css */

/* About Hero Section */
.about-hero-section {
  background: linear-gradient(
    135deg,
    #81c784,
    #66bb6a
  ); /* Gradient background */
  padding: 80px 20px;
  color: white;
  text-align: center;
}

.about-hero-title {
  font-size: 3rem;
  font-weight: bold;
  text-shadow: 2px 2px rgba(0, 0, 0, 0.3);
  margin-bottom: 15px;
}

.about-hero-subtitle {
  font-size: 1.2rem;
  font-weight: 300;
  max-width: 800px;
  margin: 0 auto;
  text-shadow: 1px 1px rgba(0, 0, 0, 0.2);
}

/* Problem Statement Section */
.problem-section {
  background: linear-gradient(
    135deg,
    #f5f5f5,
    #e8eaf6
  ); /* Soft light gradient */
  padding: 80px 20px;
  text-align: center;
  position: relative;
  overflow: hidden; /* Ensure circles do not overlap content */
}

.problem-section .section-title {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 20px;
  color: #2e7d32; /* Rich green color */
  text-shadow: 1px 1px rgba(0, 0, 0, 0.2);
  position: relative;
  z-index: 2; /* Ensures title stays above background */
}

.problem-section .section-text {
  font-size: 1.1rem;
  color: #555;
  line-height: 1.8;
  max-width: 700px;
  margin: 0 auto 40px;
  position: relative;
  z-index: 2; /* Ensures text stays above background */
}

.problem-section .problem-list {
  text-align: left;
  max-width: 800px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
  position: relative;
  z-index: 2; /* Ensures list stays above background */
}

.problem-section .problem-list li {
  position: relative;
  font-size: 1.2rem;
  line-height: 1.8;
  padding: 10px 0;
  padding-left: 40px;
  color: #4caf50; /* Subtle green text */
}

.problem-section .problem-list li::before {
  content: "✔";
  font-size: 1.5rem;
  position: absolute;
  left: 0;
  top: 10px;
  color: #388e3c; /* Darker green icon */
}

/* Add Animation to Text */
@keyframes slideInText {
  from {
    transform: translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.problem-section .section-title,
.problem-section .problem-list li {
  animation: slideInText 0.8s ease forwards;
}

.problem-section .problem-list li:nth-child(odd) {
  animation-delay: 0.2s;
}

.problem-section .problem-list li:nth-child(even) {
  animation-delay: 0.4s;
}

/* Add a Subtle Background Shape */
.problem-section::before {
  content: "";
  position: absolute;
  top: 10%;
  left: -15%;
  width: 250px;
  height: 250px;
  background: rgba(76, 175, 80, 0.1); /* Softer green */
  border-radius: 50%;
  z-index: 0;
  animation: floatBubble 8s infinite ease-in-out; /* Floating effect */
}

.problem-section::after {
  content: "";
  position: absolute;
  bottom: 15%;
  right: -10%;
  width: 300px;
  height: 300px;
  background: rgba(76, 175, 80, 0.15); /* Slightly darker green */
  border-radius: 50%;
  z-index: 0;
  animation: floatBubble 10s infinite ease-in-out reverse; /* Floating effect */
}

/* Floating Background Animation */
@keyframes floatBubble {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-15px);
  }
  100% {
    transform: translateY(0);
  }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .problem-section {
    padding: 60px 15px;
  }

  .problem-section .section-title {
    font-size: 2rem;
  }

  .problem-section .section-text {
    font-size: 1rem;
    line-height: 1.6;
  }

  .problem-section .problem-list li {
    font-size: 1rem;
    padding-left: 30px;
  }

  .problem-section::before {
    width: 200px;
    height: 200px;
    left: -20%;
    top: 15%;
  }

  .problem-section::after {
    width: 250px;
    height: 250px;
    right: -15%;
    bottom: 20%;
  }
}

/* Mission Section */
.about-mission-section {
  background: linear-gradient(to bottom, #e8f5e9, #c8e6c9); /* Subtle green */
  padding: 80px 20px;
}

.about-mission-section .about-section-title {
  font-size: 2.5rem;
  color: #2e7d32;
  margin-bottom: 15px;
}

.about-mission-section .about-section-text {
  font-size: 1.1rem;
  color: #444;
  line-height: 1.8;
}

.about-mission-section img {
  max-width: 100%;
  border-radius: 15px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
  animation: fadeInZoom 1s ease-in-out;
}

@keyframes fadeInZoom {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Quote Section Styling */
.quote-section {
  background: linear-gradient(
    to bottom right,
    #269540,
    #f3f8f3
  ); /* Soft beige gradient */
  padding: 80px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.quote-section .container {
  max-width: 800px;
  margin: 0 auto;
}

.quote {
  font-family: "Poppins", sans-serif;
  position: relative;
  font-size: 1.5rem;
  color: #333;
  padding: 20px 40px;
  background: #ffffff; /* White background for contrast */
  border-radius: 15px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  display: inline-block;
  animation: fadeInQuote 1.5s ease-in-out;
}

.quote::before,
.quote::after {
  content: "“";
  font-size: 4rem;
  font-weight: bold;
  color: rgba(
    14,
    13,
    13,
    0.732
  ); /* Semi-transparent black for decorative quotes */
  position: absolute;
}

.quote::before {
  top: -40px;
  left: -30px;
}

.quote::after {
  bottom: -70px;
  right: -32px;
  content: "”";
}

.quote-text {
  font-weight: 1000;
  line-height: 1.8;
  color: #2a2929; /* Soft gray for text */
  margin-bottom: 15px;
  font-family: "poppins", sans-serif;
}

.quote-author {
  font-size: 1.2rem;
  font-weight: bold;
  color: #8d6e63; /* Warm brown for author name */
  margin-top: 10px;
  font-style: italic;
}

.decorative-line {
  margin: 30px auto 0;
  width: 60px;
  height: 4px;
  background: linear-gradient(
    to right,
    #1bfa35,
    #609568
  ); /* Beige and brown gradient */
  border-radius: 2px;
}

/* Animation for Quote Section */
@keyframes fadeInQuote {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Floating Background Elements */
.quote-section::before,
.quote-section::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 235, 205, 0.3); /* Warm beige bubbles */
}

.quote-section::before {
  width: 300px;
  height: 300px;
  top: -50px;
  left: -70px;
  animation: floatBubbles 8s ease-in-out infinite;
}

.quote-section::after {
  width: 200px;
  height: 200px;
  bottom: -40px;
  right: -50px;
  animation: floatBubbles 10s ease-in-out infinite reverse;
}

/* Floating Bubble Animation */
@keyframes floatBubbles {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

/* Vision Section */
.about-vision-section {
  background: linear-gradient(135deg, #43a047, #66bb6a); /* Green gradient */
  color: white;
  padding: 20px 20px;
  position: relative;
  overflow: hidden;
}

/* Robot Image Styling */
.vision-robot {
  position: relative;
  margin-bottom: 10px;
  animation: pulse 3s infinite ease-in-out; /* Subtle pulsing effect */
}

.robot-image {
  max-width: 150px;
  width: 100%;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.3)); /* 3D shadow effect */
  transition: transform 0.3s ease;
}

.robot-image:hover {
  transform: scale(1.1); /* Slight zoom on hover */
}

.panel {
  position: absolute;
  width: 200px;
  height: 400px;
  background: rgba(255, 255, 255, 0.1); /* Semi-transparent panels */
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  border-radius: 20px;
  animation: floating-panel 6s ease-in-out infinite;
}

.panel-left {
  left: -10%;
  top: -60%;
  transform: rotate(-15deg);
}

.panel-right {
  right: -10%;
  bottom: -60%;
  transform: rotate(15deg);
}

@keyframes floating-panel {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-15px);
  }
}

/* Vision Title */
.vision-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 20px;
  text-shadow: 2px 2px rgba(0, 0, 0, 0.3);
  animation: fadeIn 1s ease-in-out;
}

/* Vision Text */
.vision-text {
  font-size: 1.5rem;
  line-height: 1.8;
  max-width: 800px;
  margin: 10px auto;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.9);
  animation: slideUp 1s ease-in-out;
}

/* Glowing Lines */
.about-vision-section::before,
.about-vision-section::after {
  content: "";
  position: absolute;
  height: 2px;
  width: 100%;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0.1),
    rgba(255, 255, 255, 0.8),
    rgba(255, 255, 255, 0.1)
  );
  animation: glowing-line 6s linear infinite;
}

.about-vision-section::before {
  top: 3%;
}

.about-vision-section::after {
  bottom: 2%;
  animation-delay: 3s;
}

/* Animations */
@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05); /* Slight pulsing effect */
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    transform: translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes glowing-line {
  0% {
    transform: scaleX(0);
  }
  50% {
    transform: scaleX(1);
  }
  100% {
    transform: scaleX(0);
  }
}

/* Infographic Section */
.infographic-section {
  background: #f4f4f4; /* Soft white background */
  color: #333;
  padding: 100px 20px;
  position: relative;
  text-align: center;
  overflow: hidden;
}

/* Infographic Title */
.infographic-title {
  font-size: 2.8rem;
  font-weight: bold;
  margin-bottom: 30px;
  color: #1b5e20; /* Deep green title for contrast */
  text-shadow: 1px 1px rgba(0, 0, 0, 0.1);
}

/* Infographic Subtitle */
.infographic-subtitle {
  font-size: 1.4rem;
  font-weight: 300;
  color: #555; /* Neutral color for subtitle */
  margin-bottom: 50px;
  max-width: 700px;
  margin: 0 auto 50px;
}

/* Infographic Cards */
.infographic-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.infographic-card {
  background: white; /* White card with shadow */
  border: 1px solid #e0e0e0; /* Light border for definition */
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.infographic-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2); /* Enhanced shadow on hover */
}

/* Card Icon */
.infographic-card i {
  font-size: 3rem;
  color: #2aca3f; /* Warm orange for icons */
  margin-bottom: 15px;
  animation: bounce 2s infinite ease-in-out;
}

/* Card Data */
.infographic-card .infographic-data {
  font-size: 2rem;
  font-weight: bold;
  margin: 10px 0;
  color: #333;
}

.infographic-card .infographic-label {
  font-size: 1rem;
  color: #777;
}

/* Floating Background Elements */
.infographic-section::before,
.infographic-section::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.05);
}

.infographic-section::before {
  width: 300px;
  height: 300px;
  top: -50px;
  left: -50px;
  animation: floatBubble 8s ease-in-out infinite;
}

.infographic-section::after {
  width: 400px;
  height: 400px;
  bottom: -70px;
  right: -70px;
  animation: floatBubble 10s ease-in-out infinite reverse;
}

/* Floating Bubble Animation */
@keyframes floatBubble {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

/* Icon Bounce Animation */
@keyframes bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* about page responsive css */
/* General Responsive Styling */
@media (max-width: 1200px) {
  .about-hero-title {
    font-size: 2.5rem;
  }

  .about-hero-subtitle {
    font-size: 1rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .problem-list li {
    font-size: 1rem;
  }
}

@media (max-width: 992px) {
  .about-mission-section,
  .problem-section,
  .quote-section,
  .infographic-section {
    padding: 60px 15px;
  }

  .problem-list {
    padding-left: 0;
  }

  .problem-list li {
    padding-left: 30px;
  }

  .problem-list li::before {
    left: 10px;
  }

  .quote {
    padding: 15px 30px;
  }

  .robot-image {
    max-width: 200px;
  }
}

@media (max-width: 768px) {
  .about-hero-title {
    font-size: 2rem;
  }

  .about-hero-subtitle {
    font-size: 0.9rem;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .problem-list li {
    font-size: 0.9rem;
  }

  .quote {
    font-size: 1.2rem;
  }

  .quote-text {
    font-size: 1rem;
  }

  .infographic-grid {
    grid-template-columns: 1fr;
  }

  .vision-title {
    font-size: 2rem;
  }

  .vision-text {
    font-size: 1rem;
  }

  .vision-robot img {
    max-width: 150px;
  }
}

@media (max-width: 576px) {
  .about-hero-section {
    padding: 40px 10px;
  }

  .about-hero-title {
    font-size: 1.8rem;
  }

  .about-hero-subtitle {
    font-size: 0.8rem;
  }

  .quote {
    font-size: 1rem;
    padding: 10px 20px;
  }

  .problem-list li {
    font-size: 0.8rem;
  }

  .infographic-title {
    font-size: 2rem;
  }

  .infographic-card {
    padding: 20px;
  }

  .infographic-card .infographic-data {
    font-size: 1.5rem;
  }

  .robot-image {
    max-width: 120px;
  }
}

/* output page css */

/* Hero Section */
.output-hero-section {
  background: linear-gradient(135deg, #43a047, #81c784); /* Green gradient */
  color: white;
  text-align: center;
  position: relative;
}

#particles-js {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 1; /* Ensure it sits below the content */
}

.output-hero-section .container {
  position: relative;
  z-index: 2; /* Place content above particles */
  color: white; /* Adjust content color for better contrast */
  text-align: center;
}


.output-hero-title {
  font-size: 2.8rem;
  font-weight: bold;
  margin-bottom: 15px;
}

.output-hero-subtitle {
  font-size: 1.2rem;
  font-weight: 300;
  max-width: 700px;
  margin: 0 auto;
}

/* Disease Analysis Section */
/* Plant Overview Section */
.plant-overview-section {
  background: linear-gradient(
    135deg,
    #e8f5e9,
    #ffffff
  ); /* Soft greenish gradient */
  padding: 35px 20px;
  position: relative;
  overflow: hidden;
  text-align: center;
}

/* Section Header */
.plant-overview-header {
  margin-bottom: 50px;
}

.plant-overview-title {
  font-family: "Poppins", sans-serif;
  font-size: 2.8rem;
  font-weight: bold;
  color: #2e7d32;
  text-shadow: 1px 1px rgba(0, 0, 0, 0.1);
  animation: fadeIn 1s ease-in-out;
}

.plant-overview-subtitle {
  font-family: "Roboto", sans-serif;
  font-size: 1.2rem;
  font-weight: 300;
  color: #555;
  margin: 0 auto;
  max-width: 700px;
  line-height: 1.8;
  animation: fadeInUp 1.2s ease-in-out;
}

/* Section Content Layout */
.plant-overview-content {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  align-items: center;
}

/* Plant Image Container */
.plant-image-container {
  position: relative;
  width: 100%;
  max-width: 400px;
  text-align: center;
  animation: slideInLeft 1.5s ease-in-out;
}

.plant-image {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  z-index: 2;
}

/* Floating Bubbles Effect */
.plant-image-container::before,
.plant-image-container::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(76, 175, 80, 0.1); /* Transparent green */
  z-index: 1;
  animation: bubbleFloat 10s infinite ease-in-out;
}

.plant-image-container::before {
  width: 150px;
  height: 150px;
  top: -30px;
  left: -50px;
}

.plant-image-container::after {
  width: 200px;
  height: 200px;
  bottom: -40px;
  right: -60px;
}

/* Plant Details Container */
.plant-details-container {
  max-width: 600px;
  text-align: left;
  animation: slideInRight 1.5s ease-in-out;
}

.plant-name {
  font-family: "Poppins", sans-serif;
  font-size: 2rem;
  font-weight: bold;
  color: #2e7d32;
  margin-bottom: 20px;
  text-shadow: 1px 1px rgba(0, 0, 0, 0.1);
}

.plant-description {
  font-family: "Roboto", sans-serif;
  font-size: 1.1rem;
  color: #555;
  line-height: 1.8;
  margin-bottom: 30px;
}

.plant-details {
  list-style: none;
  padding: 0;
}

.plant-details li {
  font-size: 1.1rem;
  color: #333;
  line-height: 1.8;
  margin-bottom: 10px;
  position: relative;
  padding-left: 25px;
}

.plant-details li::before {
  content: "🌱"; /* Leaf icon */
  font-size: 1.2rem;
  position: absolute;
  left: 0;
  top: 0;
  color: #43a047;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fadeInUp {
  from {
    transform: translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes slideInLeft {
  from {
    transform: translateX(-100px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideInRight {
  from {
    transform: translateX(100px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes bubbleFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .plant-overview-content {
    flex-direction: column;
  }

  .plant-image-container {
    animation: fadeIn 1.5s ease-in-out;
  }

  .plant-details-container {
    text-align: center;
    animation: fadeIn 1.5s ease-in-out;
  }

  .plant-details li {
    flex-direction: column; /* Stack the content vertically */
    align-items: flex-start; /* Align text and icon to the left */
    gap: 5px; /* Add space between icon and text */
  }

  .plant-details li strong {
    margin-right: 0; /* Remove right margin in stacked view */
  }

  .plant-details li::before {
    margin-bottom: 5px; /* Add space below icon */
    margin-right: 0; /* Remove right margin */
  }
}

/* Disease Analysis Section */
.disease-analysis-section {
  background: #ffffff;
  padding: 100px 20px;
  text-align: center;
}

.disease-analysis-title {
  font-size: 2.5rem;
  font-weight: bold;
  color: #1b5e20;
  margin-bottom: 20px;
}

.disease-analysis-description {
  font-size: 1.2rem;
  color: #555;
  line-height: 1.8;
  max-width: 700px;
  margin: 0 auto 40px;
}

/* Analysis Grid */
.analysis-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: 20px;
  margin-top: 20px;
  justify-content: center;
}

/* Analysis Card */
.analysis-card {
  text-align: center;
  padding: 15px;
  background: linear-gradient(135deg, #ffffff, #f8f8f8); /* Light gradient */
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

.analysis-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Card Title */
.analysis-card-title {
  font-size: 1.2rem;
  font-weight: bold;
  color: #1b5e20;
  margin-bottom: 10px;
}

/* Image Container */
/* Analysis Image */
.analysis-image {
  width: 80%;
  height: 80%;
  cursor: pointer;
  transition: transform 0.3s ease;
  border-radius: 20px;
}

/* Image Modal Styling */

.image-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 80%;
  height: 80%;
  background: rgba(0, 0, 0, 0.8);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.image-modal-content {
  max-width: 80%;
  max-height: 80%;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(255, 255, 255, 0.2);
  animation: zoomIn 0.3s ease-in-out;
}

@keyframes zoomIn {
  from {
    transform: scale(0.5);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.image-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: #ff4d4d;
  color: white;
  font-size: 1.5rem;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.3s ease;
  z-index: 1001;
}

.image-modal-close:hover {
  background: #ff1a1a;
}

/* Disease Details Section */
.analysis-details {
  margin-top: 40px;
}

.details-title {
  font-size: 2rem;
  font-weight: bold;
  color: #1b5e20;
  margin-bottom: 30px;
}

.details-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.details-card {
  background: white;
  border: 1px solid #e0e0e0;
  border-radius: 15px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.details-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.details-card i {
  font-size: 2rem;
  color: #43a047;
  margin-bottom: 10px;
}

.details-heading {
  font-size: 1.2rem;
  font-weight: bold;
  color: #333;
  margin-bottom: 10px;
}

.details-info {
  font-size: 1rem;
  font-weight: 300;
  color: #555;
}

/* Back to Home Button */
.back-to-home-btn {
  margin-top: 30px;
  background: linear-gradient(to right, #43a047, #66bb6a);
  color: white;
  font-size: 1.2rem;
  font-weight: bold;
  padding: 15px 30px;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.back-to-home-btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

/* Image Modal */
.image-modal {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  max-width: 700px;
  background: white;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  z-index: 1000;
}

.image-modal-content {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

.image-modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #ff4d4d;
  color: white;
  border: none;
  border-radius: 50%;
  font-size: 1.5rem;
  width: 40px;
  height: 40px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.image-modal-close:hover {
  background: #ff1a1a;
}

/* Infographic Section */
.infographic-section {
  background: #f4f4f4;
  color: #333;
  padding: 100px 20px;
  text-align: center;
}

.infographic-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.infographic-card {
  background: white;
  border: 1px solid #e0e0e0;
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.infographic-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.infographic-icon {
  font-size: 2.5rem;
  color: #ff9800;
  margin-bottom: 15px;
}

.infographic-data {
  font-size: 1.8rem;
  font-weight: bold;
  color: #1b5e20;
  margin-bottom: 10px;
}

.infographic-label {
  font-size: 1rem;
  color: #555;
}

/* Responsive Design */
@media (max-width: 768px) {
  .details-cards,
  .analysis-grid,
  .infographic-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .output-hero-title {
    font-size: 2.2rem;
  }

  .output-hero-subtitle {
    font-size: 1rem;
  }
}

/* Hero Section */
.output-hero-section {
  background: linear-gradient(135deg, #43a047, #81c784);
  color: white;
  text-align: center;
  padding: 80px 20px;
}

.output-hero-title {
  font-size: 2.8rem;
  font-weight: bold;
  animation: fadeIn 1s ease-in-out;
}

.output-hero-subtitle {
  font-size: 1.2rem;
  font-weight: 300;
  max-width: 700px;
  margin: 0 auto;
  animation: fadeIn 1.2s ease-in-out;
}

.btn-back {
  background: #388e3c;
  color: white;
  border-radius: 30px;
  font-weight: bold;
  padding: 10px 20px;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-back:hover {
  background: #2e7d32;
  transform: scale(1.05);
}

/* Plant Info Section */
.plant-info-section {
  background: #f9f9f9;
  padding: 100px 20px;
}

.plant-info-title {
  font-size: 2.5rem;
  font-weight: bold;
  color: #1b5e20;
  text-align: center;
  margin-bottom: 50px;
  animation: fadeIn 1s ease-in-out;
}

/* Rest of the sections and animations are included for smooth transitions */
/* Solution Section */
.solution-section {
  /* background: linear-gradient(135deg, #f5f5f5, #ffffff); Neutral light gradient */
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 1) 0%,
    rgba(101, 233, 127, 1) 100%,
    rgba(0, 212, 255, 1) 100%
  );
  padding: 80px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
  margin-top: 20px;
  border-radius: 20px;
}

/* Title Styling */
.solution-title {
  font-family: "Poppins", sans-serif;
  font-size: 2.5rem;
  font-weight: bold;
  color: #2e7d32; /* Deep green */
  margin-bottom: 50px;
  position: relative;
  z-index: 1;
  text-shadow: 1px 1px rgba(0, 0, 0, 0.1);
}

/* Solutions Cards Container */
.solution-cards-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  justify-content: center;
  position: relative;
  z-index: 1;
}

/* Solution Card */
.solution-card {
  background: linear-gradient(
    135deg,
    #ffffff,
    #e8f5e9
  ); /* Light green gradient */
  border-radius: 20px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
}

.solution-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
  background: linear-gradient(
    135deg,
    #e8f5e9,
    #ffffff
  ); /* Reverse gradient on hover */
}

/* Icon Container */
.solution-icon-container {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #43a047, #66bb6a); /* Green gradient */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  margin-bottom: 20px;
  position: relative;
}

.solution-icon {
  font-size: 2.5rem;
  color: white;
  animation: popIn 0.5s ease-out;
}

/* Solution Content */
.solution-heading {
  font-family: "Poppins", sans-serif;
  font-size: 1.5rem;
  font-weight: bold;
  color: #2e7d32;
  margin-bottom: 15px;
}

.solution-text {
  font-family: "Roboto", sans-serif;
  font-size: 1rem;
  color: #555;
  line-height: 1.6;
}

/* Animated Background Elements */
.solution-section::before,
.solution-section::after {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  background: rgba(76, 175, 80, 0.1); /* Transparent green */
  border-radius: 50%;
  animation: bubbleFloat 10s infinite ease-in-out;
  z-index: 0;
}

.solution-section::before {
  top: -50px;
  left: -50px;
}

.solution-section::after {
  bottom: -50px;
  right: -50px;
}

/* Animations */
@keyframes bubbleFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

@keyframes popIn {
  0% {
    transform: scale(0.8);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .solution-cards-container {
    grid-template-columns: 1fr;
  }
}

/* Separator Line */
.separator-line {
  width: 80px; /* Adjust the width of the line */
  height: 4px; /* Adjust the thickness of the line */
  background: linear-gradient(
    90deg,
    #43a047,
    #81c784
  ); /* Green gradient for the line */
  margin: 30px auto; /* Center the line and provide spacing */
  border-radius: 50px; /* Rounded edges for the line */
  position: relative; /* Position for decorative circles */
}

/* Decorative Circles on Separator */
.separator-line::before,
.separator-line::after {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 8px; /* Circle size */
  height: 8px; /* Circle size */
  border-radius: 50%;
  background: #43a047; /* Circle color */
  z-index: 1;
}

.separator-line::before {
  left: -12px; /* Position left circle */
}

.separator-line::after {
  right: -12px; /* Position right circle */
}

/* Call-to-Action & Feedback Section */
.cta-feedback-section {
  background-image: linear-gradient(
      rgba(51, 165, 43, 0.682),
      /* Top fade effect */ rgba(249, 249, 247, 0.264)
    ),
    url("/images/poly2.svg"); /* Background image */
  background-size: 135%; /* Slightly zoomed-in background */
  background-position: center; /* Center the image */
  background-repeat: no-repeat; /* Prevent tiling */
  padding: 80px 20px;
  text-align: center;
  border-radius: 10px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Wrapper Layout */
.cta-feedback-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
  z-index: 1;
  position: relative;
}

/* Call-to-Action Content */
.cta-content {
  flex: 1;
  max-width: 48%;
  text-align: left;
  animation: fadeIn 1.2s ease-in-out;
}

.cta-icon-wrapper {
  font-size: 3rem;
  color: #2e7d32;
  margin-bottom: 15px;
  animation: bounce 2s infinite ease-in-out;
}

.cta-title {
  font-size: 2.4rem;
  font-weight: bold;
  color: #1b5e20;
  margin-bottom: 20px;
  transition: color 0.3s ease;
}

.cta-title:hover {
  color: #388e3c;
}

.cta-text {
  font-size: 1.2rem;
  color: #555;
  margin-bottom: 30px;
  line-height: 1.8;
}

.btn-download {
  background: linear-gradient(to right, #388e3c, #66bb6a);
  color: white;
  font-size: 1.2rem;
  font-weight: bold;
  padding: 12px 30px;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-download i {
  font-size: 1.2rem;
}

.btn-download:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  background: linear-gradient(to right, #43a047, #81c784);
}

/* Feedback Form */
.feedback-form-wrapper {
  flex: 1;
  max-width: 48%;
  background: white;
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  animation: fadeInUp 1.2s ease-in-out;
}

.feedback-title {
  font-size: 1.8rem;
  font-weight: bold;
  color: #2e7d32;
  margin-bottom: 15px;
  text-align: center;
}

.feedback-description {
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 25px;
  text-align: center;
  line-height: 1.6;
}

/* Feedback Form Inputs */
.feedback-form .form-group {
  margin-bottom: 20px;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 10px 15px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 1rem;
  color: #333;
  background: #f9f9f9;
  transition: box-shadow 0.3s ease, background 0.3s ease;
}

.form-input:focus,
.form-textarea:focus {
  box-shadow: 0 0 8px rgba(67, 160, 71, 0.5);
  outline: none;
  background: #ffffff;
}

.form-textarea {
  height: 100px;
  resize: none;
}

/* Submit Button */
.btn-submit-feedback {
  background: linear-gradient(to right, #43a047, #81c784);
  color: white;
  font-size: 1.2rem;
  font-weight: bold;
  padding: 12px 30px;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.btn-submit-feedback i {
  font-size: 1.2rem;
}

.btn-submit-feedback:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  background: linear-gradient(to right, #388e3c, #66bb6a);
}

/* Animations */
@keyframes bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .cta-feedback-wrapper {
    flex-direction: column;
  }

  .cta-content,
  .feedback-form-wrapper {
    max-width: 100%;
  }

  .cta-feedback-section {
    background-size: cover; /* Adjust to cover the area */
    background-position: center; /* Keep the image centered */
    padding: 50px 15px; /* Reduce padding for smaller screens */
    border-radius: 5px; /* Smaller border-radius for compact look */
  }
}


/* Loading Overlay */
.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.75);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: white;
  font-size: 1.5rem;
  font-weight: bold;
  z-index: 9999;
}

.spinner {
  width: 50px;
  height: 50px;
  border: 5px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top: 5px solid #ffffff;
  animation: spin 1s linear infinite;
  margin-bottom: 10px;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}


.alert {
  display: flex;
  align-items: center;
  padding: 15px;
  border-radius: 8px;
  font-size: 16px;
}

.alert i {
  margin-right: 10px;
  font-size: 20px;
}



/* Crop Recommendation Section */
.crop-section {
  background: white;
  padding: 50px 20px;
  text-align: center;
}

.crop-title {
  font-size: 2.5rem;
  font-weight: bold;
  color: #2e7d32;
}

.crop-description {
  font-size: 1.2rem;
  color: #555;
  margin-bottom: 20px;
}

/* Location Button */
.btn-location {
  background: linear-gradient(to right, #388e3c, #66bb6a);
  color: white;
  font-size: 1rem;
  font-weight: bold;
  padding: 10px 20px;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  transition: transform 0.3s ease, background 0.3s ease;
}

.btn-location:hover {
  background: linear-gradient(to right, #2e7d32, #43a047);
  transform: scale(1.05);
  color: white;
}

.location-text {
  margin-top: 10px;
  font-size: 1rem;
  color: #444;
}

/* Weather Info */
.weather-container {
  background: #e8f5e9;
  padding: 20px;
  border-radius: 10px;
  margin-top: 20px;
  display: none;
}

.weather-container h5 {
  color: #2e7d32;
  font-size: 1.3rem;
  font-weight: bold;
}

.form-control {
  background: #f9f9f9;
  border: 1px solid #ddd;
  padding: 10px;
  font-size: 1rem;
}
/* Crop Recommendation Button */
.btn-crop-recommendation {
  background: linear-gradient(to right, #1E88E5, #42A5F5);
  color: white;
  font-size: 1.3rem;
  font-weight: bold;
  padding: 14px 32px;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  transition: transform 0.3s ease, background 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: auto;
  transition: opacity 0.5s ease-in-out, transform 0.3s ease;
}

/* Show button when needed */
.btn-crop-recommendation.show {
  visibility: visible;
  opacity: 1;
  transform: scale(1);
}

/* Button hover effect */
.btn-crop-recommendation:hover {
  background: linear-gradient(to right, #1565C0, #1E88E5);
  transform: scale(1.05);
  color: white;
}

/* Crop Recommendation Results */
.result-container {
  margin-top: 30px;
  display: none;
  text-align: center;
  padding: 20px;
  background: #d2ebd3;
  border-radius: 10px;
  transition: display 0.5s ease-in-out;
}

.result-container.show {
  display: block;
}

/* Recommended Crops Section */
.crop-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}

/* Crop List Container */
#cropListContainer {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 20px;
}

/* Individual Crop Card */
/* ✅ Crop Image Styling */
.crop-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: #f8f9fa; /* Light gray background */
  border-radius: 12px;
  padding: 15px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  width: 200px;
  margin: 10px;
}

.crop-card:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.15);
}

.crop-image {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 80px;
  margin-bottom: 10px;
}

.crop-card h5 {
  font-size: 1.1rem;
  color: #1E88E5;
  font-weight: bold;
}

.crop-card p {
  font-size: 0.9rem;
  color: #666;
}

/* Styling for the Recommended Crops Title */
.result-title {
  font-size: 1.8rem;
  font-weight: 600;
  text-align: center;
  color: #2e7d32;
  margin-top: 20px;
}

/* Styling for the recommendation status text */
.recommendation-text {
  font-size: 1.2rem;
  font-weight: 400;
  text-align: center;
  color: #666; /* Medium grey for a softer look */
  margin-bottom: 20px;
  transition: color 0.3s ease-in-out;
}
