/* Navbar container */
.navbar {
  background: linear-gradient(to right, #041414, #0a2e2e) !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  transition: background-color 0.3s ease-in-out;
}

/* Navbar brand style */
.navbar-brand {
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: 1px;
  color: #20c997 !important;    /* yangilangan accent rang */
  transition: color 0.3s ease;
}

.navbar-brand:hover {
  color: #ffffff !important;
}

/* Navbar links */
.navbar-nav .nav-link {
  color: #e0f7fa !important;
  padding: 0.6rem 1rem;
  font-size: 1rem;
  font-weight: 500;
  position: relative;
  transition: color 0.3s;
}

.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  width: 0%;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: #20c997;    /* yangilangan accent rang */
  transition: width 0.3s ease-in-out;
}

.navbar-nav .nav-link:hover {
  color: #20c997 !important;    /* yangilangan accent rang */
}

.navbar-nav .nav-link:hover::after {
  width: 100%;
}

/* Toggle button */
.navbar-toggler {
  border: none;
}

.navbar-toggler:focus {
  box-shadow: none;
}

/* Ariza button style */
.navbar form .btn {
  background-color: #20c997;    /* yangilangan accent rang */
  color: #041414;
  font-weight: bold;
  padding: 8px 16px;
  border-radius: 8px;
  transition: background-color 0.3s;
  border: none;
}

.navbar form .btn:hover {
  background-color: #17a589;    /* biroz qorong‘i hover rang */
  color: #ffffff;
}


.custom-carousel {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.carousel-bg {
  position: relative;
  height: 100%;
}

.carousel-image {
  object-fit: cover;
  height: 100vh;
  width: 100%;
  filter: brightness(0.7);
}

.carousel-overlay {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: linear-gradient(to right, rgba(0, 80, 50, 0.7), rgba(0, 0, 0, 0.3));
  z-index: 2;
}


.carousel-caption {
  position: absolute;
  z-index: 3;
  top: 30%;
  transform: translateY(-25%);
  color: #ffffff;
  max-width: 650px;
  width: 90%; /* kichik ekranda moslashadi */
  
  text-align: center;
  padding: 0 15px;
}

.carousel-title {
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 1rem;
  background: linear-gradient(90deg, #00ff88, #88ffc8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: fadeInDown 1.2s ease-out;
}



.carousel-description {
  font-size: 1.2rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.85);
  animation: fadeInUp 1.5s ease-out;
}

/* Animatsiyalar */
@keyframes fadeInDown {
  0% {
    opacity: 0;
    transform: translateY(-40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .carousel-title {
    font-size: 2rem;
  }
  .carousel-description {
    font-size: 1rem;
  }
  .carousel-caption {
    max-width: 500px;
    top: 22%;
    transform: translateY(-22%);
  }
}

@media (max-width: 576px) {
  /* Navbar */
  .navbar-brand {
    font-size: 1.2rem;
    letter-spacing: 0.5px;
  }

  .navbar-nav .nav-link {
    padding: 0.5rem 0.8rem;
    font-size: 0.95rem;
  }

  .navbar form .btn {
    font-size: 0.9rem;
    padding: 6px 12px;
  }

  /* Carousel */
  .carousel-caption {
    top: 20%;
    bottom: 5%;
    left: 5%;
    right: 5%;
    transform: none;
    padding: 1rem;
    max-width: 90%;
    border-radius: 12px;
  }
	

  .carousel-title {
    font-size: 1.5rem;
    line-height: 1.3;
    text-align: left;
  }

  .carousel-description {
    font-size: 0.9rem;
    line-height: 1.5;
    text-align: left;
  }

  .carousel-image {
    height: 70vh;
  }
}

@media (max-width: 576px) {
  body {
    padding-top: 56px; /* Navbar balandligiga teng bo‘lishi kerak */
  }

  .carousel {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }

  .custom-carousel {
    margin-top: 0 !important;
  }
}

/* Tashqi blok fon va markazlash */
#bosqichlar {
  background: linear-gradient(to right, #f3f4f6, #e0f7fa);
  padding: 4em 1em;
  text-align: center;
}

.my-title {
  font-size: 2.5rem;
  color: #003b46;
  margin-bottom: 2em;
}

/* 3 ta bosqichni yonma-yon qilish */
.bosqichlar-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px; /* Har bir blok orasidagi joy */
  max-width: 1200px;
  margin: 0 auto;
}

/* Har bir bosqich blok dizayni */
.bosqich-karta {
  background: #fff;
  border-radius: 20px;
  padding: 25px;
	flex: 1 1 calc(33.333% - 40px); /* 3 ta ustun, 20px oraliq */
  width: 100%; 
  max-width: 400px; /* Oldin 380px → endi kattaroq */
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}



.bosqich-karta:hover {
  transform: translateY(-8px);
}

/* Rasm dizayni */
.bosqich-karta img {
  width: 140px;
  height: 140px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid #00acc1;
  margin-bottom: 20px;
  transition: transform 0.3s ease;
}

.bosqich-karta img:hover {
  transform: scale(1.05);
}

/* Matnlar */
.bosqich-karta h2 {
  color: #00796b;
  font-size: 1.5rem;
  margin: 0;
}

.bosqich-karta h3 {
  color: #004d40;
  font-size: 1.1rem;
  margin-top: 10px;
}

.bosqich-karta h6 {
  color: #555;
  font-size: 0.9rem;
  margin-bottom: 15px;
}

.bosqich-karta p {
  font-size: 0.95rem;
  color: #333;
  text-align: justify;
  line-height: 1.6;
}

/* Mobil versiyasi */
@media (max-width: 768px) {
  .bosqichlar-wrapper {
    flex-direction: column;
    align-items: center;
  }

  .bosqich-karta {
    width: 100%;
    max-width: 90%;
  }

  .my-title {
    font-size: 2rem;
  }
}



#yunalishlar {
  background:
    repeating-linear-gradient(
      135deg,
      rgba(0, 255, 136, 0.08),
      rgba(0, 255, 136, 0.08) 1px,
      transparent 1px,
      transparent 20px
    ),
    linear-gradient(to right, #041414, #0a2e2e);
  padding: 4em 1em;
  color: white;
}



.yonalishlar-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.yonalish-card {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  width: 18rem;
  padding: 1rem;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  backdrop-filter: blur(3px);
}

.yonalish-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 15px rgba(0, 255, 136, 0.3);
}

.yonalish-card img {
  width: 100%;
  border-radius: 10px;
  height: 180px;
  object-fit: cover;
}

.yonalish-card h5 {
  margin-top: 1rem;
  font-size: 1.2rem;
  color: #88ffc8;
}

.yonalish-card p {
  font-size: 0.95rem;
  color: #ccc;
}

.award-card {
  background: linear-gradient(145deg, #0c3c2d, #145d48);
  border-radius: 20px;
  box-shadow: 0 0 20px rgba(0,255,150,0.1), 0 0 40px rgba(0,255,150,0.05);
  transition: all 0.4s ease;
  color: white;
}
.award-card:hover {
  transform: scale(1.03);
  box-shadow: 0 0 25px rgba(255, 215, 0, 0.3);
}

.award-icon {
  font-size: 48px;
  margin-bottom: 15px;
}
.text-gold {
  color: gold;
}
.text-silver {
  color: #c0c0c0;
}
.text-bronze {
  color: #cd7f32;
}
.award-divider {
  border-color: rgba(255,255,255,0.2);
  width: 60%;
  margin: 1rem auto;
}








