﻿:root {
--blue: #0070c0;
/*--dark: #002060;*/
--dark: #263340;
--light: #f6f8f6;
/*--accent: #8fd694;*/
--accent: #0070c0;
}

* { box-sizing: border-box; }

html,body {
	height: 100%;
	-webkit-text-size-adjust: 100%;
}

body {
margin: 0;
font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
font-size: clamp(16px, 1.1vw, 18px);
color: #222;
background: var(--light);
line-height: 1.6;
display: flex;
flex-direction: column;
}

/* Cookie banner */
#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #222;
  color: #fff;
  padding: 12px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  z-index: 1000;
}

#cookie-banner a {
  color: #9fd3ff;
  text-decoration: underline;
  cursor: pointer;
}

#cookie-banner button {
  background: var(--blue);
  color: #fff;
  border: none;
  padding: 6px 12px;
  cursor: pointer;
  font-weight: bold;
  border-radius: 3px;
}

#cookie-banner button:hover {
  background:#444;
}

/* Modal overlay */
#cookie-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
}

#tc-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
}

/* Modal box */
.cookie-modal-content {
  background: #fff;
  width: 90%;
  max-width: 800px;
  height: 80vh;
  position: relative;
  border-radius: 6px;
  overflow: hidden;
}

/* Close button */
.cookie-modal-close {
  position: absolute;
  top: 8px;
  right: 12px;
  background: none;
  border: none;
  font-size: 26px;
  cursor: pointer;
  z-index: 10;
}

.cookie-modal-close:hover {
  background: #444;
}

/* iframe */
.cookie-modal-content iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Modal footer */
.cookie-modal-footer {
  padding: 10px;
  text-align: right;
  border-top: 1px solid #ddd;
  background: #f5f5f5;
}

.cookie-modal-close-btn {
  background: var(--blue);
  color: #fff;
  border: none;
  padding: 6px 14px;
  cursor: pointer;
  border-radius: 3px;
  font-size: 14px;
}

/*
display: inline-block;
margin-top: 2rem;

color: white;
padding: 0.75rem 1.5rem;
border-radius: 6px;
text-decoration: none;
font-weight: 600;

*/

.cookie-modal-close-btn:hover {
  background: #444;
}

/* Reduce iframe height to make space */
.cookie-modal-content iframe {
  height: calc(100% - 46px);
}

.tc-modal-content iframe {
  height: calc(100% - 46px);
}


.container {
max-width: 1200px;
margin: auto;
padding: 0 1.5rem;
}

header {
background: white;
border-bottom: 1px solid #e5e5e5;
}

.header-cta {
  position: absolute;
  top: 15px;       /* adjust as needed */
  right: 20px;     /* adjust as needed */
  background: #0070c0;   /* dark blue, change to match branding */
  padding: 10px 15px;
  border-radius: 5px;
  transition: all 0.3s ease;
  cursor: pointer;
  opacity: 0.8;
}

.header-cta:hover {
  opacity: 1;
  transform: scale(1.05);
}

.header-cta .email-link {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
}

.header-cta .email-link:hover {
  text-decoration: underline;
}

.nav {
display: flex;
align-items: center;
justify-content: space-between;
padding: 1rem 0;
}

.email-link {
  color: #0070c0;
  text-decoration: none;
  font-weight: bold;
}

.email-link:hover {
  text-decoration: underline;
}


.logo img {
  border-width: 0px;
	height: 120px;              /* Desktop default */
    width: auto;
    transition: height 0.3s ease;
    margin-left:4%;
}

.slideshow {
  position: relative;
  max-width: 100%;
  padding-top: 65%; /* aspect ratio */
  overflow: hidden;
  border-radius: 8px;
}

.slideshow img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.slideshow img.active {
  opacity: 1;
}

.slideshow::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.15),
    rgba(0,0,0,0.25)
  );
  pointer-events: none;
}

/* Tablet */
@media (max-width: 1024px) {
  .logo img {
    height: 100px;
  }

.header-cta {
  position: absolute;
  top: 15px;       /* adjust as needed */
  right: 40%;     /* adjust as needed */

  padding: 5px 10px;
  border-radius: 5px;
}
}

/* Mobile */
@media (max-width: 768px) {
  .logo img {
    height: 70px;
    }
  .slideshow {
    padding-top: 75%;
  }

.header-cta {
  position: absolute;
  top: 15px;       /* adjust as needed */
  right: 50%;     /* adjust as needed */

  padding: 5px 5px;
  border-radius: 5px;
}

}

/* Small mobile / portrait */
@media (max-width: 480px) {
  .logo img {
    height: 50px;
  }
}

/*ul.a {
list-style-type: circle;
}*/

nav ul {
list-style: none;
margin: 0;
padding: 0;
display: flex;
}

nav li {
position: relative;
}

nav a {
display: block;
padding: 0.75rem 1.2rem;
text-decoration: none;
color: var(--dark);
font-weight: 500;

transition: background 0.3s ease, color 0.3s ease; /* Smooth transition */
}

nav a:hover {
  background: var(--blue);   /* Highlight background on hover */
  color: white;               /* Change text color on hover */
  border-radius: 4px;         /* Optional: rounded corners */
}

nav li:hover > ul {
display: block;
}

nav ul ul {
display: none;
position: absolute;
top: 100%;
left: 0;
background: white;
border: 1px solid #e5e5e5;
min-width: 200px;
z-index: 10;
}

nav ul ul a {
padding: 0.75rem 1rem;
}

/* Optional: Hover effect for submenu links */
nav ul ul a:hover {
  background: var(--accent);
  color: white;
}

.hero {
background: linear-gradient(135deg, #ffffff, #eef5ee);
padding: 5rem 0;
}

.hero h1 {
font-size: 3rem;
margin-bottom: 1rem;
color: var(--dark);
}

.hero p {
font-size: 1.1rem;
max-width: 700px;
}

/* =========================================================
   HERO BACKGROUND SLIDER (3 IMAGES)


.hero-slider {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: white;
}

/* Slides
.hero-slider .slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  animation: heroFade 30s infinite;
}

/* Individual images
.slide-1 {
  background-image: url("../images/hero-1.png");
  animation-delay: 0s;
}

.slide-2 {
  background-image: url("../images/hero-2.png");
  animation-delay: 10s;
}

.slide-3 {
  background-image: url("../images/hero-3.png");
  animation-delay: 20s;
}

/* Fade animation
@keyframes heroFade {
  0%   { opacity: 0; }
  10%  { opacity: 1; }
  30%  { opacity: 1; }
  40%  { opacity: 0; }
  100% { opacity: 0; }
}

/* Overlay for text readability
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(31, 42, 31, 0.6);
  z-index: 1;
}

/* Content above slider
.hero-content {
  position: relative;
  z-index: 2;
}

.hero-slider h1,
.hero-slider p {
  color: white;
}

========================================================= */

.btn {
display: inline-block;
margin-top: 2rem;
background: var(--blue);
color: white;
padding: 0.75rem 1.5rem;
border-radius: 6px;
text-decoration: none;
font-weight: 600;
}

.btn:hover {
  background: #444;
}

section {
padding: 4rem 0;
  flex: 1;
}

section h2 {
font-size: 2.2rem;
margin-bottom: 1.5rem;
color: var(--dark);
}

.cards {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 2rem;
}

.card {
background: white;
padding: 2rem;
border-radius: 12px;
box-shadow: 0 10px 25px rgba(0,0,0,0.05);
position: relative;
overflow: visible; /* allow expansion outside */
}

/* =========================================================
   EXPANDABLE LIST (EXPLICIT CLASSES)
========================================================= */

.expand-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
}

.expand-list li {
  border-bottom: 1px solid #e5e5e5;
  padding: 0.5rem 0;
}

/* Button wrapper */
.expand-toggle {
  all: unset;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  font-weight: 600;
  color: var(--dark);
}

/* Text label */
.expand-label {
  flex: 1;
  padding-left: 1.5rem;
  position: relative;
}

/* Custom bullet */
.expand-label::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--green);
  font-size: 1.2rem;
}

/* + / − icon */
.expand-icon {
  font-size: 1.5rem;
  line-height: 1;
  color: var(--green);
  margin-left: 1rem;
  transition: transform 0.2s ease;
}

/* Expandable content */
/* =========================================================
   EXPANDABLE LIST – OVERLAY MODE
========================================================= */

.expand-content {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: white;
  border-radius: 8px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.15);
  padding: 1rem 1.5rem;
  margin-top: 0.5rem;

  max-height: 0;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;

  transition:
    max-height 0.3s ease,
    opacity 0.2s ease;

  z-index: 5;
}

.expand-content p {
  margin: 0.5rem 0 1rem;
  color: #444;
  font-size: 0.95rem;
}

/* Expanded state */
.expand-list li {
  position: relative;
}

/* Expanded */
.expand-list li.active .expand-content {
  max-height: 220px;      /* adjust as needed */
  overflow-y: auto;       /* 👈 scroll bar */
  opacity: 1;
  pointer-events: auto;
}

.expand-list li.active .expand-icon {
  transform: rotate(45deg); /* visual minus */
}

.expand-content::-webkit-scrollbar {
  width: 6px;
}

.expand-content::-webkit-scrollbar-thumb {
  background: var(--blue);
  border-radius: 3px;
}

footer {
background: var(--dark);
color: #ccc;
padding: 1.0rem 0; /*height of bottom*/

}

/*footer a { color: #ccc; text-decoration: none; }*/

footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
}

footer .container a {
  color: #ccc; /* Adjust the link color as needed */
  text-decoration: none;
}

footer .container a:hover {
  text-decoration: underline; /* Optional: add hover effect */
}

.site-nav {
  position: relative;
}

.menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.menu li {
  position: relative;
}

.menu a {
  display: block;
  padding: 0.75rem 1.2rem;
  text-decoration: none;
  color: var(--dark);
  font-weight: 500;
}

.dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  border: 1px solid #e5e5e5;
  min-width: 200px;
  z-index: 10;
}

.has-dropdown:hover .dropdown {
  display: block;
}

/* Hide checkbox + icon on desktop */
#menu-toggle,
.menu-icon {
  display: none;
}

.contact-form {
  max-width: 600px;
}

.contact-form label {
  display: block;
  margin-bottom: 1.25rem;
  font-weight: 500;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.6rem;
  margin-top: 0.4rem;
  font-family: inherit;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 4px;
}

@media (max-width: 800px) {
nav ul { flex-direction: column; }
.hero h1 { font-size: 2.2rem; }
}

@media (max-width: 768px) {

  body {
    font-size: 18px;
  }

  h1 {
    font-size: 2.2rem;
    line-height: 1.2;
  }

  h2 {
    font-size: 1.8rem;
  }

  h3 {
    font-size: 1.3rem;
  }

  p, li {
    font-size: 1.05rem;
  }

  nav a {
    font-size: 1.1rem;
}

@media (max-width: 480px) {

  body {
    font-size: 20px;
  }

  h1 {
    font-size: 2.4rem;
  }

  h2 {
    font-size: 2rem;
  }

  h3 {
    font-size: 1.4rem;
  }

  p, li {
    font-size: 1.1rem;
    line-height: 1.7;
  }

  nav a {
    font-size: 1.15rem;
  }
}

