/* FLASK STATIC STYLINE */
/* Header Styling */
html, body {
    margin: 0;
    padding: 0;
}

.header-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: #e6e6e6;
    display: flex;
    align-items: center;
    height: 7vh;
    max-height: 10vh;
    padding: 0 1vw;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.header-container h1 {
    margin: 0;
    font-size: 2.5rem;
    flex: 1;
}

/* General Button Styling */
.nav-links a {
    text-decoration: none;
    padding: 0.5rem 0.5rem;
    font-family: lucida sans;
    border-radius: 5px;
    transition: all 0.3s ease;
    display: inline-block;
}

/* Styling for Sign Up and Sign In Buttons */
.signup-signin-button {
    background-color: #e6e6e6;
    color: #404040;
    height: 90%;
    font-family: 'Lucida Sans', Arial, sans-serif;
}

.signup-signin-button:hover {
    color: black; /* Makes the font slightly darker on hover */
}

/* Styling for Launch App Button */
.launch-button {
    background-color: #3a5c3e; /* Unique background color for Launch App */
    color: #e6e6e6;
}

.launch-button:hover {
    background-color: #527a57; /* Hover effect for Launch App background */
}

/* Positioning and Spacing for Buttons in Header */
.nav-links {
    display: flex;
    gap: 1vw; /* Adds space between all buttons */
    font-family: 'Lucida Sans', Arial, sans-serif;
}

.nav-links .launch-button {
    margin-right: 5vw; /* Positions Launch App button 5vw from the right */
}

.main-text {
    text-align: center;
    font-size: 3vw;
    font-weight: bold;
    color: black;
    font-family: 'Lucida Sans', Arial, sans-serif;
    word-wrap: break-word; /* Allows the text to wrap properly */
    white-space: normal; /* Restores normal wrapping behavior */
    overflow-wrap: anywhere; /* Ensures even long words break */
}

.main-text-2 {
    text-align: center;
    font-size: 3vw;
    font-weight: bold;
    margin-top: 3vw;
    color: black;
    font-family: 'Lucida Sans', Arial, sans-serif;
    word-wrap: break-word; /* Allows the text to wrap properly */
    white-space: normal; /* Restores normal wrapping behavior */
    overflow-wrap: anywhere; /* Ensures even long words break */
}

/* Main Section Background */
main {
    background-color: #c7c7c7;
    color: black;
    padding: 1vh 0;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
}

/* Image Styling */
.image-container {
    margin: 2rem auto;
    text-align: center;
}

.image-container img {
    max-width: 80%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.3);
}

/* Footer Styling */
footer {
    padding: 1rem 0;
    background-color: #f1f1f1;
    color: #555;
    font-size: 0.9rem;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 5vh;
    max-width: 100vw;
    margin: 0 auto;
    padding: 0 5vw;
    box-sizing: border-box;
}

.footer-left {
    width: 30vw;
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* align everything left */
    justify-content: center;
    gap: 0.5em; /* adds spacing between text and links */
    flex-shrink: 0;
}

.footer-center,

.footer-right {
    width: 30vw;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 1em;
    flex-shrink: 0;
}

.footer-center {
    align-items: center;
    justify-content: center;
}

.footer-logo {
    height: 8vh;
    width: auto;
}

.footer-text {
    margin: 0;
    font-size: 0.9rem;
    color: #555;
}


.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1em;
}

.footer-link {
    color: #555;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #000;
    text-decoration: underline;
}

.social-icon {
    width: 24px;
    height: 24px;
    opacity: 0.85;
    transition: opacity 0.3s ease;
}

.social-icon:hover {
    opacity: 1;
    color: #8c732d;
}

/* Body Styling for Sign-In Page */
.signin-body {
    padding-top: 5vh; /* same as header height */
    font-family: "Lucida Sans", Arial, sans-serif;
    background:
        linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
        url("/static/png/StrataView Sample 1.png") no-repeat center center fixed;
    background-size: cover;
    color: white;
    text-align: center;
    height: 91vh; /* still 90vh for the body portion */
    box-sizing: border-box; /* ensures padding doesn't add extra height */
}

.signin-card {
    background-color: black;
    width: 15vw;
    margin: 0 auto;
    margin-top: 5vh;
    border-radius: 10px;
    border: 2px solid white;
    background-color: #c7c7c7;
}

/* Header Styling for Sign-In Page */
.signin-header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #e6e6e6;
    color: white;
    height: 5vh
}

.signin-header-container h1 {
    margin: 0;
    font-size: 2.5rem;
    flex: 1;
}

.signin-header-container a {
    text-decoration: none;
    color: inherit;
}

/* Form Styling for Sign-In Page */
.signin-form {
    display: inline-block;
    text-align: left;
    background-color: #333; /* Slightly darker background for form */
    padding: 20px;
}

.signin-label {
    display: block;
    margin-bottom: 10px;
}

.signin-input {
    width: 90%;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #d3d3d3; /* Light grey input boxes */
}

.signin-button {
    width: 100%;
    padding: 10px;
    background-color: #555; /* Grey button */
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.signin-button:hover {
    background-color: #666; /* Slightly lighter grey on hover */
}

.signin-backlink {
    color: #ddd;
    text-decoration: none;
    margin-top: 20px;
    display: inline-block;
}

.signin-backlink:hover {
    text-decoration: underline;
}

.signin-title {
    font-size: 2.5em;
    margin-top: 5vh
}

.contact-card {
    background-color: black;
    width: 40vw;
    margin: 0 auto;
    margin-top: 5vh;
    border-radius: 10px;
    border: 2px solid white;
    background-color: #c7c7c7;
}

.contact-form {
    display: inline-block;
    text-align: left;
    background-color: #333; /* Slightly darker background for form */
    padding: 1vw;
    width: 38vw;
}

/* Clickable logo style */
.logo-link {
    text-decoration: none;
}

/* Subscription card container */
.subscription-container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 10vw;
    margin: 10vh auto;
    flex-wrap: wrap;
}

/* Subscription card */
.subscription-card {
    width: 20vw;
    height: 50vh;
    border-radius: 20px;
    border: 2px solid white;
    font-family: 'Montserrat', sans-serif;
    background-color: #545454;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    padding: 2vh;
    text-align: center;
}

/* Plan title */
.plan-header {
    font-size: 1.8em;
    font-weight: bold;
    margin-top: 2vh;
    font-family: 'Montserrat', sans-serif;
}

/* Plan description */
.plan-details {
    font-size: 1.2em;
    margin-top: 5vh;
    margin-bottom: 5vh;
    font-family: 'Montserrat', sans-serif;
}

/* Subscribe button */
.subscribe-button {
    width: 15vw;
    height: 8vh;
    background-color: #333;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1em;
    cursor: pointer;
    margin-bottom: 5vh;
    transition: background-color 0.3s ease;
}

.subscribe-button:hover {
    background-color: grey;
}

.sub-text {
    font-size: 1vw;
    color: black;
    text-align: center;
    margin-top: 0.5em;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    font-family: 'Lucida Sans', Arial, sans-serif;
}

.content-section {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex-wrap: wrap;
    height: 100%;
    width: 70vw;
}

.view-mode-images {
    display: flex;
    flex-direction: row;
    width: 100%;
    height: auto;      /* let it expand with content */
    margin-top: 5vh;
    flex-wrap: wrap;   /* optional: wrap images if too wide */
    justify-content: center; /* center images horizontally */
}

.view-mode-images img {
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: contain; /* ensures no cropping */
}

.text-block {
    color: white;
    font-family: 'Lucida Sans', Arial, sans-serif;
    font-size: 0.8vw;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    margin-top: 2vh;
    height: auto;
}

.text-block h2,
.text-block p {
    margin: 0;
    padding: 0;
}

.gb-image {
    width: 33vw;
    margin-left: 2vw;
}

.traj-image {
    width: 33vw;
}

.map-image {
    width: 35vw;
}

.xs-image {
    width: 59vw;
}

.sv-image {
    width: 59vw;
}

.trajectory-image4 {
    width: 35vw;
}

form input, form textarea {
    width: 100%;
    padding: 0.75em;
    border-radius: 5px;
    border: 1px solid #ccc;
    font-size: 1em;
    font-family: 'Lucida Sans', Arial, sans-serif;
}

.footer-socials {
    display: flex;
    gap: 1em;
}

.arrow-link {
    text-decoration: none; /* removes underline */
}

.arrow-highlight {
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: bold;
    background-color: #8c732d;
    color: white;
    transition: background-color 0.3s ease, color 0.3s ease;
    cursor: pointer;
}

.arrow-highlight:hover {
    background-color: black;
    color: white;
}

.tab-container {
    display: flex;
    justify-content: center;
    margin: 10vh auto 0 auto;
    width: 55vw;
    background-color: transparent;
}

.tab-container2 {
    display: flex;
    flex-direction: row;
    background-color: #0d0f21;
    width: 100%;
    margin-left: 0vw;
    padding: 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    height: 85vh;
}

.tab {
    flex: 1;
    text-align: center;
    padding: 1vh 0;
    background-color: #e6e6e6;
    color: #333;
    border: 2px solid white;
    border-bottom: none;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    font-family: 'Lucida Sans', Arial, sans-serif;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.tab:hover {
    background-color: #d4d4d4;
}

.tab.active {
    background-color: #878787;
    color: white;
}

.tools-box {
    display: flex;
    flex-direction: row;
    width: 80vw;
    height: 73vh;
    margin: auto; /* centers it horizontally and gives vertical spacing */
    border: 2px solid white;
    border-radius: 15px;
    background-color: #0d0f21;
    font-family: 'Lucida Sans', Arial, sans-serif;
    font-size: 2vh;
    line-height: 2vh;
}

.tools-text {
    width: 50%;
    padding: 2rem;
    font-family: 'Lucida Sans', sans-serif;
    font-size: 1.05rem;
    line-height: 1.6;
    color: #f5f5f5;
    box-sizing: border-box;
}

.tools-text p {
    margin-bottom: 1rem;
}

.tools-image {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 50%;
    height: 100%;
    overflow: hidden;
    position: relative;
}

/* Carousel container stacks slides */
.carousel {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

/* Image slides fade smoothly without distortion */
.carousel-slide {
    position: absolute;
    max-width: 90%;
    max-height: 90%;
    height: auto;
    width: auto;
    object-fit: contain;
    opacity: 0;
    transition: opacity 0.7s ease-in-out;
    z-index: 0;
    pointer-events: none;
}

.carousel-slide.active {
    opacity: 1;
    z-index: 1;
    pointer-events: auto;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 1vw;
    z-index: 2;
    margin-bottom: 2vh;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    background-color: #333;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.carousel-dot.active {
    background-color: #ccc;
}

.privacy-policy {
    font-family: "Montserrat", sans-serif;
    background-color: #c7c7c7;
    color: #000000;
    padding: 5vh 10vw;
    line-height: 1.6;
    border-radius: 10px;
}

/* Headings */
.privacy-policy h1,
.privacy-policy h2 {
    font-weight: 700;
    margin-bottom: 1vh;
}

/* Paragraphs */
.privacy-policy p {
    margin-bottom: 2vh;
}

/* Lists */
.privacy-policy ul {
    margin: 1vh 0 2vh 2vw;
}

/* Links */
.privacy-policy a {
    color: #000;
    text-decoration: underline;
}
.privacy-policy a:hover {
    text-decoration: none;
}

.terms {
    font-family: "Montserrat", sans-serif;
    background-color: #c7c7c7;
    color: #000000;
    padding: 5vh 10vw;
    line-height: 1.6;
    border-radius: 10px;
}

/* Headings */
.terms h1,
.terms h2 {
    font-weight: 700;
    margin-bottom: 1vh;
}

/* Paragraphs */
.terms p {
    margin-bottom: 2vh;
}

/* Lists */
.terms ul {
    margin: 1vh 0 2vh 2vw;
}

/* Links */
.terms a {
    color: #000;
    text-decoration: underline;
}
.terms a:hover {
    text-decoration: none;
}

.content-wrapper {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  max-width: 80vw;
  margin: 2rem auto;
}

.video-container {
  flex: 4;
  overflow: hidden;
  border-radius: 20px;
  clip-path: inset(0 0 5% 0 round 20px);
}

.video-container video {
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: 50% 35%;
  display: block;
  clip-path: inset(0 0 5% 0);
}

.feature-list {
  flex: 1; /* other half of space */
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.5rem;
  font-family: 'Lucida Sans', Arial, sans-serif;
}

.feature-item {
  border-left: 4px solid #28a745;
  padding-left: 1rem;
  font-family: 'Lucida Sans', Arial, sans-serif;
}

.feature-item h3 {
  color: #28a745;
  margin: 0 0 0.25rem 0;
}

.feature-item p {
  margin: 0;
  color: #444;
}

/* Mobile (portrait, narrow screens) */
@media (max-width: 768px) {
  .content-wrapper {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .video-container {
    flex: none;               /* remove desktop flex ratio */
    width: 100%;              /* full width */
    max-width: 500px;         /* optional: limit size so it’s not huge */
  }

  .feature-list {
    width: 100%;
    max-width: 500px;         /* keeps it tidy */
    margin-top: 1.5rem;
    align-items: center;      /* center items in the column */
    font-family: 'Lucida Sans', Arial, sans-serif;
  }

  .feature-item {
    border-left: 4px solid #28a745;
    padding: 1rem 0;
    width: 100%;
    font-family: 'Lucida Sans', Arial, sans-serif;
  }

  .tab-container2 {
      display: flex;
      flex-direction: column;
      align-items: center;
      height: 95vh;
  }

  .gb-image {
      display: none !important;
  }

  .traj-image {
      width: 100%;
  }

  .map-image {
      width: 100%;
  }

  .xs-image {
      width: 100%;
  }

  .sv-image {
      width: 100%;
  }

  .sidebar2 {
      display: flex;
      flex-direction: row;      /* horizontal tabs */
      flex-wrap: wrap;          /* wrap if needed on small phones */
      gap: .5rem;
      width: 90vw !important;   /* honor width… */
      flex: none !important;    /* …by canceling any flex-basis from desktop */
      height: 6vh !important;
      margin: 1rem auto 0;
      border: none !important;
  }

  .sidebar2 .tab-button {
    flex: 1 1 10rem;
    width: 22vw !important;
    white-space: nowrap;
    text-align: center;
    font-size: 0.5rem;   /* smaller font for mobile */
    padding: 0.5rem;     /* tighten padding to keep height under control */
  }

  .text-block {
          font-size: 15px;  /* body text */
          line-height: 1.5;
          align-items: center;      /* horizontal centering */
          text-align: center;       /* center text itself */
          min-height: 10vh;
  }

  .text-block h2 {
          font-size: 20px;  /* heading */
  }

  .text-block p {
          font-size: 15px;  /* explicit body text */
  }

  .main-text {
      text-align: center;
      font-size: 25px;
      font-weight: bold;
      color: black;
      font-family: 'Lucida Sans', Arial, sans-serif;
      word-wrap: break-word;
      white-space: normal;
      overflow-wrap: anywhere;
      max-width: 75vw;
      margin: 0 auto;   /* centers the block horizontally */
  }

  .sub-text {
      font-size: 15px;
      color: black;
      text-align: center;
      margin-top: 0.5em;
      max-width: 60vw;
      margin-left: auto;
      margin-right: auto;
      line-height: 1.6;
      font-family: 'Lucida Sans', Arial, sans-serif;
  }

  .view-mode-images {
          flex-direction: column; /* stack images vertically */
          align-items: center;    /* center images */
  }

  .view-mode-images img {
          width: 100%;  /* almost full width on mobile */
          margin: 1rem 0;
  }

  .content-section {
          display: flex;
          flex-direction: column;   /* keep children stacked */
          align-items: center;      /* center horizontally */
          margin: 0 auto;           /* horizontal centering */
  }

  .tools-box {
        display: flex;
        flex-direction: column;   /* stack text and images vertically */
        width: 90vw;              /* nearly full width */
        height: auto;             /* expand to fit content */
        margin: 0vh auto;         /* center horizontally and spacing */
        border: 2px solid white;
        border-radius: 15px;
        background-color: #0d0f21;
        font-family: 'Lucida Sans', Arial, sans-serif;
        font-size: 2vh;
        line-height: 2vh;
        box-sizing: border-box;
  }

    /* Text portion */
  .tools-text {
        width: 95%;
        padding: 0.5rem 1rem;
        font-size: 1rem;
        line-height: 1.6;
        color: #f5f5f5;
        box-sizing: border-box;
        margin: 0 auto 1rem auto; /* center text block and spacing */
  }

  .tools-text p {
        margin-bottom: 1rem;
  }

    /* Image portion / carousel container */
  .tools-image {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      width: 95%;
      height: 50vh;
      overflow: hidden;        /* hide overflow so only active slide shows */
      position: relative;      /* keep relative for absolute slides inside */
      margin: 0 auto 1rem auto;
      box-sizing: border-box;
  }

  /* Individual slides */
  .carousel-slide {
      position: absolute;      /* keep absolute positioning */
      width: 100%;
      height: auto;
      max-width: 100%;
      max-height: 60vh;        /* scale down for mobile */
      object-fit: contain;
      opacity: 0;              /* JS toggles active slide */
      z-index: 0;              /* JS toggles active slide */
      pointer-events: none;
      display: block;
      transition: opacity 0.7s ease-in-out;
  }

  /* Active slide */
  .carousel-slide.active {
      opacity: 1;
      z-index: 1;
      pointer-events: auto;
  }

  /* Dots remain the same */
  .carousel-dots {
      display: flex;
      justify-content: center;
      gap: 1rem;
      margin-top: 1rem;
      margin-bottom: 0;
      width: 100%;
  }

  .carousel-dot {
        width: 12px;
        height: 12px;
        background-color: #333;
        border-radius: 50%;
        cursor: pointer;
        transition: background-color 0.3s ease;
  }

  .carousel-dot.active {
        background-color: #ccc;
  }

  .signin-card {
      background-color: black;
      width: 70vw;
      margin: 0 auto;
      margin-top: 5vh;
      border-radius: 10px;
      border: 2px solid white;
      background-color: #c7c7c7;
  }

  .signin-form {
      justify-content: center;
      text-align: left;
      background-color: #333; /* Slightly darker background for form */
      padding: 0px;
      width: 100%;
  }

  .signin-label {
      display: block;
      margin-bottom: 5px;
      margin-top: 10px;
      margin-left: 7vw;
  }

  .signin-input {
      width: 50.4vw;
      margin-left: 7vw;
      margin-bottom: 20px;
      border: 1px solid #ccc;
      border-radius: 5px;
      background-color: #d3d3d3; /* Light grey input boxes */
  }

  .signin-button {
      width: 56vw;
      margin-left: 7vw;
      background-color: #555; /* Grey button */
      color: white;
      border: none;
      border-radius: 5px;
      cursor: pointer;
  }

}

/* Sidebar */
.sidebar {
    width: 10vw;
    background-color: #f5f5f5;
    border-right: 1px solid #ddd;
    display: flex;
    flex-direction: column;
}

.sidebar2 {
    width: 10vw;
    background-color: #0d0f21;
    display: flex;
    flex-direction: column;
    margin-left: 2.5vw;
    border: 2px solid #4f4f4f;
    border-radius: 1vw;
    height: 81vh;
    margin-top: 2vh;
}

.tab-button {
    width: 10vw;
    height: 5vh;
    border: none;
    outline: none;
    background: #0d0f21;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    text-align: left;
    transition: background 0.2s;
    color: white;
    border-radius: 1vw
}

.tab-button:hover {
    background: #0e1236;
}

.tab-button.active {
    background: #0e1236;
}

/* Content Area */
.content {
    width: 80vw;
    flex-shrink: 0;
    background-color: #0d0f21;
    color: white;
    margin: 0;
    display: block;
    margin-left: 1vw
}

/* Tab contents */
.tab-content {
  opacity: 0;
  visibility: hidden;
  transition: opacity 1s ease, visibility 1s ease;
  position: absolute; /* keeps hidden tabs from taking space */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.tab-content.active {
  opacity: 1;
  visibility: visible;
  position: relative; /* active one flows in layout */
}