* {
  margin: 0;
  padding: 0;
  box-sizing: border-box; /* ✅ Buni albatta qo'shing! */
}
h1{
   text-align: center;
}
.elon{
   margin-bottom: 0;
}
 #logo{
   /*  background-image: url('./img/foto-l.jpg');
   background-attachment: fixed;
   haddan tashqari kotta bo'lganda quti ichiga kirgizib qo'yish uchun
   background-size: cover; */
   background-color: rgba(1, 27, 49, 0.973);
   margin: 0px;
   padding: 0px;
   height: 160px;
   /* overflow: hidden; */
}
.logo {
    margin: 0px;
    padding: 10px;
}
.logo-1{
   color: rgb(226, 226, 226);
    display: inline-block;
}
.logo h1,
.past h1{
   padding: 13px 20px;
   margin-top: 25px;
   margin-left: 70px;
   display:inline-block;
   border-radius: 15px;
   box-shadow: -10px 25px 40px rgb(2, 146, 182);
   background-image: linear-gradient(to right, rgba(255,0,0,0) 10%, rgba(255,0,0,1));
   background-color:rgb(130, 175, 233);
   color:rgb(0, 0, 0);
}
.logo h1:hover,
.past h1:hover{
   padding: 11px 17px;
   margin-top: 28px;
   margin-left: 42px;
   display:inline-block;
   border-radius: 16px;
   box-shadow: -10px 25px 40px rgb(123, 1, 119);
   background-image: linear-gradient(to right, rgba(255,0,0,0) 10%, rgba(9, 183, 246, 0.935));
   background-color:rgba(208, 13, 219, 0.55);
   color:rgb(0, 0, 0);
}
.logo-2  {
   float: right;
   margin-right: 200px;
}
.logo-2 li{
   margin-top: 10px;
   display: inline-block;
   margin-right: 0px;
  
}   
 .logo-2 li a {
   text-decoration: none;
   padding: 10px 15px;
   color: hsla(0, 0%, 100%, 0.9);
   background-color: rgba(240, 6, 84, 0.1);
   display: inline-block;
   font-size: 150%;
   border: 2px solid rgba(0, 108, 151, 0.2);
   text-shadow: 0px 0px 0.5px rgb(9, 0, 0),1px 0px 0.8px rgb(0, 179, 255);
   background-image: linear-gradient(to right, rgba(255,0,0,0.2) 8%, rgba(0, 76, 130, 0.2));
   border-radius: 10px;
}
.logo-2 li a:hover{
  background-color: rgba(0, 0, 0, 0.63);
  color: rgba(240, 6, 84, 0.2);
  cursor: pointer;
  border: 2px solid red;
  border-radius: 10px;
}
.logo-2 li a.joyi {
   color: rgba(247, 247, 247, 0.);
   background-color: rgba(163, 15, 226, 0.451);
   cursor: pointer;
   border: 2px solid rgba(247, 247, 247, 0.818);
   border-radius: 10px;
}
.navbar-toggler{
   margin: 50px;
   padding: 40px;
   font-size: 50px;
   color: rgb(255, 255, 255);
   background-color: rgb(0, 0, 0);
   background: #00fadd;
   border: 2px solid red;
   border-radius: 10px;
}
.navbar-toggler-icon{
   margin: 10px;
   padding: 10px;
   font-size: 55px;
   background-color: #f3000097;
}

   /* sinov tariqasida ishga tushirilayapti */
.menu{
      float: right;
      position: relative;
}
.menubtn{
      padding: 20px 30px;
      margin-top: 23px;
      margin-right: 60px;
      border: 2px solide black;
      font-size: 25px;
      border-radius: 3px;
      color: hsla(0, 0%, 100%, 0.884);
   background-color: rgba(240, 6, 84, 0.2);
      border: 2px solid rgba(0, 0, 10, 0.887);
   text-shadow: 0px 0px 0.5px rgb(9, 0, 0),1px 0px 0.6px red;
   background-image: linear-gradient(to right, rgba(255,0,0,0.2) 6%, rgba(255,0,0,0.8));
   border-radius: 10px;
   
}
.menul{
      display: none;
      position: absolute;
      min-width: 140px;
      text-shadow: 0px 0px 0.5px rgb(9, 0, 0),1px 0px 0.8px red;
      background-image: linear-gradient(to right, rgba(255,0,0,0) 8%, rgba(255,0,0,0.6));
      z-index: 1;
      border-radius: 5px;
      margin-right: 50px;
}
.menul a{
      display: block;
      text-decoration: none;
      color: hsla(0, 0%, 100%, 0.884);
      padding: 10px 25px;
      border: 2px solid rgba(11, 11, 88, 0.887);
      text-shadow: 0px 0px 0.5px rgb(9, 0, 0),1px 0px 0.8px red;
      background-image: linear-gradient(to right, rgba(185, 10, 171, 0.5) 40%, rgba(255,0,0,0.6));
      border-radius: 8px;
      font-size: 30px;
}
.menul a:hover{
      color: rgba(73, 243, 255, 0.98);
      text-shadow: 0px 0px 0.5px rgba(192, 40, 212, 0.764),1px 0px 0.8px red;
      background-image: linear-gradient(to right, rgba(196, 103, 171, 0.5) 10%, rgba(198, 24, 100, 0.8));
}
.menu:hover .menul{
      display: block;
}
   /* sinov tariqasida ishga tushirilayapti */

@media screen and (max-width: 1000px) {
         .logo-2{
            display: none;
      
         }
}
#iconfon{
   color: black;
   background-color: white;
}
.navbar-toggler{
/*  bular rangsiz ko'rimsiz moslashuvchan hisoblanadi 
 background-color: transparent;
    border: 1px solid transparent;
*/
   background-color: none;
   border: 1px solid mone;
}
.menubir{
   background-color: black;
   border: 1px solid black;
}
#fon{
   margin:0px;
   padding: 0px;
}
.fond{
   background-color: rgba(165, 19, 104, 0.925);
   background-image: linear-gradient(to right, rgba(157, 120, 162, 0.6)20%,rgba(122, 19, 142, 0.9) 40%, rgba(251, 251, 251, 0.6) 20%,rgba(158, 29, 184, 0.925) 20%,rgba(165, 19, 206, 0.6)10%);
   padding: 60px 0px;
   height: 400px;
   /* padding-left: ; */
   /* padding-right: 0px; 
   background-image: url('./img/lie-1.jpg');
   background-attachment: fixed;
   background-position: center;
   background-size: cover;
   position: center;   */
}
.text{
    color: rgba(30, 255, 26, 0.767);
    background-color:  rgba(61, 4, 114, 0.568);
    /*  
    float: left; */
    height: 200px;
    width: 70%;
    margin: 10px auto;
    padding: 20px;
    overflow-x: auto;
    border-radius: 20px;
}
.text p {
  padding: 10px;
  margin: 5px;
  font-size: 20px;
}
button{
   color:white;
   background-color: blueviolet;
}
#qism{
   padding: 0%;
   margin: 0%;
   background-color:darkgray;
}
.bulak{
   /*    color: blueviolet;*/
   color: rgb(0, 0, 0);
   padding: 2px;
   border:2px solid rgb(73, 4, 151);
   border-radius:7px;

}
.bulak2{
   color: rgb(0, 0, 0);
   padding: 2px;
   border:2px solid rgb(73, 4, 151);
   border-radius:7px;


}
.bulak3{
   color: rgb(0, 0, 0);
  
   padding: 2px;
   border:2px solid rgb(73, 4, 151);
   border-radius:7px;


}
.bulak4{
   color: rgb(0, 0, 0);
   padding: 2px;
   border-radius: 2px solid red;
   border:2px solid rgb(73, 4, 151);
   border-radius:7px;

}
.qism{
   display: grid;
   grid-template-columns: 1fr 1fr;
   grid-template-rows: auto auto;
}
.qism1{
   height: 200px;
   box-sizing:border-box;
   background-image: linear-gradient(to right, rgba(212, 178, 178, 0.5) 5%, rgba(219, 23, 203, 0.6) ,rgba(166, 24, 206, 0.925));
   overflow-x: auto;   /*yoki overflow: hidden qushsa harflarni ichkariga kirgizadi*/
}
@media screen and (max-width: 1000px ) {
   .qism {
      grid-template-columns: 100%;
   }
   
}
@media screen and (max-width: 1000px ) {
   .qism1 {
      height: 300px;
      font-size: 13px;
   }
   
}
/* ✅ TO'G'RI - avtomatik balandlik */
#idxzm {
  width: 100%;
  height: auto;
  margin: 0;
  padding: 0;
}

#campus {
  width: 100%;
  height: auto;
  margin: 0;
  padding: 20px;
}

@media (max-width: 1000px) {
  .ctb {
    flex: 1 1 100%;  /* Mobildda to'liq kenglik */
    max-width: 100%;
  }
  .contentbox {
    flex-direction: column;  /* Rasm ustida, matn pastda */
    text-align: center;
  }
  .contentbox img {
    margin: 0 auto 15px;
  }
}

.xzm{
   width: 100%;
   height: auto;
}

@media screen and (max-width: 1000px ) {
   #idxzm {
   margin: 0;
   padding: 0;
   width: 100%;
   height: 850px;
   }
   
}


@media screen and (max-width: 1000px){
   #campus{
      height: 831px;
      display:inline-block;
   }
}
/* 
.campus p{
   padding-top: 80px;
   padding-left: 20px;
   padding-right: 10px;
   padding-bottom: 40px;
   color: rgba(30, 255, 26, 0.767);
   background-color:  rgba(52, 2, 99, 0.568);
   float: left;
   width: 30%;
}
*/
.contact{
   /*
   width: 200px;
   */
   width: 100%;
   background-color: blueviolet;
   display: grid;
   grid-template-columns: auto auto auto;
   grid-template-rows: auto auto  ;
}
@media screen and (max-width: 1000px){
   .contact{
      grid-template-columns: auto auto;
   }
}
/* bu yerda kursor rasm ustida bo'lgan malumotlar ko'rinish uchun */
.contentbox{
   margin: 0;
   padding: 0;
   position: relative;
   float: left;
   width: 33.27%;
   height: auto;
}
@media screen and (max-width: 1000px){
   .contentbox{
      width: 50%;
      height: 260px;
   }
}

.contentbox:hover .boxk{
   bottom: 0;
   height: 100%;
}
.boxt{
   white-space: wrap;
   position: absolute;
   overflow: hidden;
   color: white;
   margin: 20px;
   width: 100%;
   top: 50%;
   left: 48%;
   font-size: 20px;
   transform: translate(-50%, -50%);
   -ms-transform: translate(-50%, -50%);
}
.boxk{
   position: absolute;
   overflow: hidden;  bu saytda malumotlari ko'rsatmaslik qachonki kod orqali ruxsa berilsagina ko'rinadi yoki kursor orqali 
   width: 100%;
   height: 0;                                                  
   left: 0;
   right: 0;
   bottom: 100%;
   background-color: #095249;     
   transition: 0.5s ease;
}
.butkur{
   padding: 20px 25px;
   margin-left: 20px;
   border: 1px solid red ;
   border-radius: 5px;
}

/* bu yerda kursor rasm ustida bo'lgan malumotlar ko'rinish uchun */
.aloqa{
   height: 200px;
   color: white;
   background-color: blueviolet;
   box-sizing: border-box;
}
.img-a{
   display: inline-block;
   margin: 0;
   padding-right: 15px;
   float: left;
   width: 15%;
   height: 50px;
}


/* ===== GLOBAL RESET ===== */
#idxzm {
  width: 100%;
  height: auto;
  margin: 0;
  padding: 0;
}

.xzm {
  width: 100%;
  padding: 20px;
  background: #fff;
}

.xzm h1 {
  background-color: rgba(116, 1, 182, 0.873);
  color: white;
  text-align: center;
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 20px;
}

#campus {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  padding: 20px;
  background-color: darkgrey;
  width: 100%;
  height: auto !important;
}

/* ===== KARTOCHKA STILI ===== */
.ctb {
  flex: 1 1 400px;
  max-width: 50%;
  background: #fff;
  border-radius: 10px;
  padding: 15px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.ctb:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.contentbox {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

/* ===== RASM BARQARORLIGI ===== */

/* ===== MATN QISMI ===== */
.boxk {
  flex: 1;
  min-width: 0;
}


  
}

.boxt h1 {
  font-size: 18px;
  color: #ffffff;
  margin-bottom: 8px;
  line-height: 1.3;
}

.boxt p {
  font-size: 10px;
  color: #ffffff;
  line-height: 1.5;
  margin-bottom: 4px;
}

.butkur {
  margin-top: 0px;
  padding: 8px 20px;
  margin-left: 30px;
  background: #7401b6;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 14px;
  transition: background 0.3s;
}

.butkur:hover {
  background: #5a018f;
}

/* ===== RESPONSIVE ===== */
@media screen and (max-width: 700px) {
  .ctb {
    flex: 1 1 100%;
    max-width: 100%;
  }
  
  .contentbox {
    flex-direction: column;
    text-align: center;
  }
  
  .contentbox img {
    margin: 0 auto 15px;
  }
  
  .boxt {
    text-align: center;
  }
}



/* ===== CONTENTBOX - ASOSIY CONTAINER ===== */
.contentbox {
  display: flex;           /* ✅ Flexbox ishlatamiz */
  align-items: stretch;    /* ✅ Bolalar balandligi teng bo'ladi */
  gap: 15px;               /* ✅ Rasm va matn orasidagi masofa */
  padding: 15px;
  background: #fff;
  border-radius: 10px;
  width: 100%;             /* ✅ To'liq kenglik */
  height: auto;            /* ✅ Balandlik avtomatik */
  box-sizing: border-box;
}

/* ===== RASM QISMI ===== */
.contentbox img {
  width: 150px !important;
  height: 150px !important;
  object-fit: cover;
  border-radius: 10px;
  flex-shrink: 0;          /* ✅ Rasm qisqarmasin */
  border: 3px solid #7401b6;
}

/* ===== BOXK - MATN CONTAINERI ===== */
.boxk {
  flex: 1;                 /* ✅ Qolgan joyni to'ldiradi */
  min-width: 0;            /* ✅ Matn toshib ketmasligi uchun */
  display: flex;
  flex-direction: column;
  justify-content: center; /* ✅ Vertikal markaz */
  padding: 10px 0;
  /* ✅ Absolute positioning va height: 0 ni O'CHIRAMIZ */
}

/* ===== BOXT - MATN QUTISI ===== */
.boxt {
  width: 100%;             /* ✅ .boxk ning to'liq kengligi */
  height: auto;            /* ✅ Balandlik matnga qarab */
  position: static;        /* ✅ Absolute o'rniga static */
  transform: none;         /* ✅ Transformni o'chiramiz */
  left: auto;
  top: auto;
  margin: 0;
  text-align: left;
 color: #ffffff;
}

.boxt h1 {
  font-size: 18px;
  color: #ffffff;
  margin-bottom: 8px;
  line-height: 1.3;
}

.boxt p {
  font-size: 10px;
  color: #ffffff;
  line-height: 1.5;
  margin-bottom: 4px;
}

/* ===== TUGMA ===== */
.butkur {
  padding: 10px 25px;
  margin-left: 20px;
  background: #7401b6;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 14px;
  transition: background 0.3s;
}

.butkur:hover {
  background: #5a018f;
}



.aloqa button{
   font-size: 20px;
   text-align: center;
   background-color: rgba(0, 200, 255, 0.637);
   border-radius: 7px;
   border: none;
   padding: 5px;
}
.aloqa h2:hover,
.aloqa p:hover{
   color: rgb(10, 235, 235);
   
   font-size: 25px;
   margin: 0px -20px;
}
.aloqa a{
   text-decoration: none;
   color: white;
   font-size: 20px;
}
.malumotlar1{
   color:white;
   background-color: rgba(0, 200, 255, 0.637);
   padding: 2px;
   border:3px solid blueviolet;
   border-radius:20px;
}
.malumotlar2{
   color:white;
   background-color: rgba(210, 11, 228, 0.9);
   padding: 2px;
   border:3px solid blueviolet;
   border-radius:20px;
}
.malumotlar3{
   color:white;
   background-color: rgba(254, 122, 7, 0.98);
   padding: 2px;
   border:3px solid blueviolet;
   border-radius:20px;
}
.malumotlar4{
   color:white;
   background-color: rgba(3, 166, 41, 0.8);
   padding: px;
   border:3px solid blueviolet;
   border-radius:20px;
}
.malumotlar5{
   color:white;
   background-color: rgba(7, 81, 219, 0.9);
   padding: 2px;
   border:3px solid blueviolet;
   border-radius:20px;
}
.malumotlar6{
   color:white;
   background-color: rgba(219, 7, 78, 0.997);
   padding: 2px;
   border:3px solid blueviolet;
   border-radius:20px;
}
#past{
   margin: 0;
   padding: 20px;
   height: 450px;
   width: auto;
   background-color: rgba(156, 0, 217, 0.887);
}
.past{
   margin: 0%;
   padding: 0%;
}
.blink {
   width: auto;
   padding: 10px 20px;
   background-color: rgba(11, 102, 7, 0.644);
   color: #00fadd;
   border: 1px solid rgba(176, 7, 7, 0.812);
   border-radius: 10px;
   font-size: 13px;
  /* float: right; */
 }
 .blink:hover {
   cursor: pointer;
   background-color: rgba(15, 75, 10, 0.702);
   color: rgba(247, 57, 57, 0.945);
 }
 .yopishqoq{
   position: fixed;
   right: 0px;
   top: 70%;
 }

.logotag h1{
   display: inline-block;
   color: black;
}
.aloqa1{
   padding: 0%;
   margin: 0%;
}
.aloqa1 li{
   display: inline;
   display: inline-block;
   margin: 0%;
}
.aloqa1 li a{
     text-decoration:none;
     padding: 12px;
     color: rgb(8, 247, 112);
     display: inline-block;  /*agar buni olib qolsa boshqa kodlar tasir qiladi va paddinglar tasir qilmay quyadi*/
     font-size:150%;
}
.aloqa1 li a:hover{
   background-color: rgba(3, 244, 168, 0.613);
   color: rgb(252, 251, 251);
   border-radius: 15px;
   border: 2px solid rgba(130, 5, 156, 0.894);
} 
.tag-m{
   float: left;
   width: 60%;
   height: 20%;
   padding-top: 0px;
   margin: 0px;
   padding-left: 30px;
   color: white;
   font-size: 13px;
   overflow-x: auto; 
}
@media screen and (max-width: 1000px ) {
   .tag-m {
      width: 80%;
   }
   
}
.adress {
   width: 100%;
   text-align: center;
   padding-top: 20px;
   margin:30px auto;
   font-size: 22px;
   overflow-x: auto; 
   background-color: rgba(156, 0, 217, 0.082);
   display: inline-block;
}
.blink {
   padding: 10px 20px;
   background-color: rgba(11, 102, 7, 0.644);
   color: #00fadd;
   border: 1px solid rgba(176, 7, 7, 0.812);
   border-radius: 10px;
   font-size: 13px;
}
.blink:hover {
   cursor: pointer;
   background-color: rgba(15, 75, 10, 0.702);
   color: rgba(247, 57, 57, 0.945);
}
.yopishqoq{
   position: fixed;
   right: 0;
   top: 70%;
}

@media screen and (max-width: 1000px ) {
   .blink {
      padding: 40px 50px;
      font-size:50px;
   }
}
@media screen and (max-width: 1000px ) {
   .yopishqoq {
    position: fixed;
    bottom: 0;
   top: 90%;
   width: 100%;
   height: 8%;
}
 
