/* Base */
*, *::before, *::after {
    margin: 0; padding: 0; box-sizing: border-box;
  }

  * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Montserrat', sans-serif;
  }
  body {
    background: #f8f8f8;
    color: #333;
  }

/*about container*/
  #about {
    padding: 150px;
    background-color: #f9f9f9;
    text-align: center;
  }
  #about h2 {
    padding-top: 33px;
    font-size: 32px;
    margin-bottom: 20px;
  }
  
  .section1 {
    background-image: url(gallery/uzsamregistan.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 100vh;
    padding: 150px 20px;
    text-align: center;
    color: #ffffff;
  }
  .section1 p {
    margin: 40px;
    text-align: center;
    font-size: 25px;
    color: #ffffff;
  }

/* Nav */
a {
    text-decoration: none;
}
header {
    position: fixed; width: 100%;
    top: 0; left: 0;
    background: #0083b0;
    z-index: 1000;
  }
  .nav-container {
    max-width: 1200px;
    margin: auto;
    display: flex; align-items: center; justify-content: space-between;
    padding: 0.5rem 1rem;
  }
  .logo { width: 120px; transition: transform 0.3s; }
  .logo:hover { transform: scale(1.05); }
  .nav-menu {
    list-style: none;
    display: flex; gap: 1rem;
  }
  .nav-menu li a {
    padding: 0.5rem 1rem;
    font-weight: bold;
    color: #ffffff;
    transition: background 0.3s;
  }
  .nav-menu li a:hover {
    background: #ffbd59;
    color: #351c1c;
    border-radius: 4px;
  }
  .nav-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
  }

  /*Language container*/
.language-dropdown {
    position: relative;
    display: inline-block;
    font-family: sans-serif;
}
.language-button {
    background-color: #f0f0f0;
    border: 1px solid #ccc;
    padding: 5px 5px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 5px;
}
.language-options {
    display: none;
    position: absolute;
    top: 110%;
    left: 0;
    background-color: #ffffff;
    border: 1px solid #ccc;
    border-radius: 6px;
    box-shadow: 0 5px 5px rgba(0,0,0,0.1);
    z-index: 100;
    min-width: 100px;
}
.language-options a {
    display: block;
    padding: 7px 7px;
    text-decoration: none;
    color: #333;
    font-weight: normal;
}
.language-options a:hover {
    background-color: #f5f5f5;
}
.language-dropdown:hover .language-options {
    display: block;
}
  

  /* Social icons */
.social-icons {
    display: flex;
    gap: 0.5rem;
  }
  .social-icons2 {
    display: flex;
    gap: 0.5rem;

  }
  .icon {
    width: 36px; 
    height: 36px;
    background: #fff;
    color: #ffbd59;
    border-radius: 50%;
    display: flex; 
    align-items: center; 
    justify-content: center;
    transition: transform 0.3s, background 0.3s;
  }
  .icon:hover {
    transform: rotate(15deg);
    background: #ddd;
  }
  .icon.facebook:hover   { background: #3b5998; color: #fff; }
  .icon.telegram:hover   { background: #46c1f6; color: #fff; }
  .icon.instagram:hover  { background: #e1306c; color: #fff; }
  .icon.youtube:hover    { background: #FF0000; color: #fff; }
  .icon.gmail:hover      { background: #EA4335; color: #fff; }

  /* Phone icon container */
  .circle-icon {
    display: inline-block;
    width: 36px;
    height: 36px;
    background: #ffffff;
    color: #ffbd59;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
  }
  .circle-icon:hover {
    background-color: #1ebe57;
  }

  .section {
    padding: 40px 20px;
    max-width: 1200px;
    margin: auto;
  } 
  .section h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #000000;
  }
  .gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
  }
  .gallery img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    transition: transform 0.4s ease;
  }
  .gallery img:hover {
    transform: scale(1.05);
  }
  .services, .reviews {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 20px;
  }
  .card {
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    width: 300px;
    transition: transform 0.3s;
  }
  .card:hover {
    transform: translateY(-5px);
  }
  .social-icons2 {
    text-align: center;
  }
  footer {
    background: #0083b0;
    color: #ffffff;
    text-align: center;
    padding: 15px;
    margin-top: 40px;
  }

  /*Mobile container*/
  nav menu {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 0;
  }
  .nav-menu li {
    margin: 10px;
  }
  .container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
  }
  img {
    max-width: 100%;
    height: auto;
  }
  @media (max-width: 768px) {
    body {
        font-size: 16px;
        padding: 10px;
    }
    .container, .content {
        width: 100%;
        padding: 0 10px;
        box-sizing: border-box;
    }
    nav menu {
        flex-direction: column;
        align-items: flex-start;
    }
    nav menu li {
        margin:10px 20px;
    }
    .hero img, .gallery img {
        width: 100%;
        height: auto;
    }
    h1, h2, h3, p {
        text-align: center;
    }
  }
  @media (max-width: 768px) {
    .nav-menu {
      display: none;
      flex-direction: column;
      width: 100%;
      background: #0083b0;
    }
    .nav-menu.show {
      display: flex;
    }
    .nav-toggle {
      display: block;
    }
    .language-dropdown, .social-icons {
      display: block; /* optional: menyu soddalashadi */
    }
  }
  @media (max-width: 768px) {
    .section1 {
        padding: 80px 20px;
        background-position: center;
        background-size: cover;
    }
    .section1 p {
        font-size: 18px;
        margin: 20px 10px;
    }
    #about {
      padding: 60px 20px;
    }
    #about h2 {
        padding-top: 33px;
    font-size: 24px;
    }
  }
  @media (max-width: 768px) {
    .nav-menu {
      flex-direction: column;
      align-items: flex-start;
    }
  
    .nav-menu li {
      margin: 10px 20px;
    }
  }

  