:root {
  /* --dark-blue: #2980b9; */
  /* --dark-blue: #1b5a84; */
  --dark-blue: #2372a7;
  --light-blue: #e0f3fc;
  --dark-gray: #555;
  --light-gray: #f1f1f1;
}

body, html {
  height: 100%;
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  /* overflow: hidden; */
}

h1, h2 {
  text-align: center;
}

h2 {
  font-size: 30px;
  font-weight: bold;
  color: var(--dark-blue);
}

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

.navbar {
    background-color: var(--light-gray);
    overflow: hidden;
    /* position: sticky; */
    position: fixed; /* Set the navbar to fixed position */
    top: 0px;
    width: 100%;
    z-index: 1000;
    display: flex; /* Use flexbox for alignment */
    justify-content: space-between; /* Space out items */
    align-items: center; /* Vertically align items */
    padding: 0 20px; /* Add some padding on the sides */
    /* border-radius: 25px; */
    opacity: 1.0;
    font-size: 18px;
}

.navbar .company-name {
    /* color: #2980b9; */
    /* color: black; */
    color: var(--dark-blue);
    font-size: 20px;
    font-weight: lighter;
    padding: 14px 0; /* Align with nav links vertically */
    float: right;
}

.navbar .company-info {
    display: flex;
    align-items: center; /* Vertically align items */
    opacity: 1.0;
}

.navbar-links {
    display: flex; /* Use flexbox for the links themselves */
}

.navbar a {
    display: block;
    /* color: black; */
    color: var(--dark-blue);
    /* color: #2980b9; */
    text-align: center;
    padding: 14px 20px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

/* Create a right-aligned (split) link inside the navigation bar */
/* .navbar a.split {
  float: right;
  background-color: #04AA6D;
  color: white;
} */

/* Add responsiveness - will automatically display the navbar vertically instead of horizontally on screens less than 500 pixels */
@media screen and (max-width: 500px) {
  .navbar a {
    float: none;
    display: block;
  }
}

.navbar a:hover {
    background-color: var(--light-blue); /* #6b94c0; */
}

.page-content {
    /* padding: 20px;
    margin: 15px; */
    background-color: white;
    /* border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); */
}

.hero-image {
    margin-top: 50px;
    background-image: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1)), url("img/hero-image4.webp");
    /* background-image: url("img/hero-image1.png"); */
    height: 50%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    object-fit: cover; /* Ensures the image covers the container */
    transform: scale(1.1); /* Start slightly zoomed in */
    animation: zoomOut 20s ease-out forwards; /* Adjust duration and easing as needed */
    overflow: hidden;
}

/* Keyframe animation for the zoom-out effect */
@keyframes zoomOut {
    from {
        transform: scale(1.1); /* Start slightly zoomed in */
    }
    to {
        transform: scale(1); /* Zoom out to original size */
    }
}


.nonhomepage-hero-image {
    margin-top: 50px;
    /* background-image: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)), url("img/hero-image4.png"); */
    height: 20%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}

.hero-text {
    text-align: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    /* background-color: #f1f1f1;
    opacity: 0.8;
    padding: 20px; */
}

.hero-text h1 {
    font-size: 64px;
    margin: 0;
    font-weight: lighter;
    color: white;
    -webkit-text-stroke: 1px black;
}

.hero-text p {
    font-size: 22px;
    margin: 10px 0;
    font-weight: lighter;
    /* -webkit-text-stroke: 1px black; */
    /* color:rgb(0, 0, 0); */
}

.hero-text button {
  border: none;
  outline: 0;
  display: inline-block;
  padding: 10px 25px;
  color: white;
  background-color: var(--dark-blue); /* #e0f3fc; */
  text-align: center;
  font-size: medium;
  cursor: pointer;
}

.hero-text button:hover {
  background-color: var(--dark-gray);
  color: white;
}

.hero-buttons {
    display: flex; /* Makes the items arrange horizontally */
    justify-content: center;
    gap: 20px;
}


.card {
  box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
  transition: 0.3s;
  width: 280px;
  height: 180px;
  padding: 20px 10px;
}

.card h3 {
    font-size: 18px;
    /* margin: 0; */
    color: var(--dark-blue); /* #b96229 */
}

.card p, .popup {
    font-weight: lighter;
    color: #555;
}

.card:hover {
  box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2);
}

.card_container {
    padding:  2px 2px;
}

/* Popup */
/* Popup container - can be anything you want */
.popup {
  position: relative;
  display: inline-block;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* The actual popup */
.popup .popuptext {
  visibility: hidden;
  width: 160px;
  background-color: #555;
  color: #fff;
  text-align: center;
  font-weight: lighter;
  border-radius: 6px;
  padding: 8px 0;
  position: absolute;
  z-index: 1;
  bottom: 125%;
  left: 50%;
  margin-left: -80px;
  font-size: 14px;
  font-weight: lighter;
}

/* Popup arrow */
.popup .popuptext::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #555 transparent transparent transparent;
}

/* Toggle this class - hide and show the popup */
.popup .show {
  visibility: visible;
  -webkit-animation: fadeIn 1s;
  animation: fadeIn 1s;
}

/* Add animation (fade in the popup) */
@-webkit-keyframes fadeIn {
  from {opacity: 0;} 
  to {opacity: 1;}
}

@keyframes fadeIn {
  from {opacity: 0;}
  to {opacity:1 ;}
}


/* Flip Card */
.flip-card {
  background-color: transparent;
  width: 300px;
  height: 200px;
  perspective: 1000px;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.6s;
  transform-style: preserve-3d;
  box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
}

.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-card-front, .flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.flip-card-front {
  background-color: var(--light-blue); /* #2980b9; */
  color: var(--dark-gray);
  /* vertical-align: middle; */
}

.flip-card-front h2 {
  color: var(--dark-blue);
  margin: 0px;
   -webkit-margin-before: 0px;
   -webkit-margin-after: 0px;
}

.flip-card-front p {
  color: #555;
  -webkit-margin-before: 0px;
  line-height: 1.0;
}

.flip-card-back {
  background-color: #bbb;
  color: black;
  transform: rotateY(180deg);
}

/* .flip-card-back:hover {
    width: 450px;
    height: 300px;
  transform: scale(1.5);
} */

/* Shop Page Specific Styles */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.product-card {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-card img {
    max-width: 100%;
    height: 150px;
    object-fit: contain;
    border-radius: 4px;
    margin-bottom: 15px;
}

.product-card h3 {
    margin-top: 0;
    color: var(--dark-blue); /*  #b96229;  */
    font-size: 1.3em;
    margin-bottom: 10px;
}

.product-card .price {
    font-size: 1.2em;
    color: var(--dark-blue); /* #e44d26; */
    font-weight: bold;
    margin-bottom: 15px;
}

.add-to-cart-btn {
    background-color: var(--dark-blue); /* #007bff; */
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-size: large;
    margin-top: auto;
}

.add-to-cart-btn:hover {
    background-color: var(--dark-gray); /* #0056b3; */
    color: white;
}

.features-list {
    list-style-type: none;
    padding: 0;
}
.features-list ul {
  list-style-type: none; /* Remove bullets */
  padding: 0; /* Remove padding */
  margin: 0; /* Remove margins */
}


.accordion {
  background-color: var(--light-blue); /* #e0f3fc; */
  color: #444;
  cursor: pointer;
  padding: 18px;
  width: 100%;
  border: none;
  text-align: left;
  outline: none;
  font-size: 20px;
  font-weight: bolder;
  transition: 0.4s;
}

.accordion:hover {
    background-color: var(--dark-gray);
    color: white;
}

.active-accordion {
    background-color: var(--dark-blue);
    color: white;
}

.panel {
  padding: 0 18px;
  display: none;
  background-color: white;
  line-height: 1.5;
  overflow: hidden;
}

.accordion-expand-button {
  border: none;
  outline: 0;
  display: inline-block;
  padding: 10px 25px;
  color: white;
  background-color: var(--dark-blue); /* #e0f3fc; */
  text-align: center;
  cursor: pointer;
  font-size: medium;
}

.accordion-expand-button:hover {
  background-color: var(--dark-gray);
  color: white;
}


.container {
  display: flex;
  /* Optional properties for alignment and spacing: */
  justify-content: space-around; /* or flex-start, center, space-between, etc. */
  align-items: flex-start; /* or flex-start, flex-end, stretch, etc. */
  gap: 20px; /* Adds space between flex items */
}

.item {
    padding: 10px;
    /* border: 1px solid black; */
}

.footer {
    text-align: center;
    padding: 20px;
    background-color: var(--light-gray); /* rgb(238, 238, 215); 251, 251, 239 */
    position: relative;
    bottom: 0;
    /* width: 100%; */
}

.footer p {
    margin: 0;
    color: #666;
    line-height: 2.0;
    font-size: 16px;
    text-align: left;
}

a {
    color: #0056b3;
    text-decoration: underline;
}

a:hover {
    color: #003c7b;
    text-decoration: underline;
}




* {box-sizing: border-box}
/* body {font-family: Verdana, sans-serif; margin:0} */
.mySlides {display: none}
img {vertical-align: middle;}

/* Slideshow container */
.slideshow-container {
  max-width: 1000px;
  position: relative;
  margin: auto;
}

/* Next & previous buttons */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -22px;
  color: var(--dark-blue);
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
  border: none;
  outline: none;
  background-color: var(--light-gray);
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
  background-color: white; /* rgba(0,0,0,0.8); */
}

/* Caption text */
.text {
  color: #f2f2f2;
  font-size: 15px;
  padding: 8px 12px;
  position: absolute;
  bottom: 8px;
  width: 100%;
  text-align: center;
}

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* The dots/bullets/indicators */
.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active, .dot:hover {
  background-color: #717171;
}

/* Fading animation */
.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
}

/* On smaller screens, decrease text size */
@media only screen and (max-width: 300px) {
  .prev, .next,.text {font-size: 11px}
}


#overlay {
    position: fixed; /* Sit on top of the page content */
    display: none; /* Hidden by default */
    width: 100%; /* Full width (cover the whole page) */
    height: 100%; /* Full height (cover the whole page) */
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.5); /* Black background with opacity */
    z-index: 2; /* Specify a stack order in case you're using a different order for other elements */
    cursor: pointer; /* Add a pointer on hover */
}

#overlay-content{
    position: absolute;
    top: 50%;
    left: 50%;
    font-size: 20px;
    color: white;
    transform: translate(-50%,-50%);
    -ms-transform: translate(-50%,-50%);
}


/* Tab Page Styles */
/* Style the tab */
.tab {
  overflow: hidden;
  border: 1px solid #ccc;
  background-color: var(--light-gray);
}

/* Style the buttons inside the tab */
.tab button {
  background-color: inherit;
  float: left;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 14px 16px;
  transition: 0.3s;
  font-size: 17px;
}

/* Change background color of buttons on hover */
.tab button:hover {
  background-color: #ddd;
}

/* Create an active/current tablink class */
.tab button.active-tab {
  background-color: #ccc;
}

/* Style the tab content */
.tabcontent {
  display: none;
  padding: 6px 12px;
  border: 1px solid #ccc;
  border-top: none;
  background-color: var(--light-blue);
}


/* Cookie Consent Banner Styles */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #333;
    color: white;
    padding: 15px;
    text-align: center;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    opacity: 0.9;
}

.cookie-banner.hidden {
    display: none;
}

.cookie-banner p {
    margin-bottom: 10px;
}

.cookie-banner .buttons button {
    background-color: #4CAF50; /* Green for Accept */
    color: white;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    margin: 0 5px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.cookie-banner .buttons button:hover {
    background-color: #45a049;
}

/* #decline-cookies {
    background-color: #f44336;
}

#decline-cookies:hover {
    background-color: #da190b;
} */

.cookie-banner p {
    margin-bottom: 10px;
}

.cookie-banner p a.cookie-policy-link {
    color: #87CEEB; /* Lighter blue for the link */
    text-decoration: underline;
    margin-left: 5px;
}

.cookie-banner p a.cookie-policy-link:hover {
    color: #ADD8E6; /* Slightly lighter on hover */
    text-decoration: none;
}

.cookie-banner .close-button {
    position: absolute;
    top: 10px;
    right: 20px;
    background: none;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
    border-radius: 7px;
}

.cookie-banner .close-button:hover {
    top: 8px;
    right: 18px;
    font-size: 24px;
    font-weight: bold;
    background-color: var(--dark-gray);
}