/* === Base Responsiveness === */
@media (max-width: 1680px) {
  .floating-box {
    width: 30%;
    max-width: 400px;
    left: 10%;
    top: 30%;
    padding: 2vw;
    border-radius: 15px;
    background: white;
    position: absolute;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
  }

  .nav-bar {
    max-width: 1240px;
  }
}

@media (max-width: 1200px) {
  .header-background,
  .header-background.home {
    background-size: cover !important;
    background-position: center;
    min-height: 465px;
  }

  .nav-bar {
    max-width: 940px;
  }

  .nav-bar ul {
    width: 100%;
  }

  .nav-bar ul li {
    width: 74px;
    font-size: 14px;
    text-align: center;
  }

  .footer-bottom {
    max-width: 450px;
    bottom: -20px;
  }
  .floating-box {
    width: 50%;
    left: 25%;
    padding: 1vw;
    font-size: 14px;
  }
}

/* === Mobile === */
@media (max-width: 1024px) {
  .container {
    padding: 40px 20px;
  }

  h1 {
    font-size: 2rem;
    text-align: center;
  }

  h2 {
    font-size: 1.25rem;
    text-align: center;
  }

  p {
    font-size: 15px;
    text-align: justify;
  }

  .intake-section {
    padding: 0 15px;
  }

  .therapy-box {
    font-size: 15px;
    padding: 10px 14px;
  }

  .contact-methods p {
    font-size: 16px;
  }

  .footer-top {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
  }

  .footer-left,
  .footer-contact,
  .footer-social {
    width: 100%;
    justify-content: center;
  }

  .footer-left {
    margin-bottom: 0;
  }

  .footer-left-inner {
    margin: 0 auto;
  }

  .footer-contact p {
    justify-content: center;
  }

  .footer-social {
    top: 0;
    align-items: center;
  }

  .linkedin-icon {
    width: 32px;
    height: 32px;
  }

  .footer-bottom {
    max-width: 90%;
    padding: 20px 15px;
    font-size: 12px;
  }

  .footer-ids {
    gap: 6px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .footer-links a {
    padding: 6px 10px;
    font-size: 14px;
  }
  .hamburger {
    display: flex;
    align-self: flex-end;
    top: 10px;
    right: 20px;
    position: absolute;
    z-index: 1000;
    background-color: #bde1f5;
    padding: 10px;
    border-radius: 5px;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
  }

  .hamburger span {
    width: 25px;
    height: 3px;
    background-color: black;
    display: block;
  }
    .nav-inner {
    width: 100%;
    flex-direction: column;
    align-items: center;
  }

  .nav-bar {
    flex-direction: column;
    align-items: center;
    padding: 0 10px;
    height: auto;
  }

  .nav-bar ul {
    display: none;
    flex-direction: column;
    width: 100%;
    padding: 10px 0;
    background: white;
    border-radius: 0 0 10px 10px;
    position: absolute;
    top: 0; /* places it under nav */
    left: 0;
    z-index: 999;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    height: auto;
    gap: 5px;
  }

  .nav-bar ul.show {
    display: flex;
  }


  .nav-bar ul li {
    width: 100%;
    font-size: 16px;
    border-bottom: 1px solid #e0f0fb;
  }

  .nav-bar a:hover {
    width: 100%;
  }

  .slogan-banner {
    display: none;
  }

  .logo {
    width: 100px;
    margin: 20px auto 10px;
    position: relative;
    left: 0;
    z-index: 0;
  }
}

/* === Tablet & Small Screens === */
@media (max-width: 768px) {
  .floating-box {
    width: 65%;
    left: 18%;
    padding: 1.2vw;
    font-size: 14px;
    bottom: 30px;
    top: auto;
  }
  .floating-box p {
    margin-bottom: 10px;
  }

  .header-background.contact {
    background-position: 72% 99%;
  }

  .header-background.voor-wie {
    background-position: 70% 90%;
  }

  .header-background.therapeut {
    background-position: 46% 95%;
  }

  .header-background.tarieven {
    background-position: 90% 90%;
  }

  .header-background.verwijzers {
    background-position: 0% 84%;
  }

  .header-background.ervaringen,
  .header-background.locatie {
    background-position: 50% 81%;
  }

  .therapeut .intro {
    flex-direction: column;
    align-items: center;
  }

  .therapeut .intro .text,
  .therapeut .intro .photo {
    width: 100%;
    text-align: center;
  }

  .therapeut .intro .photo img {
    max-width: 160px;
  }

  .quote-box {
    font-size: 14px;
    padding: 16px;
  }

  .training-list li,
  .issues-list li {
    font-size: 14px;
  }

  .affiliation-logos {
    gap: 20px;
    justify-content: center;
  }

  .affiliation-logos img {
    max-height: 35px;
    margin-bottom: 10px;
  }

  .affiliations-title {
    font-size: 14px;
    text-align: center;
  }

  .footer-bottom {
    padding: 20px 10px;
  }

  .footer-background {
    height: 120px;
    bottom: 160px;
  }

  .footer-top {
    margin: 0 10px;
  }
}

/* === Very Small Devices (Phones) === */
@media (max-width: 480px) {
  h1 {
    font-size: 1.75rem;
  }

  .container {
    padding: 30px 15px;
  }

  .therapy-box {
    font-size: 14px;
    padding: 10px 12px;
  }

  .contact-icon {
    font-size: 18px;
    margin-right: 8px;
  }

  .contact-methods p,
  .training-list li,
  .quote-box,
  .therapeut h2 {
    font-size: 13.5px;
  }

  .footer-title {
    font-size: 20px;
  }

  .footer-slogan {
    font-size: 9px;
  }

  .linkedin-icon {
    width: 28px;
    height: 28px;
  }

  .footer-bottom {
    font-size: 11px;
    position: relative;
  }

  .footer-links a {
    font-size: 13px;
  }
}
