@font-face {
  font-family: Nunito;
  src: url(fonts/Nunito-VariableFont_wght.ttf);
}

/* Base */
*,
*::before,
*::after {
  box-sizing: border-box; /* ensures padding doesn't cause overflow on small screens */
}

body {
  font-family: 'Nunito';
  margin: 0;
  padding: 0;
  color: #fff;
  background-color: #225750;
  line-height: 1.6; /* better readability on mobile */
}

.text-box a,
.text-box a:visited {
    color: white;
}

.text-box a:hover,
.text-box a:active {
    color: #f2f2f2;
}

.li_ext{
  margin-top: 1.0em;
}

.app{
  margin-left: 5%;
  margin-right: 5%;
  justify-content: center;
}

.container {
  display: flex;
  align-items: top;   /* vertically align content */
  justify-content: center; /* optional, centers horizontally */
  gap: 20px;             /* space between image and text */
}

.image-box img {
  max-width: 100%;
  height: auto;
  margin: 10px;
}

.logo-box img {
  max-width: 100%;
  height: auto;
  width: 200px;
  margin: 10px;
}

.icon-box img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  margin: 20px;
  box-shadow: -8px 8px 15px rgba(0, 0, 0, 0.4);
}

.text-box {
  max-width: 80%;
}

/* Tables */
table {
  margin-top: 0px;
  margin-bottom: 0px;
  padding-left: 10px;
  padding-right: 10px;
  padding-top:0px;
  padding-bottom:0px;
}

td {
  vertical-align: top;
  text-align: left;
  margin-top: 0px;
  margin-bottom: 0px;
  padding-top:0px;
  padding-bottom:0px;
  padding-left: 10px;
  padding-right: 10px;
}

/* Carousel */
.carousel {
  margin-left: 2%;
  margin-right: 2%;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.carousel-track {
  display: flex;
  width: calc(200px * 44);     /* 22 images duplicated = 44 */
  animation: scroll 110s linear infinite;
}

.carousel img {
  width: 375px;
  height: 250px;
  object-fit: cover;
  flex-shrink: 0;
}

@keyframes scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-8250px); } /* 22 × 375px */
}

/* Form */
form {
  max-width: 400px; /* will be capped on desktop, made fluid in mobile below */
  width: 100%;
  margin: 20px auto;
  padding: 20px;
  background-color: #f0f0f0;
  border-radius: 8px;
  box-shadow:
  0 0 10px rgba(0, 0, 0, 0.1);
}
form label {
  display: block;
  margin-bottom: 8px;
}
form input,
form textarea {
  width: 100%;
  padding: 8px;
  margin-bottom: 16px;
  box-sizing: border-box;
  border: 1px solid #ccc;
  border-radius: 4px;
}
form button {
  background-color: #225750;
  color: #fff;
  padding: 10px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition:
  background-color 0.3s ease;
}
form button:hover {
  background-color: #F27622;
}

/* Navigation (unused in HTML now, but responsive-ready) */
nav {
  background-color: #BB4F49;
}
nav ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
}
nav li {
  margin: 0;
}
nav a {
  text-decoration: none;
  color: #fff;
  padding: 1em;
  display: block;
  transition: background-color 0.3s ease;
}
nav a:hover {
  background-color: #F27622;
}