/* 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;
}

/* ===== MOBILE STYLES (default, up to 500px) ===== */

body {
  background-color: #fff !important;
}

/* Desktop styles - pokazuje se od 500px i više */
@media (min-width: 501px) {
  #desktopPravnaLicaContainer {
    position: relative;
    top: 120px;
  }
}

/* ===== MOBILE VERSION ===== */
@media (max-width: 500px) {
  #pageContainer {
    display: none;
  }

  footer {
    display: none !important;
  }

  #desktopPravnaLicaContainer {
    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: linear-gradient(135deg, #865ba6 0%, #6d4985 100%);
    z-index: -1;
  }

  .page-title h2 {
    position: absolute;
    bottom: 20px;
    left: 15px;
    color: #fff !important;
    font-size: 1.5rem !important;
    font-style: normal !important;
    font-weight: 300 !important;
    line-height: normal !important;
    margin: 0 !important;
  }

  .content-wrapper {
    width: 95%;
    margin: -30px auto 40px;
    max-width: 1800px;
  }

  /* Baner */
  .banner-box {
    width: 100%;
    height: 281px;
    border-radius: 15px;
    margin: 30px auto 20px;
    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;
  }

  /* Savings Card */
  .savings-card {
    background: #fff;
    box-shadow: 0 4px 4px 0 #865ba6 inset;
    filter: drop-shadow(0 4px 4px #865ba6);
    border-radius: 12px;
    padding: 20px 15px;
    margin-bottom: 25px;
  }

  .card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
  }

  .card-header svg {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
  }

  .card-header h3 {
    color: #865ba6;
    font-size: 0.85rem;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    margin: 0;
  }

  .divider {
    width: 100%;
    height: 2px;
    opacity: 0.4;
    background: rgba(134, 91, 166, 0.71);
    margin: 10px 0;
  }

  .card-text {
    color: #000;
    font-size: 0.85rem;
    font-style: normal;
    font-weight: 300;
    line-height: 21px;
    margin: 0;
  }
}

/* ===== TABLET (501px - 768px) ===== */
@media (min-width: 501px) and (max-width: 768px) {
  .mobile-container {
    display: none !important;
  }

  #body {
    background-color: #fff;
    min-height: 100vh;
  }

  #desktopPravnaLicaContainer {
    display: block !important;
    max-width: 1800px;
    margin: 0 auto;
    padding: 0 20px 60px;
  }

  .desktop-page-title {
    position: relative;
    height: 300px;
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 40px;
    display: flex;
    align-items: flex-end;
    padding: 40px;
    background: linear-gradient(135deg, #865ba6 0%, #6d4985 100%);
  }

  .desktop-page-title h2 {
    color: #fff !important;
    font-size: 2.2rem !important;
    font-weight: 300 !important;
    margin: 0 !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  }

  .content-wrapper {
    width: 95%;
    margin: 0 auto;
    max-width: 1800px;
  }

  /* Baner */
  .banner-box {
    width: 100%;
    height: 350px;
    border-radius: 20px;
    margin: 0 auto 30px;
    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;
  }

  /* Savings Card */
  .savings-card {
    background: #fff;
    box-shadow: 0 4px 4px 0 #865ba6 inset;
    filter: drop-shadow(0 4px 4px #865ba6);
    border-radius: 15px;
    padding: 30px 25px;
    max-width: 700px;
    margin: 0 auto;
    margin-bottom: 25px;
  }

  .card-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
  }

  .card-header svg {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
  }

  .card-header h3 {
    color: #865ba6;
    font-size: 1.3rem;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    margin: 0;
  }

  .divider {
    width: 100%;
    height: 2px;
    opacity: 0.4;
    background: rgba(134, 91, 166, 0.71);
    margin: 15px 0;
  }

  .card-text {
    color: #000;
    font-size: 1.2rem;
    font-style: normal;
    font-weight: 300;
    line-height: 1.8;
    margin: 0;
  }
}

/* ===== DESKTOP (769px - 1199px) ===== */
@media (min-width: 769px) and (max-width: 1199px) {
  .mobile-container {
    display: none !important;
  }

  #body {
    background-color: #fff;
    min-height: 100vh;
  }

  #desktopPravnaLicaContainer {
    display: block !important;
    max-width: 1800px;
    margin: 0 auto;
    padding: 0 30px 80px;
  }

  .desktop-page-title {
    position: relative;
    height: 350px;
    width: 100%;
    border-radius: 25px;
    overflow: hidden;
    margin-bottom: 50px;
    display: flex;
    align-items: flex-end;
    padding: 50px;
    background: linear-gradient(135deg, #865ba6 0%, #6d4985 100%);
  }

  .desktop-page-title h2 {
    color: #fff !important;
    font-size: 2.2rem !important;
    font-weight: 300 !important;
    margin: 0 !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  }

  .content-wrapper {
    width: 95%;
    margin: 0 auto;
    max-width: 1800px;
  }

  /* Cards Container */
  .cards-container {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    justify-content: center;
  }

  /* Baner */
  .banner-box {
    width: 100%;
    height: 450px;
    border-radius: 25px;
    margin: 0 auto 40px;
    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;
  }

  /* Savings Card */
  .savings-card {
    background: #fff;
    box-shadow: 0 4px 4px 0 #865ba6 inset;
    filter: drop-shadow(0 4px 4px #865ba6);
    border-radius: 18px;
    padding: 40px 35px;
    width: calc(50% - 12.5px);
    margin: 0;
  }

  .card-header {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 18px;
  }

  .card-header svg {
    width: 70px;
    height: 70px;
    flex-shrink: 0;
  }

  .card-header h3 {
    color: #865ba6;
    font-size: 1.3rem;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    margin: 0;
  }

  .divider {
    width: 100%;
    height: 2px;
    opacity: 0.4;
    background: rgba(134, 91, 166, 0.71);
    margin: 18px 0;
  }

  .card-text {
    color: #000;
    font-size: 1.2rem;
    font-style: normal;
    font-weight: 300;
    line-height: 1.8;
    margin: 0;
  }
}

/* ===== LARGE DESKTOP (1200px and above) ===== */
@media (min-width: 1200px) {
  .mobile-container {
    display: none !important;
  }

  #body {
    background-color: #fff;
    min-height: 100vh;
  }

  #desktopPravnaLicaContainer {
    display: block !important;
    max-width: 1800px;
    margin: 0 auto;
    padding: 0 40px 100px;
  }

  .desktop-page-title {
    position: relative;
    height: 400px;
    width: 100%;
    border-radius: 30px;
    overflow: hidden;
    margin-bottom: 60px;
    display: flex;
    align-items: flex-end;
    padding: 60px;
    background: linear-gradient(135deg, #865ba6 0%, #6d4985 100%);
  }

  .desktop-page-title h2 {
    color: #fff !important;
    font-size: 2.2rem !important;
    font-weight: 300 !important;
    margin: 0 !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  }

  .content-wrapper {
    width: 95%;
    margin: 0 auto;
    max-width: 1800px;
  }

  /* Cards Container */
  .cards-container {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    justify-content: center;
  }

  /* Baner */
  .banner-box {
    width: 100%;
    height: 550px;
    border-radius: 30px;
    margin: 0 auto 50px;
    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;
  }

  /* Savings Card */
  .savings-card {
    background: #fff;
    box-shadow: 0 4px 4px 0 #865ba6 inset;
    filter: drop-shadow(0 4px 4px #865ba6);
    border-radius: 20px;
    padding: 50px 45px;
    width: calc(50% - 12.5px);
    margin: 0;
  }

  .card-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
  }

  .card-header svg {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
  }

  .card-header h3 {
    color: #865ba6;
    font-size: 1.3rem;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    margin: 0;
  }

  .divider {
    width: 100%;
    height: 2px;
    opacity: 0.4;
    background: rgba(134, 91, 166, 0.71);
    margin: 20px 0;
  }

  .card-text {
    color: #000;
    font-size: 1.2rem;
    font-style: normal;
    font-weight: 300;
    line-height: 1.8;
    margin: 0;
  }
}
