/**
 * CSS Lock
 * @param  float     $min-size:  1            Lowest value for the lock
 * @param  float     $max-size:  1.4          Highest value for the lock
 * @param  integer   $min-width: 20           Smallest width for lock
 * @param  integer   $max-width: 100          Largest width for lock
 * @param  string    $property:  font-size    Property to apply the lock on
 * @param  string    $unit:      px           Unit of the property to apply
 */
/**
 * Fonts
 **/
.ibm-plex-sans {
  font-family: "IBM Plex Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
}
/**
 * Colours
 **/
/**
 * CSS
 **/
/**
 * LAYOUT
 **/
/**
 * Breakpoints
 **/
h1, h2, h3, h4, h5, h6, p, ol, ul, li, table {
  color: #004D6E;
  font-family: "IBM Plex Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
}
a {
  color: inherit;
  text-decoration: none;
}
a:hover {
  color: rgba(255, 255, 255, 0.7);
  transition: linear 250ms;
}
.list p {
  color: #fff;
}
/**
 * Font sizes
 **/
h1 {
  font-size: calc(20px + (40 - 20) * (100vw - 320px) / (1920 - 320));
}
@media (max-width: 320px) {
  h1 {
    font-size: 20px;
  }
}
@media (min-width: 1920px) {
  h1 {
    font-size: 40px;
  }
}
h2 {
  font-size: calc(21px + (37 - 21) * (100vw - 320px) / (1920 - 320));
}
@media (max-width: 320px) {
  h2 {
    font-size: 21px;
  }
}
@media (min-width: 1920px) {
  h2 {
    font-size: 37px;
  }
}
h3 {
  font-size: calc(16px + (27 - 16) * (100vw - 320px) / (1920 - 320));
}
@media (max-width: 320px) {
  h3 {
    font-size: 16px;
  }
}
@media (min-width: 1920px) {
  h3 {
    font-size: 27px;
  }
}
h3 {
  font-size: calc(16px + (27 - 16) * (100vw - 320px) / (1920 - 320));
}
@media (max-width: 320px) {
  h3 {
    font-size: 16px;
  }
}
@media (min-width: 1920px) {
  h3 {
    font-size: 27px;
  }
}
p {
  line-height: 1.5;
  margin: 0.5em 0;
}
html {
  scroll-behavior: smooth;
}
:root {
  --primary-blue: #1d4e7a;
  --border-color: #c0ced9;
  --text-color: #1d4e7a;
  --font-family: "IBM Plex Sans", sans-serif;
}
.container {
  position: relative;
  width: 100%;
  max-width: 1380px;
  margin: 0 auto;
  padding: 1rem;
  box-sizing: border-box;
}
.padding {
  padding: 1rem;
}
@media (min-width: 768px) {
  .padding {
    padding: 3rem;
  }
}
@media (min-width: 960px) {
  .padding {
    padding: 5rem;
  }
}
.wpcf7-form {
  max-width: 350px;
}
.input-line {
  border-bottom: 2px solid #004D6E;
  color: #004D6E;
  display: inline-block;
  font-size: 0.9rem;
  font-weight: 500;
  margin-top: 0.5rem;
  outline: 0;
  padding: 0.75rem 0;
  width: 100%;
}
.input-line::-moz-placeholder {
  color: #004D6E;
  opacity: 1;
}
.input-line::placeholder {
  color: #004D6E;
  opacity: 1;
}
.enquiry_type {
  display: block;
  text-align: left;
}
.enquiry_type .wpcf7-list-item {
  color: #004D6E;
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 0.9rem;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
  margin: 0;
}
.enquiry_type .wpcf7-list-item.last {
  margin-left: 1rem;
}
#submit {
  background-color: #004D6E;
  background-image: url("/app/themes/vendimate/assets/img/submit.png");
  background-size: 65%;
  background-repeat: no-repeat;
  background-position: center;
  border-radius: 14px;
  border: none;
  width: 145px;
  height: 57px;
  text-indent: -9999px;
  cursor: pointer;
  margin-top: 2rem;
  padding: 1rem 2rem;
  transition: opacity 150ms linear;
}
#submit:hover {
  opacity: 0.8;
}
.wpcf7-spinner {
  display: none;
}
.wpcf7-not-valid-tip {
  font-size: 0.9em;
  text-align: left;
}
.\!underline:hover {
  color: #004D6E;
}
/* Modal Background */
.video-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9); /* Black w/ opacity */
}
/* Modal Content (Video Box) */
.modal-content {
  position: relative;
  margin: auto;
  top: 50%;
  transform: translateY(-50%);
  width: 90%;
  max-width: 80%;
}
/* Close Button */
.close-modal {
  position: absolute;
  top: 0;
  right: 20px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  z-index: 10;
}
.modal-content video {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}
header .container {
  display: flex;
  flex-direction: row;
  padding-bottom: 2.5rem;
}
/* --- Demo Section Container --- */
.demo-section {
  position: relative;
  width: 100%;
  height: auto;
  background-color: #000; /* fallback */
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}
/* Ensure video takes full width but maintains aspect ratio */
.demo-video {
  min-height: 80vh;
  max-height: 80vh;
  -o-object-fit: cover;
     object-fit: cover;
  width: 100%;
  height: auto;
  display: block;
  cursor: pointer; /* Lets user click video to pause too if desired */
}
/* --- Center Play Button (The Box) --- */
.center-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  /* Box Styling */
  background: rgba(255, 255, 255, 0.1); /* Very slight fill */
  border: 2px solid white;
  border-radius: 6px;
  padding: 12px 28px;
  /* Text Styling */
  color: white;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 1px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
  z-index: 10;
}
.center-play-btn:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translate(-50%, -50%) scale(1.05);
}
/* --- Bottom Left Controls --- */
.demo-controls {
  position: absolute;
  bottom: 30px;
  left: 20px;
  z-index: 10;
  transition: opacity 0.5s ease;
}
.demo-controls button {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 10px;
  opacity: 0.8;
  transition: opacity 0.3s;
}
.demo-controls button:hover {
  opacity: 1;
}
/* Helper Class to Hide Elements */
.hide {
  opacity: 0;
  pointer-events: none; /* Prevents clicking when hidden */
}
/* Hero Container */
.hero-container {
  position: relative;
  width: 100%;
  height: 100vh; /* Full viewport height */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}
/* Background Video Styling */
video#bgVideo {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: -2;
  transform: translateX(-50%) translateY(-50%);
  -o-object-fit: cover;
     object-fit: cover;
}
/* Optional Overlay (adds slight blue tint/darkness for readability) */
.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(30, 58, 95, 0.3); /* Slight blue tint */
  z-index: -1;
}
/* --- Sticky Header --- */
.sticky-header {
  position: fixed; /* Makes it sticky */
  top: 0;
  left: 0;
  width: 100%;
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
}
@media (min-width: 768px) {
  .sticky-header {
    padding: 20px 40px;
  }
}
/* Left: Logo Area */
.header-left .pin-logo {
  width: 200px; /* Adjust based on your image */
  height: auto;
}
/* Center: Nav Pill */
.header-center {
  flex-grow: 1;
  display: flex;
  justify-content: center;
}
.nav-pill {
  background-color: #004D6E; /* Dark Blue from screenshot */
  padding: 10px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: 25px;
}
.nav-icon img {
  width: 24px;
  height: 24px;
  display: block;
}
.nav-pill ul {
  list-style: none;
  display: flex;
  gap: 20px;
}
.nav-pill ul li a {
  text-decoration: none;
  color: white;
  font-weight: 500;
  font-size: 14px;
  transition: opacity 0.3s;
}
.nav-pill ul li a:hover {
  opacity: 0.8;
}
.header-right {
  position: absolute;
  right: 2%;
  top: 50%;
}
@media (min-width: 768px) {
  .header-right {
    top: unset;
  }
}
/* Right: Demo Button */
.header-right .btn-demo {
  border: 2px solid #004D6E;
  background-color: white;
  color: #004D6E;
  padding: 10px 20px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: bold;
  font-size: 14px;
  transition: transform 0.2s;
}
.header-right .btn-demo:hover {
  transform: translateY(-2px);
}
/* --- Center Content --- */
.center-content {
  position: relative;
  z-index: 10;
  width: 120%;
  text-align: center;
}
@media (min-width: 768px) {
  .center-content {
    width: 100%;
  }
}
.hero-logo {
  width: 100%;
  max-width: 600px;
  height: auto;
  /* Optional drop shadow for the logo image */
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.5));
}
/* --- Bottom Left Controls --- */
.video-controls {
  position: absolute;
  bottom: 30px;
  left: 20px;
  z-index: 50;
}
#playPauseBtn {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 10px;
  opacity: 0.8;
  transition: opacity 0.3s;
}
#playPauseBtn:hover {
  opacity: 1;
}
/* Style SVG icons */
#playPauseBtn svg {
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
}
.icon-marker {
  position: relative;
}
.icon-marker:before {
  content: "";
  display: block;
  background-image: url("https://vendimate.net.au/app/themes/vendimate/assets/img/marker.png");
  background-size: cover;
  background-position: center;
  position: absolute;
  left: -95px;
  top: 15px;
  height: 23px;
  width: 16px;
}
@media (min-width: 768px) {
  .icon-marker:before {
    left: -100px;
  }
}
@media (min-width: 1410px) {
  .icon-marker:before {
    left: -133px;
  }
}
#about,
#demo,
#contact,
#services {
  scroll-margin-top: 100px;
}
#contact {
  scroll-margin-top: -500px;
}
@media (min-width: 768px) {
  #contact {
    scroll-margin-top: 100px;
  }
}
.faq {
  display: flex;
  justify-content: center;
  padding: 40px 20px;
  margin: 0;
}
.faq-container {
  width: 100%;
  max-width: 680px;
}
.faq-title {
  color: var(--primary-blue);
  text-align: center;
  font-size: 2rem;
  margin-bottom: 40px;
  font-weight: 700;
}
.faq-item {
  border-bottom: 1px solid var(--border-color);
}
.faq-item:first-of-type {
  border-top: 1px solid var(--border-color);
}
.faq-question {
  width: 100%;
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  outline: none;
  transition: 0.3s;
}
.faq-question h3 {
  margin: 0;
  color: var(--primary-blue);
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.4;
  padding-right: 20px;
}
/* The Chevron Icon */
.icon {
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}
.icon svg {
  fill: none;
  stroke: var(--primary-blue);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.play-icon svg,
.pause-icon svg {
  stroke: #fff;
}
/* Content Area */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  background-color: transparent;
}
.faq-answer-content {
  padding-bottom: 20px;
  color: var(--text-color);
  line-height: 1.6;
  font-size: 1rem;
}
/* Active State */
.faq-item.active .icon {
  transform: rotate(180deg);
}
.faq-item.active .faq-answer {
  max-height: 500px; /* Adjust if content is very long */
}
