/* Small mobile styles - max-width: 550px */
@media (max-width: 550px) {
  header {
    min-height: 70px;
  }

  html {
    scroll-padding-top: 70px;
  }

  body {
    padding-top: 70px;
  }

  header.navbar {
    padding: 0.5rem 0 !important;
    min-height: auto !important;
  }

  .navbar .container-fluid {
    padding-top: 0.25rem !important;
    padding-bottom: 0.25rem !important;
  }

  /* Adjust all full-height sections for 70px mobile header */
  .hero-section {
    height: calc(100vh - 70px);
  }

  .hero-tagline-section {
    height: calc(100vh - 70px);
  }

  #platform {
    height: calc(100vh - 70px);
    min-height: calc(100vh - 70px);
  }

  .advantages {
    height: calc(100vh - 70px);
  }

  .remuneration-section {
    min-height: calc(100vh - 70px);
  }

  .target-section {
    height: auto;
    min-height: calc(100vh - 70px);
  }

  .tagline-slider {
    min-height: 5rem;
    font-size: clamp(0.9rem, 3vw, 1rem);
  }

  .content-row__media {
    max-height: 30vh;
  }

  .content-row__video {
    max-height: 30vh;
  }

  .content-row__text {
    padding: 0.75rem !important;
  }

  .content-row__text h3 {
    font-size: 0.8rem !important;
    margin-top: 0.5rem !important;
    margin-bottom: 0.25rem !important;
  }

  .content-row__text p {
    font-size: 0.7rem !important;
    margin-bottom: 0.5rem !important;
  }

  .content-row__text ul li {
    font-size: 0.65rem !important;
    line-height: 1.4;
  }

  .logo {
    height: 25px;
  }

  .flag {
    height: 30px;
  }

  .hero-text h1 {
    font-size: 1.25rem;
  }

  .contact-btn {
    padding: 0.25rem 0.75rem;
    font-size: 0.875rem;
  }

  .navbar-brand {
    font-size: clamp(1.25rem, 5vw, 1.75rem) !important;
  }

  .carousel-track {
    gap: 10px;
  }

  .carousel-slide {
    width: calc((100vw - 20px) / 2);
  }

  /* Product features - smaller overlay arrows on small screens */
  #product-features {
    height: calc(100vh - 70px) !important;
    min-height: calc(100vh - 70px) !important;
    padding-top: 0.5vh !important;
  }

  #product-features > h2 {
    height: auto !important;
    margin-top: 1rem !important;
    margin-bottom: 1rem !important;
    font-size: 1.1rem !important;
    padding-top: 0.5rem !important;
  }

  .product-features__carousel {
    min-height: 85vh !important;
    max-height: 92vh;
  }

  .product-features__arrow {
    width: 40px !important;
    height: 40px !important;
    font-size: 1.3rem !important;
  }

  .product-features__arrow--left {
    left: 5px;
  }

  .product-features__arrow--right {
    right: 5px;
  }

  .product-section {
    padding: 0.5rem !important;
    max-width: 98% !important;
    width: 98% !important;
    height: 85% !important;
    margin: auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  /* Override Bootstrap container padding */
  .product-section.container {
    padding-left: 0.5rem !important;
    padding-right: 0.5rem !important;
  }

  .product-section .row {
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .product-section .col-md-12 {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 100% !important;
  }

  .product-features__carousel {
    padding: 0 0.25rem !important;
  }

  .product-features__card-content {
    max-width: 100% !important;
    width: 100% !important;
  }

  .product-features__card {
    padding: 0.25rem !important;
  }

  .product-features__cards {
    width: 100% !important;
  }

  .product-section h2 {
    font-size: 1.1rem !important;
    margin-bottom: 0.5rem !important;
  }

  .product-section .text-uppercase {
    font-size: 0.75rem !important;
  }

  .product-section ul li {
    font-size: 0.65rem;
    line-height: 1.3;
    margin-bottom: 0.25rem;
  }

  /* Process card - smaller but more visible for small screens */
  .process-step__number {
    width: 32px !important;
    height: 32px !important;
    font-size: 1.1rem !important;
    margin-bottom: 0.4rem !important;
  }

  .process-step__content {
    width: 98% !important;
    max-width: 98% !important;
    padding: clamp(0.7rem, 2vw, 0.9rem) !important;
  }

  .process-step__title {
    font-size: clamp(0.75rem, 2.2vw, 0.85rem) !important;
    line-height: 1.4;
  }

  .process-flow-diagram {
    gap: clamp(0.6rem, 1.5vh, 1rem) !important;
    padding: 0 0.5rem !important;
    margin: 0 auto !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    height: 100% !important;
    width: 100% !important;
  }

  .process-step {
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .process-step__content {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: auto !important;
  }

  /* Apply column-reverse only to rows that have col-md-7 and col-md-5 (camera card) */
  .product-section .row:has(.col-md-7):has(.col-md-5) {
    flex-direction: column-reverse;
  }

  /* Normal order for rows with only col-md-12 (process card) */
  .product-section .row:has(.col-md-12):not(:has(.col-md-7)) {
    flex-direction: column;
  }

  .product-image {
    max-width: 60% !important;
    width: auto !important;
    margin: 0.5rem auto !important;
    display: block !important;
  }

  /* Camera image container - mobile: full width, centered */
  .camera-image-container {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    width: 100% !important;
    display: block !important;
    text-align: center !important;
  }

  /* Also handle col-md-7 */
  .product-section .col-md-7 {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    padding-left: 0.5rem !important;
    padding-right: 0.5rem !important;
  }

  /* Fix spacing for card 1 text */
  .product-features__card--active .col-md-7 {
    margin-bottom: 0.5rem !important;
  }

  .product-details {
    max-height: 300px;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .product-details.expanded {
    max-height: none;
  }

  .show-more-btn {
    margin-top: 15px;
    padding: 8px 20px;
    background-color: transparent;
    border: 1px solid white;
    color: white;
    border-radius: 5px;
    cursor: pointer;
  }

  footer {
    text-align: left !important;
  }

  .footer-bar .container-fluid {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start !important;
    justify-content: flex-start !important;
  }

  .footer-bar .container-fluid>div {
    align-items: center !important;
  }

  .footer-bar .logo {
    height: 50px !important;
  }

  .footer-brand {
    font-size: 3rem;
  }

  .media-icons {
    align-items: center !important;
  }

  .footer-copyright {
    flex-direction: column-reverse !important;
    gap: 15px;
    align-items: flex-start !important;
    justify-content: flex-start !important;
  }

  .footer-copyright>div {
    flex-direction: row;
    gap: 15px;
    justify-content: flex-start !important;
  }

  .footer-copyright p {
    text-align: left;
    max-width: 200px;
  }

  .process-flow-diagram {
    padding: 1.5rem 0.5rem;
  }

  .process-step__number {
    width: 45px;
    height: 45px;
    font-size: 1.25rem;
  }

  .process-step__content {
    padding: 1.25rem 1rem;
  }

  .process-step__title {
    font-size: 0.9rem;
    line-height: 1.5;
  }

  .process-arrow {
    height: 35px;
    margin: 0.5rem 0;
  }

  /* Advantages section - smaller tabs */
  .advantages__title {
    font-size: 1.2rem;
    padding: 0.75rem;
  }

  .advantages__tabs {
    gap: 0.4vw;
    padding: 0.5rem 11vw;
  }

  .advantages__tab {
    width: 11vw;
    height: 11vw;
    font-size: 5.5vw;
  }

  .advantages__card {
    padding: 1rem;
  }

  .advantages__icon {
    font-size: 2rem;
  }

  .advantages__card-title {
    font-size: 1rem;
  }

  .advantages__card-text {
    font-size: 0.85rem;
  }

  /* Remuneration accordion - smaller for small phones */
  .remuneration__title {
    font-size: 1.2rem;
    padding: 0.75rem;
  }

  .remuneration__grid {
    gap: 0.5rem;
    padding: 0 0.75rem 0.75rem 0.75rem;
  }

  .remuneration__card-title {
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
    gap: 0.5rem;
  }

  .remuneration__icon {
    font-size: 1.3rem;
  }

  .remuneration__toggle {
    font-size: 1.3rem;
  }

  .remuneration__card-text {
    font-size: 0.85rem;
  }

  .remuneration__card.active .remuneration__card-text {
    padding: 0.75rem 1rem;
  }
}
