  /* GENERAL */

  @import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap");

  * {
    margin: 0;
    padding: 0;
  }

  body {
    font-family: "Poppins", sans-serif;
    background-color: #003459;
    
  }

  html {
    scroll-behavior: smooth;
  }

  p {
    color: rgb(40, 40, 59);
  }

  /* TRANSITION */

  a,
  .btn {
    transition: all 300ms ease;
  }

  /* DESKTOP NAV */

  nav,
  .nav-links {
    display: flex;
  }

  nav {
    justify-content: space-around;
    align-items: center;
    height: 12vh;
  }

  .nav-links {
    gap: 2rem;
    list-style: none;
    font-size: 1.2rem;
  }

  a {
    color: rgb(253, 251, 251);
    text-decoration: none;
    text-decoration-color: black;
  }

  a:hover {
    color: rgb(145, 142, 142);
    text-decoration: underline;
    text-underline-offset: 1rem;
    text-decoration-color: rgb(181, 181, 181);
  }

  
  .logo-img{
    height: 6rem;
    width: auto;
  }

  .logo:hover {
    cursor: default;
  }

  /* HAMBURGER MENU */

  #hamburger-nav {
    display: none;
   background-color: #1e2a38;
  padding: 0.8rem 1rem;
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
  position: relative;
  z-index: 1000;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  }

 .hamburger-menu {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

  .hamburger-icon {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 24px;
    width: 30px;
    cursor: pointer;
    transition: transform 0.3s ease-in-out;
  z-index: 1100;
  }

  .hamburger-icon span {
  display: block;
  height: 3px;
  border-radius: 2px;
  background-color: #f4f4f4;
  transition: all 0.3s ease-in-out;
  }

  .menu-links {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: #2c3e50;
    border-radius: 6px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    width: fit-content;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3 ease-in-out;
    padding: 0;
  margin-top: 10px;
  user-select: none;
  z-index: 1050;
  }

  .menu-links a {
    display: block;
    padding: 12px 20px;
    text-align: center;
    font-size: 1.5rem;
    color: #ecf0f1;
    text-decoration: none;
    transition: background-color 0.25s ease-in-out;
    border-left: 4px solid transparent;
  }
    .menu-links a:hover {
  background-color: #34495e;
  border-left-color: #1abc9c;
  color: #1abc9c;
}

  .menu-links li {
    list-style: none;
  }

  .menu-links.open {
    max-height: 300px;
    padding: 10px 0;
  }


  .hamburger-icon.open span:first-child {
    transform: rotate(45deg) translate(10px, 5px);
  }

  .hamburger-icon.open span:nth-child(2) {
    opacity: 0;
  }

  .hamburger-icon.open span:last-child {
    transform: rotate(-45deg) translate(10px, -5px);
  }

  .hamburger-icon span:first-child {
    transform: none;
  }

  .hamburger-icon span:first-child {
    opacity: 1;
  }

  .hamburger-icon span:first-child {
    transform: none;
  }

  /* SECTIONS */

  section {
    padding-top: 4vh;
    margin: 0 1rem;
    box-sizing: border-box;
    min-height: fit-content;
  }

  .section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
  }


  /* HOME SECTION */

  @keyframes bgMove {
  0% {
    background-position: center 0;
  }
  100% {
    background-position: center 100px;
  }
}

  #see_1 {
    display: flex;
  background-image: url(./pic/see.png);
  background-repeat: no-repeat;
  background-size: cover;
  animation: bgMove 10s linear infinite alternate;
  justify-content: center;
  gap: 2rem;
  height: 80vh;
  }



  .section__pic-container1 {
      display: flex;
    height: 400px;
    width: 400px;
    margin: auto 0;
  }

  .section__text {
    align-self: center;
    text-align: center;
  }

  .section__text p {
    font-weight: 600;
  }
  .section__text__p1 {
    font-size: 1.2rem;
    text-align: center;
    color: #f9f9f9;
  }
  .section__text__p2 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
  }

  .title {
    font-size: 3rem;
    text-align: center;
    color: antiquewhite;
  }
  .title2 {
    color: black;
    text-align: center;
  }
  .text4 {
    text-align: center;
  }
  .email1 {
    text-align: center;
  }

  .title1{
    font-size: 2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1rem;
  }
  .details-container h3 {
    font-size: 1.5rem;
    margin-top: 2rem;
    color: #444;
  }
  .details-container ul {
    list-style: none;
    padding-left: 0;
    margin: 1rem 0;
    text-align: left;
  }

  .details-container li {
    margin-bottom: 0.75rem;
    font-size: 1rem;
    position: relative;
    padding-left: 1.8rem;
  }

  .details-container li::before {
    position: absolute;
    left: 0;
    top: 0;
    color: #28a745;
    font-size: 1.2rem;
  }
  .details-container p {
    margin-bottom: 1rem;
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
  }


  /* ICONS */

  .icon {
    cursor: pointer;
    height: 2rem;
  }

  /* BUTTONS */

  .btn-container {
    
    justify-content: center;
    gap: 2rem;
  }

  .btn {
    font-weight: 600;
    transition: all 300ms ease;
    padding: 1rem;
    width: 20rem;
    border-radius: 2rem;
  }

  .btn-color-1,
  .btn-color-2 {
    border: rgb(243, 240, 240) 0.1rem solid;
    color: antiquewhite;
  }

  .btn-color-1:hover,
  .btn-color-2:hover {
    cursor: pointer;
  }

  .btn-color-1,
  .btn-color-2:hover {
    background: rgb(53, 53, 53);
    color: white;
  }

  .btn-color-1:hover {
    background: rgb(239, 236, 236);
  }

  .btn-color-2 {
    background: none;
  }

  .btn-color-2:hover {
    border: rgb(255, 255, 255) 0.1rem solid;
  }

  .btn-container {
    gap: 1rem;
  }

  /* CONSULTING SECTION START */

  #consulting {
    position: relative;
  }

  .consulting-containers {
    gap: 2rem;
    margin-bottom: 2rem;
    margin-top: 2rem;
  }

  .consulting-details-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
  }

  .consulting-containers,
  .consulting-details-container {
    display: flex;
  }
  .consulting-details-container p{
      color: black;
  }
  .text-container p2{
  color: beige;
  }

  .details-container {
    padding: 1.5rem;
    flex: 1;
    background: white;
    border-radius: 2rem;
    border: rgb(53, 53, 53) 0.1rem solid;
    border-color: rgb(163, 163, 163);
    text-align: center;
  }

  .section__pic-container {
    height: 400px;
    width: 400px;
    margin: auto 0;
  }

  /* CONSULTING SECTION END */

  /* SERVICE SECTION */

  .services-row {
    display: flex;
    gap: 20px;
    justify-content: space-between;
    flex-wrap: wrap; /* mobile дээр эвтэйхэн бутарч харагдана */
    overflow-x: auto;
  }

  .details-container1 {
    flex: 1 1 300px;
    background-color: #f9f9f9;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    min-width: 260px;
    max-width: 100%;
  }
  .details-container1 li::before {
    content: '✔️';
    margin-right: 8px;
    color: #28a745;
  }

  .details-container1 h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #2b2b2b;
  }

  .details-container1 .price {
    font-size: 18px;
    font-weight: bold;
    color: #0077cc;
  }

  .details-container1 .description {
    margin: 8px 0;
    font-style: italic;
  }

  .details-container1 ul {
    list-style: none;
    padding-left: 20px;
    margin: 10px 0;
  }

  .details-container1 li {
    margin-bottom: 6px;
  }

  .details-container1 .note {
    margin-top: 12px;
    font-size: 14px;
    color: #555;
  }
  /* SERVICE SECTION END */
  
 /* --- CONTACT ME SECTION START --- */
.comment-section {
  max-width: 1200px;
  margin: 40px auto;
  padding: 30px;
  background: #f9f9f9;
  border-radius: 20px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  font-family: 'Segoe UI', sans-serif;
}

.comment-section h2 {
  margin-bottom: 25px;
  text-align: center;
  color: #222;
  font-size: 28px;
  font-weight: 600;
}

form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 25px;
}
textarea::placeholder{
  font-family: 'Aral', sans-serif;
  font-size: 16px;
  color: #999;
}
input, textarea {
  padding: 12px 16px;
  font-size: 16px;
  border: 1px solid #ddd;
  border-radius: 10px;
  background-color: #fff;
  transition: border-color 0.3s ease;
}

input:focus,
textarea:focus {
  border-color: #007bff;
  outline: none;
}


#commentList {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  gap: 20px;
  padding-bottom: 10px;
  scroll-behavior: smooth;
}

#commentList::-webkit-scrollbar {
  height: 8px;
}
#commentList::-webkit-scrollbar-thumb {
  background-color: #bbb;
  border-radius: 4px;
}

/* Comment Card */
.comment {
  background-color: #fff;
  flex: 0 0 auto;
  width: 300px;
  padding: 18px;
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.05);
  display: flex;
  gap: 15px;
  align-items: flex-start;
  transition: transform 0.3s ease;
}

.comment:hover {
  transform: translateY(-5px);
}

.comment .avatar {
  width: 50px;
  height: 50px;
  background-color: #007bff;
  border-radius: 50%;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 20px;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0, 123, 255, 0.4);
}

.comment .content {
  flex: 1;
}

.comment .username {
  font-weight: bold;
  color: #222;
  font-size: 17px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.comment .time {
  font-size: 0.85em;
  color: #999;
  margin-bottom: 8px;
}

.comment p {
  font-size: 15px;
  line-height: 1.5;
  color: #444;
}
/* --- CONTACT ME SECTION END --- */

  /* --- CONTACT SECTION --- */
#contact {
    display: flex;
    justify-content: center;
    flex-direction: column;
  }

  .contact-info-upper-container {
    display: flex;
    justify-content: center;
    border-radius: 2rem;
    border: rgb(53, 53, 53) 0.1rem solid;
    border-color: rgb(163, 163, 163);
    background: (250, 250, 250);
    margin: 2rem auto;
    padding: 0.5rem;
  }

  .contact-info-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin: 1rem;
  }

  .contact-info-container p {
    font-size: larger;
  }

  .contact-icon {
    cursor: default;
  }

  .email-icon {
    height: 2.5rem;
  }
/* --- FOOTER --- */
footer {
  background-color: #222;
  padding: 1.5rem 1rem;
  margin-top: 4rem;
  color: #ccc;
  font-size: 0.9rem;
  font-weight: 400;
  text-align: center;
}

footer nav {
  margin-bottom: 0.8rem;
}

.nav-links-container {
  max-width: 600px;
  margin: 0 auto;
}

.nav-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
  gap: 1.8rem;
  flex-wrap: nowrap;
  flex-flow: row nowrap;
}

.nav-links li a {
  color: #bbb;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.25s ease;
  font-size: 1rem;
}

.nav-links li a:hover,
.nav-links li a:focus {
  color: #fff;
  text-decoration: underline;
  outline: none;
}

/* Copyright text */
footer p {
  margin: 0;
  color: #888;
}

/* Responsive adjustments */
@media (max-width: 600px) {
  .nav-links {
    gap: 1rem;
  }
  .nav-links li a {
    font-size: 0.8rem;  /* үсгийн хэмжээ жижигрэнэ */
  }
}
@media (max-width: 480px) {
  #contact {
    margin: 2rem 1rem;
    padding: 2rem 1rem;
  }
  .contact-info-upper-container {
    padding: 1rem;
  }
  .nav-links {
    gap: 1rem;
  }
  .nav-links li a {
    font-size: 0.9rem;
  }
}


  /* Login Form Styles */
  form#loginForm {
    width: 300px;
    margin: 100px auto;
    padding: 2rem;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  form#loginForm input {
    padding: 0.5rem;
    border-radius: 5px;
    border: 1px solid #ccc;
    font-size: 1rem;
  }

  form#loginForm button {
    background-color: #003459;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 0.7rem;
    font-weight: bold;
    font-size: 1rem;
    transition: background-color 0.3s ease;
  }

  form#loginForm button:hover {
    background-color: #005b9f;
  }

  /* admin huudas */

  form#adminForm {
    background: white;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    width: 80%;
    max-width: 1000px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 100px auto;
  }
  input[type="text"],
    textarea {
      padding: 0.8rem;
      font-size: 1rem;
      border: 1px solid #ccc;
      border-radius: 8px;
      resize: vertical;
      transition: border-color 0.3s;
    }

    input[type="text"]:focus,
    textarea:focus {
      outline: none;
      border-color: #007bff;
    }
    input[type="file"] {
      padding: 0.5rem 0;
    }

    button[type="submit"],
    button#logoutBtn {
      background: #007bff;
      color: white;
      padding: 0.9rem;
      font-size: 1rem;
      border: none;
      border-radius: 8px;
      cursor: pointer;
      transition: background 0.3s;
    }

    button[type="submit"]:hover,
    button#logoutBtn:hover {
      background: #0056b3;
    }

    
