:root {
  --dl-layout-size-large: 144px;
  --dl-layout-size-small: 48px;
  --dl-layout-space-unit: 16px;
  --dl-color-scheme-white: #FFFFFF;
  --dl-layout-size-medium: 96px;
  --dl-layout-size-xlarge: 192px;
  --dl-layout-size-xsmall: 16px;
  --dl-layout-radius-round: 50%;
  --dl-layout-size-xxlarge: 288px;
  --dl-color-scheme-green-n80: #105749ff;
  --dl-color-scheme-orange-n80: #ff7e00;
  --dl-color-scheme-orange-n90: #e85c21;
  --dl-layout-size-maxwidth: 1144px;
  --dl-color-scheme-green-n100: #0c4237ff;
  --dl-color-scheme-orange-n100: #804000ff;
  --dl-color-scheme-orange80: #ffc78bff;
  --dl-color-scheme-yellow20: #fffef3ff;
  --dl-color-scheme-yellow80: #fff6a7ff;
  --dl-layout-radius-radius2: 2px;
  --dl-layout-radius-radius4: 5px;
  --dl-layout-radius-radius8: 8px;
  --dl-layout-space-halfunit: 8px;
  --dl-layout-space-sixunits: 96px;
  --dl-layout-space-oneunit: 12px;
  --dl-layout-space-twounits: 32px;
  --dl-layout-space-twounits-2: 22px;
  --dl-color-scheme-orange100: #ffad61ff;
  --dl-layout-radius-radius16: 16px;
  --dl-layout-space-fiveunits: 80px;
  --dl-layout-space-fourunits: 64px;
  --dl-color-scheme-lightgreen-n: #c7ff9bff;
  --dl-color-scheme-lightorange-n: #ffd699ff;
  --dl-color-scheme-darkgray: #333333;
  --dl-color-scheme-bright-yellow: #FFC700;
  --dl-color-scheme-reddish-brown: #B52F2E;
  --dl-color-scheme-reddish-brown2: #d62024;
  --dl-layout-space-eightunits: 128px;
  --dl-layout-space-eightunits-2: 28px;
  --dl-layout-space-threeunits: 38px;
  --dl-layout-space-threeunits-2: 18px;
  --dl-layout-space-threeunits-3: 28px;
  --dl-layout-space-oneandhalfunits: 24px;
}

html,
body {
  height: auto;
  min-height: 0;
  margin: 0;
  padding: 0;
}

main {
  width: 100%
}

.button {
  color: var(--dl-color-scheme-orange-n100);
  cursor: pointer;
  display: inline-block;
  padding: 12px 24px;
  border-color: var(--dl-color-scheme-orange-n100);
  border-width: 2px;
  border-radius: 32px;
  background-color: var(--dl-color-scheme-white);
}

.button-angle {
  color: var(--dl-color-scheme-orange-n100);
  cursor: pointer;
  display: inline-block;
  padding: 12px 24px;
  border-color: var(--dl-color-scheme-orange-n100);
  border-width: 1px;
  background-color: var(--dl-color-scheme-white);
}

.input {
  color: var(--dl-color-scheme-orange-n100);
  cursor: auto;
  padding: 1rem 1rem;
  border-color: var(--dl-color-scheme-orange-n100);
  border-width: 1px;
  border-radius: 4px;
  background-color: var(--dl-color-scheme-white);
}

.textarea {
  color: var(--dl-color-scheme-orange-n100);
  cursor: auto;
  padding: 0.5rem;
  border-color: var(--dl-color-scheme-orange-n100);
  border-width: 1px;
  border-radius: 4px;
  background-color: var(--dl-color-scheme-white);
}

.list {
  width: 100%;
  margin: 1em 0px 1em 0px;
  display: block;
  padding: 0px 0px 0px 1.5rem;
  list-style-type: none;
  list-style-position: outside;
}

.list-item {
  display: list-item;
}

.teleport-show {
  display: flex !important;
  transform: translateX(0%) !important;
}

.button-secondary {
  font-style: normal;
  transition: 0.3s;
  font-family: Lexend;
  font-weight: 500;
  line-height: 1;
  border-color: var(--dl-color-scheme-orange-n80);
  margin-right: var(--dl-layout-space-unit);
}

.button-secondary:hover {
  color: var(--dl-color-scheme-white);
  background-color: var(--dl-color-scheme-orange100);
}

.button-info {
  font-style: normal;
  transition: 0.3s;
  font-family: Lexend;
  font-weight: 500;
  line-height: 1;
  color: var(--dl-color-scheme-white);
  background-color: var(--dl-color-scheme-orange100);
  border-color: var(--dl-color-scheme-orange-n80);
  margin-right: var(--dl-layout-space-unit);
}

.button-info:hover {
  background-color: var(--dl-color-scheme-orange-n80);
}

.button-inactive {
  font-style: normal;
  transition: 0.3s;
  font-family: Lexend;
  font-weight: 500;
  line-height: 1;
  color: var(--dl-color-scheme-white);
  background-color: grey;
  border-color: grey;
  margin-right: var(--dl-layout-space-unit);
}

.button-inactive:hover {
  background-color: rgb(36, 33, 33)
}


.button-primary {
  color: var(--dl-color-scheme-white);
  font-style: normal;
  transition: 0.3s;
  font-family: Lexend;
  font-weight: 500;
  line-height: 1;
  border-color: var(--dl-color-scheme-orange-n80);
  background-color: var(--dl-color-scheme-orange-n80);
}

.button-primary:hover {
  color: var(--dl-color-scheme-orange-n80);
  background-color: var(--dl-color-scheme-lightorange-n);
}

.navbar-container {
  top: 0;
  width: 100%;
  display: flex;
  z-index: 1000;
  position: sticky;
  padding-top: var(--dl-layout-space-oneandhalfunits);
  padding-bottom: var(--dl-layout-space-oneandhalfunits);
  justify-content: center;
  background-color: var(--dl-color-scheme-white);
}

.navbar-burger-menu {
  display: none;
}

.max-width {
  width: 100%;
  display: flex;
  max-width: var(--dl-layout-size-maxwidth);
  align-items: center;
  padding-left: var(--dl-layout-space-oneandhalfunits);
  padding-right: var(--dl-layout-space-oneandhalfunits);
  justify-content: space-between;
}

.button-gradient {
  display: flex;
  font-size: 18px;
  background: linear-gradient(90deg, #C7FF9B 0%, #FFF6A7 100%);
  font-style: normal;
  transition: 0.3s;
  align-items: center;
  font-weight: 700;
  line-height: 0.9;
  padding-top: 20px;
  border-color: transparent;
  margin-right: var(--dl-layout-space-unit);
  padding-left: 32px;
  padding-right: 32px;
  padding-bottom: 20px;
}

.button-gradient:hover {
  color: var(--dl-color-scheme-white);
  background: unset;
  border-color: var(--dl-color-scheme-white);
}

.button-transparent {
  color: var(--dl-color-scheme-white);
  font-size: 18px;
  font-style: normal;
  transition: 0.3s;
  font-weight: 700;
  line-height: 0.9;
  padding-top: 20px;
  border-color: var(--dl-color-scheme-white);
  padding-left: 32px;
  padding-right: 32px;
  padding-bottom: 20px;
  background-color: transparent;
}

.button-transparent:hover {
  color: var(--dl-color-scheme-orange-n80);
  background-color: var(--dl-color-scheme-lightorange-n);
}

.section-container {
  width: 100%;
  display: flex;
  overflow: hidden;
  align-items: center;
  padding-top: var(--dl-layout-space-eightunits);
  flex-direction: column;
  padding-bottom: var(--dl-layout-space-eightunits);
}
.dashboard-container {
  width: 100%;
  display: flex;
  overflow: hidden;
  align-items: center;
  padding-top: var(--dl-layout-space-twounits);
  flex-direction: column;
  padding-bottom: var(--dl-layout-space-twounits);
}

.hero-container {
  padding-top: 0 !important;
  background-color: var(--dl-color-scheme-orange-n80);
}

.bg-transparent {
  background-color: transparent;
}

.question-content {
  display: flex;
  overflow: hidden;
  max-height: 0;
  transition: 0.3s;
  align-items: flex-start;
  flex-direction: column;
}

.question {
  width: 100%;
  display: flex;
  align-items: center;
  padding-top: 20px;
  border-color: rgba(44, 39, 33, 0.08);
  border-width: 1px;
  padding-left: var(--dl-layout-space-twounits);
  border-radius: 12px;
  margin-bottom: var(--dl-layout-space-unit);
  padding-right: var(--dl-layout-space-twounits);
  flex-direction: column;
  padding-bottom: 20px;
  justify-content: space-between;
  background-color: var(--dl-color-scheme-white);
}

.footer-column {
  display: flex;
  align-items: flex-start;
  margin-bottom: var(--dl-layout-space-oneandhalfunits);
  flex-direction: column;
  gap:10px;
  justify-content: flex-start;
}

.beforeHeading {
  font-size: 14px;
  font-style: normal;
  font-family: Urbanist;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
}

.brandName {
  font-size: 20px;
  font-style: normal;
  font-family: Urbanist;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  text-decoration: none;
}

.navbarLink {
  font-size: 16px;
  font-style: normal;
  font-family: Titillium Web;
  font-weight: 600;
  line-height: 1.5;
  text-transform: none;
  text-decoration: none;
}

.read-more-link{
  color: var(--dl-color-scheme-green-n100);
  font-weight: 600;
}
.read-more-link:hover{
  text-decoration: underline;
}

.Content {
  font-size: 16px;
  font-family: Titillium Web;
  font-weight: 400;
  line-height: 1.15;
  text-transform: none;
  text-decoration: none;
}


/* New Form Styles */
.form-group {
  margin-bottom: var(--dl-layout-space-oneunit);
}

.form-label {
  display: block;
  margin-bottom: var(--dl-layout-space-halfunit);
  font-size: 1rem;
  font-weight: 600;
  color: var(--dl-color-scheme-orange-n100);
}

input[type=text].form-control,
input[type=email].form-control,
input[type=password].form-control,
input[type=tel].form-control,
input[type=number].form-control,
input[type=date].form-control {
  height: 40px;
  padding: 10px 10px;
}

select.form-select {
  height: 40px;
  padding: 5px 5px;
}

.form-control,
.form-textarea,
.form-select {
  display: block;
  width: 100%;
  font-size: 1rem;
  line-height: 1.5;
  color: #495057;
  background-color: var(--dl-color-scheme-white);
  background-clip: padding-box;
  border: 1px solid rgba(44, 39, 33, 0.2);
  border-radius: var(--dl-layout-radius-radius4);
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.form-control:focus,
.form-textarea:focus,
.form-select:focus {
  color: #495057;
  background-color: var(--dl-color-scheme-white);
  border-color: var(--dl-color-scheme-orange100);
  outline: 0;
  box-shadow: 0 0 0 0.2rem rgba(255, 173, 97, 0.25);
}

.form-check {
  display: flex;
  align-items: center;
  margin-bottom: var(--dl-layout-space-unit);
}

.form-check-input {
  width: 1rem;
  height: 1rem;
  margin-top: 0.25rem;
  margin-right: 0.5rem;
  vertical-align: top;
  background-color: var(--dl-color-scheme-white);
  border: 1px solid rgba(44, 39, 33, 0.2);
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  cursor: pointer;
}

.form-check-input[type="checkbox"] {
  border-radius: 0.25em;
}

.form-check-input[type="radio"] {
  border-radius: 50%;
}

.form-check-input:checked {
  background-color: var(--dl-color-scheme-orange100);
  border-color: var(--dl-color-scheme-orange100);
}

.form-check-label {
  font-size: 1rem;
  color: var(--dl-color-scheme-orange-n100);
  cursor: pointer;
}

.login-form{
  width: 50%;
}
/* Page Hero Section */
.page-hero {
  position: relative;
  width: 100%;
  height: 40vh;
  background: url("../images/working-orange-1.jpg") no-repeat center center/cover;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
}

/* Dark overlay */
.page-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 1;
}

/* Content */
.page-hero-content {
  position: relative;
  text-align: center;
  z-index: 2;
}

/* Title with drop animation */
.page-hero-title {
  font-size: 3rem;
  font-weight: bold;
  opacity: 0;
  transform: translateY(-50px);
  animation: dropDown 1.2s ease-out forwards;
}

/* Subtitle */
.page-hero-subtitle {
  font-size: 1.25rem;
  margin-top: 15px;
  font-style: italic;
  opacity: 0;
  animation: fadeIn 1s ease-out forwards;
  animation-delay: 1s;
}

/* Button */
.page-hero-btn {
  display: inline-block;
  margin-top: 25px;
  padding: 12px 30px;
  font-size: 1rem;
  font-weight: bold;
  background: #4f46e5;
  color: white;
  text-decoration: none;
  border-radius: 30px;
  transition: background 0.3s;
  opacity: 0;
  animation: fadeIn 1s ease-out forwards;
  animation-delay: 1.5s;
}

.page-hero-btn:hover {
  background: #3730a3;
}

.show-on-mobile {
  display: none;
}

.drop-element {
  opacity: 0;
  transform: translateY(-50px);
  /* Start above */
  transition: transform 2s ease-out, opacity 0.6s ease-out;
}

.drop-element.active {
  opacity: 1;
  transform: translateY(0);
  /* Drop into place */
}

.home-image5{
  /*css to centralise*/
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Keyframes */
@keyframes dropDown {
  0% {
    opacity: 0;
    transform: translateY(-50px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@media(max-width: 990px) {
.login-form{
  width: 60%;
}
  .hide-on-mobile {
    display: none;
  }
}

@media(max-width: 767px) {
.login-form{
  width: 50%;
}
  .show-on-mobile {
    display: block;
  }

  .hide-on-mobile {
    display: none;
  }

  .page-hero {
    height: 30vh;
  }

  .page-hero-content {
    position: relative;
    z-index: 2;
    padding: 20px 20px 20px 20px;
    max-width: 800px;
  }

  .page-hero-title {
    font-size: 2rem;
  }

  /* Subtitle */
  .page-hero-subtitle {
    font-size: 1rem;
  }

  .navbar-burger-menu {
    display: flex;
  }

  .section-container {
    padding-top: var(--dl-layout-space-fourunits);
    padding-bottom: var(--dl-layout-space-fourunits);
  }

  .footer-column {
    width: 30%;
  }
}

@media(max-width: 479px) {
  .footer-column {
    width: 50%;
  }
  .login-form{
  width: 100%;
}
}

/* Cookie Consent Banner */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: var(--dl-color-scheme-orange-n80);
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 25px;
  box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.2);
  font-family: 'Titillium Web', sans-serif;
  flex-wrap: wrap;
}

.cookie-consent p {
  flex: 1;
  font-size: 0.95rem;
  margin: 0;
  margin-right: 10px;
}

.cookie-consent button {
  background: #fff;
  color: var(--dl-color-scheme-orange-n80);
  border: none;
  padding: 10px 20px;
  border-radius: 30px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease;
}

.cookie-consent button:hover {
  background: var(--dl-color-scheme-yellow20);
  color: var(--dl-color-scheme-orange-n100);
}

.cookie-consent.hide {
  display: none;
}

/* ===== Modal Styles ===== */
.modal {
  display: none; /* Hidden by default */
  position: fixed;
  z-index: 9999; /* On top of everything */
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.5); /* Transparent black overlay */
  animation: mfadeIn 0.3s ease-in-out;
}

.modal-content {
  background-color: #fff;
  margin: 8% auto;
  padding: 20px 25px;
  border-radius: 10px;
  max-width: 500px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  animation: mslideDown 0.35s ease-in-out;
}

.modal-content h3 {
  color: var(--primary-color, brown);
  margin-bottom: 1rem;
  font-size: 1.2rem;
  text-align: center;
}

.close-btn {
  float: right;
  font-size: 1.5rem;
  font-weight: bold;
  color: #555;
  cursor: pointer;
  transition: color 0.2s ease;
}

.close-btn:hover {
  color: #000;
}

/* Form fields inside modal */
.modal-content .form-group {
  margin-bottom: 1rem;
}

.modal-content label {
  display: block;
  margin-bottom: 0.25rem;
  font-weight: 600;
  color: #333;
}

.modal-content input.form-control {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 0.95rem;
}

.modal-content input.form-control:focus {
  border-color: var(--accent-color, brown);
  outline: none;
  box-shadow: 0 0 3px var(--accent-color, brown);
}

/* Button inside modal */
.modal-content .button {
  width: 100%;
  margin-top: 0.75rem;
  padding: 10px;
  border-radius: 6px;
  font-size: 0.9rem;
  text-align: center;
}

/* Animations */
@keyframes mfadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes mslideDown {
  from { transform: translateY(-30px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* Responsive modal on small screens */
@media (max-width: 600px) {
  .modal-content {
    width: 90%;
    margin: 20% auto;
    padding: 15px;
  }
}
