:root {
  /* Colors */
  --dark: 17, 17, 17;
  --light: 255, 255, 255;
  --alpha: 0.2;
  --primary: #558382;
  --secondary: #f4f4f4;
  --text-dark: rgb(var(--dark));
  --text-light: rgb(var(--light));

  /* Shadow */
  --shadow-color: rgba(var(--dark-rgb), var(--alpha));
  --shadow: 0 0.25rem 0.5rem var(--shadow-color);

  /* Spacing */
  --unit: 1rem;
  --half: calc(var(--unit) / 2);
  --double: calc(var(--unit) * 2);
  --zero: 0;

  /* Typography */
  --font: 'Arial', sans-serif;

  /* Transition */
  --transition: all 0.3s ease;
}

/* Global Reset */
* {
  margin: var(--zero);
  padding: var(--zero);
  box-sizing: border-box;
}
html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  /* Prevent scrollbars on the body */
  display: block;
  touch-action: none;
}

#app,
main
{
  height: 100%;
  width: 100%;
  position: absolute;
  overflow: hidden;
  padding: 0;
  border-radius: 0;
  left: auto;
  right: auto;
  bottom: auto;
  top: auto;
  margin: auto;
}
body {
  font-family: var(--font);
  color: var(--text);
  margin: 0px;
  padding: 0px;
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
#EasyMapRoute
{
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
}
/* HandyMap Wrapper */
#HandyMapCover {
  position: fixed;
  top: 12px;
  left: 12px;
  width: calc(100% - 24px);
  height: calc(100% - 24px);
  display: flex;
  /* grid-template-columns: 1fr 2fr; */
  gap: var(--double);
  padding: var(--double);
  background: var(--primary);
  z-index: 9999;
  color: #000;
  border-radius: 1rem;
}

/* Cover and Carousel Panels */
.cover-page,
.carousal-page {
  background: #fff;
  padding: var(--double);
  border-radius: 1rem;
  box-shadow: var(--shadow);
  height: 100%;
  overflow: hidden;
  overflow-y: auto;
}

/* Cover Content */
.cover-page {
  background: transparent;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-wrap: nowrap;
  align-content: space-around;
  align-items: flex-start;
  text-align: left;
  width: 82%;
}

.cover-page img {
  max-width: 200px;
  margin-bottom: var(--unit);
}

.cover-page h2 {
  margin-bottom: var(--unit);
  font-size: 4rem;
  color: #fff;
  font-weight: bold;
  text-align: left;
}
.cover-page h4
{
  font-size: 2rem;
}
.cover-page button {
  padding: 0.75rem 1.5rem;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 0;
  cursor: pointer;
  font-size: 1rem;
  border: 1px solid #ffffff;
  margin-top: 2rem;
  transition: var(
  --transition);
}

.cover-page button:hover {
  background: var(--secondary);
  color: var(--text-dark);
}

/* Carousel Grid Layout */
.carousal-page {
  display: grid;
  grid-template-columns: repeat(3, 1fr 0fr);
  gap: var(--unit);
  background: #fff;
  overflow: hidden;
  scroll-behavior: smooth;
  padding: 0 10px 0 20px;
}


.marquee-container {
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  background: #fff;
}

.marquee-inner {
  display: flex;
  flex-direction: column;
  animation: scroll-up 20s linear infinite;
}

  @keyframes scroll-up {
      0% {
        transform: translateY(0);
      }
      100% {
        transform: translateY(-50%);
      }
    }

    /* Pause on hover */
    .marquee-container:hover .marquee-inner {
      animation-play-state: paused;
    }

/* Grid Items */
.item {
  background: var(--secondary);
  border-radius: 12px;
  overflow: hidden;
  text-align: center;
  transition: var(--transition);
  height: 550px;
}

.item img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  transition: transform 0.3s ease;
}

.item:hover img {
  transform: scale(1.05);
}

/* Full-Width Item (if needed) */
.item-100 {
  grid-column: span 4;
  width: calc(100% - 12px);
}
.fancybox-image
{
  border-radius: 1rem;

}
.partner-footer
{
  /* margin-top: auto; */
}
/* Responsive Adjustments */
@media (max-width: 768px) {
  #HandyMapCover {
    display:block !important;
    width: 100%;
    padding: 1rem;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    overflow: auto;

  }
  .partner-footer
  {
        position: absolute;
    width: 95%;
    padding: 0;
    text-align: center;
    bottom: 40px;
    left: 0;
    right: 0;
    margin: auto;
    z-index: -0;
  }
.cover-page h2{
  font-size: 1rem;
}
  .carousal-page {
    grid-template-columns: repeat(2, 1fr);
  }

  .item-100 {
    grid-column: span 2;
  }

  .cover-page,
  .carousal-page {
    display: block;
    height: 80%;
    width: 100%;
  }
}

@media (max-width: 600px) {
  .carousal-page {
    grid-template-columns: 1fr;
  }

  .item-100 {
    grid-column: span 1;
  }
}


/*animations*/
.fade-out {
  opacity: 0;
  transition: opacity 0.5s ease-out;
  pointer-events: none;
}