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

body {
  background-color: #fff;
  color: #333;
  overflow-x: hidden;
}

/*! navbar  */

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

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* Header Styles */
header {
  background-color: #3d7a8c;
  color: white;
  padding: 20px 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-left: 10px;
  padding-right: 10px;
}

.title {
  font-size: 24px;
  color: white;
  font-weight: 700;
  user-select: none;
}

.nav-links ul {
  display: flex;
  gap: 30px;
}

.nav-links ul li a {
  font-size: 14px;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links ul li a:hover,
.nav-links ul li a.active {
  color: #e0e0e0;
}

.nav-icons {
  display: flex;
  align-items: center;
  gap: 10px;
}

.user-icon,
.menu-icon {
  font-size: 20px;
  cursor: pointer;
}

.menu-icon {
  display: none;
}
@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background-color: #3d7a8c;
    transition: left 0.3s ease;
    z-index: 99;
  }

  .nav-links.active {
    left: 0;
  }

  .nav-links ul {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    gap: 40px;
  }

  .nav-links ul li a {
    font-size: 18px;
  }

  .menu-icon {
    display: block;
  }

  .hero-content {
    flex-direction: column;
  }

  .hero-text {
    text-align: center;
    order: 1;
  }

  .hero-image {
    order: 0;
    justify-content: center;
    margin-bottom: 30px;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-text h1 {
    font-size: 36px;
  }
}


.footer {
  background-color: #fff;
  padding: 4rem 2rem;
  border-top: 1px solid #e5e7eb;
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr) 1.5fr;
  gap: 2rem;
}

/* Brand Section */
.brand-name {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #14183e;
}

.brand-description {
  color: #5e6282;
  max-width: 250px;
  font-size: 0.95rem;
}

/* Links Sections */
.footer-section h3 {
  color: #14183e;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.footer-section.links ul {
  list-style: none;
}

.footer-section.links ul li {
  margin-bottom: 1rem;
}

.footer-section.links ul li a {
  color: #5e6282;
  text-decoration: none;
  transition: color 0.3s ease;
  font-size: 0.95rem;
}

.footer-section.links ul li a:hover {
  color: #14183e;
}

/* App Section */
.app-buttons {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.app-button {
  display: block;
  transition: transform 0.3s ease;
}

.app-button:hover {
  transform: translateY(-2px);
}

.store-badge {
  height: 40px;
  width: auto;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #f5f5f5;
  color: #5e6282;
  transition: all 0.3s ease;
}

.social-icon:hover {
  background-color: #14183e;
  color: white;
  transform: translateY(-2px);
}

.social-icon svg {
  width: 20px;
  height: 20px;
}

/* Responsive Design */
@media (max-width: 1200px) {
  .footer-container {
    grid-template-columns: repeat(4, 1fr);
  }

  .footer-section.brand {
    grid-column: 1 / -1;
  }

  .footer-section.app {
    grid-column: 1 / -1;
    text-align: center;
  }

  .brand-description {
    max-width: 100%;
  }

  .app-buttons {
    justify-content: center;
  }

  .social-links {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .footer-container {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer {
    padding: 3rem 1.5rem;
  }

  .footer-section.brand,
  .footer-section.app {
    grid-column: 1 / -1;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .footer-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-section {
    text-align: center;
  }

  .brand-description {
    margin: 0 auto;
  }

  .app-buttons {
    flex-direction: column;
    align-items: center;
  }
}


/*! cookies  */
#cookie-overlay {
  position: fixed !important;
  top: 0;
  left: 0;
  width: 100vw; /* To‘liq ekranni qoplashi uchun */
  height: 100vh;
  background: rgba(0, 0, 0, 0.5); /* Yarim shaffof qora fon */
  z-index: 998; /* Cookie banner (999) ostida bo‘lishi uchun */
}

#cookie-banner {
  position: fixed;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 999;
  background-color: #1e1e1e;
  padding: 60px;
  width: 90%;
  max-width: 900px;
  justify-content: space-between;
  color: white;
  border-radius: 10px;
  box-shadow: 0 4px 10px #0000004d;
  display: flex;
  gap: 15px;
  align-items: center;
}

.cookie-content {
  width: 60%;
}

.cookie-content h2 {
  margin: 0;
  font-size: 18px;
}

.cookie-content p {
  font-size: 14px;
  color: #b3b3b3;
}

.cookie-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

#cookie-banner button {
  flex: 1;
  padding: 10px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 14px;
  transition: 0.3s;
  width: 150px;
  text-align: center;
}

.accept {
  background-color: #007bff;
  color: white;
}

.accept:hover {
  background-color: #0056b3;
}

.reject {
  background-color: #333;
  color: white;
}

.reject:hover {
  background-color: #555;
}

.settings {
  background-color: transparent;
  border: 1px solid #b3b3b3;
  color: #b3b3b3;
}

.settings:hover {
  border-color: white;
  color: white;
}

.hidden {
  display: none;
}

@media (max-width: 1000px) {
  #cookie-banner {
    flex-direction: column;
    text-align: center;
    align-items: center;
    width: 95%;
    padding: 20px;
  }

  .cookie-content {
    width: 100%;
  }

  .cookie-buttons {
    flex-direction: column;
    justify-content: center;
  }

  #cookie-banner button {
    width: auto;
    padding: 10px 120px;
  }
}
