@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

* {
  box-sizing: border-box;
  font-family: Inter, system-ui, sans-serif;
}

body {
  background: #f4f6f8;
  margin: 0;
  padding: 0;
}

.container {
  width: 100%;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 3px 30px;
}

#logo_span_recomnd {
  color: #3e3b3b;
  font-size: 14px;
  font-weight: 400;
}

.card {
  background: #fff;

  border-radius: 10px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .08);
}

h3 {
  margin: 0;
}

.muted {
  color: #6b7280;
  font-size: 13px;
}

label {
  font-size: 13px;
  color: #374151;
}

input,
textarea {
  width: 100%;
  padding: 10px;
  border-radius: 6px;
  border: 1px solid #d1d5db;
  font-size: 14px;
}

textarea {
  min-height: 80px;
  resize: vertical;
}

.row {
  display: flex;
  gap: 12px;
}

.col {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.upload {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 10px;
  border: 1px dashed #cbd5e1;
  padding: 10px;
  border-radius: 6px;
}

.upload i {
  width: 18px;
}

button {
  padding: 8px 12px;
  border-radius: 6px;
  border: 1px solid #d1d5db;
  background: #fff;
  cursor: pointer;
}

.add {
  color: #2563eb;
  border-color: #2563eb;
}

.danger {
  color: #dc2626;
  border: none;
}

.stat,
.logo-row {
  display: flex;
  gap: 10px;
  align-items: center;
}


/*  */
ul li:nth-child(1) button {
  color: #b4b0b0;
}

ul li:nth-child(2) button {
  color: #000;
}

ul li:nth-child(3) button {
  color: #fff;
  background-color: #dc2626;
}

aside {
  height: 100vh;
  background-color: #101828;
  width: 330px;
}

.nav-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 25px;
  gap: 3px;

}

.aside_content {
  width: 90%;
  margin: auto;
  border-radius: 10px;
  display: flex;
  justify-content: center;
  gap: 10px;
  align-items: center;
  background-color: #dc2626;
  color: #fff;
  margin-top: 20px;
}

.main_container {
  display: flex;
  justify-content: space-between;
  gap: 0;
  padding-bottom: 50px;
}


nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #fff;
  padding: 5px 15px;
  width: 100% !important;
  margin-bottom: 30px;
  border: 1px solid #fffffff1;

}

nav ul {

  list-style: none;
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: 10px;
}

.stat {
  padding: 20px;
  border: 1px solid #e2e2e2;
  border-radius: 10px;
}


.update {
  background: #f9fafb;
  padding: 20px;
  border: 1px solid #e2e2e2;
  border-radius: 10px;

}


.service {
  background: #f9fafb;
  padding: 20px;
  border: 1px solid #e2e2e2;
  border-radius: 10px;
}

.inner_service {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: center;
  margin: 20px 0;
}

.inner_presence {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 30px;
  padding: 30px;
  border: 1px solid #e2e2e2;
  border-radius: 10px;
}

.industry {
  padding: 30px;
  border: 1px solid #e2e2e2;
  border-radius: 10px;
  background: #f9fafb;

}

/*  */
.stat input,
.logo-row input {
  flex: 1;
}

.switch {
  position: relative;
  width: 40px;
  height: 20px;
}

.switch input {
  display: none;
}

.switch span {
  position: absolute;
  inset: 0;
  background: #d1d5db;
  border-radius: 20px;
}

.switch span::before {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  background: #fff;
  border-radius: 50%;
  top: 2px;
  left: 2px;
  transition: .2s;
}

.switch input:checked+span {
  background: #2563eb;
}

.switch input:checked+span::before {
  transform: translateX(20px);
}

.checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
}

.error {
  border-color: #dc2626;
  color: #dc2626;
}

main ul {
  list-style: none;
  display: flex;
  justify-content: space-around;

}

/* updating  */


input,
textarea {
  width: 100%;
  padding: 10px 12px;
  border-radius: 6px;

  border: none;
  background: #F3F3F5;

  font-size: 14px;
  color: #111827;
}

input:focus,
textarea:focus {
  outline: none;
  background: #ededf0;
}

/* popup */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .6);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 999;
}

/* Popup Styles */
.popup-overlay {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgba(98, 43, 43, 0.4);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 99999;
  padding: 20px;
}

.popup-content {
  background-color: #fff;
  border-radius: 10px;
  padding: 30px;
  max-height: 90vh;
  overflow-y: auto;
  width: 100%;
}

.popup-content.client-logo-popup {
  max-width: 800px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 20px;
  position: relative;
  top: 50%;
  left: 50%;
  transform: translate(-50% , -50%);

}

.popup-content.industry-popup {
  max-width: 60%;
  margin: auto;
}

.popup-content.office-popup {
  max-width: 800px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

.popup-content.service-popup {
  max-width: 60%;
  margin: auto;
}

.popup-btns {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 100px;
  margin-top: 20px;
}

.popup-btn-add {
  background-color: rgb(62, 117, 62);
  color: #fff;
  padding: 10px 24px;
}

.popup-btn-close {
  background-color: red;
  color: #fff;
  padding: 10px 24px;
}

/* Mobile Responsive Styles for Popups */
@media (max-width: 768px) {
  .contact {
    display: flex;
    flex-direction: column !important;
  }

  .contact .row {
    flex-direction: column !important;
  }

  .office-mobile {
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .po pup-overlay {
    padding: 10px;
  }

  .popup-content {
    padding: 20px;
    max-height: 85vh;
  }

  .popup-content.client-logo-popup,
  .popup-content.office-popup {
    max-width: 100%;
    width: 100%;
  }

  .popup-content.industry-popup,
  .popup-content.service-popup {
    max-width: 95%;
    width: 95%;
  }

  .popup-btns {
    gap: 20px;
    flex-wrap: wrap;
  }

  .popup-btn-add,
  .popup-btn-close {
    flex: 1;
    min-width: 120px;
  }

  .logo-row,
  .inner_service {
    flex-direction: column;
    gap: 15px;
  }

  .office-popup-inputs {
    flex-direction: column;
  }
}

@media (max-width: 738px) {
  .main_container {
    flex-direction: column;
  }

  .main_container aside {
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 100%;
    height: auto;
    padding: 0 10px;

  }

  aside .nav-logo-text {
    font-size: 14px;

  }

  aside .aside_content {
    padding: 0 !important;
    width: 150px;
    padding: 5px;
  }

  .aside_content p {
    font-size: 14px;
    font-weight: 400;
  }

  main {
    display: flex;
    flex-direction: column-reverse;
    padding: 50px 0;
  }

  main div p {
    font-size: 14px;
    display: none;
  }

  main nav {
    width: 90% !important;
    margin: auto;
    margin: 30px auto;

    border: 1px solid #ba7a7af1;
    border-radius: 10px;
  }

  main ul {
    margin: auto;
    display: flex;
    justify-content: space-around;
    width: 100%;
    padding-inline-start: 0;
    /* border: 1px solid red;
    border-radius: 10px; */
    padding: 10px;

  }

}