.navbar-brand {
  font-size: 18px;
}

.br_only_mob {
  visibility: hidden;
}

.top-box {
  margin-top: 10px;
  background-color: rgba(255, 255, 255, 0.851);
  border-top-left-radius: 2px;
  border-top-right-radius: 2px;
  max-height: 60px;

}

.price-plan {
  background-color: white;
}

.text-grey {
  color: lightgray;
}

.heading1409 {
  font-family: Montserrat, 'Times New Roman', Times, serif;
  text-transform: uppercase;
  color: white;
  font-size: 50px;
  margin-top: 20%;
  background-color: rgba(0, 0, 0, 0.205);
}

.pl1 {
  border: 1px solid #ddd;
  max-width: 300px;
  border-top-left-radius: 20px;
}

.heading_pl1 {
  border-top-left-radius: 20px;
}

.pl2 {
  border: 1px solid #ddd;
  max-width: 300px;
}

.pl3 {
  border: 1px solid #ddd;
  max-width: 300px;
  border-top-right-radius: 20px;
}

.heading_pl {
  background-color: #f7ca44;
  padding-top: 20px;
  padding-bottom: 10px;
  margin-left: -15px;
  margin-right: -15px;
  text-align: center;
  min-height: 100px;
}

.heading_light {
  color: #4643028a;
}

.pricing-card-title {
  padding-top: 10px;
}

.pricing-card-subtitle {
  padding-top: 0px;
}

.th_1409 {
  background-color: #f7ca44;
}

.tr_h4 {
  text-align: center;
  font-size: 22px;
  font-weight: 200;
  font-family: open sans;
}

.card-title {
  text-align: center;
  font-style: 28px;
}

.pricing-card-title {
  text-align: center;
}

.pricing-card-subtitle {
  font-size: 16px;
  color: rgb(148, 148, 148);
  text-align: center;
}

.text-indent {
  text-indent: 12%;
}

.table {
  border: 1px solid #ddd;
  border-top: 2px solid #f7ca44;
}

.userlogos {
  max-height: 300px;
}

.bi-check {
  width: 20px;
  height: 20px;
}

.bi-star-fill {
  color: #f7ca44;
  margin: 5px;
}


.round_info {
  border: 1px solid lightgrey;
  border-radius: 500px;
}

.screen {
  border-radius: 10px;
}

/*Järnvägsföretag sidan*/

/* Surfplatta och mindre desktop (768px - 1199px) */
@media only screen and (max-width: 1199px) {

  .price {
    font-size: 14px;
  }

  .btn_card {
    font-size: 12px;
  }

  .pl1 {
    border: 1px solid #ddd;
    max-width: 270px;
    border-top-left-radius: 0px;
  }

  .pl2 {
    border: 1px solid #ddd;
    max-width: 270px;
  }

  .pl3 {
    border: 1px solid #ddd;
    max-width: 270px;
    border-top-right-radius: 0px;
  }

  .m_heading1409 {
    font-size: 28px;
  }

  .m_googleplay {
    max-width: 150px;
    margin-left: 30px;
  }

  .m_appstore {
    max-width: 150px;
    margin-right: 30px;
  }

  /* Förbättra textläsbarhet på surfplattor */
  .heading1409 {
    font-size: 40px;
    margin-top: 15%;
  }
}

/* Surfplatta (768px - 996px) */
@media only screen and (max-width: 996px) {
  .m_hide {
    font-size: 0px;
  }

  .mobile_pricelist {
    padding: 10px;
    font-size: 12px;
  }

  .btn_card {
    background-color: #f7ca44;
    color: white;
  }

  .th_14092 {
    background-color: white;
  }

  .block-30 .btn {
    font-size: 12px;
    padding: 10px 20px !important;
  }

  .mb_5mobile {
    margin-bottom: 10px;
    padding: 0px;
  }

  .h3_mob {
    font-size: 1.25rem;
    line-height: 1.5;
  }

  /* Förbättra hero-sektionen */
  .heading1409 {
    font-size: 32px;
    margin-top: 10%;
    padding: 15px;
  }

  /* Justera app-knappar layout */
  .m_googleplay,
  .m_appstore {
    margin: 0 auto;
    max-width: 140px;
  }
}

/* Mobil (upp till 767px) */
@media only screen and (max-width: 767px) {

  /* Hero-sektion */
  .heading1409 {
    font-size: 24px;
    margin-top: 8%;
    padding: 15px 10px;
    line-height: 1.3;
  }

  /* App-knappar */
  .m_googleplay,
  .m_appstore {
    max-width: 140px;
    margin: 10px auto;
  }

  /* Navbar */
  .navbar-brand {
    font-size: 16px;
  }

  /* Knappar */
  .btn {
    font-size: 13px;
    padding: 10px 20px !important;
    letter-spacing: 0.1em;
  }

  .block-30 .btn {
    font-size: 12px;
    padding: 10px 18px !important;
  }

  /* Specifika rubriker för mobil */
  .hero-title {
    font-size: 22px !important;
    line-height: 1.3;
  }

  .what-is-title {
    font-size: 1.25rem !important;
  }

  .user-count-text {
    font-size: 16px !important;
  }

  .user-count-number {
    font-size: 2.8rem !important;
  }

  .railway-only-title {
    font-size: 1.25rem !important;
  }

  /* Rubriker - bättre proportioner */
  h2 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
  }

  h3 {
    font-size: 1rem;
    margin-bottom: 0.8rem;
  }

  h4 {
    font-size: 0.95rem;
  }

  h5 {
    font-size: 0.85rem;
  }

  .display-4 {
    font-size: 1.4rem !important;
  }

  .h3_mob {
    font-size: 0.95rem;
    line-height: 1.5;
    padding: 0 15px;
  }

  /* Brödtext */
  body {
    font-size: 15px;
    line-height: 1.7;
  }

  p {
    font-size: 15px;
    margin-bottom: 1rem;
  }

  /* Lead text */
  p.lead,
  .lead {
    font-size: 16px !important;
    line-height: 1.6;
  }

  /* Bilder */
  .img-fluid {
    margin-bottom: 15px;
  }

  /* Donationskort och person-kort */
  .person-donate {
    margin-bottom: 20px;
  }

  .person-donate h2 {
    font-size: 1rem;
  }

  /* Footer */
  .footer .col-md-6,
  .footer .col-lg-4 {
    margin-bottom: 30px;
  }

  .footer h3 {
    font-size: 1rem;
  }

  /* Justera padding och margin för mobil */
  .site-section {
    padding: 3rem 0;
  }

  .container {
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Block-41 (PRO-sektioner) */
  .block-41-heading {
    font-size: 1.15rem;
    line-height: 1.3;
  }

  .block-41-text p {
    font-size: 15px;
    line-height: 1.7;
  }

  .block-41-number {
    font-size: 14px;
  }

  /* Block-48 (statistik-box) */
  .block-48 {
    padding: 30px 20px;
  }

  .block-48-text-1 {
    font-size: 17px !important;
  }

  .block-48-counter {
    font-size: 3rem !important;
  }

  /* Kundlogotyper */
  .text-center img {
    max-width: 100%;
    height: auto;
  }

  /* Stjärnbetyg sektion */
  .bi-star-fill,
  .bi-star-half {
    width: 15px;
    height: 15px;
    margin: 3px;
  }
}

/* Extra små mobiler (upp till 575px) */
@media only screen and (max-width: 575px) {

  .heading1409 {
    font-size: 20px;
    margin-top: 5%;
    padding: 12px 8px;
  }

  /* Specifika rubriker för extra små skärmar */
  .hero-title {
    font-size: 19px !important;
    line-height: 1.25;
  }

  .what-is-title {
    font-size: 1.15rem !important;
  }

  .user-count-text {
    font-size: 15px !important;
  }

  .user-count-number {
    font-size: 2.5rem !important;
  }

  .railway-only-title {
    font-size: 1.15rem !important;
  }

  h2 {
    font-size: 1.1rem;
  }

  h3 {
    font-size: 0.95rem;
  }

  .h3_mob {
    font-size: 0.85rem;
    padding: 0 10px;
  }

  .display-4 {
    font-size: 1.3rem !important;
  }

  /* App-knappar i kolumner */
  .m_googleplay,
  .m_appstore {
    max-width: 130px;
  }

  /* Mindre knappar */
  .btn {
    font-size: 12px;
    padding: 9px 16px !important;
  }

  .block-30 .btn {
    font-size: 11px;
    padding: 8px 15px !important;
  }

  /* Kompaktare innehåll */
  .block-48 {
    padding: 25px 15px;
  }

  .block-48-counter {
    font-size: 2.5rem !important;
  }

  .block-48-text-1 {
    font-size: 15px !important;
  }

  /* Brödtext */
  body,
  p {
    font-size: 14px;
  }

  p.lead,
  .lead {
    font-size: 15px !important;
  }

  /* Block-41 */
  .block-41-heading {
    font-size: 1.05rem;
  }

  .block-41-text p {
    font-size: 14px;
  }

  .block-41-number {
    font-size: 13px;
  }

  /* Person cards */
  .person-donate h2 {
    font-size: 0.95rem;
  }

  .donate-info .time {
    font-size: 13px;
  }
}