@import "menu.css";
@import "components.css";
@import "banner.css";

@font-face {
  font-family: "Work Sans";
  src: url("../assets/fonts/WorkSans-ExtraLight.ttf") format("ttf");
  font-weight: normal;
  font-style: normal;
}

* {
  margin: 0;
  padding: 0;
}

:root {
  --color-primary: #002f5b;
  --secondary-color: #2ecc71;
  --color-accent: #ff8e01;
  --color-accent-secondary: #0088bd;
  --font-size: 16px;
  --text-color: #272727;
  --text-color-default: var(--color-primary);
  --svg-logo-fill: #ff0000;
}

svg {
  fill: #8b9eb2 !important;
}

.partner-logo {
  width: 5em;
  height: 3em;
  margin: 0 2em;
}

h3 {
  font-size: 2.4em;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 400;
}

p {
  color: var(--text-color);
  font-size: 1.2em;
  font-weight: 300;
  line-height: 1.4em;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style-type: none;
}

img {
  width: 100%;
}

body {
  color: var(--text-color-default);
  font-family: "Work Sans", sans-serif;
}

footer {
  padding-bottom: 1em;
  color: #fff;
  background: #071d33;
}

footer h6 {
  font-weight: 400;
  font-size: 1em;
  color: var(--color-accent);
}

footer p {
  color: #fff;
}

.flex {
  display: flex;
}

.wrap {
  flex-wrap: wrap;
}

.fill {
  flex: 1;
}

.container {
  max-width: 1400px;
}

.vertical {
  display: flex;
  flex-direction: column;
}

.horizontal {
  display: flex;
}

.center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.center-vertical {
  display: flex;
  align-items: center;
}

.center-horizontal {
  display: flex;
  justify-content: center;
}

.pv-m {
  padding: 2em 0;
}

.pv-sm {
  padding: 1em 0;
}

.ph-sm {
  padding: 0 1em;
}

.p-m {
  padding: 2em;
}

.p-sm {
  padding: 1em;
}

.button {
  display: flex;
  justify-content: center;
  align-items: center;
  color: #00305b;
  font-size: 1em;
  text-align: center;
  background-color: var(--color-accent);
  padding: 0.6em 1.2em;
  border-radius: 2em;
  font-weight: 400;
}

.button:hover {
  background: #ffa22d;
  transition: 0.25s;
}

.button-icon {
  width: 1.4em;
  margin-right: 0.4em;
}

.contact-badge {
  display: flex;
  border-radius: 50px;
  border: 1px solid var(--color-accent);
  justify-content: center;
  align-items: center;
  height: 2.4em;
}

.contact-badge > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 1em 0 0.4em;
}

.contact-badge-icon {
  width: 1.6em;
  padding-left: 0.5em;
}

.contact-badge-number {
  font-size: 1em;
  text-decoration: none;
  font-weight: 600;
}

.contact-badge-hours {
  font-size: 0.7em;
  color: var(--color-accent);
}

/* banner */
.banner {
  position: relative;
  min-height: 60vh;
  background-position: center center;
}

.banner.dark {
  background-color: #002f5bb3;
}

.banner.dark .banner-heading {
  color: #fff;
}

.banner.dark .banner-phrase {
  color: #fff;
  font-weight: 200;
}

.banner div::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-size: cover;
  opacity: 0.2;
  z-index: -1;
}

.banner.dark div::before {
  opacity: 1;
}

.breadcrumb,
.breadcrumb > a {
  font-size: 1.1em;
  font-weight: 400;
  color: var(--text-color);
}

.banner.dark .breadcrumb,
.breadcrumb > a {
  color: #fff;
}

.breadcrumb ol li {
  display: inline;
}

.breadcrumb ol li:not(:last-child)::after {
  content: " / ";
}

.banner-heading {
  font-weight: 400;
  font-size: 3em;
  margin-bottom: 2rem;
}

.banner-phrase {
  font-size: 1.4em;
  max-width: 1000px;
  font-weight: 250;
  color: #000000;
  text-align: center;
}

.banner-summary {
  display: flex;
  max-width: 460px;
  flex-direction: column;
  list-style-type: none;
}

.banner-summary-item {
  display: flex;
  align-items: center;
  font-size: 1.2em;
  padding: 0.4em 0;
}

.banner-summary-item p {
  font-weight: 350;
  font-size: 1em;
  color: var(--color-primary);
}

.banner-summary-item > img {
  margin-right: 0.8em;
  width: 1.1em;
}

.partner-banner {
  background: var(--color-primary);
}

.partner-banner-container {
  flex-direction: column;
}

.partner-banner-container h3 {
  padding: 1.6em 0 0;
  text-align: center;
  color: #ffffffa3;
  font-size: 1.4em;
  font-weight: 200;
  letter-spacing: 1.4px;
}

.partner-banner-container > ul {
  display: flex;
  justify-content: space-evenly;
  flex-wrap: wrap;
  height: 3em;
  overflow: hidden;
}

.partner-banner-logo {
  width: 5em;
  height: 2em;
  margin: 1em;
  opacity: 0.9;
}

.partner-logos li {
  display: flex;
  height: 100%;
}

.container-tripple img {
  width: 100%;
}

.container-tripple li {
  display: flex;
  flex-direction: column;
  margin: 2em 1em;
  flex: 1;
  align-items: center;
}

.container-tripple li > div {
  display: flex;
  width: 12em;
  height: 12em;
  display: flex;
}

.container-tripple h4 {
  text-align: center;
  font-size: 1.4em;
  height: 4em;
  display: flex;
  align-items: center;
  font-weight: 600;
}

.container-tripple p {
  color: var(--text-color);
  font-size: 1.2em;
  height: 8em;
  font-weight: 300;
  line-height: 1.4em;
}

.section {
  padding: 1em;
}

.section-title {
  margin: 0.4em 0;
  text-align: center;
  font-weight: 500;
  color: var(--text-color);
}

.faq {
  border-bottom: 1px solid #ddd;
  padding: 0.2em;
}

.faq input[type="checkbox"] {
  display: none;
}

.faq input[type="checkbox"]:checked ~ .faq-header > .faq-status-icon.minimised {
  display: none;
}

.faq
  input[type="checkbox"]:not(:checked)
  ~ .faq-header
  > .faq-status-icon.expanded {
  display: none;
}

.faq-status-icon {
  margin-right: 0.4em;
  font-weight: 600;
  font-size: 1.4em;
}

.faq-label {
  display: block;
  cursor: pointer;
  padding: 0.4em;
  transition: background-color 0.3s;
  font-weight: 400;
  font-size: 1.3rem;
}

.faq-header {
  min-height: 4em;
  height: auto;
}

.faq-header:hover {
  cursor: pointer;
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  padding-left: 0.4em;
}

.faq-content p {
  margin: 1em 0;
}

.faq input[type="checkbox"]:checked ~ .faq-content {
  max-height: 200px;
  /* Adjust based on content height */
}

.site-footer h6 {
  margin-bottom: 1em;
  font-size: 1.2em;
  font-weight: 500;
}

.site-footer p {
  font-size: 1em;
}

.site-footer a {
  font-size: 0.9em;
  font-weight: 400;
  margin: 0.4em 0;
}

.icon-list li {
  display: flex;
}

.icon-list > li > img {
  width: 1.4em;
}

.link {
  text-decoration: underline;
  font-weight: 300;
}

#inclusions li {
  display: flex;
  margin: 1em 0;
}

#inclusions h6 {
  font-size: 1.2em;
  font-weight: 500;
  color: var(--text-color);
}

#inclusions span {
  margin-left: 1em;
  font-size: 1.1em;
  font-weight: 400;
  color: var(--text-color);
}

.all-partners {
  margin-top: 2em;
  display: flex;
  justify-content: center;
  align-items: center;
}

.all-partners > li {
  flex: 1;
  display: flex;
  padding: 1em;
  border: 1px solid #efefef;
  margin: 1em;
  min-width: 5em;
  max-width: 7em;
  justify-content: center;
  align-items: center;
}

.all-partners > li > a {
  display: flex;
  flex: 1;
  justify-content: center;
  align-items: center;
}

.all-partners > li > a > img {
  width: 100%;
  height: auto;
  display: flex;
  flex: 1;
  justify-content: center;
  align-items: center;
}

/* contact page*/
.contact-methods {
  margin-top: 4rem;
  flex-wrap: wrap;
}

.contact-methods > li {
  display: flex;
  flex-direction: column;
  flex: 1 200px;
  align-items: center;
  margin: 1rem;
}

.contact-methods > li > img {
  width: 3em;
  max-height: 3em;
  padding: 1rem;
}

.contact-methods > li > h6 {
  font-size: 1.4em;
  text-align: center;
}

.contact-methods > li > p {
  margin-top: 1rem;
  text-align: center;
  font-weight: 250;
}

.contact-methods > li > a {
  margin-top: 0.5rem;
  text-decoration: underline;
}

/* form */
.button-secondary {
  background: #0088be;
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 1.2em;
  width: 200px;
  margin: 1em auto;
}

.form-wrapper {
  display: flex;
  flex-wrap: wrap;
}

form {
  margin-top: 2em;
  flex: 1;
  display: flex;
  width: 100%;
}

.form-group {
  position: relative;
  flex: 1;
  display: flex;
  margin: 0 1em 2em 1em;
}

.form-group > label {
  position: absolute;
  top: 12px;
  left: 10px;
  font-size: 14px;
  color: #aaa;
  transition: all 0.2s ease-in-out;
  pointer-events: none;
}

input[type="date"]::placeholder {
  color: transparent;
}

input[type="date"]:invalid::-webkit-datetime-edit {
  color: #ffffffff;
}

input:focus + label,
input:valid + label,
textarea:focus + label,
textarea:not(:placeholder-shown) + label,
select:focus + label,
select:valid + label {
  top: -1em;
  left: 0;
  font-size: 0.8em;
  color: #333;
}

select:focus + label,
select.filled + label {
  top: -1em;
  left: 0;
  font-size: 0.8em;
  color: #333;
}

input,
textarea,
select {
  flex: 1;
  padding: 1em;
  font-size: 1em;
  border: none;
  border-bottom: 1px solid #ccc;
}

input:focus,
textarea:focus,
select:focus {
  border: none;
  border-bottom: 1px solid #005fcc;
  outline: none;
}

button[type="submit"] {
  padding: 1rem;
  font-size: 1em;
  border-radius: 4px;
  background-color: #007bff;
  color: white;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: auto;
}

input[type="submit"]:disabled {
  background-color: #aaa;
  cursor: not-allowed;
}

.spinner {
  border: 2px solid #ffffff26;
  border-top: 2px solid white;
  border-radius: 50%;
  width: 16px;
  height: 16px;
  animation: spin 1s linear infinite;
  margin-left: 8px;
  display: inline-block;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/*claims*/

.claims-summary {
  display: flex;
  flex-wrap: wrap;
  margin-top: 3em;
}

.claims-summary h3 {
  font-size: 1.4em;
}

.claims-summary ul {
  margin: 1em;
  list-style-type: disclosure-closed;
}

.claims-summary li {
  margin-top: 1rem;
}

.slider-1 {
  width: 100%;
}

.slider-1 ul {
  display: flex;
}

.slider-1 ul > li {
  margin: 1em;
  box-shadow: 0 0 12px #0003;
  border: 1px solid #dadada;
}

.slider-1 h1 {
  font-size: 2.4em;
  font-weight: 500;
}

.slider-1 > ul > li > h3 {
  margin: 1em;
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.6em;
  text-align: center;
}

.product-container {
  width: 100%;
}

.product-container h1 {
  margin: 0.5em 0;
  font-size: 2.4em;
  font-weight: 500;
  text-align: center;
}

.product-container p {
  margin: 1em 0;
  text-align: center;
}

.product-list {
  display: flex;
  width: 100%;
  flex-wrap: wrap;

  overflow: hidden;
}

.product-list-button {
  border: 1px solid #e3e3e3;
  width: 2em;
  margin: 1em;
  height: 1.4em;
  border-radius: 0.8rem;
  padding: 0.8rem;
  cursor: pointer;
}

.product-list > li {
  display: flex;
  margin: 1em;
  flex: 1 400px;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  position: relative;
  opacity: 1;
  transition: opacity 0.5s;
  box-shadow: 0 0 12px #0000001a;
  border: 1px solid #e6e6e6;
}

.product-list > li.hidden {
  opacity: 0;
}

.product-details {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 1em 1em 2em 1em;
}

.product-details h3 {
  height: 3em;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.6em;
  text-align: center;
}

.product-details a:not(.button) {
  margin-top: 1em;
  color: #0187bc;
  text-align: center;
  text-decoration: underline;
  cursor: pointer;
}

.product-image-wrapper {
  background-position: bottom;
  background-size: cover;
  opacity: 1;
  height: 16em;
  width: 100%;
}

.product-image-wrapper.business-pack {
  background: url("../assets/images/photos/public-liability.avif") no-repeat
    center center;
  background-position: bottom;
  background-size: cover;
  opacity: 1;
  height: 16em;
  width: 100%;
}

.product-image-wrapper.public-liability {
  background: url("../assets/images/photos/beauty-checkout.jpg") no-repeat
    center center;
  background-position: bottom;
  background-size: cover;
  opacity: 1;
  height: 16em;
  width: 100%;
}

.product-image-wrapper.commercial-property {
  background: url("../assets/images/photos/product/commercial-property.avif")
    no-repeat center center;
  background-position: bottom;
  background-size: cover;
  opacity: 1;
  height: 16em;
  width: 100%;
}

.product-image-wrapper.professional-indemnity {
  background: url("../assets/images/photos/consultant.avif") no-repeat center
    center;
  background-position: bottom;
  background-size: cover;
  opacity: 1;
  height: 16em;
  width: 100%;
}

.product-image-wrapper.corporate-travel {
  background: url("../assets/images/photos/product/corporate-travel.avif")
    no-repeat center center;
  background-position: bottom;
  background-size: cover;
  opacity: 1;
  height: 16em;
  width: 100%;
}

.product-image-wrapper.cyber {
  background: url("../assets/images/photos/product/cyber.avif") no-repeat center
    center;
  background-position: bottom;
  background-size: cover;
  opacity: 1;
  height: 16em;
  width: 100%;
}

.product-image-wrapper.personal-accident {
  background: url("../assets/images/photos/product/personal-accident.avif")
    no-repeat center center;
  background-position: bottom;
  background-size: cover;
  opacity: 1;
  height: 16em;
  width: 100%;
}

.product-image-wrapper.landlords {
  background: url("../assets/images/photos/product/landlords.avif") no-repeat
    center center;
  background-position: bottom;
  background-size: cover;
  opacity: 1;
  height: 16em;
  width: 100%;
}

.product-image-wrapper.holiday-rental {
  background: url("../assets/images/photos/product/holiday-rental.avif")
    no-repeat center center;
  background-position: bottom;
  background-size: cover;
  opacity: 1;
  height: 16em;
  width: 100%;
}

.product-image-wrapper.restaurant {
  background: url("../assets/images/photos/industry/restaurant.avif") no-repeat
    center center;
  background-position: bottom;
  background-size: cover;
  opacity: 1;
  height: 16em;
  width: 100%;
}

.product-image-wrapper.laundromat {
  background: url("../assets/images/photos/industry/laundromat.avif") no-repeat
    center center;
  background-position: bottom;
  background-size: cover;
  opacity: 1;
  height: 16em;
  width: 100%;
}

.product-image-wrapper.cafe {
  background: url("../assets/images/photos/industry/cafe.avif") no-repeat center
    center;
  background-position: bottom;
  background-size: cover;
  opacity: 1;
  height: 16em;
  width: 100%;
}

.product-image-wrapper.cleaner {
  background: url("../assets/images/photos/industry/cleaner.avif") no-repeat
    center center;
  background-position: bottom;
  background-size: cover;
  opacity: 1;
  height: 16em;
  width: 100%;
}

.button-secondary {
  color: #fff;
  background: var(--color-accent-secondary);
  width: 12rem;
  height: 3em;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 6px;
  font-weight: 500;
  font-size: 1rem;
  margin: 1em auto;
  cursor: pointer;
}

.button-secondary:hover {
  background: #2196f3;
  transition: 0.5s;
}

.m-dropdown-menu {
  display: flex;
}

.accordion {
}

.accordion input[type="checkbox"] {
  display: none;
}

.accordion
  input[type="checkbox"]:checked
  ~ .accordion-header
  > .accordion-status-icon.minimised {
  display: none;
}

.accordion
  input[type="checkbox"]:not(:checked)
  ~ .accordion-header
  > .accordion-status-icon.expanded {
  display: none;
}

.accordion-status-icon {
  margin-right: 0.4em;
  font-weight: 300;
  font-size: 1.4em;
}

.accordion-label {
  display: flex;
  align-items: center;
  cursor: pointer;
  transition: background-color 0.3s;
  height: 7vh;
  width: 100%;
}

.accordion-header:hover {
  cursor: pointer;
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  padding-left: 0.4em;
}

.accordion-content p {
  margin-top: 1em;
}

.accordion input[type="checkbox"]:checked ~ .accordion-content {
  max-height: 100vh;
}

.covers {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 4em;
}

.covers > li {
  display: flex;
  flex-direction: column;
  max-width: 400px;
  margin: 1em;
  height: 28em;
  padding: 2em;
  background: #fff;
  box-shadow: 0 0 20px #00305b1a;
  width: 300px;
}

.covers > li > div > p {
  font-size: 1.1em;
}

.covers > li > div > h3 {
  height: 5em;
  display: flex;
  font-size: 1.4em;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.covers a {
  border: 1px solid;
  width: 120px;
  text-align: center;
  padding: 0.4em;
  border-radius: 26px;
  color: #ff8e00;
  margin: auto;
  cursor: pointer;
}

.industry-category {
  margin: 0.4em 0;
  color: #000;
  font-weight: 350;
}
