*{
    margin:0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}


/* HEADER */
li {
    list-style: none;
}

a{
    text-decoration: none;
}

header {
    display: flex;
    justify-content: space-between;
    padding: 40px 100px;
    height: 70px;
    align-items: center;
}

.menu {
    flex: 3;
    display: flex;
    gap: 35px;
}

/*.menu li {
    padding: 0 12px;
 } */

.menu li a {
  font-size: 14px;
  font-weight: 600;
  color: #111;
}

.logo {
    flex: 1;
    display: flex;
    justify-content: center;
    position: absolute;
    left: 50%;
}

.logo img { 
    max-width: 180px;
    width: 100%;
    height: auto;
    object-fit: contain;
}


.others {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 20px;
}


.others li{
    cursor: pointer;
    padding: 0 12px;
    position: relative;
}

.others li:not(:last-child)::after{
    content: "|";
    width: 1px;
    height: 18px;
    position: absolute;
    right: -9px;
    top: 50%;
    transform: translateY(-50%); 

}

.others > li:first-child input{
    position: absolute;
    right: 10px;
}
.others > li a {
    font-size: 14px;
    font-weight: 600;
    color: #111;
}


/* ===== HAMBURGER default hidden ===== */
.menu-toggle {
  display: none;
  font-size: 24px;
  color: #111;
}

/* ===== OVERLAY ===== */
.menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
  z-index: 999;
}

/* ===== MOBILE MENU ===== */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 82%;
  max-width: 380px;
  height: 100vh;
  background: #fff;
  transform: translateX(-100%);
  transition: transform 0.35s ease;
  z-index: 1000;
  overflow-y: auto;
  box-shadow: 6px 0 20px rgba(0, 0, 0, 0.15);
}

.mobile-menu-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 22px;
  border-bottom: 1px solid #ddd;
}

.mobile-menu-top img {
  width: 120px;
  height: auto;
  display: block;
}

.menu-close {
  font-size: 28px;
  color: #444;
}

.mobile-menu-location {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 24px 22px;
  border-bottom: 1px solid #ddd;
  font-size: 18px;
  color: #222;
}

.mobile-menu-list li {
  border-bottom: 1px solid #eee;
}

.mobile-menu-list li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 22px;
  font-size: 18px;
  color: #333;
}

/* ===== when open menu ===== */
.mobile-menu.active {
  transform: translateX(0);
}

.menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* =====RESPONSIVE TABLET + MOBILE ===== */
@media (max-width: 1024px) {
  .header {
    padding: 14px 16px;
  }

  .header-container {
    grid-template-columns: auto 1fr auto;
    gap: 12px;
  }

  .menu-toggle {
    display: block;
    background: transparent;
    border: none;
  }

  .menu {
    display: none;
  }

  .logo {
    display: none;
    justify-content: center;
  }

  .logo img {
    max-width: 140px;
  }

.others {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
}

  .search-box i { 
    font: 14px;
    color: #00f230;
    margin-right: 12px;
}
 
}

/* ===== MOBILE ===== */
@media (max-width: 768px) {

    header {
    display: flex;
    justify-content: space-between;
    padding: 20px 20px;
    height: 70px;
    align-items: center;
}

  .logo img {
    max-width: 120px;
  }

  .others {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
}

  .search-box i { 
    font: 14px;
    color: #0e0f0e;
    margin-right: 12px;
}

  .search-box input {
    font-size: 12px;
  }


  }


/* ===== hidden research in small screens ===== */
@media (max-width: 480px) {


  .others {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 5px;
}
.search-box input {
    width: 120px;
    border-bottom: 1px solid;
    border-top: none;
    border-left: none;
    border-right: none;
    padding-bottom: 4px;
    margin-right: 8px;
    background: transparent;
}


.search-box input::placeholder {
  color: #9a9a9a;
  font-size: 12px;
}

  .search-box i { 
    font: 12px;
    color: #0e0f0e;
    margin-right: 12px;
}

  .search-box input {
    font-size: 12px;
  }

  .logo img {
    max-width: 110px;
  }

  .mobile-menu {
    width: 88%;
  }

  .mobile-menu-list li a,
  .mobile-menu-location {
    font-size: 16px;
  }
}



/* FOOTER */

.footer {
  width: 100%;
  background: #f5f5f5;
  padding: 60px 0 25px;
  border-top: 1px solid #ddd;
}

.footer-container {
  width: 85%;
  max-width: 1400px;
  margin: 0 auto;
}

.footer-top {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 40px;
  align-items: start;
}

.footer-logo img {
  max-width: 180px;
  width: 100%;
  height: auto;
  display: block;
}

.newsletter h3 {
  font-size: 22px;
  color: #222;
  margin-bottom: 20px;
}


.newsletter-benefits {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px 40px;
  margin-bottom: 28px;
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 14px;
  color: #333;
}

.benefit-item i {
  color: #111;
  font-size: 14px;
}

/* form */
.newsletter-form {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}

.newsletter-form input {
  flex: 1;
  height: 60px;
  padding: 0 20px;
  border: 1px solid #999;
  border-radius: 14px;
  font-size: 14px;
  outline: none;
  background: #fff;
}

.newsletter-form button {
  min-width: 300px;
  height: 60px;
  border: none;
  border-radius: 999px;
  background: #3f3f3f;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.3s;
}

.newsletter-form button:hover {
  background: #222;
}

/* checkbox rows */
.check-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  cursor: pointer;
}

.check-row input {
  width: 24px;
  height: 24px;
  margin-top: 2px;
  flex-shrink: 0;
}

.check-row span {
  font-size: 14px;
  line-height: 1.7;
  color: #444;
}

.footer-bottom {
  margin-top: 35px;
  padding-top: 20px;
  border-top: 1px solid #ddd;
  text-align: center;
}

.footer-bottom p {
  font-size: 14px;
  color: #666;
}


@media (max-width: 1024px) {
  .footer-top {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .footer-logo {
    margin-bottom: 0;
  }

  .footer-logo img {
    margin: 0 auto;
  }

  .newsletter h3 {
    font-size: 28px;
    text-align: center;
  }

  .newsletter-benefits {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .newsletter-form input {
    height: 52px;
    padding: 15px 10px;
    font-size: 16px;
  }

  .newsletter-form button {
    height: 52px;
    font-size: 16px;
  }

  .check-row span {
    font-size: 12px;
    line-height: 1.5;
  }
  .newsletter-form {
    flex-direction: column;
  }

  .newsletter-form button {
    min-width: 100%;
  }
}

@media (max-width: 768px) {
  .footer {
    padding: 45px 0 20px;
  }

  .footer-container {
    width: 90%;
  }

  .newsletter h3 {
    font-size: 24px;
  }

  .benefit-item {
    font-size: 15px;
  }

  .benefit-item i {
    font-size: 20px;
  }

  .newsletter-form input {
    height: 52px;
    font-size: 16px;
  }

  .newsletter-form button {
    height: 52px;
    font-size: 16px;
  }

  .check-row span {
    font-size: 14px;
    line-height: 1.6;
  }
}


@media (max-width: 480px) {
  .footer {
    padding: 25px 0 20px;
  }

  .footer-container {
    width: 90%;
  }

  .newsletter {
    padding-top: 10px;
  }

  .newsletter h3 {
    font-size: 24px;
  }

  .benefit-item {
    font-size: 13px;
  }

  .benefit-item i {
    font-size: 15px;
  }

  .newsletter-form input {
    height: 50px;
    padding: 15px 10px;
    font-size: 13px;
  }

  .newsletter-form button {
    height: 50px;
    font-size: 13px;
  }

  .check-row span {
    font-size: 11px;
    line-height: 1.5;
  }
}