* {
  margin: 0;
  padding: 0;
  position: relative;
  box-sizing: border-box;
}

:root {
  /* site colours */
  --dvst-light-blue: #2fceec;
  --dvst-dark-blue: #051369;
  --dvst-on-light-blue: #303030;
  --dvst-light-mid-blue: #28afd6;
  --dvst-mid-blue: #1a71ab;
  --card-background: #e0f7fa;

  /* course colours */
  --first-aid-color: #d4edda;
  --first-aid-accent: #155724;
  --fire-safety-color: #f8d7da;
  --fire-safety-accent: #721c24;
  --manual-handling-color: #fff3cd;
  --manual-handling-accent: #856404;
  --abrasive-wheels-color: #dee2e6;
  --abrasive-wheels-accent: #495057;
  --working-at-height-color: #d1ecf1;
  --working-at-height-accent: #0c5460;

  /* fonts */
  --title-font-family: Manrope, "Open Sans", Arial;
  --body-font-family: Manrope, Roboto, Arial;
}

html {
  scroll-behavior: smooth;
}

body {
  height: auto;
  width: 100%;
  font-family: var(--body-font-family);
}

*::-webkit-media-controls-panel {
  display: none !important;
  -webkit-appearance: none;
}

/* Old shadow dom for play button */

*::-webkit-media-controls-play-button {
  display: none !important;
  -webkit-appearance: none;
}

/* New shadow dom for play button */

/* This one works! */

*::-webkit-media-controls-start-playback-button {
  display: none !important;
  -webkit-appearance: none;
}

h1 {
  font-family: var(--title-font-family), Arial;
  font-size: 2.25rem;
}

h2 {
  font-family: var(--title-font-family), arial;
  color: var(--dvst-dark-blue);
  font-size: 1.75rem;
}

h3 {
  font-family: var(--title-font-family);
  font-size: 1.5rem;
  color: var(--dvst-light-blue);
}

.blue_bg h3 {
  color: var(--dvst-dark-blue);
}

h4 {
  font-size: 1.25rem;
  color: var(--dvst-light-blue);
}

p {
  font-family: var(--body-font-family);
  color: #333;
  font-size: 1.125rem;
}

header {
  height: auto;
  width: 100%;
  z-index: 100;
  position: fixed;
  top: 0;
}

header.fill {
  bottom: auto;
  background-color: #fff;
  box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.2);
}

#header_content {
  max-width: 90vw;
  width: 100%;
  height: auto;
  margin: auto;
  padding: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#logo_container {
  flex-shrink: 1;
  width: 125px;
}

#header_content img {
  width: 100%;
  vertical-align: middle;
}

#header_content .logo_white {
  display: block;
}

#header_content .logo_color {
  display: none;
}

header.fill .logo_white {
  display: none !important;
}

header.fill .logo_color {
  display: block !important;
}

#main_nav {
  flex-grow: 1;
  text-align: center;
}

#contact_nav {
  flex-shrink: 1;
  text-align: right;
  width: 125px;
}

nav ul {
  list-style: none;
}

nav ul li {
  display: inline-block;
  position: relative;
}

nav ul li a {
  display: block;
  padding: 5px 15px 5px 15px;
  text-decoration: none;
  white-space: nowrap;
  line-height: 50px;
  font-family: var(--body-font-family);
  color: #fff;
  cursor: pointer;
  font-size: 1.125rem;
  transition: all 0.25s ease-in-out;
}

.header.sticky nav ul li a {
  color: #333;
}

nav ul li a:hover {
  color: var(--dvst-light-blue);
}

nav li ul {
  max-height: 0;
  display: block;
  position: absolute;
  background-color: white;
  padding: 0px;
  overflow: hidden;
  transition: 1.3s ease-out;
  left: 50%;
  transform: translateX(-50%);
  top: 116%;
}

header.fill nav ul li a {
  color: var(--dvst-dark-blue);
}

header.fill nav ul li a:hover {
  color: var(--dvst-light-blue);
}

header.fill .burger span {
  background: var(--dvst-dark-blue);
}

.burger {
  display: none;
}

.burger span {
  position: absolute;
  left: 50%;
  width: 30px;
  height: 4px;
  background: white;
  border-radius: 2px;
  transition: all 0.3s ease;
  transform: translateX(-50%);
  transform-origin: center;
}

.burger:hover span {
  background: var(--dvst-dark-blue);
}

.burger span:nth-child(1) {
  top: 6px;
}

.burger span:nth-child(2) {
  top: 14.5px;
}

.burger span:nth-child(3) {
  top: 23px;
}

.burger.active span:nth-child(1) {
  transform: translateX(-50%) rotate(45deg);
  top: 14.5px;
  background-color: var(--dvst-dark-blue);
}

.burger.active span:nth-child(2) {
  opacity: 0;
}

.burger.active span:nth-child(3) {
  transform: translateX(-50%) rotate(-45deg);
  top: 14.5px;
  background-color: var(--dvst-dark-blue);
}

.overlay {
  position: fixed;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background-color: var(--dvst-light-blue);
  opacity: 95%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  align-content: center;
  transition: left 0.4s ease;
  z-index: 1000;
}

.overlay ul {
  list-style: none;
  text-align: center;
  padding: 0;
  width: 100%;
}

.overlay ul li {
  display: block;
  margin: 1.5rem 0;
}

.overlay ul li a {
  text-decoration: none;
  color: var(--dvst-on-light-blue);
  font-size: 1.5rem;
}

.overlay h3 {
  width: 100%;
  text-align: center;
  margin-top: 50px;
  font-size: 1.75rem;
  color: var(--dvst-dark-blue);
}

.overlay.open {
  left: 0;
}

/***** Generic start *****/

.blue_bg {
  background-color: var(--dvst-light-blue);
}

.blue_bg p {
  color: var(--dvst-on-light-blue);
}

.main_container {
  max-width: 1400px;
  padding: 40px 10px;
  margin: auto;
}

.main_container.flexbox {
  display: flex;
}

.side_text {
  flex: 2;
  padding: 15px;
}

.side_img {
  flex: 1;
  overflow: hidden;
  border-radius: 10px;
}

.side_img img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/***** Generic end *****/

/***** Home Start *****/

#home_top {
  min-height: 100vh;
  background: linear-gradient(to bottom right, rgba(0, 0, 0, 0.7), #00000040), url(../images/home-top.webp);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  color: white;
}

video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  transform: translate(-50%, -50%);
}

video::after {
  background: linear-gradient(to bottom right, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.25));

  background-size: cover;
}

.home_top_outer {
  position: absolute;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom right, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.25));
}

.home_top_inner {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  margin: auto;
  text-align: center;
  padding: 30px;
  align-self: center;
  opacity: 0.5;
}

#home_top img {
  max-width: 400px;
  width: 100%;
}

#home_top h1 {
  font-size: 50px;
  margin-top: 30px;
  color: #fff;
}

#home_top h2 {
  margin: 15px 0 20px;
  font-family: var(--body-font-family);
  font-weight: 300;
  color: #fff;
}

.arrows {
  width: 60px;
  height: 78px;
  position: absolute;
  left: 50%;
  margin-left: -30px;
  bottom: 75px;
}

.arrows svg {
  width: 60px;
}

.arrows path {
  stroke: var(--dvst-light-blue);
  fill: transparent;
  stroke-width: 5px;
  animation: arrow 2s infinite;
  -webkit-animation: arrow 2s infinite;
}

@keyframes arrow {
  0% {
    opacity: 0;
  }

  40% {
    opacity: 1;
  }

  80% {
    opacity: 0;
  }

  100% {
    opacity: 0;
  }
}

@-webkit-keyframes arrow

/*Safari and Chrome*/ {
  0% {
    opacity: 0;
  }

  40% {
    opacity: 1;
  }

  80% {
    opacity: 0;
  }

  100% {
    opacity: 0;
  }
}

.arrows path.a1 {
  animation-delay: -1s;
  -webkit-animation-delay: -1s;
}

.arrows path.a2 {
  animation-delay: -0.5s;
  -webkit-animation-delay: -0.5s;
}

.arrows path.a3 {
  animation-delay: 0s;
  -webkit-animation-delay: 0s;
}

.main_container.flex_stretch {
  align-items: stretch;
}

#home_courses .main_container {
  max-width: 1400px;
  text-align: center;
}

#home_courses .card_container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  width: 100%;
}

#home_courses .card {
  border-radius: 10px;
  background-color: #fff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
  position: relative;
  flex: 1 1 400px;
  max-width: 400px;
}

#home_courses .card:hover {
  transform: translateY(-10px) scale(1.05);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

#home_courses .card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.3s ease-in-out;
}

#home_courses .card:hover img {
  transform: scale(1.1);
}

#home_courses .card-content {
  padding: 15px;
  opacity: 0.9;
  transition: opacity 0.3s ease-in-out;
}

#home_courses .card:hover .card-content {
  opacity: 1;
}

#home_courses .card h4 {
  font-family: var(--title-font-family);
  color: var(--dvst-dark-blue);
  margin: 10px 0;
}

#home_courses .card p {
  color: var(--dvst-on-light-blue);
  font-size: 1rem;
}

#home_courses .card button {
  background: var(--dvst-light-blue);
  color: white;
  border: none;
  padding: 10px 15px;
  margin-top: 10px;
  cursor: pointer;
  border-radius: 5px;
  font-size: 14px;
  transition: background 0.3s, transform 0.3s;
}

#home_courses .card button a {
  color: inherit;
  text-decoration: none;
}

#home_courses .card button:hover {
  background: var(--dvst-dark-blue);
  transform: scale(1.1);
}

#accreditation .main_container {
  align-items: center;
}

#accreditation .side_text {
  flex: 3;
  margin-left: 15px;
}

#hf_crest {
  position: relative;
  object-fit: initial;
  height: auto;
}

.testimonial-slider {
  width: 80%;
  margin: auto;
}

.swiper {
  width: 100%;
  padding: 100px 0;
}

.swiper-slide {
  background: white;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

.swiper-slide h3 {
  color: #333;
  margin-top: 10px;
}
.swiper-slide p {
  font-size: 16px;
  color: #666;
}

/* Active slide styling */
.swiper-slide-active {
  transform: scale(1.2);
  opacity: 1;
}

/* Non-active slides fade out & shrink */
.swiper-slide:not(.swiper-slide-active) {
  transform: scale(0.8);
  opacity: 0.5;
}

/* Navigation buttons */
.swiper-button-prev,
.swiper-button-next {
  color: var(--dvst-dark-blue);
  background: rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
  background: rgba(255, 255, 255, 1);
}

.rating i {
  color: #f5a623;
  font-size: 1.3rem;
  margin: 5px 2px 0;
}
.testimonial-card {
  background: white;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.rating-block li {
  margin-bottom: 10px;
}

.rating-block li:last-of-type {
  margin-bottom: 0;
}

.expand-btn {
  margin-top: 1rem;
  background-color: var(--dvst-dark-blue);
  color: #fff;
  border: none;
  padding: 0.5rem 1.25rem;
  border-radius: 2rem;
  cursor: pointer;
}
.expand-btn:hover {
  background-color: var(--dvst-mid-blue);
}

/***** Home end *****/

/***** Courses Start *****/

#courses_top {
  min-height: 60vh;
  background: linear-gradient(to bottom right, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.25)), url(../images/courses-top.webp);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  color: white;
}

#courses .main_container {
  max-width: 1400px;
  text-align: center;
}

#courses .outer_card_container {
  scroll-margin-top: 125px; /* acts as an offset for default anchor jumps */
}

#courses .card_container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  width: 100%;
}

#courses .card {
  border-radius: 10px;
  background-color: #fff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
  position: relative;
  flex: 1 1 400px;
  max-width: 400px;
}

#courses .card:hover {
  transform: translateY(-10px) scale(1.05);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

#courses .card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.3s ease-in-out;
}

#courses .card:hover img {
  transform: scale(1.1);
}

#courses .card-content {
  padding: 15px;
  opacity: 0.9;
  transition: opacity 0.3s ease-in-out;
}

#courses .card:hover .card-content {
  opacity: 1;
}

#courses .card h4 {
  font-family: var(--title-font-family);
  color: var(--dvst-dark-blue);
  margin: 10px 0;
}

#courses .card p {
  color: var(--dvst-on-light-blue);
  font-size: 1rem;
}

#courses .card p a {
  color: var(--dvst-dark-blue);
  text-decoration: none;
}

#courses .card button {
  background: var(--dvst-light-blue);
  color: white;
  border: none;
  padding: 10px 15px;
  margin-top: 10px;
  cursor: pointer;
  border-radius: 5px;
  font-size: 14px;
  transition: background 0.3s, transform 0.3s;
}

#courses .card button a {
  color: inherit;
  text-decoration: none;
}

#courses .card button:hover {
  background: var(--dvst-dark-blue);
  transform: scale(1.1);
}

#courses .card button.grey {
  background-color: var(--dvst-on-light-blue);
}

#sideMenu {
  position: fixed;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  background: #f8f9fa;
  border-radius: 10px 0 0 10px;
  box-shadow: 0 2px 10px 5px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  overflow: hidden;
}

#sideMenu ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column; /* ⬅️ This is the key */
  gap: 10px; /* Adds spacing between items */
}

#sideMenu li {
  margin: 0; /* Clear any weird spacing */
}

#sideMenu a {
  display: block;
  padding: 8px 12px;
  text-decoration: none;
  color: #333;
  transition: background 0.3s, color 0.3s;
  text-align: left;
  white-space: nowrap;
}

#sideMenu a:hover {
  background-color: var(--dvst-dark-blue);
  color: #fff;
}

#sideMenu a.active {
  background-color: var(--dvst-mid-blue);
  color: #fff;
  font-weight: bold;
}

/***** Courses End *****/

/***** Individual Course Start *****/

#course_top {
  color: #fff;
}

.course_name_container {
  background-color: #222;
}

.course_name_container .inner {
  max-width: 1400px;
  margin: auto;
  padding: 40px 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.course_name_container .inner a {
  text-decoration: none;
  margin-left: 50px;
}

.back_button {
  background-color: var(--dvst-light-blue);
  padding: 15px 25px;
  border-radius: 10px;
  transition: all 0.25s ease-in-out;
}

.back_button span {
  color: var(--dvst-on-light-blue);
  font-size: 1rem;
  display: block;
  text-align: center;
  transition: all 0.25s ease-in-out;
}

.back_button:hover {
  background-color: #fff;
}

.back_button:hover span {
  color: var(--dvst-dark-blue);
}
.course_banner {
  background-color: #333;
}

.course_banner h6 {
  font-size: 1rem;
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
}

.course_banner ul {
  float: left;
  display: block;
  margin: 0;
  padding: 0;
  width: 100%;
}

.course_banner ul li {
  float: left;
  display: block;
  margin: 0 10px 0 0;
  padding: 0 10px 0 0;
  color: #ababab;
  border-right: solid 2px #fff;
  line-height: 20px;
}

.course_banner ul li:last-child {
  border-right: none;
  margin: 0;
  padding: 0;
}

.course_banner ul li strong {
  color: #fff;
}

#course_page .main_container {
  display: flex;
  gap: 30px;
  align-items: flex-start;
}

.course_info {
  flex: 3 1 0%; /* 60% of available space */
  min-width: 300px;
}

.course_info a {
  text-decoration: none;
  color: var(--dvst-dark-blue);
}

.course_info a:hover {
  color: var(--dvst-light-blue);
}

.course_info h2 {
  margin-bottom: 5px;
}

.course_info li {
  margin-bottom: 10px;
}

.course_info li:last-of-type {
  margin-bottom: 0;
}

.who {
  background-color: var(--dvst-light-mid-blue);
  margin: 30px 0;
  padding: 30px;
  border-radius: 30px;
}

.who h2 {
  color: #fff;
  font-size: 2rem;
}

.who p {
  font-size: 1.25rem;
  color: #fff;
}

.who li::marker {
  color: var(--dvst-dark-blue);
  font-size: 1.25rem;
}

.course_content {
  background-color: var(--dvst-mid-blue);
  margin: 30px 0;
  padding: 30px;
  border-radius: 30px;
}

.course_content h2 {
  color: #fff;
  font-size: 2rem;
}

.course_content ul {
  padding-left: 40px;
}

.course_content li::marker {
  color: var(--dvst-light-blue);
  font-size: 1.25rem;
}

.course_content li p {
  font-size: 1.25rem;
  color: #fff;
}

.form_below {
  display: none;
}

/* form start */

.form-container {
  flex: 1 1 0%; /* 40% of available space */
  min-width: 280px;
  max-width: 600px;
  background: var(--dvst-light-blue);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}

.form-container h2 {
  text-align: center;
  margin-bottom: 25px;
  color: var(--dvst-dark-blue);
}

label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  color: #333;
}

input {
  font-family: var(--body-font-family);
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
textarea,
select {
  width: 100%;
  padding: 12px;
  margin-bottom: 20px;
  border: 1px solid #ccd1d9;
  border-radius: 8px;
  box-sizing: border-box;
  transition: border 0.2s;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--dvst-dark-blue);
  border-width: 2px;
  outline: none;
}

select[multiple] {
  height: auto;
}

button[type="submit"] {
  background-color: var(--dvst-dark-blue);
  color: white;
  padding: 12px 25px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  font-size: 16px;
  transition: background-color 0.3s;
  width: 100%;
}

button[type="submit"]:hover {
  background-color: var(--dvst-on-light-blue);
}

.choices__list--multiple .choices__item {
  background-color: var(--dvst-dark-blue);
}

.choices__list--dropdown .choices__item--selectable.is-highlighted::after,
.choices__list[aria-expanded] .choices__item--selectable.is-highlighted::after {
  display: none;
}

.choices__list--dropdown .choices__item--selectable[data-select-text],
.choices__list[aria-expanded] .choices__item--selectable[data-select-text] {
  padding-right: 10px;
}

.small {
  font-size: 0.75rem;
  opacity: 0.8;
}

.date-picker-wrapper {
  position: relative;
  display: inline-block;
  width: 100%;
  margin-bottom: 20px;
}

.date-picker-wrapper input {
  width: 100%;
  padding: 12px 40px 12px 12px; /* Space on right for the icon */
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 16px;
  margin-bottom: 0;
}

.date-picker-wrapper .calendar-icon {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  font-size: 20px;
  color: var(--dvst-light-blue);
}

/* Hover and focus */
.date-picker-wrapper input:hover + .calendar-icon,
.date-picker-wrapper input:focus + .calendar-icon {
  color: var(--dvst-mid-blue); /* your highlight color */
}

/* Calendar open = add class via JS */
.date-picker-wrapper.active .calendar-icon {
  color: var(--dvst-dark-blue) !important; /* e.g. amber, orange-ish when active */
}

#confirmationModal {
  position: fixed;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.6);
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: none;
  justify-content: center;
  align-items: center;
}

.modal-content {
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  max-width: 500px;
  width: 90%;
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.2);
}

.modal-content img {
  max-width: 180px;
  margin-bottom: 20px;
}

.modal-content h2 {
  color: var(--dvst-dark-blue);
}

.spinner {
  display: inline-block;
  width: 1em;
  height: 1em;
  border: 3px solid #fff;
  border-top: 3px solid transparent;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* form end */

/***** Individual Course End *****/

/***** Contact start *****/

#contact_top {
  min-height: 60vh;
  background: linear-gradient(to bottom right, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.25)), url(../images/contact-top.webp);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  color: white;
}

#contact_page .main_container {
  padding: 40px;
}

#contact_page .main_container h1 {
  text-align: center;
  margin-bottom: 25px;
}

#contact_page .main_container .inner_container {
  display: flex;
  gap: 50px;
  align-items: flex-start;
}

.contact_form_container {
  flex: 2;
}

.contact_details {
  flex: 1;
}

.block_who,
.block_contact {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.block_who div,
.block_contact div {
  flex: 1 1 45%;
  min-width: 200px;
}

.block_who label,
.block_contact label {
  display: block;
  margin-bottom: 6px;
  font-weight: 500;
}

.block_who input,
.block_contact input {
  width: 100%;
  padding: 10px;
  border-radius: 6px;
}

.block_new {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.block_new > div {
  flex: 1 1 45%;
  min-width: 200px;
}

.block_new label {
  display: block;
  margin-bottom: 6px;
  font-weight: 500;
}

.block_new input[type="number"],
.block_new input[type="text"] {
  width: 100%;
  padding: 10px;
  border-radius: 6px;
  border: 1px solid #ccc;
}

.block_existing {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.block_existing > div {
  flex: 1 1 45%;
  min-width: 200px;
}

.block_existing label {
  display: block;
  margin-bottom: 6px;
  font-weight: 500;
}

.block_existing select,
.block_existing input[type="text"] {
  width: 100%;
  padding: 10px;
  border-radius: 6px;
  border: 1px solid #ccc;
}

.contact_details a {
  color: inherit;
  text-decoration: none;
  font-size: 1.25rem;
}

.contact_details a * {
  vertical-align: middle;
}

.contact_details a i {
  margin-right: 5px;
  font-size: 1.5rem;
}

/***** Contact End *****/

/***** Policies start *****/

#policies_top {
  min-height: 60vh;
  background: linear-gradient(to bottom right, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.25)), url(../images/policies-top.webp);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  color: white;
}

.date_effective {
  color: #777;
  font-style: italic;
}

#policies_page ul {
  list-style-position: inside;
  padding-left: 20px;
}

#policies_page a {
  color: var(--dvst-dark-blue);
}

/***** Policies end *****/

/***** Call to Action Start *****/

#call_to_action {
  width: 100%;
  height: auto;
  background: linear-gradient(45deg, #28afd6, #2190c0, #1a71ab, #135195, #0c327f);
  background-size: 400% 400%;
  animation: gradientAnimation 15s ease infinite;
}

/* Gradient animation keyframes */
@keyframes gradientAnimation {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.cta_container {
  max-width: 1200px;
  margin: auto;
  padding: 50px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cta_container a {
  text-decoration: none;
}

.cta_container h2 {
  color: #fff;
  font-size: 3.5rem;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  /* text-shadow: #000 0 0 10px; */
}

.cta_button {
  min-width: 250px;
  background-color: var(--dvst-light-blue);
  padding: 24px;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  transition: all 0.25s ease-in-out;
}

.cta_button span {
  color: var(--dvst-on-light-blue);
  font-size: 1.75rem;
  display: block;
  text-align: center;
  transition: all 0.25s ease-in-out;
}

.cta_button:hover {
  background-color: #ffffff;
  transform: scale(1.05);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}

.cta_button:hover span {
  color: var(--dvst-dark-blue);
}

/***** Call to Action End *****/

/***** Footer Start *****/

footer {
  background: linear-gradient(180deg, var(--dvst-mid-blue), var(--dvst-dark-blue));
  width: 100%;
  height: auto;
}

.footer_container {
  display: flex;
  width: 100%;
  max-width: 1400px;
  margin: auto;
  padding: 30px;
  align-items: flex-start;
}

.footer_col {
  flex: 1;
  text-align: center;
  color: white;
  align-content: center;
}

.footer_col img.footer_logo {
  width: 70%;
  padding: 10px;
}

.footer_col img.footer_high {
  width: 90%;
  padding: 10px;
}

.footer_col a {
  color: white;
  text-decoration: none;
}

.footer_col a * {
  vertical-align: middle;
}

.footer_col a i {
  margin-right: 5px;
  font-size: 1.5rem;
}

.footer_col ul {
  list-style: none;
}

.footer_col ul li {
  margin-bottom: 10px;
}

.footer_col ul li a {
  color: white;
  text-decoration: none;
}

.footer_col ul li a:hover {
  color: var(--dvst-light-blue);
}

.footer_col h5 {
  font-size: 1.125rem;
  margin: 15px auto 5px;
  color: var(--dvst-light-mid-blue);
}

.footer_bottom {
  display: flex;
  justify-content: space-around;
  padding: 20px;
}

.footer_bottom p {
  color: #fff;
}

.footer_bottom a {
  color: var(--dvst-light-blue);
  text-decoration: none;
}

/***** Footer End *****/
