body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #ffffff;
    /* 60% white */
    color: #000000;
    /* Black text */
}

header {
    background-color: #ff4930;
    /* 30% red */
    color: #ffffff;
    /* White text */
    padding: 10px;
    /* to make sticky at the top */
    top: 0px;
    align-content: flex-start;
    max-height: 5%;
    position: sticky;
    z-index: 1;
    width: 97%;
}

nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

nav ul li {
    display: inline;
    margin-right: 20px;
}

nav ul li a {
    color: #ffffff;
    text-decoration: none;
}

.flex-headercontainer {
    display: flex;
    flex-basis: 100%;
    flex-wrap: wrap;
}

.flex-icon-container {
    display: flex;
    flex-wrap: wrap;
    flex-basis: 100%;
    justify-content: space-between;
}

/* Style for the Alertify Logo */
.AlertifyLogo {
    max-width: 25%;
    min-width: 175px;
    height: auto;
    border-radius: 50%;
}

/* Page DISPLAY MESSAGE e.g. About, Contact, Demo etc */
.HeadMSG {
    font-size: max(2.8vw, 21px);
    padding-right: 5%;
}

.flex-nav-container {
    display: block;
    flex-basis: 100%;
    padding-top: 5px;
    flex-wrap: wrap;
}

/* Style for the navigation items */
.nav-items {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    font-size: max(2vw, 20px);
}

/* Hover effect for the navigation items*/
.nav-items li a:hover {
    box-shadow: 0 0 10px yellow;
    font-weight: bold;
}

form {
    max-width: 500px;
    margin: 0 auto;
}

.contactForm-container {
    padding-bottom: 10%;
    padding-left: 2%;
    padding-right: 2%;
}

.form-group {
    display: flex;
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

label {
    display: block;
}

input[type="text"],
input[type="email"],
textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ff4930;
    border-radius: 5px;
    box-sizing: border-box;
    margin-top: 5px;
}

.form-group textarea {
    height: 100px;
    /* resize: vertical; */
}

.form-group input[type="checkbox"] {
    margin-right: 10px;
}

  #emailButton {
    background-color: #f0f0f0;   /* light gray */
    color: #000;                 /* black text */
    border: 1px solid #ccc;      /* subtle border */
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 5px;          /* slightly rounded like system buttons */
    cursor: pointer;
    transition: background-color 0.2s, transform 0.1s;
  }

button[type="button"]:hover {
    box-shadow: 0 0 10px rgb(238, 47, 47);
    font-weight: bold;
}

  #emailAddress {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-left: 12px;
    font-family: sans-serif;
    font-size: 25px;
    padding: 6px 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    transition: all 0.3s ease;
    cursor: pointer;
  }

  #emailAddress:hover {
        box-shadow: 0 0 10px rgb(238, 47, 47);
        font-weight: bold;
    }    

    .copy-icon {
       cursor: pointer;
      font-size: 1.1em;
      -webkit-user-select: none; /* Safari (iOS and macOS) */
      -ms-user-select: none;     /* IE10+ */
      user-select: none;
    }


    .tooltip {
      margin-left: 8px;
      font-size: 0.9em;
      color: green;
      visibility: hidden;
    }

button[type="submit"] {
    background-color: #fb3b04;
    color: #ffffff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}

button[type="submit"]:hover {
    box-shadow: 0 0 10px yellow;
    font-weight: bold;
}

button[type="submit"]:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
}

.hidden {
    display: none;
}

#confirmationMessage {
    margin-top: 20px;
    color: rgb(243, 42, 11);
    font-size: max(3vw, 18px);
    font-weight: bold;
}

/*  main image code text/image */
.top-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
  /*  padding: 0 1rem;  Base padding for mobile */
}

.flex-content {
    flex: 1;
    /* padding: 1px; */
    padding: 0 1rem; /* Base padding for mobile */
    font-size: max(2.2vw, 18px);
}

.main-image {
    flex: 1;
    /* padding: 20px; */
    padding: 0 0.1rem; /* Base padding for mobile */
}

.main-image img {
    max-width: 100%;
    height: auto;
}

/* Feature images */
.features-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.features-item {
    flex: 1;
    padding: 20px;
    font-size: 3vw;
    align-self: flex-start;
    flex-wrap: wrap;
    min-width: 200px;
}

.features-item img {
    max-width: 90%;
    height: auto;
}

.features-text {
    margin-top: 10px;
    font-weight: bold;
    font-size: max(3vw, 22px);
}



.thumbnail-container {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

.thumbnail-wrapper {
  position: relative;
  display: inline-block;
}

.video-thumbnail {
  width: 234px;
  height: 416px;
  object-fit: cover;
  border-radius: 12px;
  display: block;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-thumbnail:hover {
  transform: scale(1.03);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 48px;
  color: white;
  background-color: rgba(0, 0, 0, 0.6);
  border-radius: 50%;
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none; /* ensures click passes through to the link */
}

.video-thumbnail-link {
  text-decoration: none;
}





/* Style for the details text box */
.details-textbox {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    padding: 1px;
    background-color: none;
    border: none;
    font-size: max(2vw, 18px);
    line-height: 1.3;
    box-sizing: border-box;
    word-wrap: break-word;
}

/* Terms and Conditions */
.TCs-container {
    padding: 2%;
    word-wrap: break-word;
}


/* Style for the footer */
footer {
    /* background-color: #f4f4f4; */
    background-color: #f8ef74;
    padding-bottom: 5px;
    text-align: center;
}

/* Style for the link */
footer a {
    color: #007bff;
    /* Blue color for the link */
    text-decoration: none;
    /* Remove underline from the link */
}

footer a:hover {
    box-shadow: 0 0 10px yellow;
    /* font-weight: bold; */
}

/* Style for the copyright message */
footer p {
    margin: 0;
    color: #666;
    font-size: 14px;
}

/* **********  ABOUT page styling */
.accordion {
    background-color: #eee;
    color: #444;
    cursor: pointer;
    padding: 18px;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    font-size: 20px;
    font-weight: bold;
    transition: 0.4s;
}

.active,
.accordion:hover {
    /* background-color: #ccc;  */
    background-color: #f4f8c5;
}

.panel {
    padding: 0 18px;
    display: none;
    background-color: white;
    overflow: hidden;
    font-size: 18px;
}
