:root {
  --brand-green: #6ab47b;
  --brand-green-dark: #588f65;
  --brand-green-light: #e6f4ea;
}

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

body {
  /*background: linear-gradient(to bottom right, #f9fbff, #eef3ff);*/
  background-color: rgba(106, 180, 123, 0.25);
  color: #111;
}

.container {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
}


header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(10px);
  background: rgb(49, 138, 20);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  padding: 10px 0;
}

.main-header {
  position: relative;
  width: 100%;
  height: 750px;
  background: url("/static/video/shukir.gif") center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}

.header-overlay {
  background: rgba(106, 180, 123, 0.25);
  width: 100%;
  height: 750px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lang-container {
  position: absolute;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 20px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  padding: 14px 22px;
  border-radius: 30px;
  z-index: 10;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}


.lang-btn {
  background: rgba(255, 255, 255, 0.15);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 12px;
  padding: 8px 20px;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.25s ease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
}

.lang-btn:hover {
  background: rgba(73, 218, 32, 0.25);
  border-color: #6ad48c;
  transform: translateY(-2px);
  color: #a9ffd3;
}


.lang-btn.active {
  background: #68a93a;
  color: #ffffff;
  border-color: #68a93a;
  box-shadow: 0 0 10px rgba(106, 212, 140, 0.6);
  transform: translateY(-2px);
}




/* Main */
main {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 60px 20px;
}

.form-container {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.05);
  width: 100%;
  max-width: 650px;
  overflow: hidden;
}

.form-header {
  background: #68a93a;
  text-align: center;
  padding: 20px;
}

.form-header h3 {
  color: #ffffff;
  margin-bottom: 5px;
  font-size: 26px;
}

.form-header p {
  color: #ffffff;
  font-size: 13px;
}

form {
  padding: 25px;
}

.row {
  display: flex;
  gap: 15px;
  margin-bottom: 15px;
  flex-wrap: wrap;
}

.col {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.col.full {
  flex: 100%;
  margin-top: 15px;
}

.upload-desc {
  color: #4a5568;
  font-size: 15px;
  margin-bottom: 10px;
}

.upload-box {
  border: 2px dashed #6ad48c;
  border-radius: 8px;
  padding: 20px;
  text-align: center;
  background-color: #f7fff9;
  transition: all 0.3s ease;
  cursor: pointer;
}

.upload-box.shake {
  animation: shake 0.3s;
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-5px); }
  75% { transform: translateX(5px); }
}

.upload-box:hover {
  background-color: #eafff0;
  border-color: #4ff389;
}

.upload-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 10px;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.upload-icon svg {
  width: 70px;
  height: 70px;
  stroke: #6ad48c;
  opacity: 0.9;
}

.upload-box:hover .upload-icon svg {
  transform: translateY(-5px);
  filter: drop-shadow(0 4px 8px rgba(106, 212, 140, 0.3));
}

.upload-text {
  display: inline-block;
  max-width: 90%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 500;
  color: #222;
}

.upload-hint {
  font-size: 14px;
  color: #777;
  margin-top: 6px;
}

.counter-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.counter-container input {
  width: 100px;
  padding: 8px;
  text-align: center;
  font-size: 18px;
  color: #000;
  background: rgb(246, 246, 248);
  border: 1px solid rgb(221, 221, 221);
  border-radius: 8px;
  outline: none;
  transition: all 0.3s ease;
}

.counter-container input:focus {
  border-color: #4fb877;
}

.counter-btn {
  width: 100px;
  font-size: 22px;
  padding: 6px;
  font-weight: 500;
  color: #333;
  background-color: rgb(246, 246, 248);
  border: 1px solid rgb(221, 221, 221);
  border-radius: 8px;
  cursor: pointer;
  transition: 0.25s ease;
}

.counter-btn:hover {
  background-color: #f3fff7;
  border-color: #4fb877;
}

.counter-btn:active {
  background-color: #e7ffe8;
  transform: scale(0.98);
}

label {
  font-size: 14px;
  margin-bottom: 6px;
  font-weight: 500;
}

input, select, textarea {
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 6px;
  background: #f6f6f8;
  outline: none;
  font-size: 14px;
}

textarea {
  min-height: 70px;
  resize: vertical;
}

/* Radio tugmalar uchun toza dizayn */
input[type="radio"] {
  appearance: none;
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: #e6f4ea; /* kulrang-yashil fon */
  display: inline-block;
  position: relative;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-right: 8px;
}


input[type="radio"]:checked {
  background-color: #4fb877;
}


input[type="radio"]:checked::after {
  content: "";
  position: absolute;
  top: 5px;
  left: 5px;
  width: 10px;
  height: 10px;
  background: #fff;
  border-radius: 50%;
}


.radio-group label {
  font-size: 17px;
  color: #222;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  margin-bottom: 6px;
}


.submit-btn {
  width: 100%;
  background: #68a93a;
  color: #fff;
  border: none;
  padding: 12px;
  border-radius: 6px;
  font-size: 15px;
  cursor: pointer;
  transition: 0.3s ease;
}

.submit-btn:hover {
  background: #588f65;
}

footer {
  text-align: center;
  color: #444;
  margin-bottom: 20px;
}


input:focus,
textarea:focus,
select:focus,
button:focus,
.submit-btn:focus {
  border-color: #6ab47b;
  box-shadow: 0 0 0 3px rgba(106, 180, 123, 0.25);
  background-color: #f6fff7;
  transition: all 0.25s ease;
}


input:active,
textarea:active,
select:active,
button:active {
  background-color: #ecfff0;
  border-color: #4fb877;
  transform: scale(0.99);
}

.submit-btn:active {
  background: #3e9a63;
  transform: scale(0.98);
}

input[type="text"],
input[type="number"],
input[type="tel"],
input[type="email"],
textarea,
select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-color: #f6f6f8;
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 12px;
  width: 100%;
  font-size: 16px;
  font-family: "Inter", sans-serif;
  color: #222;
  transition: all 0.25s ease;
  box-shadow: none;
}
input::placeholder {
  font-size: 14px;
  color: #999;
}

input:focus,
textarea:focus,
select:focus {
  border-color: #6ab47b;
  box-shadow: 0 0 0 3px rgba(106, 180, 123, 0.25);
  background-color: #f6fff7;
  outline: none;
}


.counter-btn {
  width: 80px;
  height: 45px;
  font-size: 22px;
  font-weight: 500;
  color: #333;
  background-color: #f9f9f9;
  border: 1px solid #dddddd;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: none;
}

.counter-btn:hover {
  background-color: #f3fff7;
  border-color: #4fb877;
}

.counter-btn:active {
  background-color: #e7ffe8;
  transform: scale(0.98);
}



@media (max-width: 768px) {
  .row {
    flex-direction: column;
  }

  .lang-buttons button {
    display: none;
  }

  .lang-select {
    display: block;
  }

  .form-container {
    max-width: 95%;
  }

  .logo {
    font-size: 16px;
  }
}
@media (max-width: 768px) {
  .logo img {
    height: 38px;
  }
}

@media (min-width: 1440px) {
  .logo img {
    height: 60px;
  }
}
@media (max-width: 600px) {
  .upload-box {
    padding: 25px 15px;
  }

  .upload-text {
    font-size: 14px;
    white-space: normal;
    word-break: break-all;
    text-overflow: clip;
  }
}
@media (max-width: 600px) {
  .lang-container {
    gap: 10px;
    padding: 10px 16px;
  }

  .lang-btn {
    font-size: 14px;
    padding: 6px 14px;
  }
}

@media (max-width: 768px) {
  .lang-container {
    bottom: 25px;
    gap: 24px;
    padding: 10px 18px;
    border-radius: 16px;
  }

  .lang-link {
    font-size: 18px;
    font-weight: 600;
  }
}


@media (max-width: 480px) {
  .lang-container {
    flex-direction: row;
    justify-content: center;
    gap: 16px;
    padding: 8px 14px;
    border-radius: 14px;
    bottom: 20px;
    background: rgba(255, 255, 255, 0.2);
  }

  .lang-link {
    font-size: 16px;
    letter-spacing: 0.4px;
  }
}


@media (max-width: 600px) {
  input,
  textarea,
  select,
  button {
    font-size: 15px;
    padding: 12px;
    border-radius: 10px;
  }

  .submit-btn {
    padding: 14px;
    font-size: 16px;
  }
}
@media (max-width: 768px) {
  input[type="text"],
  input[type="tel"],
  input[type="number"],
  textarea {
    font-size: 15px;
    padding: 10px;
  }
}
@media (max-width: 600px) {
  .upload-box {
    padding: 25px 10px;
    min-height: 130px;
  }

  .upload-icon svg {
    width: 45px;
    height: 45px;
    stroke-width: 1.8;
  }

  .upload-text {
    font-size: 14px;
    margin-top: 6px;
  }

  .upload-hint {
    font-size: 12px;
    margin-top: 4px;
  }

  .upload-desc {
    font-size: 13px;
  }
}

