/* Minimal styles for about-us working environments */
/* Keep defaults from clone.css for global layout */

/* Payment Header Styles */
.payment-header {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  margin-bottom: 25px;
  flex-wrap: wrap;
}

.payment-header .svg-c {
  width: 35px;
  height: 35px;
  background-color: #865ba6;
  border-radius: 8px;
  display: grid;
  place-content: center;
  cursor: pointer;
}

.payment-header .svg-c i.fas,
.payment-header .svg-c i.fab {
  color: white;
  font-size: 16px;
}

.payment-header span {
  font-size: 1.2rem !important;
  color: #000;
  font-weight: 400;
}

.payment-header .span-border {
  color: #865ba6;
  font-size: 1.2rem !important;
  font-weight: 400;
}

/* Desktop styles */
@media (min-width: 501px) {
  #desktopAboutContainer {
    position: relative;
    top: 120px;
  }
}

@media (max-width: 500px) {
  body {
    background-color: #ffff !important;
  }
  #pageContainer {
    display: none;
  }

  footer {
    display: none !important;
  }

  #desktopAboutContainer {
    display: none !important;
  }

  .page-title {
    position: relative;
    top: -30px;
    height: 180px;
    width: 100%;
  }
  .page-title::before {
    content: "";
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(#8f66b1b0, #8f66b1b0),
      url(/img/aboutImg.png);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    z-index: -1;
  }
  h2 {
    position: absolute;
    bottom: 20px;
    color: #fff !important;
    font-size: 2rem !important;
    font-style: normal !important;
    font-weight: 500 !important;
    line-height: normal !important;
  }
  #aboutDesc {
    margin-top: -30px;
  }
  #aboutDesc p {
    margin-top: 10px;
    font-size: 0.85rem;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    line-height: 20px;
    margin-inline: 15px;
    color: #000000aa;
  }
  #aboutDesc span {
    color: #865ba6;
  }
  #aboutDesc .border-c {
    width: 100%;
    border: 1.5px solid rgba(133, 91, 166, 0.329);
  }
  #priority {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-inline: 15px;
    width: 100%;
    height: 97px;
    background-color: #865ba6;
    opacity: 0.8;

    margin-top: 30px;
  }
  #priority p {
    font-size: 0.85rem;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    line-height: 20px;
    color: #fff;
  }
  #companyData {
    margin-top: 25px;
    margin-inline: 15px;
    margin-bottom: 40px;
  }
  #companyData h3 {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    color: #000;
  }
  #companyData h3 svg {
    margin-left: 4px;
  }
  #companyData ul {
    list-style: none;
    padding: 0;
    margin: 8px 0 0 0;
  }

  #companyData li {
    position: relative;
    padding-left: 14px; /* space for custom dot */
    font-style: normal;
    font-weight: 500;
    margin-bottom: 10px;
    font-size: 0.85rem;
  }

  /* custom dot placed closer to text */
  #companyData li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 5px;
    background: #000;
    border-radius: 50%;
  }

  /* fallback for browsers supporting ::marker */
  #companyData li::marker {
    color: #000;
    font-size: 0.8rem;
  }
}

/* ===== DESKTOP VERSION STYLES (500px and above) ===== */
@media (min-width: 500px) {
  .mobile-container {
    display: none !important;
  }

  #body {
    background-color: #fff;
    min-height: 100vh;
  }

  #desktopAboutContainer {
    display: block !important;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 60px;
  }

  #desktopSecondHeader {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 40px 0;
  }

  #desktopSecondHeader .svg-c {
    width: 45px;
    height: 45px;
    display: grid;
    place-content: center;
    background-color: #865ba6;
    border-radius: 10px;
  }

  #desktopSecondHeader span {
    color: #000;
    font-size: 2rem;
    font-weight: 300;
  }

  .desktop-page-title {
    position: relative;
    height: 400px;
    width: 100%;
    border-radius: 25px;
    overflow: hidden;
    margin-bottom: 50px;
    display: flex;
    align-items: flex-end;
    padding: 50px;
  }

  .desktop-page-title::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(
        rgba(143, 102, 177, 0.7),
        rgba(143, 102, 177, 0.7)
      ),
      url(/img/aboutImg.png);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    z-index: -1;
  }

  .desktop-page-title h2 {
    color: #fff !important;
    font-size: 3.5rem !important;
    font-weight: 500 !important;
    margin: 0 !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  }

  #desktopAboutDesc {
    background-color: #fff;
    border-radius: 20px;
    padding: 50px;
    margin-bottom: 30px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
  }

  #desktopAboutDesc p {
    font-size: 1.15rem;
    line-height: 1.9;
    color: #555;
    margin-bottom: 25px;
  }

  #desktopAboutDesc span {
    color: #865ba6;
    font-weight: 600;
  }

  #desktopAboutDesc .border-c {
    width: 100%;
    height: 2px;
    background: linear-gradient(
      90deg,
      rgba(134, 91, 166, 0.3),
      rgba(134, 91, 166, 0.1)
    );
    margin: 40px 0;
  }

  #desktopPriority {
    background: linear-gradient(135deg, #865ba6 0%, #6d4985 100%);
    border-radius: 20px;
    padding: 50px;
    margin-bottom: 30px;
    box-shadow: 0 4px 20px rgba(134, 91, 166, 0.3);
    text-align: center;
  }

  #desktopPriority p {
    font-size: 1.3rem;
    line-height: 1.8;
    color: #fff;
    margin: 0;
    font-weight: 400;
  }

  #desktopCompanyData {
    background-color: #fff;
    border-radius: 20px;
    padding: 50px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
  }

  #desktopCompanyData h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 2rem;
    font-weight: 400;
    color: #000;
    margin-bottom: 30px;
  }

  #desktopCompanyData ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  #desktopCompanyData li {
    position: relative;
    padding-left: 25px;
    font-size: 1.05rem;
    line-height: 1.6;
    color: #333;
    font-weight: 400;
  }

  #desktopCompanyData li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 10px;
    width: 8px;
    height: 8px;
    background: #865ba6;
    border-radius: 50%;
  }
}
