@font-face {
  font-family: "Akony";
  src: url("../fonts/AKONY.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "Helvetica";
  src: url("../fonts/Helvetica.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 200px; /* header balandligi */
}

html,
body {
  height: 100%;
  display: flex;
  flex-direction: column;
}

main {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 150px;
}

body {
  background-color: #171717;
  font-family: "Helvetica";
  font-size: 16px;
}

ul,
li,
ol {
  list-style: none;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
}

.hidden {
  display: none;
}

/* HEADER */
#header {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  z-index: 1000;

  background: transparent;
  transition: background 0.3s ease, backdrop-filter 0.3s ease, width 0.3s ease,
    transform 0.3s ease;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#header.scrolled {
  width: 90vw;
  background: rgba(23, 23, 23, 0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  border-radius: 80px;
  border: 1px solid rgba(255, 255, 255, 0.08);

  transform: translateX(-50%) scale(0.97);
}

.nav-toggle {
  position: relative; /* spanlarni absolute qilish uchun */
  width: 40px;
  height: 35px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  display: none;
  justify-content: center;
  align-items: center;
}

/* spanlar */
.nav-toggle .bar {
  position: absolute; /* tugma ichida joylashadi */
  width: 100%;
  height: 4px;
  background-color: #fff;
  border-radius: 2px;
  transition: all 0.4s ease;
}

/* uchta line balandlik bo‘yicha joylashuvi */
.nav-toggle .bar:nth-child(1) {
  top: 0;
}

.nav-toggle .bar:nth-child(2) {
  top: 50%;
  transform: translateY(-50%);
}

.nav-toggle .bar:nth-child(3) {
  bottom: 0;
}

/* ochilganda X shakl va qizil fon */
.nav-toggle.open {
  background: red;
}

.nav-toggle.open .bar:nth-child(1) {
  top: 50%;
  transform: rotate(45deg) translate(0, -50%);
}

.nav-toggle.open .bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open .bar:nth-child(3) {
  bottom: 50%;
  transform: rotate(-45deg) translate(0, 50%);
}

.mobile-menu {
  position: fixed;
  top: 110px;
  left: 40px;
  right: 40px;
  /* transform: translateX(-50%) scale(0.95); */
  /* width: 95vw; */
  /* max-width: 360px; */
  background: rgba(23, 23, 23, 0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 24px;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: 0.3s ease;
  z-index: 1001;
}

.mobile-menu.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) scale(1);
}

/* HEADER */
.mobile-menu__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.mobile-menu__header img {
  height: 80px;
}

.close-btn {
  background: #7a002f;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  font-size: 18px;
  cursor: pointer;
}

/* LINKS */
.mobile-menu__links {
  list-style: none;
  padding: 0;
}

.mobile-menu__links li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mobile-menu__links a {
  display: flex;
  justify-content: space-between;
  padding: 14px 0;
  color: #fff;
  text-decoration: none;
  font-size: 18px;
}

/* LANGUAGE */
.mobile-menu__lang {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mobile-menu__lang span {
  color: #aaa;
}

.mobile-menu__lang button {
  background: #222;
  border: none;
  color: #fff;
  padding: 8px 14px;
  border-radius: 20px;
  cursor: pointer;
}

.mobile-menu__lang .active {
  background: #7a002f;
}

/* OVERLAY */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  opacity: 0;
  pointer-events: none;
  transition: 0.3s;
  z-index: 1000;
}

.overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.header-logo {
  height: 80px;
  margin-top: 10px;
}

header ul {
  display: flex;
  gap: 50px;
  color: #fff;
  font-size: 16px;
}
header button {
  display: inline-block;
  height: 60px;
  width: 60px;
  border: 0;
  border-radius: 50%;
  background-color: #660028;
  color: #fff;
  header:active {
    transform: scale(100%);
  }
}

.glow {
  position: absolute;
  width: 600px;
  height: 600px;
  left: -300px;
  top: 50%;
  transform: translateY(-40%) translateX(50%);
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.45) 0%,
    rgba(255, 255, 255, 0.25) 0%,
    rgba(255, 255, 255, 0.12) 0%,
    transparent 75%
  );
  filter: blur(20px);
  z-index: 0;
  pointer-events: none;
}

.desktop-lang {
  position: relative;
}

/* CURRENT BUTTON */
.lang-current {
  background: #7a002f;
  border: none;
  color: #fff;
  padding: 8px 16px;
  border-radius: 50%;
  cursor: pointer;
}

/* DROPDOWN */
.lang-options {
  position: absolute;
  top: 120%;
  right: 0;
  background: #1a1a1a;
  border-radius: 40px;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 70px;

  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
  transition: 0.25s ease;
}

.lang-options.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.lang-options button {
  background: #222;
  border: none;
  color: #fff;
  padding: 8px 12px;
  border-radius: 50%;
  cursor: pointer;
  text-align: center;
}

.lang-options button:hover {
  background: #7a002f;
}

/* HERO SECTION */

#hero {
  margin-top: 200px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: start;
  color: #fff;
  overflow: hidden;
  h1 {
    font-family: "Akony";
    font-weight: 700;
    font-size: 48px;
    line-height: 100%;
    letter-spacing: 0%;
    width: 940px;
    color: #f1e6cd;
  }
  h6 {
    font-family: "Helvetica";
    font-size: 32px;
    line-height: 100%;
    letter-spacing: 0%;
  }
  p {
    font-family: "Helvetica";
    font-weight: 400;
    font-size: 16px;
    line-height: 100%;
    letter-spacing: 0%;
    width: 400px!;
  }
  a {
    margin-top: 40px;
    background-color: #660028;
    color: #fff;
    border-radius: 20px;
    display: inline-block;
    padding: 22px 45px;
    border: transparent;
    transition: transform 0.1s ease;
  }

  .hero-image {
    position: absolute;
    top: 0;
    right: 200px;
    height: 800px;
    mix-blend-mode: lighten;
    pointer-events: none;
  }
}

.hero_subtitle {
  width: 600px;
}

.hero__desc {
  width: 500px;
  margin-top: 20px;
}

.hero__bg {
  top: 0;
  right: 100px;
  mix-blend-mode: lighten;
  height: 100%;
  position: absolute;
}

/* CTA SECTION */

#cta {
  position: relative;
  h2 {
    position: relative;
    font-family: "AKONY";
    font-weight: 700;
    font-size: 80px;
    line-height: 100%;
    letter-spacing: 0%;
    color: #f1e6cd;
  }
  p {
    font-family: "Helvetica";
    font-size: 16px;
    line-height: 100%;
    letter-spacing: 0%;
    width: 580px;
    margin-top: 20px;
    margin-bottom: 80px;
    color: #fff;
  }
}

.cta-bg {
  position: absolute;
  right: 0;
  top: -140px;
  mix-blend-mode: lighten;
  pointer-events: none;
}

.cta__stat {
  display: flex;
  gap: 20px;
}

.cta__stat-div {
  padding: 96px 50px;
  border-radius: 60px;
  background: #262626;
  color: #fff;
  width: 460px;
  h6 {
    font-family: "AKONY";
    font-weight: 700;
    font-size: 48px;
    line-height: 100%;
    letter-spacing: 0%;
    color: #f1e6cd;
  }
  span {
    font-family: "Helvetica";
    font-size: 24px;
    line-height: 100%;
    letter-spacing: 0%;
    color: #fff;
  }
}

/* SERVICES SECTION */

#services {
  position: relative;
  display: flex;
  gap: 100px;
  color: #fff;
  h2 {
    font-family: "AKONY";
    font-weight: 700;
    font-size: 50px;
    line-height: 100%;
    letter-spacing: 0%;
    color: #f1e6cd;
    margin-top: 93px;
    margin-left: -100px;
    margin-bottom: 60px;
  }
}

.services__title {
  font-size: 20px;
}

.services-image {
  order: 1;
  top: 0;
  left: 0;
  mix-blend-mode: lighten;
  pointer-events: none;
  transform: translateX(-25%);
  width: 40vw;
}

.services-text {
  order: 2;
}

.services-list {
  margin-left: -100px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.service-item {
  border-bottom: 1px solid #262626;
  padding: 25px 0;
  padding-bottom: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 600px;
}

.service-item:last-child {
  border-bottom: none;
}

.service-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.service-header h3 {
  font-size: 24px;
  font-weight: 700;
}

.service-item-text {
  cursor: pointer;
}

.service-description {
  margin-top: 15px;
  font-size: 16px;
  font-family: "Helvetica";
  width: 500px;
}
.indicator {
  position: relative;
  width: 60px;
  height: 20px;
  border: 5px solid #555;
  border-radius: 20px;
  transition: 0.3s ease;
}

.indicator::before {
  content: "";
  position: absolute;
  width: 14px;
  height: 6px;
  background: #555;
  left: -14px;
  top: 50%;
  transform: translateY(-50%);
}

.service-item-text:hover ~ .indicator {
  width: 100px;
  border-color: crimson;
}

.service-item-text:hover ~ .indicator::before {
  background: crimson;
}

/* CONTACT SECTION */

.contact-shape {
  position: relative;

  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: #fff;
  overflow: hidden;
}

.contact-shape h2 {
  font-family: "AKONY";
  font-weight: 700;
  font-size: 20px;
  line-height: 100%;
  letter-spacing: 0%;
  color: #f1e6cd;
  margin-top: 93px;
  margin-bottom: 60px;
}

.contact-shape-bg {
  position: absolute;
  z-index: 1;
  width: 1200px;
  pointer-events: none;
}

.contact-shape-bg_desktop {
  width: 1000px;
}

.contact-shape-bg_mobile {
  display: none;
}

.contact-shape-bg_mobile-text {
  display: none;
}

.contact {
  color: #fff;
  padding: 100px 60px;
}

.contact-container {
  display: flex;
  justify-content: space-between;
  gap: 80px;
}

/* LEFT */
.contact-left {
  max-width: 420px;
}

.contact-title {
  font-size: 40px;
  font-weight: 800;
  line-height: 0.95;
  font-family: "AKONY";
  margin-bottom: 24px;
}

.contact-text {
  font-size: 16px;
  color: #fff;
  max-width: 360px;
}

.contact-pattern {
  margin-top: 50px;
  height: 120px;
}

/* RIGHT */
.contact-form {
  flex: 1;
}

.form-row {
  display: flex;
  gap: 40px;
  margin-bottom: 40px;
}

.form-group {
  flex: 1;
  position: relative;
}

.form-group.full {
  margin-bottom: 50px;
}

label {
  display: block;
  font-size: 13px;
  color: #8c8c8c;
  margin-bottom: 10px;
}

input,
textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid #2a2a2a;
  padding: 8px 0;
  font-size: 15px;
  color: #fff;
  outline: none;
}

input::placeholder {
  color: #fff;
}

textarea {
  resize: none;
  height: 60px;
}

input:focus,
textarea:focus {
  border-color: #f5ebc8;
}

/* BUTTON */
.submit-btn {
  background: #7b0032;
  color: #fff;
  border: none;
  padding: 18px 48px;
  font-size: 15px;
  border-radius: 32px;
  cursor: pointer;
  float: right;
  transition: 0.3s;
}

.submit-btn:hover {
  background: #a10042;
}

/* FOOTER */

.footer {
  color: #cfcfcf;
  padding: 80px 60px 30px;
  font-family: system-ui, sans-serif;
  border-top: 1px solid #262626;
}

.footer-navigate {
  position: absolute;
  top: -40px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  right: 0;
  border-radius: 50%;
  background: #383839;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  gap: 80px;
  position: relative;
}

.footer-left {
  max-width: 520px;
}

.footer-logo {
  margin-bottom: 24px;
}

.footer-right {
  text-align: right;
}

.footer-label {
  font-size: 14px;
  color: #8c8c8c;
  margin-bottom: 12px;
}

.footer-phone {
  display: block;
  font-size: 28px;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  margin-bottom: 6px;
  span {
    color: #5b5b5b;
  }
}

.footer-phone:hover {
  color: #f5ebc8;
}

.socials {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}

.socials a {
  background: #1a1a1a;
  padding: 10px 16px;
  border-radius: 20px;
  font-size: 14px;
  color: #fff;
  text-decoration: none;
  transition: 0.3s;
}

.socials a:hover {
  background: #f5ebc8;
  color: #000;
}

.footer-bottom {
  border-top: 1px solid #262626;
  margin-top: 60px;
  padding-top: 20px;
  font-size: 13px;
  color: #777;
  text-align: center;
}

@media (max-width: 1024px) {
  .container {
    padding: 0 24px;
  }

  main {
    gap: 120px;
  }

  /* HERO */
  #hero h1 {
    width: 100%;
    font-size: 40px;
  }

  #hero h6 {
    font-size: 26px;
  }

  #hero p {
    width: 100%;
  }

  .hero__bg {
    position: static;
    width: 500px;
    opacity: 0.6;
    transform: translateX(100px);
  }

  .hero_subtitle {
    width: 90vw;
  }

  .hero__desc {
    width: 80vw;
  }

  /* CTA */
  #cta h2 {
    font-size: 60px;
  }

  .cta__stat {
    flex-wrap: wrap;
  }

  .cta__stat-div {
    width: calc(50% - 10px);
    padding: 60px 40px;
  }

  /* SERVICES */
  #services h2,
  .services-list {
    margin-left: 0;
  }

  #services {
    flex-direction: column;
    margin-right: auto;
    margin-left: auto;
  }

  .services-image {
    transform: translateX(0%);
    width: 80vw;
    margin: auto;
    order: 2;
  }

  .services-text {
    order: 1;
    font-size: 10px;
  }

  .service-description {
    font-size: 10px;
    width: 50vw;
  }

  .service-item {
    width: 70vw;
  }

  /* CONTACT */
  .contact-container {
    flex-direction: column;
    gap: 60px;
  }

  .contact-left {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  main {
    gap: 100px;
  }

  /* ========== HEADER (MOBILE) ========== */
  header {
    position: relative;
    padding: 16px 0;
    background: transparent;
    z-index: 1000;
  }

  .header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  /* logo */
  .header-logo {
    height: 40px;
  }

  /* desktop nav o‘chadi */
  header ul {
    display: none;
  }

  /* burger */
  .nav-toggle {
    position: relative; /* spanlarni absolute qilish uchun */
    width: 40px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  /* spanlar */
  .nav-toggle .bar {
    position: absolute; /* tugma ichida joylashadi */
    width: 100%;
    height: 3px;
    background-color: #fff;
    border-radius: 2px;
    transition: all 0.4s ease;
  }

  /* uchta line balandlik bo‘yicha joylashuvi */
  .nav-toggle.open .bar:nth-child(1) {
    top: 0;
    width: 70%;
  }

  .nav-toggle.open .bar:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
  }

  .nav-toggle.open .bar:nth-child(3) {
    bottom: 0;
    width: 70%;
  }

  /* ochilganda X shakl va qizil fon */
  .nav-toggle.open {
    background: #660028;
  }

  .nav-toggle.open .bar:nth-child(1) {
    top: 50%;
    transform: rotate(45deg) translate(0, -50%);
  }

  .nav-toggle.open .bar:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.open .bar:nth-child(3) {
    bottom: 50%;
    transform: rotate(-45deg) translate(0, 50%);
  }

  /* desktop lang yashirin */
  .desktop-lang {
    display: none;
  }

  /* ========== MOBILE DROPDOWN MENU ========== */

  .mobile-menu.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .mobile-menu__links {
    list-style: none;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .mobile-menu__links a {
    color: #fff;
    font-size: 18px;
    text-decoration: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
  }

  .mobile-menu__lang {
    padding: 24px;
    gap: 12px;
    color: #fff;
  }

  .mobile-menu__lang button {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
  }

  .mobile-menu__lang button.active {
    background: #fff;
    color: #000;
  }

  /* HERO */
  #hero {
    margin-top: 200px;
    /* margin-bottom: 400px; */
  }

  #hero h1 {
    font-size: 32px;
    line-height: 1.1;
  }

  #hero h6 {
    font-size: 20px;
  }

  #hero p {
    font-size: 14px;
  }

  .hero__bg {
    transform: translateY(0) translateX(0);
    width: 90vw;
    position: static;
  }

  .glow {
    width: 400px;
    height: 400px;
    left: -200px;
  }

  /* CTA */
  #cta h2 {
    font-size: 32px;
  }

  #cta p {
    font-size: 16px;
    width: 300px;
  }

  .cta__stat {
    flex-direction: column;
  }

  .cta__stat-div {
    width: 100%;
    padding: 50px 30px;
    border-radius: 40px;
  }

  /* SERVICES */
  #services {
    flex-direction: column;
  }

  #services h2 {
    font-size: 50px;
  }

  /* CONTACT SHAPE */
  .contact-shape-bg_desktop {
    display: none;
  }

  .contact-shape-bg_mobile-text {
    display: block;
  }

  .contact-title {
    font-size: 32px;
  }

  .contact-pattern {
    width: 300px;
  }

  .contact-shape-bg_mobile {
    display: block;
    margin-bottom: 120px;
  }

  /* Modal background */
  .modal {
    display: none; /* dastlab yashirin */
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.7); /* qorong‘i fon */
    backdrop-filter: blur(5px);
    justify-content: center;
    align-items: center;
  }

  /* Modal kontent */
  .modal-content {
    background-color: #1a1a1a; /* qora fon */
    color: #f5f0e3; /* matn rangi */
    padding: 30px 40px;
    border-radius: 20px;
    text-align: center;
    max-width: 400px;
    margin: auto;
    font-family: "Arial", sans-serif;
  }

  /* Close button */
  .modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    color: #ff1a5c;
    font-size: 24px;
    cursor: pointer;
  }

  /* Modal heading */
  .modal-content h2 {
    font-size: 24px;
    margin-bottom: 15px;
    line-height: 1.3;
  }

  /* Modal paragraph */
  .modal-content p {
    font-size: 16px;
  }

  /* FORM */
  .form-row {
    flex-direction: column;
    gap: 24px;
  }

  .submit-btn {
    float: none;
    width: 100%;
  }

  /* FOOTER */
  .footer {
    padding: 60px 24px 30px;
  }

  .footer-container {
    flex-direction: column;
    gap: 40px;
  }

  .footer-right {
    text-align: left;
  }

  .socials {
    justify-content: flex-start;
  }

  .footer-navigate {
    top: -20px;
  }
}

@media (max-width: 480px) {
  body {
    font-size: 12px;
  }
  header {
    width: 100vw;
  }
  .header-logo {
    height: 50px;
  }
  .mobile-nav {
    display: flex;
  }
  .lang-current {
    display: none;
  }
  .glow {
    width: 400px;
    height: 400px;
    left: -300px;
  }

  #hero h1 {
    font-size: 18px;
  }

  #hero p {
    font-size: 12px;
  }

  .hero__bg {
    position: static;
  }

  #cta h2,
  #services h2 {
    font-size: 20px;
  }

  #cta h2 {
    font-size: 16px;
  }

  #cta p {
    font-size: 16px;
    width: 280px;
  }

  .cta-bg {
    position: absolute;
    right: 0;
    top: 140px;
    pointer-events: none;
    width: 80vw;
  }

  .cta__stat-div h6 {
    font-size: 36px;
  }

  .contact {
    padding: 10px;
  }

  .contact-title {
    font-size: 24px;
  }

  .contact-pattern {
    margin-top: 50px;
    height: 120px;
    width: 80vw;
  }

  .contact-shape-bg_desktop {
    display: none;
  }

  .contact-shape-bg_mobile-text {
    display: block;
  }

  .contact-shape-bg_mobile {
    display: block;
    margin-bottom: 120px;
  }

  .contact-shape-oval {
    width: 400px;
    height: 150px;
    /* 
    padding: 10px;
    h2 {
      font-family: "Akony";
      color: #f1e6cd;
      font-size: 35px;
      margin-bottom: 20px;
    }
    img {
      height: 50px;
    }
    div {
      display: flex;
      align-items: center;
    }
    p {
      width: 400px;
      font-family: "Helvetica";
    } */
  }

  .footer-logo {
    height: 70px;
    width: 200px;
    margin-bottom: 24px;
  }
  .socials {
    gap: 0px;
  }
}
