* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
   font-family: "Poppins", sans-serif;
}

body {
  background: #f9faf9;
  min-height: 100vh;
}
.green-btn{
      background: linear-gradient(90deg, #1b5e20, #43a047) !important;
    color: #fff;
    padding: 8px 15px;
    border-radius: 6px;
    text-decoration: none;
    margin-left: 8px;
    transition: 0.3s;
}
/* 🔝 Navbar asosiy */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(210, 250, 210, 0.9);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid #a3d6a3;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  z-index: 1000 !important;
}

.nav-container {
  max-width: 1100px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
}

/* 🌱 Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 22px;
  color: #14532d;
  font-weight: 700;
  cursor: pointer;
}
.nav-logo i {
  color: #15803d;
  font-size: 24px;
}

/* 🧭 Menu */
.nav-menu {
  display: flex;
  list-style: none;
  gap: 14px;
}
.nav-menu li a {
  color: #14532d;
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  transition: 0.2s;
}
.nav-menu li a:hover {
  color: #047857;
  border-bottom: 2px solid #047857;
  padding-bottom: 2px;
}

/* 🔐 Auth */
.btn {
  background: none;
  border: none;
  color: #14532d;
  font-weight: 500;
  cursor: pointer;
  transition: 0.2s;
}
.btn:hover {
  color: #047857;
}
.btn i {
  margin-right: 4px;
}

/* 👤 Profile */
.nav-profile {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid #16a34a;
}
.user-info {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.name {
  font-weight: 600;
  color: #064e3b;
  font-size: 14px;
}
.email {
  font-size: 11px;
  color: #15803d;
}

/* Hover dropdown */
.dropdown {
  position: absolute;
  top: 45px;
  right: 0;
  background: #fff;
  border: 1px solid #d1fae5;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  display: none;
  z-index: 10;
}
.dropdown ul {
  list-style: none;
}
.dropdown li {
  padding: 8px 12px;
  color: #065f46;
  cursor: pointer;
  font-size: 14px;
}
.dropdown li:hover {
  background: #ecfdf5;
}

/* 📱 Mobile menyu */
.nav-toggle {
  display: none;
  font-size: 22px;
  color: #065f46;
  background: none;
  border: none;
  cursor: pointer;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  background: #ecfdf5;
  border-top: 1px solid #a7f3d0;
  padding: 10px;
  text-align: center;
}
.mobile-menu ul {
  list-style: none;
  margin-bottom: 10px;
}
.mobile-menu ul li {
  margin: 8px 0;
}
.mobile-menu ul li a {
  color: #065f46;
  text-decoration: none;
  font-weight: 500;
}
.mobile-menu button {
  margin: 5px;
  padding: 6px 12px;
  background: #10b981;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}
.mobile-menu button:hover {
  background: #059669;
}

.hidden {
  display: none;
}

/* 📱 Responsive */
@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }
  .nav-toggle {
    display: block;
  }
}



/* 🔰 HEADER asosiy konteyner */
.pm-header {
  margin-top: 0;
  padding: 0;
  border-radius: 10px;
      max-width: 1200px;
      width: 1200px;
      display: block;
      margin: auto !important;
}

.species-map-btn, .collection-map-btn{
  background: #16a34a !important;
  color: white !important;

}
.species-map-btn a, .collection-map-btn a{ 
  color: white !important;
  text-transform: none;
  text-decoration: none;

}
/* Aktiv holat uchun kuchli effekt */
.species-map-btn.active,
.collection-map-btn.active {
  background: linear-gradient(145deg, #2e7d32, #1b5e20) !important;
  color: #fff;
  border: 2px solid #145214;
  box-shadow: 0 0 15px rgba(46, 125, 50, 0.6), inset 0 2px 6px rgba(255, 255, 255, 0.2);
  transform: scale(1.05);
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

/* Hover effekti aktiv tugmaga ham ishlasin */
.species-map-btn.active:hover,
.collection-map-btn.active:hover {
  background: linear-gradient(145deg, #388e3c, #1b5e20);
  box-shadow: 0 0 18px rgba(46, 125, 50, 0.7), inset 0 2px 8px rgba(255, 255, 255, 0.25);
  transform: scale(1.07);
}

.species-map-btn i {
  display: none !important;
}
.collection-map-btn i {
  display: none !important;
}
 .map_1 {
            width: 1200px !important;
            max-width: 1200px !important;
            /* Sahifaning 90% kengligi */
            height: 70vh !important;
            /* Ekran balandligining 85% */
            border-radius: 15px;
            /* Burchaklar yumaloqligi */
            box-shadow: 0 4px 25px rgba(0, 0, 0, 0.15);
            /* Yumshoq soyali effekt */
            overflow: hidden;
            /* Radius ichida qolsin */
            border: 3px solid #2e7d32;
            /* Yashil ramka — o‘simlik rangida */
            display: block;
            margin: auto;
        }
/* 📸 Fon rasmi */
.pm-header-bg {
  position: relative;
  height: 200px;
  background-image: url("https://images.unsplash.com/photo-1501004318641-b39e6451bec6?auto=format&fit=crop&w=1400&q=80");
  background-size: cover;
  background-position: center;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

/* 🌿 Yashil shaffof qatlam */
.pm-header-overlay {
  position: absolute;
  inset: 0;
  background: rgba(5, 46, 22, 0.6);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 20px;
}

/* 📝 Matn */
.pm-header-title {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #fefefe;
}

.pm-header-subtitle {
  margin-top: 10px;
  font-size: 18px;
  color: #d1fae5;
}

/* 📱 Responsive */
@media (min-width: 768px) {
  /* .pm-header-bg {
    height: 350px;
  } */
  .pm-header-title {
    font-size: 48px;
  }
  .pm-header-subtitle {
    font-size: 20px;
  }
}



/* 🔲 Bo‘lim */
.pm-map-section {
  display: grid;
  grid-template-columns: auto 200px;
  gap: 24px;
  max-width: 1100px;
  margin: 20px auto 40px;
  padding: 16px;
}

@media (min-width: 768px) {
  .pm-map-section {
    /* grid-template-columns: 3fr 2fr; */
  grid-template-columns: auto 300px;

  }
}

.container_show {
  display: flex;
  width: 100%;
  justify-content: space-between;
  align-items: center;
  background: #ffffff;
  border-radius: 12px;
  padding: 12px 18px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.12);
  font-family: "Segoe UI", Arial, sans-serif;
  border-left: 5px solid #2e7d32;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.container_show:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 14px rgba(46, 125, 50, 0.25);
}

/* Sarlavha */
.container_show h3 {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  margin: 0;
}

/* Excel tugmasi */
.yuklash {
  background-color: #2e7d32;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.25s ease;
}

.yuklash:hover {
  background-color: #388e3c;
  box-shadow: 0 3px 8px rgba(46, 125, 50, 0.3);
  transform: translateY(-1px);
}

.yuklash:active {
  transform: scale(0.96);
}

/* 🗺️ Map joyi */
.pm-map-container {
    position: relative;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  overflow: hidden;
  height: 400px;
}

.pm-map-area {
  width: 100%;
  height: 110%;
  background: linear-gradient(135deg, #dcfce7, #bbf7d0);
  display: flex;
  align-items: center;
  justify-content: center;
}

.pm-map-placeholder {
  color: #166534;
  font-weight: 600;
  font-size: 1.2rem;
  text-align: center;
}

/* 📋 Kartochkalar */
.pm-map-cards {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.pm-map-card {
  position: relative;
  background: #fff;
  border-radius: 14px;
  padding: 18px 20px;
  border: 1px solid #bbf7d0;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
}

.pm-map-card:hover {
  transform: scale(1.03);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Gradient effekti */
.pm-map-card::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  border-radius: 14px;
  transition: opacity 0.5s ease;
}
.pm-map-card:hover::before {
  opacity: 0.2;
}
.pm-color-green::before {
  background: linear-gradient(to right, #4ade80, #15803d);
}
.pm-color-lime::before {
  background: linear-gradient(to right, #a3e635, #16a34a);
}
.pm-color-emerald::before {
  background: linear-gradient(to right, #34d399, #0d9488);
}
.pm-color-teal::before {
  background: linear-gradient(to right, #2dd4bf, #047857);
}

/* Ichki tarkib */
.pm-map-card-content {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.pm-map-icon {
  font-size: 28px;
  padding: 10px;
  color: #fff;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pm-color-green .pm-map-icon {
  background: linear-gradient(to right, #4ade80, #16a34a);
}
.pm-color-lime .pm-map-icon {
  background: linear-gradient(to right, #a3e635, #16a34a);
}
.pm-color-emerald .pm-map-icon {
  background: linear-gradient(to right, #34d399, #0d9488);
}
.pm-color-teal .pm-map-icon {
  background: linear-gradient(to right, #2dd4bf, #047857);
}

.pm-map-label {
  font-size: 1rem;
  font-weight: 600;
  color: #064e3b;
  margin-left: 8px;
  flex: 1;
}

.pm-map-counter {
  font-size: 1.8rem;
  font-weight: 700;
  color: #065f46;
}


.btns {
  /* position: absolute;
  bottom: 25px;
  left: 25px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px; */
  /* background: rgba(250, 255, 250, 0.85);
  border-radius: 16px;
  padding: 14px 16px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08); */
}

/* 🌿 Species Map tugmasi */
.species-map-btn,
.collection-map-btn {
  font-weight: 600;
  font-size: 15px;
  padding: 10px 18px;
  border-radius: 10px;
  cursor: pointer;
  border: none;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.25s ease;
  width: 160px;
  justify-content: center;
}

.species-map-btn {
  background: #16a34a;
  color: #fff;
  box-shadow: 0 3px 6px rgba(22,163,74,0.25);
  position: absolute;
  top: 5px;
  left: 0;
  z-index: 999;
}

.species-map-btn:hover {
  background: #15803d;
  transform: translateY(-1px);
}

/* 🌱 Collection Map tugmasi */
#collection-map-btn {
  white-space: nowrap;
  position: absolute;
    top: 55px;
    left: 0;
    z-index: 999;
  background: #2563eb;
  color: #fff;
      font-weight: 600;
    font-size: 15px;
  display: inline-block;
  width: 160px !important;
  box-shadow: 0 3px 6px rgba(37,99,235,0.25);
}

.collection-map-btn:hover {
  background: #1e40af;
  transform: translateY(-1px);
}

/* 🌈 Legend (pastda joylashgan) */
.legend {
  position: absolute;
  bottom: 5px;
  left: 5px;
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 12px;
  background: #f0fdf4;
  border-radius: 12px;
  padding: 10px 12px;
  z-index: 999;
  box-shadow: 0 2px 5px rgba(0,0,0,0.08);
}

.legend_1{
  left: 73px !important;
  bottom: 10px !important;

}
.legend-item {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  font-size: 14px;
  font-weight: 500;
  color: #065f46;
  margin: 4px 0;
  white-space: nowrap;
}

.color-box {
  width: 20px;
  height: 12px;
  border-radius: 3px;
  margin-right: 6px;
  border: 1px solid rgba(0,0,0,0.15);
}

/* Responsiv ko‘rinish uchun */
@media (max-width: 640px) {
  .btns {
    left: 10px;
    bottom: 10px;
    padding: 10px;
  }

  .species-map-btn,
  .collection-map-btn {
    width: 140px;
    font-size: 14px;
  }
}

/* 🌿 Umumiy footer dizayni */
.pm-footer {
  background: linear-gradient(180deg, #064e3b, #022c22);
  color: #e2f8e6;
  margin-top: 50px;
  padding-top: 40px;
  position: relative;
}

/* 🔹 Ustunlar joylashuvi */
.pm-footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px 40px 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 25px;
}

/* Har bir ustun */
.footer-column h3 {
  color: #a7f3d0;
  font-size: 18px;
  margin-bottom: 10px;
  border-bottom: 1px solid #10b981;
  padding-bottom: 5px;
}

.footer-column p,
.footer-column ul {
  font-size: 14px;
  line-height: 1.6;
  color: #d1fae5;
}

/* 🔗 Linklar */
.footer-column ul {
  list-style: none;
  padding: 0;
}

.footer-column ul li {
  margin: 6px 0;
}

.footer-column ul li a {
  color: #d1fae5;
  text-decoration: none;
  transition: all 0.25s ease;
}

.footer-column ul li a:hover {
  color: #34d399;
  text-decoration: underline;
}

/* 📱 Mobile link */
.download-link {
  display: inline-block;
  margin-top: 5px;
  color: #86efac;
  text-decoration: none;
  font-weight: 500;
}

.download-link:hover {
  color: #10b981;
}

/* 🌐 Social Icons */
.social-icons {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.social-icons a {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  border-radius: 50%;
  font-size: 18px;
  transition: all 0.25s ease;
}

/* Ranglar */
.linkedin { background: #0077b5; }
.youtube { background: #ff0000; }
.telegram { background: #229ed9; }
.twitter { background: #000; }
.instagram { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }

/* Hoverda biroz kattalashadi */
.social-icons a:hover {
  transform: translateY(-2px);
  opacity: 0.85;
}

/* 🔻 Pastki qator */
.pm-footer-bottom {
  background: #022c22;
  text-align: center;
  color: #6ee7b7;
  padding: 12px;
  font-size: 14px;
  border-top: 1px solid #065f46;
}

/* ⬆️ Scroll to top */
.scroll-top {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background: #16a34a;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 42px;
  height: 42px;
  font-size: 18px;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.25);
  z-index: 999;
}

.scroll-top:hover {
  background: #15803d;
  transform: translateY(-3px);
}
