@import url('https://fonts.googleapis.com/css2?family=Crimson+Text:ital,wght@0,400;0,600;0,700;1,400;1,600;1,700&family=Manrope:wght@200..800&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100&display=swap');
@custom-media --motionOK (prefers-reduced-motion: no-preference);

/* Regular */
@font-face {
  font-family: 'Lato';
  src: url('../fonts/Lato-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}

/* Italic (Regular italic style) */
@font-face {
  font-family: 'Lato';
  src: url('../fonts/Lato-Italic.ttf') format('truetype');
  font-weight: 400;
  font-style: italic;
}

/* Bold */
@font-face {
  font-family: 'Lato';
  src: url('../fonts/Lato-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
}

/* Bold Italic */
@font-face {
  font-family: 'Lato';
  src: url('../fonts/Lato-BoldItalic.ttf') format('truetype');
  font-weight: 700;
  font-style: italic;
}

/* Light */
@font-face {
  font-family: 'Lato';
  src: url('../fonts/Lato-Light.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
}

/* Light Italic */
@font-face {
  font-family: 'Lato';
  src: url('../fonts/Lato-LightItalic.ttf') format('truetype');
  font-weight: 300;
  font-style: italic;
}

/* Thin */
@font-face {
  font-family: 'Lato';
  src: url('../fonts/Lato-Thin.ttf') format('truetype');
  font-weight: 100;
  font-style: normal;
}

/* Thin Italic */
@font-face {
  font-family: 'Lato';
  src: url('../fonts/Lato-ThinItalic.ttf') format('truetype');
  font-weight: 100;
  font-style: italic;
}

/* Black */
@font-face {
  font-family: 'Lato';
  src: url('../fonts/Lato-Black.ttf') format('truetype');
  font-weight: 900;
  font-style: normal;
}

/* Black Italic */
@font-face {
  font-family: 'Lato';
  src: url('../fonts/Lato-BlackItalic.ttf') format('truetype');
  font-weight: 900;
  font-style: italic;
}

/* Optionally, you can include more variants if needed */

.github-corner {
  fill: hotpink;
  color: Canvas;

  &:hover .octo-arm {
    animation: octocat-wave 560ms ease-in-out
  }

  @nest [data-theme="dark"] & {
    fill: indigo;
  }
}

@keyframes octocat-wave{
  0%,100% {
    transform: rotate(0)
  }
  20%,60% {
    transform: rotate(-25deg)
  }
  40%,80% {
    transform: rotate(10deg)
  }
}

body {
  background-color: #f7faf1;
  margin: 0;
  text-align: left;
  transition: 0.5s;
  font-family: 'Lato', sans-serif;
}

.simple-spa {
  font-weight: bold;
}

.laatikko {
  background-color: #ffd700;
  height: 3.5em;
  width: 100%;
  margin: 20px;
  text-align: center;
  padding: 0;
}

.nav {
  padding: 20px;
}

a {
  padding: 0;
  text-decoration: none;
  color: white;
  font-weight: bold;
  text-align: center;
}

.app-container {
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: space-between;
  min-height: 90vh;
  width: 100%;
}

#app {
  width: 100%;
}

.home-cards {
  padding-left: 20px;
  padding-right: 20px;
}

.app-container h2 li {
  padding: 0;
  margin: 0;
  margin-bottom: 10px;
}

.kuva-container {
  margin-top: 50px;
  text-align: center;
}

.links line {
  stroke: #000;
  stroke-width: 2px;
}

.nodes circle {
  stroke: #fff;
  stroke-width: 1.5px;
}

#tooltip {
  position: absolute;
  width: 230px;
  height: auto;
  padding: 10px;
  background-color: white;
  border-radius: 10px;
  box-shadow: 4px 4px 10px rgb(0 0 0 / 40%);
  pointer-events: none;
}

#tooltip.hidden {
  display: none;
}

#tooltip p {
  margin: 0;
  font-size: 16px;
  line-height: 20px;
}

.link {
  fill: none;
  stroke: #ccc;
  stroke-width: 1.5px;
}

.chart-block {
    display: flex;
    width: 100%;
}

.tabs-wrapper {
  width: 500px;
  position: fixed;
  right: 100px;
}

#chart {
  width: 100%;
  height: 100vh;
}

#chart svg {
  width: 100%;
  height: 100%;
}

.dropdown-nav {
  padding-top: 0.6rem;
}

.dropdown button {
  background-color: transparent;
  border:1px solid #253849;
  width: max-content;
  height: 40px;
  border-radius: 5px;
  color: white;
  padding: 10px;
  font-size: 16px;
  cursor: pointer;
  justify-content: space-evenly;
  margin-left: 10px;
}

.dropdown button img {
  margin: 0 5px 0 0;
}

.dropdown button img,
.dropdown-content li img {
  width: 28px;
}

.dropdown button,
.dropdown-content li {
  display: flex;
  align-items: center;
  font-size: 14px;
  font-weight: 500;
}

.dropdown-content li a {
  padding: 0;
  background-color: transparent;
  color: #000;
  font-weight: normal;
}

.arrow-down {
  width: 0;
  height: 0;
  display: inline-block;
  vertical-align: middle;
  border-style: solid;
  border-width: 4px 4px 0;
  border-color: #fff transparent transparent;
  margin: 0 0 0 5px;
}

.dropdown button:hover {
  cursor: pointer;
  background-color: #3c5b77;
}

/* Style for the dropdown content */
.dropdown-content {
  display: none;
  position: absolute;
  margin: 1px 0 0;
  padding: 0;
  background-color: #f5f5f5;
  min-width: 160px;
  box-shadow: 0 8px 16px 0 rgb(0 0 0 / 20%);
  z-index: 1;
  border-radius: 5px;
  overflow-y: scroll;
  max-height: 315px;
}

/* Style for the dropdown content items */
.dropdown-content li {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  justify-content: end;
}

.dropdown-content li img {
  margin: 0 20px;
}

/* Style for the dropdown content items on hover */
.dropdown-content li:hover {
  background-color: #f1f1f1;
  cursor: pointer;
  color: blue;
  border-radius: 5px;
}

/* Show the dropdown content when the dropdown button is clicked */
.dropdown:focus-within .dropdown-content {
  display: block;
}

/* Animate the dropdown content */
@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.dropdown-content {
  animation: slideIn 0.3s ease-out;
}

/* Scrollbar styles */
::-webkit-scrollbar {
  width: 8px;
  height: 10px;
}

::-webkit-scrollbar-thumb {
  border-radius: 8px;
  background: #c2c9d2;
}

/**
 * Tabs Container
 */
 .tabs-container {
	padding: 2rem;
}

/**
 * Tabs Block
 */
.tabs-block {
	display: flex;
	align-items: center;
	justify-content: center;
}

/**
 * Tabs
 */
.tabs {
	display: flex;
	flex-wrap: wrap;
	width: 100%;
}

.tabs > label {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1rem 2rem;
	margin-right: 0.0625rem;
	cursor: pointer;
	background-color: #000;
	color: #fff;
	font-size: 1.2rem;
	font-weight: 700;
	transition: background-color ease 0.3s;
}

.tabs label .material-icons {
	margin-right: 0.3rem;
}

.tabs .tab {
	flex-grow: 1;
	width: 100%;
	height: 100%;
	display: none;
	padding: 1rem 2rem;
	color: #000;
	background-color: #fff;
	box-shadow: 0 10px 10px rgb(0 0 0 / 40%);
}

.tabs .tab > *:not(:last-child) {
	margin-bottom: 0.8rem;
}

.tabs [type="radio"] {
	display: none;
}

.tabs [type="radio"]:checked + label {
	background-color: #fff;
	color: #0067b8;
	border-top: 4px solid #0067b8;
	box-shadow: 0 10px 10px rgb(0 0 0 / 40%);
}

.tabs [type="radio"]:checked + label + .tab {
	display: block;
}

.theme-switcher {
  padding: 1.2rem 20px;
}
#language-switcher {
  margin: 0.6rem 20px;
}

.theme-switcher label{
  position: relative;
  width: 50px;
  height: 20px;
  display: block;
  background: #d9d9d9;
  border-radius: 100px;
  cursor: pointer;
  box-shadow: inset 0px 5px 15px rgba(0,0,0,0.3), inset 0px -5px 15px rgba(255,255,255,0.3);
}
.theme-switcher label:after{
  content: '';
  position: absolute;
  height: 16px;
  width: 16px;
  background: #f2f2f2;
  border-radius: 100px;
  top: 2px;
  left: 2px;
  transition: 0.5s;
  box-shadow: 0 5px 10px rgba(0,0,0,0.2);
}
.theme-switcher input:checked ~ label:after{
  left: 45px;
  transform: translateX(-100%);
  background: linear-gradient(180deg,#777,#3a3a3a);
}
.theme-switcher input:checked ~ label{
  background: #242424;
}
.theme-switcher input{
  display: none;
}

.navbar-brand img {
  width: 100%;
  max-width: 350px;
  max-height: 90px;
}

.main-menu.navbar-nav > .nav-item > a {
  text-transform: uppercase;
  font-weight: 900 !important;
  color: #000;
}

.main-menu.navbar-nav > .nav-item.active > a {
  color: #00decf !important;
}

article {
  --img-scale: 1.001;
  --title-color: black;
  --link-icon-translate: -20px;
  --link-icon-opacity: 0;
  position: relative;
  border-radius: 16px;
  box-shadow: none;
  background: #fff;
  transform-origin: center;
  transition: all 0.4s ease-in-out;
  overflow: hidden;
}

article a::after {
  position: absolute;
  inset-block: 0;
  inset-inline: 0;
  cursor: pointer;
  content: "";
}

/* basic article elements styling */
article h2 {
  margin: 0 0 18px 0;
  font-size: 1.9rem;
  letter-spacing: 0.06em;
  color: var(--title-color);
  transition: color 0.3s ease-out;
}

figure {
  margin: 0;
  padding: 0;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

article img {
  max-width: 100%;
  transform-origin: center;
  transform: scale(var(--img-scale));
  transition: transform 0.4s ease-in-out;
}

.article-body {
  padding: 24px;
}

article a {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: #28666e;
}

article a:focus {
  outline: 1px dotted #28666e;
}

article a .icon {
  min-width: 24px;
  width: 24px;
  height: 24px;
  margin-left: 5px;
  transform: translateX(var(--link-icon-translate));
  opacity: var(--link-icon-opacity);
  transition: all 0.3s;
}

/* using the has() relational pseudo selector to update our custom properties */
article:has(:hover, :focus) {
  --img-scale: 1.1;
  --title-color: #28666e;
  --link-icon-translate: 0;
  --link-icon-opacity: 1;
  box-shadow: rgba(0, 0, 0, 0.16) 0px 10px 36px 0px,
    rgba(0, 0, 0, 0.06) 0px 0px 0px 1px;
}

.menu-wrap {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 1002;
  width: 300px;
  height: 100%;
  padding: 40px;
  background-color: #222;
  box-shadow: 0 0 15px rgba(0,0,0,0.2);
  transition: all 0.5s cubic-bezier(0.7,0,0.3,1);
  transform: translate3d(-360px,0,0);
  padding-top: 100px;
}
.menu-wrap.active {
  transform: translate3d(0px,0,0);
}
.menu-wrap.active .dropdown{
  display: flex;
  flex-direction: row-reverse;
}

.menu-wrap .menu .icon-list a {
  position: relative;
  display: block;
  text-align: left;
  padding: 20px;
  text-decoration: none;
  color: #eee;
  font-size: 20px;
  transition: all 0.3s ease;
}
.menu-wrap .menu .icon-list a::before {
  position: absolute;
  content: "";
  width: 0%;
  height: 2px;
  top: 80%;
  transition: all 0.3s ease;
}
.menu-wrap .menu .icon-list a:hover {
  color: #567a68;
}
.menu-wrap .menu .icon-list a:hover::before {
  width: 50%;
  background-color: #567a68;
}
.menu-wrap .menu .icon-list a.active::before {
  width: 50%;
  background-color: #567a68;
}
/* Buttons */
.menu-button {
  position: fixed;
  top: 50px;
  width: 50px;
  height: 50px;
  background-color: #fff;
  font-size: 20px;
  border: none;
  outline: none;
  cursor: pointer;
  box-shadow: 0 0 5px rgba(0,0,0,0.2);
}
.close-button {
  position: fixed;
  top: 50px;
  width: 50px;
  height: 50px;
  background-color: #fff;
  font-size: 20px;
  border: none;
  outline: none;
  cursor: pointer;
  box-shadow: 0 0 5px rgba(0,0,0,0.2);
}
.menu-button {
  right: 0px;
  z-index: 102;
}
.close-button {
  left: -50px;
  z-index: 100;
}

.menu-toggle {
  cursor: pointer;
  width: 40px;
}


.hamburger {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px; /* Gap between lines */
}
.hamburger span {
  display: block;
  width: 100%;
  height: 4px; /* Thickness of the hamburger lines */
  background-color: #fff; /* Color of the hamburger lines */
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.menu-toggle.active .hamburger span {
  background-color: #567a68;
}
.menu-toggle.active .hamburger span:nth-child(1) {
  transform: translateY(11px) rotate(45deg);
}

.menu-toggle.active .hamburger span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active .hamburger span:nth-child(3) {
  transform: translateY(-11px) rotate(-45deg);
}


body.dark {
  background: #242424 !important;
  color: #fff;
}

body.light .accordion-button {
  color: #000;
}
body.light .accordion-button:not(.collapsed) {
  color: #000;
}
.icon-container {
  position: fixed;
  bottom: 80px;
  right: 18px;
  z-index: 99999;
}

.whatsapp {
  cursor: pointer;
  display: flex;
  align-items: center;
}

.whatsapp img {
  width: 50px;
  height: 50px;
}

.extra-icons {
  position: absolute;
  bottom: 60px; /* Start just above the WhatsApp icon */
  right: 5px; /* Align exactly above the WhatsApp icon */
  display: flex;
  flex-direction: column;
  align-items: flex-end; /* Align the icons to the right */
  gap: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.icon-container.active .extra-icons {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.icon-container.active .extra-icons .icon {
  display: flex;
  align-items: center;
  gap: 10px;
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.icon-container.active .extra-icons .icon img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

.icon-container.active .extra-icons .icon span.text {
  font-size: 14px;
  color: #333;
  white-space: nowrap; /* Prevent text from wrapping */
  background: rgba(0, 0, 0, 0.6); /* Optional: Add a background for better readability */
  color: white; /* Optional: Text color */
  padding: 4px 8px;
  border-radius: 4px;
  margin-right: 10px; /* Keep spacing between text and icon */
  text-align: right; /* Ensure text aligns properly */
}

.icon-container.active .icon:nth-child(1) {
  transform: translateY(-50px);
  transition-delay: 0.1s;
}

.icon-container.active .icon:nth-child(2) {
  transform: translateY(-30px);
  transition-delay: 0.2s;
}



@media (prefers-color-scheme: dark) {
  body.dark {
    background: #242424 !important;
    color: #fff;
  }

  body.dark .main-menu.navbar-nav > .nav-item > a {
    color: #fff;
  }
}

#ftco-nav {
  padding-right: 80px;
  justify-content: flex-end;
}


#notfound {
  position: relative;
  height: 100vh;
  width: 100%;
}

#notfound .notfound {
  position: absolute;
  left: 50%;
  top: 50%;
  -webkit-transform: translate(-50%, -50%);
      -ms-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
}

.notfound {
  max-width: 520px;
  width: 100%;
  line-height: 1.4;
  text-align: center;
}

.notfound .notfound-404 {
  position: relative;
  height: 240px;
}

.notfound .notfound-404 h1 {
  position: absolute;
  left: 50%;
  top: 50%;
  -webkit-transform: translate(-50%, -50%);
      -ms-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  font-size: 252px;
  font-weight: 900;
  margin: 0px;
  color: #262626;
  text-transform: uppercase;
  letter-spacing: -40px;
  margin-left: -20px;
}

.notfound .notfound-404 h1>span {
  text-shadow: -8px 0px 0px #fff;
}

.notfound .notfound-404 h3 {
  position: relative;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  color: #262626;
  margin: 0px;
  letter-spacing: 3px;
  padding-left: 6px;
}

.notfound h2 {
  font-size: 20px;
  font-weight: 400;
  text-transform: uppercase;
  color: #000;
  margin-top: 0px;
  margin-bottom: 25px;
}

@media all and (max-width: 767px) {
  .notfound .notfound-404 {
  height: 200px;
  }
  .notfound .notfound-404 h1 {
  font-size: 200px;
  }
}

@media all and (max-width: 480px) {
  .notfound .notfound-404 {
  height: 162px;
  }
  .notfound .notfound-404 h1 {
  font-size: 162px;
  height: 150px;
  line-height: 162px;
  }
  .notfound h2 {
  font-size: 16px;
  }
}

#ftco-navbar {
  position: fixed;
  top: 70px;
  width: 100%;
  transition: top 0.3s;
  z-index: 1000;
  min-height: 60px;
  padding-left: 10px;
}

#ftco-navbar a .logo {
  width: 180px;
}

.breadcrum-list {
  width: 780px;
  margin: 20px auto;
  margin-top: 200px;
}

.breadcrum-list ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.breadcrum-list ul li {
  display: inline;
  padding-left: 0;
}

.breadcrum-list ul li:not(:last-child)::after {
  content: "›";
  margin: 0 5px;
  font-size: 12px;
}

.breadcrum-list ul li a {
  text-decoration: none;
  color: #fff;
  font-size: 12px;
}
.breadcrum-list ul li:first-child a {
  padding-left: 0;
}

.breadcrum-list ul li a:hover {
  text-decoration: underline;
}


.light .breadcrum-list ul li a {
  color: #333;
}
.accordion-body {
  padding: 0;
  margin-top: 15px;
}
.accordion-item {
  background-color: transparent;
}
.accordion-button {
  background-color: transparent;
  border: none;
  border-bottom: 1px solid #ccc;
  box-shadow: none;
  color: #fff;
  font-size: 18px;
  text-transform: uppercase;
  border-radius: 0 !important;
}

.accordion-button:focus {
  box-shadow: none;
}

.accordion-button:not(.collapsed) {
  background-color: transparent;
  box-shadow: none;
}

.accordion-button::after {
  filter: invert(50%);
}

.accordion-item {
  background-color: transparent;
  border: none;
}

.accordion-item:not(:last-of-type) .accordion-button {
  border-bottom: 1px solid #ccc;
}
.accordion-button:not(.collapsed) {
  color: #fff;
}

.banner {
  width: 100%;
  position: relative;
  height: 70vh;
  z-index: 9;
  overflow: hidden;
  margin-bottom: 20px;
}
.banner::after {
  --tw-content: "";
  content: var(--tw-content);
  width: 100%;
  height: 100vh;
  z-index: 10;
  left: 0;
  top: 0;
  position: absolute;
  background: linear-gradient(0deg, transparent, rgba(0, 0, 0, .5));
}

  .banner .banner-img {
    width: 100%;
    height: 100%;
    overflow: hidden;
  }

  .banner .banner-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

.banner .banner-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 11;
}
.banner .banner-content img {
  min-width: 400px;
}

.banner .banner-content h2 {
  font-size: 44px;
  font-weight: 900;
  text-transform: uppercase;
  color: #fff;
  text-align: center;
}

.banner .banner-content h3 {
  font-size: 20px;
  font-weight: 400;
  color: #fff;
}

@media all and (width >= 768px) {
	body {
		font-size: 1.125rem;
	}

	.tabs-container {
		padding: 4rem;
	}

	.tabs label {
		order: 1;
		width: 49%;
	}

	.tabs .tab {
		order: 9;
    overflow-y: auto;
    max-height: 500px;
	}

	.tabs [type="radio"]:checked + label {
		border-bottom: none;
	}
}

@media all and (width >= 992px) {
	.tabs {
		width: 800px;
	}
}

@media all and (width <= 780px) {
  #app {
    flex-direction: column;
  }

  #chart {
    width: 100%;
    height: auto !important;
  }

  #chart svg {
    width: 320px;
  }

  .chart-block, .tabs-wrapper {
    width: 100%;
  }

  .tabs > label {
    width: 49%;
    font-size: 0.8rem;
  }
}

.tiles-container {
  margin-top: 160px;
}
.tags-wrapper {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 1rem;
  margin: 20px 0;
  margin-left: 20px;
}

.tag-button {
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  color: #54a177;
  background: transparent;
  border: 2px solid #54a177;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.tag-button-active {
  color: #ffffff;
  background-color: #54a177;
}

.tag-button:hover {
  background-color: #54a177;
  color: #ffffff;
  transform: scale(1.1);
}

.tiles-wrapper {
  margin-top: 20px;
}


@media all and ( width <= 780px ) {

  .breadcrum-list {
    width: 100%;
    padding-left: 20px;
    padding-right: 20px;
    margin-top: 180px;
  }
  .navbar-brand {
    margin-right: 0 !important;
  }

  .navbar-brand img {
    width: auto;
    height: 40px;
  }

  .tabs-wrapper {
    position: relative;
    right: auto;
  }

  .chart-block{
    height: 100vh;
    border: 1px solid #ccc;
  }
  .menu-toggle {
    cursor: pointer;
    width: 30px;
    height: 20px;
    z-index: 1003;
  }
  .banner {
    width: 100%;
    position: relative;
    height: 100vh;
    z-index: 9;
    overflow: hidden;
  }
  .banner::after {
    --tw-content: "";
    content: var(--tw-content);
    width: 100%;
    height: 70vh;
    z-index: 10;
    left: 0;
    top: 0;
    position: absolute;
    background: linear-gradient(0deg, transparent, rgba(0, 0, 0, .5));
  }

  .banner .banner-img {
    width: 100%;
    height: 100%;
    overflow: hidden;
  }

  .banner .banner-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .banner .banner-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 11;
    width: 70%;
  }

  .banner .banner-content h2 {
    font-size: 32px;
    font-weight: 900;
    text-transform: uppercase;
    color: #fff;
  }

  .banner .banner-content h3 {
    font-size: 16px;
    font-weight: 400;
    color: #fff;
  }
  .accordion {
    padding-left: 20px;
    padding-right: 20px;
  }
}

.home-services {
  display: flex;
  justify-content: space-between;
}

.home-services .service {
  flex: 0 0 49%; /* Each service card takes 48% of the width */
  box-sizing: border-box;
}


header {
  background-color: #bdd8c5;
  padding: 10px;
  margin-bottom: 10px;
}

nav ul {
  display: flex;
  list-style-type: none;
  margin: 0;
  padding: 0;
  justify-content: space-around;
}

nav ul li a {
  text-decoration: none;
  color: #54a177;
  font-weight: bold;
  font-size: 15px;
}
nav ul.middle-menu {
  width: 400px;
}
nav ul.right-menu {
  align-items: center;
}
nav ul.right-menu li a img{
  width: 40px;
}

.top-menu-bar theme-toggle {
  position: relative;
  margin-left: 20px;
}

.hero {
  text-align: center;
  background-color: #bdd8c5;
  padding: 40px;
}

.hero img {
  width: 220px;
}

#home-services {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 20px;
}
#home-tiles {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 20px;
}

.service {
  display: block;
  width: calc(33.33% - 20px);
  height: 300px; /* Fixed height */
  text-decoration: none;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  padding: 0;
}

.service:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.image-block {
  position: relative;
  width: 100%;
  height: 100%; /* Ensure the image block fills the entire service block */
  background-size: cover; /* Ensures the image covers the block */
  background-position: center; /* Centers the image within the block */
  display: flex;
  align-items: flex-start; /* Align content to the top-left */
  justify-content: flex-start;
}

.content {
  display: flex;
  align-items: center;
  padding: 15px;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 5px;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  width: 100%;
}

.content .icon {
  width: 25px;
  height: 25px;
  margin-right: 10px;
}

.content .text {
  color: white;
  font-size: 22px;
  font-weight: bold;
  text-align: left;
}


/* Responsive grid for #home-tiles */
#home-tiles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
#home-tiles .service {
  width: 100%;
}
@media (max-width: 1200px) {
  #home-tiles {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 900px) {
  #home-tiles {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  #home-tiles {
    grid-template-columns: 1fr;
  }
}


@media (max-width: 1024px) {
  .service {
    width: calc(50% - 20px);
  }
}

@media (max-width: 600px) {
  .service {
    width: 100%;
  }
}

.info {
  margin: 10px;
  padding: 10px;
}

.info-header {
  background-color: #488105;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  padding: 50px;
  border-radius: 8px;
}

.info-header h3 {
  color: #fff;
  font-size: 22px;
  margin-bottom: 0;
  padding: 0;
  font-weight: 300;
}

.info-box {
  margin: 10px 0;
  border: 1px solid #ccc;
  padding: 50px;
  border-radius: 8px;
}
.info-box p {
  margin-bottom: 0;
  padding: 0;
}
.info-box.insurance {
  background-color: #bdd8c5;
  text-align: right;
  padding: 20px;
}
.info-box.insurance img {
  width: 80px;
}
.info-box.finance {
  background-color: #54a177;
  text-align: left;
}
.info-box.medical {
  background-color: #488105;
  text-align: right;
}

footer {
  text-align: center;
  padding: 10px;
  background-color: #d9f2e3;
  font-size: 0.9em;
}

.top-bar {
  background-color: #54a177;
  padding: 10px 20px;
  position: fixed;
  width: 100%;
  z-index: 1001;
}

.top-bar .top-menu-bar {
  display: flex;
  justify-content: space-between;
}

.top-bar .top-menu-bar ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 20px; 
}

.top-bar .top-menu-bar ul li {
  display: inline-block;
}

.top-bar .top-menu-bar ul li a {
  color: white;
  font-size: 13px;
  text-decoration: none;
  padding: 0;
}

.top-bar .top-menu-bar ul li a:hover {
  text-decoration: underline;
}

@media all and (max-width: 480px) {
    
  
  .tiles-container {
    margin-top: 150px;
  }
  .tags-wrapper {
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 10px 0 10px 0;
    justify-content: flex-start;
    padding-left: 20px;
  }
  .tag-button {
    font-size: 12px;
    padding: 7px 10px;
    min-width: 70px;
    margin-bottom: 6px;
  }
  .tiles-wrapper,
  .tiles-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    margin-top: 0;
    padding: 0;
  }
  .home-services, .home-tiles {
    flex-direction: column;
    
  }
  .home-services .service, .home-tiles .service {
    margin-bottom: 20px;
  }
  .home-services .service {
    flex: auto;
  }
  .banner .banner-content img {
    max-width: auto;
    min-width: auto;
  }
  nav ul.middle-menu {
    width: 100%;
  }
  nav theme-toggle {
    top: 2px;
  }
  .top-bar .top-menu-bar ul {
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
  }
  .top-bar .top-menu-bar ul.contact {
    justify-content: flex-end;
  }
}
