/* Base Styles */
:root {
  --primary-color: #006039;
  --primary-dark: #004d2d;
  --text-color: #212121;
  --text-light: #757575;
  --white: #ffffff;
  --black: #1a1a1a;
  --gray-light: #f5f5f5;
  --gray: #e0e0e0;
  --transition: all 0.3s ease;
  --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Helvetica Neue", Arial, sans-serif;
  color: var(--text-color);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

/* Header Styles */
.header {
  width: 100%;
  background-color: var(--primary-color);
  color: var(--white);
  z-index: 1000;
  transition: var(--transition);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
  padding: 0 20px;
  max-width: 1600px;
  margin: 0 auto;
}

.menu-btn {
  display: flex;
  align-items: center;
  color: var(--white);
  font-size: 15px;
}

.menu-btn i {
  margin-right: 8px;
  font-size: 18px;
}

.logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 40px;
}

.logo svg {
  height: 40px;
  width: auto;
}

.header-actions {
  display: flex;
  align-items: center;
}

.header-actions button {
  color: var(--white);
  margin-left: 20px;
  font-size: 18px;
}

/* Search Overlay Styles */
.search-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--primary-color);
  z-index: 2000;
  display: none;
  overflow-y: auto;
}

.search-overlay-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.search-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  position: relative;
}

.close-search {
  color: var(--white);
  font-size: 16px;
  display: flex;
  align-items: center;
}

.close-search i {
  margin-right: 8px;
}

.search-logo {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  justify-content: center;
}

.search-logo svg {
  height: 40px;
  width: auto;
}

.search-input-container {
  position: relative;
  max-width: 700px;
  margin: 40px auto;
  width: 100%;
  display: flex;
  align-items: center;
}

.search-input {
  width: 100%;
  background-color: rgba(255, 255, 255, 0.2);
  border: none;
  border-radius: 4px;
  padding: 15px 50px 15px 20px;
  font-size: 18px;
  color: var(--white);
}

.search-input::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.search-input:focus {
  outline: none;
  background-color: rgba(255, 255, 255, 0.25);
}

.search-submit {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--white);
  font-size: 20px;
}

.search-history {
  max-width: 700px;
  margin: 0 auto;
  width: 100%;
}

.search-history-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.search-history-header h3 {
  color: var(--white);
  font-weight: 400;
  font-size: 18px;
}

.clear-history {
  color: var(--white);
  font-size: 14px;
  display: flex;
  align-items: center;
}

.clear-history i {
  margin-left: 8px;
}

.recent-searches {
  list-style: none;
}

.recent-searches li {
  margin-bottom: 15px;
}

.recent-searches li a {
  color: var(--white);
  display: flex;
  align-items: center;
  font-size: 16px;
}

.recent-searches li a i {
  margin-right: 10px;
  opacity: 0.7;
}

/* Menu Overlay */
.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--primary-color);
  color: var(--white);
  z-index: 2000;
  overflow-y: auto;
  display: none;
}

.menu-container {
  max-width: 1600px;
  margin: 0 auto;
  padding: 20px;
}

.menu-header {
  display: flex;
  justify-content: flex-start;
  padding: 20px 0;
}

.close-menu {
  color: var(--white);
  font-size: 24px;
}

.menu-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  margin-top: 30px;
  padding-left: 10px;
}
.img-div{
  display: flex;
  position: fixed;
  bottom: 0px;
  height: 300px;
  overflow-x: auto;
}
.menu-column ul li {
  margin-bottom: 16px;
}

.menu-column ul li a {
  font-weight: 700;
  font-size: 20px;
  transition: var(--transition);
  display: block;
  padding: 5px 0;
}

.menu-column ul li a:hover {
  color: #028b55;
}

/* Footer */
.footer {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 50px 0 30px;
}

.footer-container {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

.footer-column h4 {
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 20px;
}

.footer-column ul li {
  margin-bottom: 10px;
}

.footer-column ul li a {
  transition: var(--transition);
  font-size: 14px;
}

.footer-column ul li a:hover {
  text-decoration: underline;
}

.footer-bottom {
  margin-top: 50px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  text-align: center;
  font-size: 14px;
}

/* Link with Arrow */
.link-with-arrow {
  display: inline-flex;
  align-items: center;
  color: var(--primary-color);
  font-weight: 500;
  transition: var(--transition);
}

.link-with-arrow i {
  margin-left: 8px;
  transition: transform 0.3s ease;
}

.link-with-arrow:hover i {
  transform: translateX(5px);
}

/* Animations */
.fade-in {
  opacity: 0;
  animation: fadeIn 1.5s ease-in-out forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Add styles for the configure button */
.configure-btn {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 10px 20px;
  border-radius: 4px;
  font-weight: 500;
  margin-left: auto;
  transition: background-color 0.3s ease;
}

.configure-btn:hover {
  background-color: var(--primary-dark);
}

/* Update category tabs to match reference */
.category-tabs {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-wrap: nowrap;
  margin-bottom: 0;
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--white);
  padding: 15px 20px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.category-tab {
  padding: 10px 20px;
  font-size: 16px;
  font-weight: 500;
  color: var(--text-color);
  background: transparent;
  border-bottom: none;
  position: relative;
  transition: var(--transition);
  margin-right: 20px;
  white-space: nowrap;
  flex-shrink: 0;
}

.category-tab.active {
  color: var(--primary-color);
}

.category-tab.active::after {
  content: "";
  position: absolute;
  right: -1px;
  transform: translateY(50%);
  width: 8px;
  height: 8px;
  background-color: var(--primary-color);
  border-radius: 50%;
}

/* Media Queries */
@media (min-width: 576px) {
  .menu-btn span {
    display: inline;
  }

  .header-container {
    padding: 0 30px;
  }
}

@media (min-width: 768px) {
  .menu-content {
    grid-template-columns: repeat(2, 1fr);
    padding-left: 30px;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .header-container {
    height: 90px;
  }

  .menu-column ul li a {
    font-size: 22px;
  }

  .header-actions button {
    margin-left: 30px;
  }
}

@media (min-width: 992px) {
  .menu-content {
    grid-template-columns: repeat(3, 1fr);
    padding-left: 50px;
  }

  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .header-container {
    height: 105px;
    padding: 0 40px;
  }

  .menu-btn {
    margin-left: 30px;
  }

  .header-actions {
    margin-right: 30px;
  }

  .header-actions button {
    margin-left: 40px;
  }

  .menu-column ul li a {
    font-size: 25px;
  }
}

/* Special mobile adjustments */
@media (max-width: 575px) {
  .menu-btn span {
    display: none;
  }
  .img-div{
    display: none;
   }
  .logo svg {
    height: 35px;
  }

  .header-actions button {
    margin-left: 15px;
    font-size: 16px;
  }

  .menu-column ul li a {
    font-size: 18px;
  }

  .footer-column h4 {
    font-size: 15px;
  }

  .search-logo svg {
    height: 30px;
  }

  .search-input {
    font-size: 16px;
    padding: 12px 40px 12px 15px;
  }

  .search-history-header h3 {
    font-size: 16px;
  }
}

@media (max-width: 767px) {
  .configure-btn {
    display: none;
  }

  .category-tabs {
    padding: 12px 10px;
  }

  .category-tab {
    padding: 8px 15px;
    font-size: 14px;
    margin-right: 10px;
  }

  .category-tab.active::after {
    bottom: -10px;
    left: 49%;
  }

  .close-search {
    font-size: 14px;
  }

  .search-submit {
    right: 10px;
    font-size: 18px;
  }
}

