/* Navbar linklari */
.navbar .nav-link {
  font-size: 0.9rem; /* default 1rem bo'ladi, kichraytirdik */
}

/* Dropdown menyu elementlari */
.navbar .dropdown-menu .dropdown-item {
  font-size: 0.85rem;
}
.logo-img {
  width: 60px;
  height: auto;
  background: #fff;          /* oq fon */
  padding: 5px;              /* logodan oq fon oralig‘i */
  border: 2px solid #fff;    /* oq border */
  border-radius: 6px;        /* yumshoq burchaklar, agar kerak bo‘lmasa 0 qiling */
  box-shadow: 0 2px 6px rgba(0,0,0,0.25); /* biroz soya chiroy uchun */
}
.navbar-nav .nav-link {
  color: #f8f9fa !important;     /* och oq rang */
  font-weight: 500;              
  font-size: 14px;               /* shriftni kichraytirdim */
  letter-spacing: 0.4px;         
  transition: color 0.3s ease;   
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
  color: #ffd700 !important;     /* hoverda oltin rang */
  text-decoration: none;         
}



/* Navbar asosiy */
.navbar.navbar-dark {
    background: #357f4c; /* yashil fon */
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: background 0.3s ease, box-shadow 0.3s ease;
    padding: 0.6rem 1rem;
}

/* Navbar scroll qilganda fon qorayadi */
.navbar.navbar-dark.scrolled {
    background: rgba(53,127,76,0.95);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Logo */
.logo-img {
    border: 2px solid #fff;
    border-radius: 12px; /* yumaloqlik */
    transition: transform 0.3s ease;
}
.logo-img:hover {
    transform: scale(1.1);
}

/* Navbar linklar */
.navbar-nav .nav-link {
    color: #fff;
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: color 0.3s ease, background 0.3s ease;
}
.navbar-nav .nav-link:hover {
    color: #ffeb3b;
    background: rgba(255,255,255,0.1);
    border-radius: 6px;
}

/* Dropdown menyular */
.dropdown-menu {
    background: rgba(255,255,255,0.95);
    border-radius: 8px;
    padding: 0.5rem 0;
    box-shadow: 0 8px 16px rgba(0,0,0,0.15);
    transition: transform 0.3s ease, opacity 0.3s ease;
}
.dropdown-item {
    color: #333 !important;
    font-weight: 500;
    padding: 0.5rem 1.2rem;
}
.dropdown-item:hover {
    background: #357f4c;
    color: #fff !important;
}

/* Til tanlash select box */
#languages {
    background: rgba(255,255,255,0.9);
    border-radius: 6px;
    border: none;
    font-weight: 500;
    padding: 0.3rem 0.8rem;
    transition: background 0.3s ease, transform 0.3s ease;
}
#languages:hover, #languages:focus {
    background: #fff;
    transform: scale(1.05);
    outline: none;
}

/* Responsiv uchun dropdownlar kichik ekranda */
@media (max-width: 992px) {
    .navbar-nav .nav-link {
        padding: 0.5rem 0.5rem;
        text-align: center;
    }
    .dropdown-menu {
        position: static;
        float: none;
        box-shadow: none;
        border-radius: 0;
        margin: 0;
    }
}


/* Fon */
/* Aylanalar konteyneri */
/* Fon - pastel gradient */
body {
  background: linear-gradient(135deg, #fcf5ad, #ecf3eb);
  min-height: 100vh;
  position: relative;
}

/* Dekorativ aylanalar uchun umumiy stil */
.decorative-circles {
  position: fixed; /* fixed: doim ekranga yopishadi */
  pointer-events: none; /* interaktsiyaga xalaqit qilmaydi */
  z-index: 0; /* boshqa elementlar ustiga chiqmasin */
}

/* Yuqori markazda joylashgan */
.decorative-circles.top {
  top: 50px;
  left: 10%;
  transform: translateX(-50%);
}

/* Pastki o‘ng burchakda joylashgan */
.decorative-circles.bottom-right {
  bottom: 50px;
  right: 50px;
}

/* Ichma-ich aylanalar */
.circle {
  position: absolute;
  border-radius: 50%;
  border: 3px solid white;
  background-color: transparent;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* O'lchamlar */
.outer {
  width: 650px;
  height: 650px;
}

.middle {
  width: 450px;
  height: 450px;
}

.inner {
  width: 250px;
  height: 250px;
}


/* Fonda markazda turgan logo */
.background-logo {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-image: url('../images/logo.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  width: 400px;
  height: 400px;
  opacity: 0.05; /* Yengil ko‘rinishi uchun */
  z-index: 0; /* Orqada qoladi */
  pointer-events: none; /* Hech qanday interaktsiyaga halal bermaydi */
}

/* Asosiy kontent (ustidan chiqadi) */
.main-content {
  position: relative;
  z-index: 1; /* logo'dan yuqorida */
  padding: 50px;
  text-align: center;
}


/* Kartaning umumiy ko‘rinishi */
.card {
		background: linear-gradient(90deg, #eaffea 0%, #f2ffe0 50%, #f5fff1 100%);
    border: none;
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 25px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Hover effekti */
.card:hover {
    transform: scale(1.01);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.15);
}

/* Matnlar uchun */
.card-body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #212121;
    line-height: 1.7;
}

/* H2 sarlavhasi */
.card-body h2 {
    color: #256d1b; /* chuqur yashil */
    font-size: 28px;
    margin-bottom: 15px;
    border-left: 5px solid #9ccc65; /* pastel yashil chiziq */
    padding-left: 10px;
}

/* Qalin matnlar */
.card-body p strong {
    color: #1b5e20;
    font-weight: bold;
}

/* Paragraflar orasidagi bo‘shliq */
.card-body p {
    margin-bottom: 14px;
}



