/* ===================================
   IMPORTS & VARIABLES
=================================== */
@import url("https://fonts.googleapis.com/css2?family=Quicksand:wght@300;400;500;600;700&display=swap");

:root {
  --color-background: #cbd5e1;
  --color-background-alt: #8ec6ff;
  --color-border-active: #173db6;
  --color-border-default: #94a3b8;
  --color-highlight: #004DA5;
  --color-primary: #144be1;
  --color-primary-active: #19388f;
  --color-text-default: #0f172a;
  --color-text-muted: #FFFFFF;

  --font-family-body: "Quicksand", sans-serif;
  --font-family-display: "Quicksand", sans-serif;
}

/* ===================================
   BASE STYLES
=================================== */
* {
  margin: 0;
  padding: 0;
  border: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-family-body);
  background: #f8f8f8;
  color: #333;
  -webkit-font-smoothing: antialiased;
}

button, input, optgroup, select, textarea {
  font-family: inherit;
  font-feature-settings: inherit;
  font-variation-settings: inherit;
  font-size: 100%;
  font-weight: inherit;
  line-height: inherit;
  color: inherit;
}

[type="checkbox"], [type="radio"], [type="range"] {
  appearance: none;
  flex-shrink: 0;
  user-select: none;
}

/* ===================================
   HEADER
=================================== */
header {
  background: #010813;
  padding: 1em 2em;
  border-bottom: 2px solid #004DA5;
}

header h1 {
  margin: 0;
}

/* ===================================
   MAIN SECTION
=================================== */
main {
  background: linear-gradient(to bottom, #010813, #121A2E);
  padding: 1em;
  color: white;
  text-align: center;
}

main h2, main h3 {
  font-size: 2rem;
  color: white;
  font-weight: bold;
}

main h2 {
  margin-bottom: 0.5em;
}

main h3 {
  position: relative;
  margin: 2.5em 0 0.5em 0;
  padding-top: 0.5em;
}

.full-width-border {
  width: 100vw;
  position: relative;
  left: 50%;
  margin-left: -50vw;
  border-top: 2px solid #004DA5;
  padding-top: 1.5em;
  margin-top: 2em;
  box-sizing: border-box;
  text-align: center;
}

.full-width-border h3 {
  margin: 0;
  font-size: 2rem;
  color: white;
  font-weight: bold;
}

/* ===================================
   TEXT CLASSES
=================================== */
.intro-text,
.intro-textdescription {
  text-align: center;
  margin-top: 0.5em;
  font-size: 1rem;
  line-height: 1.4;
  color: #99A0AE;
  margin-bottom: 1.4rem;
}

.intro-textheader {
  text-align: center;
  margin: 1.5em 0 0 0;
  font-size: 1.1rem;
  line-height: 1.4;
  color: white;
  font-weight: bold;
}

/* Link inside intro-text */
.intro-text a.bold-link {
  font-weight: bold;
  color: #ffffff !important;
  text-decoration: none;
}

.intro-text a.bold-link:hover {
  color: #004DA5 !important;
  text-decoration: none;
}

/* ===================================
   FOOTER
=================================== */
footer {
  background: #121A2E;
  padding: 1em 2em;
  text-align: center;
  color: white;
  border-top: 2px solid #004DA5;
  font-size: 0.7rem;
}

/* ===================================
   IMAGES
=================================== */
.logo {
  max-height: 400px;
  width: 100%;
  max-width: 400px;
  display: block;
  margin: 0 auto;
  object-fit: contain;
}

.photo-gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1em;
  margin-top: 2em;
}

.photo-gallery img {
  width: 300px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.photo-gallery img:hover {
  transform: scale(1.05);
}

/* ===================================
   LISTS & LINKS
=================================== */
.centered-list {
  list-style-position: inside;
  color: white;
  margin: 0 auto;
  padding-left: 0;
  max-width: 400px;
  text-align: left;
}

.bold-link {
  font-weight: bold;
  color: #ffffff;
  text-decoration: none;
}

.bold-link:hover {
  color: #004DA5;
  text-decoration: none;
}

/* ===================================
   FORM STRUCTURE
=================================== */
.fs-form {
  display: grid;
  row-gap: 1.5rem;
}

.fs-form.fs-layout__2-column {
  column-gap: 1.5rem;
  grid-template-columns: 1fr 1fr;
}

fieldset {
  display: grid;
  margin: 1.5rem 0;
  row-gap: 1.5rem;
}

.fs-form.fs-layout__2-column fieldset {
  column-gap: 1.5rem;
  grid-template-columns: 1fr 1fr;
  grid-column: 1 / -1;
}

.fs-fieldset-title {
  font-family: var(--font-family-display);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--color-text-default);
  margin-bottom: 1.5rem;
  grid-column: 1 / -1;
}

.fs-field {
  display: flex;
  flex-direction: column;
  row-gap: 0.375rem;
}

.fs-field .fs-description {
  color: #004DA5 !important;
}

.fs-label {
  font-family: var(--font-family-display);
  font-size: 1.0rem;
  font-weight: 500;
  color: #99A0AE;
}

.fs-description {
  color: #004DA5 !important;
  font-size: 2.0rem;
}

.fs-button-group {
  justify-content: center !important;
  flex-direction: row !important; /* reset if you want normal order */
}

.fs-button {
  background-color: transparent;
  border-radius: 0.375rem;
  color: #99A0AE;
  padding: 1rem 2rem;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 200ms ease;
  border: 2px solid #004DA5;
}

.fs-button:hover,
.fs-button:focus-visible {
  background-color: transparent;
  outline: 3px solid var(--color-highlight);
}

.fs-input,
.fs-select,
.fs-textarea {
  background-color: transparent;
  border-radius: 0.375rem;
  border: 0;
  padding: 0.5rem 0.75rem;
  font-size: 1rem;
  box-shadow: #004DA5 0 0 0 1px inset;
  color: #99A0AE;
  width: 100%;
}

textarea[name="enquiry"] {
  height: 150px;
  min-height: 150px;
}

textarea#enquiry {
  min-height: 200px;   /* or taller if you want */
  resize: vertical;    /* allows user to resize vertically */
  color: #99A0AE;      /* text color, matching your inputs */
}

.fs-input:focus-visible,
.fs-select:focus-visible,
.fs-textarea:focus-visible {
  box-shadow: var(--color-border-active) 0 0 0 1.5px inset;
  outline: 3px solid var(--color-highlight);
}

.fs-input::placeholder,
.fs-textarea::placeholder {
  color: #99A0AE;
}

.form-wrapper {
  max-width: 600px; /* or any width you prefer */
  margin: 0 auto; /* center it */
  padding: 0 1rem; /* optional horizontal padding */
  box-sizing: border-box; /* ensures padding is inside width */
}

/* ===================================
   CHROME, SAFARI, EDGE AUTOFILL OVERRIDE
=================================== */
input:-webkit-autofill,
textarea:-webkit-autofill,
select:-webkit-autofill {
  background-color: #004DA5 !important; /* set to your desired bg color */
  border: 1px solid var(--color-border-active) !important;
  box-shadow: none !important; /* remove default inset shadow */
  -webkit-text-fill-color: #99A0AE !important;
  border-radius: 0.375rem !important;
  transition: background-color 5000s ease-in-out 0s !important;
}

/* Autofill focus */
input:-webkit-autofill:focus,
textarea:-webkit-autofill:focus,
select:-webkit-autofill:focus {
  border: 2px solid var(--color-highlight) !important;
  outline: 3px solid var(--color-highlight) !important;
  box-shadow: none !important;
  -webkit-text-fill-color: #99A0AE !important;
}


/* ===================================
   RESPONSIVE STYLES
=================================== */
@media (max-width: 600px) {
  main h2,
  .full-width-border h3 {
    font-size: 1.32rem;
    margin: 0 0 0.5em 0;
    padding-top: 0;
  }

  .intro-text,
  .intro-textdescription {
    font-size: 0.7rem;
    line-height: 1.3;
    margin: 0 1em;
  }

  .intro-textheader {
    font-size: 0.85rem;
  }

  .photo-gallery img {
    width: 100%;
    max-width: 90%;
  }

  .form-wrapper {
    max-width: 600px;
    margin: 0 auto;
    padding: 1rem;
    box-sizing: border-box;
  }

  .fs-button-group {
    text-align: center;
  }

  .fs-button {
    padding: 0.6rem 1.2rem;
    font-size: 1rem;
    background-color: transparent;
    color: #99A0AE;
    border: 2px solid #004DA5;
    border-radius: 0.375rem;
  }

  .fs-button:hover {
    background-color: var(--color-primary-active);
  }
}

.main-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* ===================================
   UTILITY CLASSES
=================================== */
.col-span-full {
  grid-column: 1 / -1;
}

.slider-label-container {
  display: flex;
  justify-content: space-between;
  margin-top: 0.25rem;
}

.slider-label-text {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  text-align: center;
  white-space: nowrap;
}
