body, html { 
	margin: 0; 
	padding: 0; 
	font-family: sans-serif; 
	scroll-behavior: smooth;
    align-items: center;
    line-height: 1.5;
    font-family: 'Verdana', sans-serif;
}

h2 { 
    font-size: 36px;
    margin-top: 0px
    margin-bottom: -10px;
    color: rgba(45, 90, 135, 0.9);
    margin-top: 0px;
}

h3 { 
    color: rgba(45, 90, 135, 0.9);
    font-size: 24px;
    margin-top: 0px;
    margin-bottom: 0px; 
}

h4 { 
    color: rgba(45, 90, 135, 0.9);
    font-size: 20px;
    margin-top: 20px;
    margin-bottom: -10px; 
}

#intro { 
	position: relative; 
	height: 100vh; 
	overflow: hidden; 
}

#bg-video {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  min-width: 100%; min-height: 100%;
  object-fit: cover;
  z-index: -4;
}

#intro #bg-image {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  min-width: 100%; min-height: 100%;
  object-fit: cover;
  z-index: -1;
}

#overlay {
  position:absolute; top:0; left:0; width:100%; height:100%;
  background:rgba(0,0,0,1);
  pointer-events:none;
  z-index: 1;
}

#intro img {
  z-index: -1;
  position:relative; 
  opacity: 1; 
  max-width: 40%;
}

#intro #intro-content {
  position: absolute;
  top: 42%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: opacity 0.75s ease;
  max-width: 600px;
  width: 80vw;
  text-align: center;
  z-index: 2;
  pointer-events: none;
}

#intro #intro-logo {
  width: 100%;
  max-width: 100%;
  height: auto;
  transition: opacity 0.3s ease;
  opacity: 1;
}

#intro h1 {
  font-size: clamp(1.5rem, 5.2vw, 2.5rem);
  margin-top: -3em;
  color: #fff;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  line-height: 1.3;
}

#intro.loaded img, #intro.loaded h1 { 
	opacity:1;
}

.flag { 
	position: relative; 
	cursor: pointer; 
}

.dropdown { 
	position: absolute; 
	right: 0; top: 100%; 
	background: #222; 
	display: none; 
}

.dropdown.show { 
	display: block; 
}

.dropdown img { 
	width: 24px; 
	margin: .5rem; 
	cursor: pointer; 
}

section {  
    padding: 20px clamp(6vw, 20px, 80px);
    scroll-margin-top: 60px;
    margin-top: 0px;
}

.target {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    position: absolute;
    cursor: pointer;
	will-change: transform;
    transition: transform 0.3s ease, opacity 0.3s ease;
	z-index: 0;
}

.score-float {
    position: fixed;
    font-size: 45px;
	font-weight: bold;
    color: #cf1241;
    pointer-events: none;
    opacity: 0;
	text-shadow:
	  -2px -2px 0 #000,
	   2px -2px 0 #000,
	  -2px  2px 0 #000,
	   2px  2px 0 #000;
}




header {
  background-color: rgba(22, 22, 22, 0.97);
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 10;
}

.header-container {
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
}

.header-left {
  font-size: 28px;
    text-decoration: none;
  font-weight: bold;
  cursor: pointer;
  color: #fff;
}

.header-right {
  display: flex;
  font-size: 14px;
  gap: 32px;
}

.header-right a {
  text-decoration: none;
  color: #ddd;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #ddd;
  will-change: transform;
  transform: translateZ(0);
  z-index: 11;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  background-color: rgba(33, 33, 33, 0.95);
  padding: 10px 20px;
}

.mobile-menu a {
  padding: 8px 0;
  text-decoration: none;
  color: #ddd;
  border-top: 1px solid #555555;
}

.mobile-sub-link {
  display: block;
  padding-left: 20px !important;
  font-size: 14px;
  opacity: 0.85;
}

@media (max-width: 920px) {
  .header-right {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .mobile-menu.show {
    display: flex;
  }
}

header h1 {
    font-size: 24px;
    margin: 0;
}

header::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 10px;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), transparent);
    pointer-events: none;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
    max-width: 100%;
}

nav ul li {
    display: inline;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 16px;
}

.dropdown {
  position: relative;
}

.header-right .dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-toggle {
  padding: 0;
  margin: 0;
  line-height: 1;
  vertical-align: middle;
  display: flex;
  align-items: center;
  gap: 6px;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: rgba(33, 33, 33, 0.95);
  padding: 10px 0;
  min-width: 220px;
  z-index: 20;
  flex-direction: column;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.dropdown-menu a {
  color: #ddd;
  text-decoration: none;
  padding: 8px 20px;
  display: block;
}

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

.header-right, .header-container {
  padding-top: 0;
  margin-top: 0;
  align-items: center;
}

/* Mobile dropdown styling */
.mobile-dropdown {
  display: flex;
  flex-direction: column;
}

.mobile-dropdown-toggle {
  color: #ddd;
  text-decoration: none;
  padding: 8px 0;
  cursor: pointer;
}

.mobile-dropdown-menu {
  display: none;
  flex-direction: column;
  padding-left: 16px;
}

.mobile-dropdown-menu a {
  padding: 6px 0;
  font-size: 14px;
  color: #ccc;
  border: none;
}

/* Show on click */
.mobile-dropdown.show .mobile-dropdown-menu {
  display: flex;
}




#scrollIndicator {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%)  translateZ(0);
  text-align: center;
  color: white;
  font-size: 1.4rem;
  z-index: 20;
  animation: fadeSine 2s infinite ease-in-out;
  transition: opacity 0.1s;
  pointer-events: none;
  will-change: transform;
  z-index: 11;
}

@keyframes fadeSine {
  0%   { opacity: 0.4; }
  50%  { opacity: 0.8; }
  100% { opacity: 0.4; }
}

#scrollIndicator .arrow {
  width: 0;
  height: 0;
  margin: 0.5rem auto 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 12px solid white;
}

#scrollIndicator.hidden {
  opacity: 0 !important;
  pointer-events: none;
  animation: none;
}



.video-carousel {
  position: relative;
  overflow: hidden;
  width: 100%;
}

.carousel-track {
  display: flex;
  transition: transform 0.3s ease-in-out;
  width: 100%;
}

.carousel-item {
  flex: 0 0 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding: 10px;
  position: relative; /* Needed to position arrows relative to this */
  overflow: visible;
}

.carousel-item video {
  width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
  object-fit: contain;
}

/* Arrow styling */
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 50px;
  height: 50px;
  background-color: rgba(173, 200, 230, 0.7);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.carousel-arrow:hover {
  background-color: rgba(173, 200, 230, 0.9);
  transform: translateY(-50%) scale(1.2);
}

.carousel-arrow.left {
  left: -30px;
}

.carousel-arrow.right {
  right: -30px;
}

/* White triangle arrows */
.carousel-arrow::before {
  content: '';
  display: inline-block;
  width: 0;
  height: 0;
  border-style: solid;
}

.carousel-arrow.left::before {
  border-width: 10px 14px 10px 0;
  border-color: transparent white transparent transparent;
}

.carousel-arrow.right::before {
  border-width: 10px 0 10px 14px;
  border-color: transparent transparent transparent white;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  margin-top: -10px;
  padding-bottom: 10px;
}

.carousel-dots .dot {
  width: 10px;
  height: 10px;
  margin: 0 6px;
  background-color: #ccc;
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.carousel-dots .dot.active {
  background-color: #333;
}


#timer-container {
  position: absolute;
  width: 100px;
  height: 100px;
  pointer-events: none;
}

#timer-image {
  width: 100%;
  height: 100%;
  mask: url(#timer-mask);
  -webkit-mask: url(#timer-mask);
}

#timer-mask circle {
  transform: scale(-1, 1) rotate(-60deg);
  transform-origin: 50% 50%;
  stroke-linecap: round;
}




.form-container {
  background-color: #fff;
  padding: 15px;
  font-family: Verdana, sans-serif;
  text-align: center;
  width: 100%;
  margin-top: 30px;
  border-radius: 12px; 
  border: 1px solid #ccc;
  box-sizing: border-box;
}

.form-text {
  font-size: 18px;
  margin-bottom: 20px;
}

.flex-form {
  display: flex;
  gap: 10px;
  max-width: 680px;
  margin: 0 auto;
  align-items: stretch;
  flex-wrap: wrap;
  justify-content: center;
}

.flex-form input[type="text"],
.flex-form input[type="email"] {
  flex: 1 1 200px;
  min-width: 200px;
  padding: 10px 12px;
  height: 44px;
  border-radius: 8px;
  border: 1px solid #ccc;
  box-sizing: border-box;
}

.flex-form button {
  background-color: rgba(45, 90, 135, 0.9);
  color: white;
  padding: 0 20px;
  height: 44px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  flex: 0 0 auto;
  box-sizing: border-box;
  font-family: Verdana, sans-serif;
}

@media (max-width: 720px) {
  .flex-form {
    align-items: center;
  }
  .flex-form input[type="text"],
  .flex-form input[type="email"],
  .flex-form button {
    width: 100%;
    max-width: 300px;
  }
}

@container (max-width: 820px) {
  .video-block {
    order: 1; /* Stacked layout */
  }
}

@container (min-width: 820px) {
  .video-block {
    order: 0; /* Side-by-side layout */
  }
}

@media (max-width: 752px) {
  .reverse-order .text-block {
    order: 0;
  }
  .reverse-order .image-block {
    order: 1;
  }
}

@media (min-width: 753px) {
  .reverse-order .text-block {
    order: 1;
  }
  .reverse-order .image-block {
    order: 0;
  }
}


  #faq details {
    margin-bottom: 16px;
    border-radius: 8px;
    background-color: #f5f5f5;
    padding: 16px;
    transition: background-color 0.3s ease;
    cursor: pointer;
    border: 1px solid #ddd;
  }

  #faq summary {
    font-weight: bold;
    font-size: 1.1rem;
    list-style: none;
    outline: none;
  }

  #faq summary::-webkit-details-marker {
    display: none;
  }

  #faq details[open] {
    background-color: #eaeaea;
  }

  #faq details p {
    margin-top: 12px;
    margin-bottom: 0;
  }





/* Reuse .dropdown-menu style */
.lang-dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 8px;
}

.lang-flag {
  width: 20px;
  height: 14px;
  object-fit: cover;
}

.lang-flag-large {
  width: 26px;
  height: 18px;
  object-fit: cover;
  color: #fff;
}

.lang-dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-left: 20px; /* Remove this if inherited */
  text-align: left;
}

.lang-dropdown-menu {
  padding: 0px 0;
}

.lang-flag {
  width: 20px;
  height: 14px;
  object-fit: cover;
}

.language-dropdown .dropdown-menu {
  right: 0;
  left: auto;
  transform: translateX(0);
  max-width: 100vw;
  box-sizing: border-box;
  overflow-x: hidden;
}

.lang-flag-large {
  vertical-align: middle;
  display: inline-block;
}

#current-lang-btn {
  background: transparent;
  border: none;
  box-shadow: none;
  outline: none;
  padding: 0;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  color: #fff;
}

.mobile-sub-link-title {
  padding-left: 20px;
  font-weight: bold;
  display: block;
}


  .arrow {
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 12px solid white;
    margin-right: 20px;
  }
  .endorsement-item {
    display: flex;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid rgba(255,255,255,0.2);
  }



.gq-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: 9999;
}

.gq-overlay.visible {
  opacity: 1;
}

.gq-popup {
  position: relative;
  background: rgba(20, 20, 20, 0.95);
  padding: 2rem;
  border-radius: 12px;
  max-width: 500px;
  text-align: center;
  color: white;
  font-size: 1.5rem;
}

.gq-popup button {
  margin-top: 1rem;
  padding: 0.5rem 1rem;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  border-radius: 6px;
  background: #0077ff;
  color: white;
  transition: background 0.3s;
}

.gq-popup button:hover {
  background: #005fcc;
}

.gq-close {
  position: absolute;
  top: 0.5rem;
  right: 0.75rem;
  font-size: 1.5rem;
  cursor: pointer;
}

