/* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Body Styling */
.dashboard-body {
  font-family: Arial, sans-serif;
  background: #f5f5f5;
  color: #333;
}

/* Banner Slider */
.banner-slider {
  position: relative;
  width: 100%;
  height: 350px;
  overflow: hidden;
}

.banner-slider .slides {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.banner-slider .slides.active {
  opacity: 1;
}

.banner-slider img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Header */
.dashboard-header {
  text-align: center;
  background: #fff;
  padding: 20px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.logo {
  width: 100px;
  height: auto;
  margin-bottom: 10px;
}

.main-title {
  font-size: 28px;
  color: #00703c;
}

.subtitle {
  font-size: 16px;
  color: #555;
}

/* Search */
.search-section {
  text-align: center;
  padding: 20px;
  background: #e6f4ea;
}

.search-input {
  width: 80%;
  max-width: 500px;
  padding: 10px;
  font-size: 16px;
  border: 2px solid #00703c;
  border-radius: 5px;
}

/* Fixed Farm Background */
.fixed-tiles-wrapper {
  background: url('farm.jpg') no-repeat center center fixed;
  background-size: cover;
  padding: 40px 10px;
  min-height: 100vh;
}

/* Tile Container */
.fixed-tiles {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 12px;
  padding: 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

/* Tiles */
.tile {
  background: #ffffff;
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tile:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.2);
}

.tile img {
  width: 60px;
  height: 60px;
  margin-bottom: 10px;
}

.tile h3 {
  margin-bottom: 10px;
  color: #00703c;
}

.tile p {
  font-size: 14px;
  color: #555;
}

/* Footer */
.footer {
  text-align: center;
  background: #004d2c;
  color: white;
  padding: 10px;
  position: relative;
}

/*.floating-footer {
  margin-top: 40px;
}*/

/* Responsive */
@media (max-width: 768px) {
  .main-title {
    font-size: 22px;
  }

  .tile {
    padding: 15px;
  }

  .search-input {
    width: 95%;
  }
}
body.login-body {
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', sans-serif;
  background: url('background.jpg') no-repeat center center/cover;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  backdrop-filter: blur(10px);
}

.glass-card {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(14px);
  border-radius: 15px;
  padding: 30px;
  width: 300px;
  text-align: center;
  animation: fadeIn 1s ease-out;
}

.login-logo {
  width: 60px;
  margin-bottom: 10px;
}

.login-title {
  margin-bottom: 20px;
  color: #fff;
}

.login-form label {
  display: block;
  margin: 10px 0 5px;
  color: #fff;
  text-align: left;
}

.login-form input {
  width: 100%;
  padding: 10px;
  margin-bottom: 10px;
  background: rgba(255, 255, 255, 0.15);
  border: none;
  border-radius: 10px;
  color: #fff;
}

.login-form input:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.25);
}

.btn-login {
  width: 100%;
  padding: 10px;
  background-color: #00bcd4;
  border: none;
  color: white;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.btn-login:hover {
  background-color: #0097a7;
}

.login-links {
  margin-top: 15px;
}

.login-links a {
  color: #fff;
  text-decoration: underline;
  cursor: pointer;
  font-size: 0.9em;
}

.error-message {
  color: #f44336;
  font-size: 0.85em;
}

.footer {
  position: absolute;
  bottom: 10px;
  width: 100%;
  text-align: center;
  color: white;
  font-size: 0.9em;
}

/* Modal Styles */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  backdrop-filter: blur(5px);
  display: none;
  justify-content: center;
  align-items: center;
}

.modal-content {
  background: rgba(0, 0, 0, 0.6);
  padding: 20px;
  border-radius: 15px;
  width: 300px;
  text-align: center;
  color: white;
}

.modal-content input {
  margin: 8px 0;
  padding: 8px;
  width: 100%;
  background: rgba(255,255,255,0.1);
  border: none;
  border-radius: 8px;
  color: #fff;
}

.modal-content button {
  margin: 10px 5px 0;
  padding: 8px 12px;
  background-color: #00bcd4;
  border: none;
  border-radius: 8px;
  color: white;
  cursor: pointer;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}
/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Body */
.dashboard-body {
  font-family: 'Segoe UI', sans-serif;
  background: linear-gradient(135deg, #e0f7ec 0%, #dff1f0 100%);
  color: #333;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Banner Slider */
.banner-slider {
  position: relative;
  width: 100%;
  height: 350px;
  overflow: hidden;
  z-index: 1;
}

.banner-slider .slides {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

.banner-slider .slides.active {
  opacity: 1;
}

.banner-slider img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Header */
.dashboard-header {
  text-align: center;
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(10px);
  padding: 20px;
  margin-top: -100px;
  z-index: 2;
  position: relative;
  border-radius: 0 0 20px 20px;
  animation: fadeIn 1.2s ease-in-out;
}

.logo {
  width: 80px;
  margin-bottom: 10px;
}

.main-title {
  font-size: 2em;
  color: #006633;
}

.subtitle {
  font-size: 1em;
  color: #555;
}

/* Search */
.search-section {
  padding: 20px;
  text-align: center;
}

.search-input {
  padding: 12px 20px;
  border: none;
  border-radius: 30px;
  width: 80%;
  max-width: 500px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  font-size: 16px;
}

/* Tiles Wrapper with Background */
.fixed-tiles-wrapper {
  background: url('farm.jpg') no-repeat center center fixed;
  background-size: cover;
  flex: 1;
  padding: 40px 10px;
}

/* Tiles Container */
.fixed-tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(20px);
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
  animation: fadeInUp 1.5s ease;
}

/* Tile Cards */
.tile {
  background: rgba(255,255,255,0.3);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 15px;
  padding: 20px;
  text-align: center;
  cursor: pointer;
  backdrop-filter: blur(15px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: fadeInTile 0.8s ease forwards;
}

.tile:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.tile img {
  width: 60px;
  margin-bottom: 10px;
}

.tile h3 {
  color: #006633;
  margin-bottom: 8px;
  font-size: 18px;
}

.tile p {
  font-size: 14px;
  color: #444;
}

/* Footer */
.footer {
  text-align: center;
  padding: 15px;
  background: #00331a;
  color: white;
  font-size: 14px;
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: auto;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-15px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInTile {
  0% { opacity: 0; transform: scale(0.9); }
  100% { opacity: 1; transform: scale(1); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 768px) {
  .main-title {
    font-size: 1.5em;
  }

  .tile {
    padding: 15px;
  }

  .search-input {
    width: 90%;
  }

  .dashboard-header {
    margin-top: -50px;
    border-radius: 0 0 10px 10px;
  }
}
/* Banner Text Overlay */
.banner-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-weight: bold;
  font-size: 60px;
  text-align: center;
  z-index: 2;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.8);
  padding: 10px 20px;
  border-radius: 10px;
  backdrop-filter: blur(4px);
}

/* OUR PARTNERS Section */
.partners-section {
  text-align: center;
  margin: 3rem auto 2rem;
}

.partners-section h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: #01742d;
  background: rgba(255, 255, 255, 0.1);
  padding: 0.5rem 1rem;
  border-radius: 12px;
  display: inline-block;
}

.partners-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
}

.partner-logo {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid #ffffff30;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  transition: transform 0.3s ease;
}

.partner-logo:hover {
  transform: scale(1.1);
}

/* Footer fixed to bottom */
.fixed-footer {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  text-align: center;
  padding: 1rem;
  position: relative;
  bottom: 0;
  width: 100%;
  margin-top: auto;
}

/* Modal Styling */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background-color: rgba(0,0,0,0.6);
  justify-content: center;
  align-items: center;
}

.modal-content {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(12px);
  padding: 20px;
  border-radius: 20px;
  width: 300px;
  color: #000;
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}

.modal-content h2 {
  margin-top: 0;
}

.modal-content input,
.modal-content select,
.modal-content button {
  width: 100%;
  padding: 10px;
  margin: 8px 0;
  border-radius: 8px;
  border: 1px solid #ccc;
}

.modal-content button {
  background: #28a745;
  color: white;
  cursor: pointer;
  border: none;
}

.modal-content .close {
  float: right;
  font-size: 24px;
  cursor: pointer;
}
.alert-box {
  position: fixed;
  top: 70px; /* Just below the header */
  left: 50%;
  transform: translateX(-50%);
  background: rgba(40, 167, 69, 0.9); /* Green with transparency */
  color: #fff;
  padding: 15px 30px;
  border-radius: 10px;
  font-size: 1.2rem;
  font-weight: 600;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  z-index: 9999;
  opacity: 1;
  transition: opacity 1s ease-in-out;
  max-width: 90%;
  text-align: center;
  pointer-events: none; /* So it doesn't block clicks */
}

/* You can add a red color for errors */
.alert-box.error {
  background: rgba(220, 53, 69, 0.9);
}
/* Social Icons Shared Styling */
.social-icons, .social-footer {
  background: rgba(0, 51, 26, 0.85);
  padding: 25px 0;
  text-align: center;
  margin-top: auto;
}

.social-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  margin-bottom: 10px;
}

.social-links a {
  background-color: white;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #28a745;
  font-size: 22px;
  text-decoration: none;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease;
}

.social-links a:hover {
  background-color: #28a745;
  color: white;
  transform: scale(1.2);
}