/* style.css - Refactored Mobile-First */

/* --- General Styles & Resets --- */

.row {
  --bs-gutter-x: 3rem; /* 48px (1rem = 16px) */
}

html,
body {
  overflow-x: hidden;
  /* Prevent horizontal scroll */
}

body {
  font-family: "Nunito", sans-serif;
  font-size: 16px;
  /* Base font size */
  line-height: 1.6;
  color: #333;
  /* Default text color */
}

/* --- Typography --- */
h1,
.h1 {
  /* Use classes for Bootstrap compatibility */
  font-family: "Just Another Hand", sans-serif;
  font-weight: 400;
  font-size: 48px;
  line-height: normal;
  margin-bottom: 0.5em;
}

h2,
.h2,
h3,
.h3 {
  font-family: "Literata", serif;
  font-weight: 400;
  /* Use a numeric weight, avoid !important */
  line-height: normal;
}

h2,
.h2 {
  font-size: 28px;
  /* Base mobile size */
}

h2 b {
  font-weight: 600;
}

h4 {
  font-family: "Nunito", sans-serif;
  font-weight: 700;
  font-size: 20px;
}

p {
  margin-bottom: 1em;
}

a {
  color: #217485;
  /* Example link color */
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.text-muted {
  color: #445053;
}

/* --- Buttons --- */
.btn-primary {
  /* Target the class directly */
  color: black;
  font-weight: bold;
  display: inline-flex;
  /* Use inline-flex for button text/icon alignment */
  padding: 6px 12px;
  /* Adjusted padding */
  justify-content: center;
  align-items: center;
  gap: 10px;
  border-radius: 2px 2px 2px 8px;
  background: #faca79;
  border: none;
  transition: transform 0.2s ease, background-color 0.2s ease;
  cursor: pointer;
  text-decoration: none;
  /* Ensure links styled as buttons have no underline */
}

.btn-primary:hover {
  transform: scale(1.03);
  background: #faca79;
  /* Darken on hover */
  text-decoration: none;
  color: black;
}

.btn-primary:active {
  transform: scale(0.97);
  background-color: #d5a656 !important;
  transition: transform 0.05s ease;
  /* Faster feedback on click */
  color: black !important;
}

/* Header menu */
header {
  position: fixed;
  width: 100%;
  height: 56px;
  z-index: 9999;
}

header .container {
  height: 100%;
}

.navbar {
  padding: 0;
  height: 100%;
  align-items: flex-start;
}

.navbar-brand {
  font-size: 40px;
  line-height: 40px;
  font-family: "Just Another Hand", sans-serif;
  font-weight: 400;
  margin-top: 3px;
  /* Smaller on mobile by default */
}

.navbar-brand .navbar-brand-subtitle {
  display: none;
}

.navbar-brand:hover {
  text-decoration: none;
  /* Remove underline on hover */
}

.navbar-toggler {
  height: 56px;
  border-radius: 0;
  padding: 18px 12px;
  border: none;
  font-size: 16px;
  font-weight: 700;
  /* Remove default border */
  background-color: transparent;
  /* Transparent background */
}

.navbar-toggler:hover {
  background-color: #faca79;
}

.navbar-toggler img {
  margin-left: 8px;
}

.navbar-toggler[aria-expanded="true"] img {
  transform: rotate(180deg);
  /* Rotate icon when expanded */
}

.navbar-toggler:focus,
.navbar-toggler:focus-visible {
  outline: none;
  box-shadow: none;
  /* Remove focus outline */
}

.navbar-nav {
  width: 100%;
  /* Full width for the dropdown */
  text-align: left;
  background-color: white;
  /* Ensure background for dropdown */
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 1050;
  /* Ensure it's above fixed elements */
}

.navbar-nav.show {
  display: block;
  /* Show menu when toggled */
}

.navbar-nav .nav-item {
  height: 56px;
}

.navbar-nav .nav-item:last-child {
  border-bottom: none;
}

.navbar-nav .nav-link,
.navbar-nav .dropdown-item {
  padding: 0.75rem 1.5rem;
  height: 56px;
  display: flex;
  align-items: center;
  font-family: literata;
}

.nav-link:hover {
  background-color: #faca79;
  /* Highlight on hover */
  text-decoration: none;
}

.nav-item.dropdown {
  position: relative;
  /* Position for dropdown */
}

.nav-link.dropdown-toggle img {
  margin-left: 8px;
}

.nav-link.dropdown-toggle.show img {
  transform: rotate(180deg);
}

.nav-link.dropdown-toggle::after {
  display: none;
}

.collapsing,
.dropdown-menu {
  transition: none !important;
}

.dropdown-menu {
  position: absolute;
  left: 100% !important;
  border: 0;
  box-shadow: none;
  background-color: transparent;
  padding: 0;
  width: 100%;
  border-radius: 0;
  margin-top: 0 !important;
}

.dropdown-item {
  padding-left: 1.5rem;
  display: flex;
  align-items: center;
  gap: 8px;
  background-color: white;
}

.dropdown-item img {
  height: 32px;
}

.dropdown-item:hover {
  background-color: #faca79;
  /* Highlight on hover */
  text-decoration: none;
}

/* --- Footer --- */

footer {
  height: 75px;
  width: 100%;
  position: relative;
}

footer img {
  height: 24px;
  width: 24px;
  margin-right: 8px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* --- Hero Section --- */
:root {
  /* Responsive height using clamp */
  --hero-height: clamp(
    580px,
    calc(316px + 498 * ((100vw - 575px) / 825)),
    814px
  );
  /* Adjusted clamp */
  --hero-image-offset: 50%;
  /* Default offset */
}

.hero {
  position: relative;
  height: var(--hero-height);
  margin-top: 56px;
}

.hero-inner {
  position: fixed;
  top: 56px;
  height: var(--hero-height);
  width: 100%;
  z-index: 2;
  /* Behind header if header has higher z-index */
  overflow: hidden;
  /* Contain images */
}

.hero-container {
  height: 100%;
}

.hero-row {
  position: relative;
  height: 100%;
  /* Fill hero-inner */
}

.hero-image {
  position: absolute;
  top: 0;
  left: var(--hero-image-offset);
  transform: translateX(-50%);
  width: 100vw;
  /* Cover viewport width */
  max-width: 1600px;
  /* Optional max width for image container */
  height: 100%;
  z-index: 1;
  /* Behind text */
}

.hero-image .hero-background,
.hero-image .hero-foreground {
  position: absolute;
  top: 0;
  left: 50%;
  /* Center within .hero-image */
  transform: translateX(-50%);
  width: 100%;
  height: 100%;
}

.hero-image img {
  display: block;
  /* Remove bottom space */
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  /* Default */
}

/* Gradients for background/foreground - Mobile first (Vertical) */
.hero-background::before {
  /* Left fade on desktop only */
  content: "";
  position: absolute;
  inset: 0;
  /* Initially no gradient on mobile */
  background: none;
}

.hero-background::after {
  /* Color block right on desktop only */
  content: "";
  position: absolute;
  top: 0;
  left: 100%;
  width: 100vw;
  /* Extend color */
  height: 100%;
  background: #217485;
  display: none;
  /* Hidden on mobile */
}

.hero-foreground::before {
  /* Bottom fade on mobile */
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(33, 116, 133, 0) 0%,
    rgba(33, 116, 133, 0.7) 50%,
    rgba(33, 116, 133, 0.9) 100%
  );
}

.hero-text {
  position: relative;
  /* Sit above hero-image */
  z-index: 2;
  color: white;
  padding: 30px 20px;
  /* Mobile padding */
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  /* Align bottom on mobile */
  height: 100%;
  text-align: center;
  /* Center text on mobile */
}

.hero-title {
  /* Already defined in Typography */
  margin-bottom: 0.25em;
}

.hero-subtitle {
  font-size: 20px;
}

/* --- Main Content --- */
main {
  position: relative;
  z-index: 5;
}

/* --- Two Cards Section --- */

.two-cards-column {
  margin-top: 48px;
}

#audiences-row {
  position: relative;
  z-index: 10;
  background: white;
  box-shadow: 0px -4px 16px 0px rgba(32, 108, 124, 0.25),
    0px -8px 64px 0px rgba(33, 116, 133, 0.33);
  padding: 0.05px;
}

.two-cards-card {
  position: relative;
  z-index: 11;
  height: 100%;
  background: #217485;
  border-radius: 16px 16px 16px 32px;
  overflow: hidden;
}

.two-cards-card-simple {
  height: 100%;
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

@media (min-width: 768px) {
  .two-cards-card-simple {
    padding: 48px;
  }
}

.two-cards-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 70%;
  object-fit: cover;
  z-index: 12;
}

.two-cards-card::before {
  position: absolute;
  content: "";
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(33, 116, 133, 0) 0%, #217485 70%);
  z-index: 13;
}

.two-cards-content-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  z-index: 14;
}

.two-cards-content-spacer {
  flex-grow: 1;
  min-height: 400px;
}

.two-cards-content {
  background: white;
  margin: 24px;
  padding: 24px;
  border-radius: 16px 16px 16px 32px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.two-cards-title {
  text-align: center;
  font-size: 32px;
  margin-bottom: 24px;
}

/* --- Three Cards Section --- */

.three-cards-column {
  margin-bottom: 48px;
}

#why-it-works-row {
  position: relative;
  z-index: 10;
  background: white;
  padding: 0.05px;
  margin-top: 48px;
}

.three-cards-card {
  position: relative;
  z-index: 11;
  height: 100%;
  border-radius: 16px 16px 16px 32px;
  overflow: hidden;
  color: white;
  aspect-ratio: 3/4;
}

.three-cards-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 12;
}

.three-cards-card::before {
  position: absolute;
  content: "";
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(33, 116, 133, 0) 0%, #217485 100%);
  z-index: 13;
}

.three-cards-content-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  z-index: 14;
}

.three-cards-content-spacer {
  flex-grow: 1;
}

.three-cards-content {
  padding: 32px 32px 16px 32px;
  display: flex;
  flex-direction: column;
}

.three-cards-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}

/*
.audiences-card-container {
    display: flex;
    /* Use flex for centering *
    justify-content: center;
    /* Center card horizontally *
    padding: 0 15px;
    /* Add side padding for mobile *
}

.audiences-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    /* Center items inside card *
    justify-content: space-between;
    max-width: 460px;
    width: 100%;
    /* Take full width up to max-width *
    padding: 30px;
    /* Padding inside the card *
    text-align: center;
    /* Center text within card *
}

.audiences-card-top-half,
.audiences-card-bottom-half {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.audiences-card-container.bedrijven .audiences-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 100%;
    z-index: -1;
    background: #217485;
}

.audiences-card-container.bedrijven .audiences-card {
    color: white;
}


.audiences-card-container.bedrijven .audiences-card h2,
.audiences-card-container.bedrijven .audiences-card p,
.audiences-card-container.bedrijven .audiences-card li,
.audiences-card-container.bedrijven .audiences-card span {
    color: white;
    /* Ensure text is white *
}

.audiences-icon {
    width: 64px;
    height: 64px;
}

.audiences-text {
    text-align: left;
}

.audiences-text ul {
    list-style: disc;
    padding-left: 20px;
    /* Indent list *
    text-align: left;
    /* Align list text left *
    margin-top: 1em;
    margin-bottom: 1em;
}

.audiences-card span {
    text-align: left;
}*/

/* --- About Me Section --- */
.about-me {
  padding: 48px 0;
  background: white;
  position: relative;
  z-index: 15;
}

h3.section-heading {
  text-align: center;
  margin-bottom: 24px;
}

.profile-picture-column {
  background-image: url("/images/profile.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 100%;
  min-height: 340px;
  border-radius: 16px 16px 16px 32px;
}

.about-me-text {
  height: 100%;
  background: #217485;
  padding: 32px;
  border-radius: 16px 16px 16px 32px;
  color: white;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.about-me-text img {
  height: 180px;
  width: 180px;
  object-fit: cover;
  margin-bottom: 24px;
  border-radius: 50%;
}

/* --- Testimonials Section --- */
.testimonials {
  background: white;
  z-index: 20;
  position: relative;
}

#testimonialCarousel {
  background: #d9f1ef;
  overflow: hidden;
  border-radius: 16px 16px 16px 32px;
  margin-bottom: 48px;
}

#testimonialCarousel .carousel-inner {
  height: 200px;
  padding: 0 40px;
  display: flex;
  align-items: center;
}

.testimonial-slide {
  text-align: center;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.quote {
  font-size: 18px;
  max-width: 600px;
  /* Mobile size */
  font-style: italic;
  margin-bottom: 8px;
  /* Clamp text - optional */
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  overflow: hidden;
}

.author {
  font-size: 14px;
}

#testimonialCarousel .carousel-indicators {
  position: static;
  margin-bottom: 32px;
}

#testimonialCarousel .carousel-indicators button {
  background-color: #69c7c0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin: 0 5px;
  opacity: 1;
}

#testimonialCarousel .carousel-indicators button.active {
  background-color: white;
  opacity: 1;
}

#testimonialCarousel .carousel-control-prev,
#testimonialCarousel .carousel-control-next {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
  opacity: 1;
  background: none;
  transition: transform 0.2s ease;
}

#testimonialCarousel .carousel-control-prev {
  left: 24px;
}

#testimonialCarousel .carousel-control-next {
  right: 24px;
}

#testimonialCarousel .carousel-control-prev:hover,
#testimonialCarousel .carousel-control-next:hover {
  transform: translateY(-50%) scale(1.1);
}

#testimonialCarousel .carousel-control-prev:active,
#testimonialCarousel .carousel-control-next:active {
  transform: translateY(-50%) scale(0.97);
  transition: transform 0.05s ease;
}

#testimonialCarousel .carousel-control-prev img,
#testimonialCarousel .carousel-control-next img {
  width: 40px;
  height: 40px;
  background: none !important;
}

#testimonialCarousel .carousel-control-next img {
  transform: rotate(180deg);
}

/* Hide default Bootstrap icons if using img */
#testimonialCarousel .carousel-control-prev-icon,
#testimonialCarousel .carousel-control-next-icon {
  display: none;
}

/* Testimonial animations */

/* animations */

.carousel-item {
  transition: transform 1s ease-in-out;
}

.testimonial-slide {
  transform: translateX(0) scale(1);
  opacity: 1;
  text-align: center;
  padding: 2rem;
  transition: transform 1s ease, opacity 1s cubic-bezier(0.94, 0.1, 0.91, 0.56);
}

.carousel-item-next .testimonial-slide {
  transform: translateX(50%);
  opacity: 0;
}

.carousel-item-prev .testimonial-slide {
  transform: translateX(-50%);
  opacity: 0;
}

/* Active item (currently shown) */
.carousel-item.active .testimonial-slide {
  transform: translateX(0);
  opacity: 1;
}

/* Incoming NEXT item (after clicking right arrow) */
.carousel-item-next.carousel-item-start .testimonial-slide {
  transform: translateX(0);
  opacity: 1;
}

/* Incoming PREV item (after clicking left arrow) */
.carousel-item-prev.carousel-item-end .testimonial-slide {
  transform: translateX(0);
  opacity: 1;
}

/* Outgoing item (about to be replaced) when moving NEXT */
.carousel-item-start
  .testimonial-slide:not(.carousel-item-next .testimonial-slide) {
  transform: translateX(-50%);
  opacity: 0;
  transition: transform 1s ease-out,
    opacity 2s cubic-bezier(0.12, 0.77, 0.51, 0.97);
}

/* Outgoing item (about to be replaced) when moving PREV */
.carousel-item-end
  .testimonial-slide:not(.carousel-item-prev .testimonial-slide) {
  transform: translateX(50%);
  opacity: 0;
  transition: transform 1s ease-out,
    opacity 2s cubic-bezier(0.12, 0.77, 0.51, 0.97);
}

/* --- Contact Form Section --- */
#contact-container {
  background: #217485;
  color: white;
  padding: 48px 15px;
  /* Mobile padding */
  position: relative;
  z-index: 25;
}

#contact-container h2,
#contact-container p {
  color: white;
  /* Ensure text is white */
}

#contact-form {
  max-width: 572px;
  margin: 0 auto;
  position: relative;
}

#form-fields {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.form-field {
  display: flex;
  flex-direction: column;
  /* Stack label above input on mobile */
  align-items: flex-start;
  /* Align label left */
  gap: 8px;
  /* Space between label and input */
  width: 100%;
}

.form-field label {
  width: 80px;
  text-align: right;
  text-align: left;
  font-weight: bold;
}

.form-field .optional {
  font-weight: normal;
  font-size: 0.9em;
  opacity: 0.8;
}

.form-field input[type="text"],
.form-field input[type="email"],
.form-field input[type="tel"],
.form-field textarea {
  flex-grow: 1;
  /* Take available width */
  width: 100%;
  /* Ensure full width */
  resize: vertical;
  /* Allow vertical resize for textarea */
  padding: 10px 12px;
  /* Comfortable padding */
  border: none;
  border-radius: 2px 2px 2px 8px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  font-family: inherit;
  /* Use body font */
  font-size: 1em;
  color: #333;
  /* Text color inside input */
}

.form-field input:focus-visible,
.form-field textarea:focus-visible {
  border: none;
  outline: none;
  transform: scale(1.02);
  box-shadow: 0 0 16px 0 rgba(20, 71, 82, 0.5);
}

.form-field textarea {
  min-height: 150px;
  resize: none;
  /* Default textarea height */
}

.send-button {
  align-self: center;
  /* Center button */
  min-width: 150px;
  /* Minimum width */
  position: relative;
  /* For spinner positioning */
  overflow: hidden;
  /* Hide spinner initially */
}

.send-button .spinner-icon {
  display: none;
  /* Hide spinner by default */
  width: 40px;
  /* Size of spinner */
  height: 40px;
}

.send-button.sending {
  color: transparent;
  pointer-events: none;
  height: 40px;
  width: 40px;
  min-width: 40px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0;
}

.send-button.sending .spinner-icon {
  display: block;
  /* Show spinner */
}

#form-success {
  /* Styles for success message container */
  position: absolute;
  /* Position over the form */
  top: 0;
  left: 50%;
  width: 100%;
  height: 100%;
  transform: translateX(calc(-50% - 50px));
  transition: opacity 1s ease, transform 1s ease;
  display: flex;
  /* Use flex for centering */
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  pointer-events: none;
  /* Don't block underlying elements when hidden */
  border-radius: 8px;
  /* Match form container if needed */
  z-index: 30;
  /* Ensure it's above form fields */
}

#form-success.visible {
  /* Class added by JS on success */
  opacity: 1;
  pointer-events: auto;
}

#form-success img {
  width: 80px;
  /* Adjust icon size */
  height: 80px;
}

#form-status {
  /* Error message */
  margin-top: 16px;
  color: white;
  padding: 10px;
  border-radius: 4px;
}

.mailto-link {
  color: #faca79;
  /* Accent color for link */
  font-weight: bold;
}

.mailto-link:hover {
  text-decoration: underline;
}

/* --- Fade-in Animations (Keep if script.js handles adding .fade-show) --- */
.fade-hidden {
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
  opacity: 0;
  will-change: opacity, transform;
  /* Optimize animation */
}

.fade-vertical {
  transform: translateY(40px);
}

.fade-horizontal {
  transform: translateX(-40px);
}

/* State when element should be visible */
.fade-show {
  opacity: 1;
  transform: none;
}

/* --- Desktop Adjustments (Using min-width for Mobile-First) --- */

/* Medium devices (tablets, 768px and up) */

@media (min-width: 768px) {
  .fade-delay {
    transition-delay: 1000ms;
  }

  .fade-double-delay {
    transition-delay: 2000ms;
  }

  .fade-triple-delay {
    transition-delay: 3000ms;
  }

  h1,
  .h1 {
    font-size: 64px;
    /* Larger H1 on desktop */
  }

  h2,
  .h2 {
    font-size: 36px;
    /* Larger H2 */
  }

  .navbar-toggler {
    display: none;
    /* Hide the toggle button */
  }

  .navbar-collapse {
    display: flex !important;
    /* Show the menu */
    justify-content: flex-end;
    /* Align to the right */
  }

  .navbar-nav {
    display: flex;
    /* Align items horizontally */
    flex-direction: row;
    background-color: transparent;
    box-shadow: none;
    position: static;
    width: auto;
  }

  .navbar-nav .nav-item {
    border-bottom: none;
  }

  .nav-link {
    padding: 0 16px !important;
  }

  .dropdown-menu {
    position: absolute !important;
    transform: translateX(-100%);
    /* Default dropdown behavior */
    top: auto !important;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
    background-color: white !important;
    padding: 0.5rem 0;
    width: auto;
    /* Adjust width as needed */
  }

  .dropdown-item {
    padding: 0.25rem 1rem;
  }

  .contact-links {
    display: flex;
    justify-content: flex-end;
  }

  /* Hero */
  :root {
    /* Adjust image offset if needed for wider screens */
    /* --hero-image-offset: 60%; */
  }

  .hero-text {
    text-align: left;
    /* Align left on desktop */
    padding: 48px 0;
    /* Desktop padding */
    justify-content: center;
    /* Center vertically */
  }

  .hero-background::before {
    /* Enable left fade */
    background: linear-gradient(
      90deg,
      #fff 0%,
      rgba(255, 255, 255, 0.5) 10%,
      rgba(255, 255, 255, 0) 50%
    );
  }

  .hero-background::after {
    /* Show color block */
    display: block;
  }

  .hero-foreground::before {
    /* Right fade on desktop */
    background: linear-gradient(
      90deg,
      rgba(33, 116, 133, 0) 27.4%,
      rgba(33, 116, 133, 0.5) 59.13%,
      #217485 100%
    );
  }

  /* Testimonials */
  #testimonialCarousel .carousel-inner {
    padding: 0 80px;
    /* More space for controls */
    min-height: 180px;
    /* Adjust height */
  }

  #testimonialCarousel .carousel-control-prev {
    left: 48px;
  }

  #testimonialCarousel .carousel-control-next {
    right: 48px;
  }

  .quote {
    font-size: 20px;
  }

  /* Contact Form */
  .form-field {
    flex-direction: row;
    /* Label beside input */
    align-items: center;
    /* Align items vertically */
    gap: 24px;
    /* Desktop gap */
  }

  .form-field label {
    min-width: 80px;
    /* Fixed label width */
    text-align: right;
    /* Align label right */
  }

  .send-button {
    align-self: flex-end;
    /* Align button right */
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
  .navbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .navbar-brand .navbar-brand-subtitle {
    display: block;
    padding: 6px 12px;
    border-left: 1px solid black;
    color: #000;
    font-family: "Nunito", sans-serif;
    font-size: 20px;
    line-height: 100%;
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .two-cards-content {
    margin: 36px;
    padding: 36px;
  }
  h1 {
    font-size: 80px;
  }
}

/* XXL devices (larger desktops, 1400px and up) */
@media (min-width: 1400px) {
}

/** PART 2 - OTHER PAGES **/

#page-header {
  background: white;
}

#page-footer {
  background: white;
}

.organisations-hero {
  text-align: center;
  padding: 64px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 10;
  background: white;
}

.organisations-hero-title {
  font-family: "literata";
  font-size: 36px;
}

.organisations-hero .image-wrapper {
  position: relative;
  max-width: 200px;
}

.organisations-hero .image-wrapper img {
  width: 100%;
}

.floating-notes {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  animation: float 3s ease-in-out infinite;
}

.organisations-hero-text {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.organisations-hero-text h2 {
  margin-bottom: 16px;
}

.organisations-hero-subtitle {
  margin-bottom: 0px;
}

.organisations-hero-text .btn {
  margin-top: 16px;
}

@keyframes float {
  0% {
    transform: translateX(-50%) translateY(2px);
  }

  50% {
    transform: translateX(-50%) translateY(-8px);
  }

  100% {
    transform: translateX(-50%) translateY(2px);
  }
}

.portfolio-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 64px;
}

.music-snippet-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

#options-row {
  margin-bottom: 48px;
}

.bg-light-teal {
  background-color: #d9f1ef;
  border-radius: 16px 16px 16px 32px;
}

.bg-dark-teal {
  background-color: #217485;
  border-radius: 16px 16px 16px 32px;
  color: white;
}

.step-card {
  background-color: white;
  border-radius: 16px 16px 16px 32px;
  padding: 32px;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

@media (min-width: 768px) {
  .step-card {
    flex-direction: row;
  }
}

.step-img {
  width: 64px;
  height: 64px;
}

.step-text {
  display: flex;
  flex-direction: column;
}

.smaller-gutter-row {
  --bs-gutter-x: 24px;
}

@media (min-width: 768px) {
  .organisations-hero {
    text-align: left;
  }

  .organisations-hero .image-wrapper {
    max-width: 250px;
  }
}

@media (max-width: 992px) {
  .portfolio-text {
    padding: 0 32px;
  }
}

/*----*/

:root {
  --dark-teal: #217485;
  --light-teal: #d9f1ef;
}

.vertical-tabs {
  display: flex;
  flex-direction: row; /* default for mobile */
}

.nav-tabs {
  flex-direction: column; /* default for mobile */
  margin: 24px 0;
  border: none;
  gap: 12px;
  z-index: 10;
}

.nav-tabs .nav-link {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  background-color: var(--light-teal);
  color: black;
  text-align: center;
  min-width: 3rem;
  border-radius: 0 16px 16px 0; /* right-side tabs on mobile */
  padding: 24px 12px !important;
}

.chimp-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

@media (min-width: 768px) {
  .vertical-tabs {
    flex-direction: column;
  }

  .nav-tabs {
    flex-direction: row;
    margin: 0 24px;
  }

  .nav-tabs .nav-link {
    writing-mode: horizontal-tb;
    transform: none;
    border-radius: 16px 16px 0 0; /* top-side tabs on desktop */
    padding: 12px 24px !important;
  }
}

@media (min-width: 992px) {
  .chimp-content {
    flex-direction: row;
    text-align: left;
    margin: 0 32px;
  }
}

.nav-tabs .nav-link.active {
  background-color: var(--dark-teal);
  color: white;
  border-color: transparent;
}

.tab-content {
  z-index: 11;
  flex: 1;
  background-color: var(--dark-teal);
  border-radius: 16px 16px 16px 32px;
  padding: 2rem;
  color: white;
}

.chimp-img {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
}

.tile {
  background-color: white;
  border-radius: 1rem;
  height: 180px;
}

#testimonials {
  background: white;
}

.testimonial-card {
  background: white;
  border-radius: 16px 16px 16px 32px;
  padding: 32px;
  display: flex;
  flex-direction: row;
  gap: 24px;
  align-items: center;
}

.author {
  font-size: 14px;
}

@keyframes sway {
  0% { transform: rotate(3deg); }
  50% { transform: rotate(-3deg); }
  100% { transform: rotate(3deg); }
}

.swaying-image {
  animation: sway 2s infinite ease-in-out; /* Adjust duration and timing */
}