*{
    margin: 0;
    padding: 0;
}
body{
    min-height: 100vh;
    background-color: black;
    background-image: url('./imagine.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    font-family: 'segoe ui', tahoma, geneva, verdana, sans-serif;
    overflow-x: hidden;
}
nav{
    position: relative;
    z-index: 10;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    box-shadow: 3px 3px 5px rgba(255,255,255,0.1);
}
nav ul{
   width: 100%;
   list-style: none;
   display: flex;
   justify-content: flex-end;
   align-items: center;
}   
nav li{
    height: 50px;
}

.topnav {
    display: flex;
}

.topnav > li:not(.menu-icon) {
    display: flex;
}

@media (max-width: 768px) {
    .topnav > li:not(.menu-icon):not(:first-child) {
        display: none;
    }

    .topnav > li:first-child {
        display: flex;
    }

    .menu-icon {
        display: flex;
    }

    .sidebar li {
        display: flex;
    }
}
nav a{
  height: 100%;
  padding: 0 30px;
  text-decoration: none;
  display: flex;
  align-items: center;
  color: cyan;
}
nav a:hover{
    background-color: #222;
}
nav .topnav li:first-child{
  margin-right: auto;
}

.logo-item a{
  padding: 0 10px;
}

.logo-item img{
  height: 36px;
  width: auto;
  display: block;
  border-radius: 50%;
}

.topnav .menu-icon {
  display: none;
}

.topnav .menu-icon a{
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: transparent;
  color: cyan;
  border-radius: 6px;
  margin-left: 10px;
  margin-right: 10px;
}

.topnav .menu-icon svg{
  width: 24px;
  height: 24px;
  display: block;
}

@media (max-width: 768px) {
  .topnav .menu-icon {
    display: flex;
  }

  .mobile-menu-wrap {
    width: 100%;
  }

  .sidebar {
    width: 100%;
    height: auto;
    max-height: 80vh;
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    padding: 0;
    background-color: rgba(0, 0, 0, 0.8);
  }

  .sidebar.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .close-icon {
    display: none;
  }
}
.mobile-menu-wrap {
    position: fixed;
    inset: 0;
    z-index: 999;
    pointer-events: none;
    display: flex;
    justify-content: flex-end;
}

.sidebar{
    position: relative;
    width: min(280px, 100%);
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    box-shadow: -10px 0 10px rgba(255,255,255,0.1);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    margin: 0;
    padding: 16px 0 0;
    gap: 6px;
    overflow-y: auto;
    transform: translateX(100%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.sidebar.open{
    transform: translateX(0);
    opacity: 1;
    pointer-events: auto;
}

.sidebar li{
    width: 100%;
}

.sidebar a{
    width: 100%;
    display: block;
    padding: 14px 20px;
    box-sizing: border-box;
}
.close-icon{
    display: flex;
    justify-content: flex-end;
    width: 100%;
}

.close-icon a{
    width: auto;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-icon svg{
    width: 22px;
    height: 22px;
}

.page-content {
    padding: 40px 24px 24px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: calc(100vh - 60px);
}

.content-card {
    width: min(700px, 100%);
    background: rgba(0, 0, 0, 0.55);
    color: cyan;
    padding: 24px;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.25);
    backdrop-filter: blur(8px);
    text-align: center;
}

.content-card h1 {
    margin-bottom: 12px;
}

.red-i {
    color: red;
}

.noi-word {
    white-space: nowrap;
    letter-spacing: -0.02em;
}

.content-card p {
    line-height: 1.6;
}

.content-card .tagline {
    font-size: 1.15rem;
    margin-top: 8px;
}

.about-stack {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
}

.about-section {
    width: 100%;
    display: flex;
    justify-content: center;
}

.about-section > .info-card,
.about-section > .mission-container {
    width: 100%;
    max-width: 760px;
    box-sizing: border-box;
    margin: 0 auto;
}

.info-card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(0, 255, 255, 0.2);
    border-radius: 12px;
    padding: 16px;
    color: cyan;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    min-height: 180px;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
}

.info-card h2 {
    margin-bottom: 10px;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-align: center;
}

.card-icon {
    width: 28px;
    height: 28px;
    color: #2ee6ff;
    flex-shrink: 0;
}

.info-card p {
    margin: 0;
    font-size: 0.95rem;
}

.mission-container {
    padding: 20px;
    border: 1px solid rgba(0, 255, 255, 0.2);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.04);
    box-sizing: border-box;
    max-width: 740px;
    overflow: hidden;
}

.mission-container h3 {
    margin-bottom: 16px;
    text-align: center;
    color: cyan;
    font-size: 1.35rem;
}

/* Data privacy formatting tweaks */
.data-privacy {
    color: #dffaff;
}
.data-privacy h1 {
    color: cyan;
    margin-bottom: 8px;
}
.privacy-list {
    margin-top: 12px;
    padding-left: 0;
}
.privacy-list .privacy-item {
    margin-bottom: 12px;
}
.privacy-list .privacy-item h3 {
    margin: 0 0 6px 0;
    font-size: 1rem;
    color: #9ff7ff;
}
.privacy-list .privacy-item p {
    margin: 4px 0;
    color: #cfffff;
}

.mission-cards {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    align-items: start;
    box-sizing: border-box;
}

.mission-card {
    width: 100%;
    min-height: 220px;
    padding: 18px;
    box-sizing: border-box;
}

/* Grid for the four placeholder 'What Project NOI Solves' cards */
.solve-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 16px;
}

.solve-card {
    min-height: 140px;
    padding: 16px;
}

.solve-card h4 {
    margin: 0;
    font-size: 1.25rem;
    color: cyan;
}

/* Reality Check styling */
.reality-heading {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.05rem;
    color: #ffd966;
}
.warning-icon {
    width: 22px;
    height: 22px;
    color: #ffb000;
    flex-shrink: 0;
}
.reality-list {
    list-style: none;
    margin: 12px 0 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.reality-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}
.reality-item .bullet {
    width: 12px;
    height: 12px;
    background: radial-gradient(circle at 30% 30%, #fff6c6, #ff9f1c);
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(255,160,0,0.28);
    margin-top: 6px;
    flex-shrink: 0;
}
.reality-item p {
    margin: 0;
    color: #cfffff;
    line-height: 1.4;
}

@media (max-width: 768px) {
    .mission-cards {
        grid-template-columns: 1fr;
    }
    .solve-cards {
        grid-template-columns: 1fr;
    }
}

.site-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 12px 20px;
    text-align: center;
    color: cyan;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(6px);
}

.site-footer p {
    margin: 0;
    font-weight: bold;
}
/* Contact Page Layout Container */
.contact-page {
    max-width: 500px;
    margin: 0 auto;
    padding: 20px 0;
    text-align: left;
    color: #06b6d4; /* Sets the heading and container text to cyan */
}

/* Style the Form Heading */
.contact-page h1 {
    margin-bottom: 20px;
    font-size: 1.8rem;
}

/* This arranges the inputs vertically inside the new form tag */
.contact-page form {
    display: flex;
    flex-direction: column;
    gap: 15px; /* Adds balanced spacing between your inputs */
    width: 100%;
}

/* Style Inputs and Textarea together */
.contact-page input,
.contact-page textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-family: inherit;
    font-size: 1rem;
    box-sizing: border-box;
    background-color: #fff;
    color: #333; /* Dark text inside the boxes so it is easy to read */
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

/* Highlight input borders with a Cyan glow when clicked/focused */
.contact-page input:focus,
.contact-page textarea:focus {
    outline: none;
    border-color: #06b6d4; /* Cyan border */
    box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.2); /* Soft cyan glow */
}

/* Control vertical resizing of the text box */
.contact-page textarea {
    resize: vertical; 
    min-height: 120px;
}

/* Style the Submit Button */
.contact-page button[type="submit"] {
    background-color: #06b6d4; /* Cyan background */
    color: #ffffff; /* White text */
    font-size: 1rem;
    font-weight: 600;
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.1s ease;
    align-self: flex-start; /* Keeps the button cleanly sized instead of full-width */
}

/* Button Hover State */
.contact-page button[type="submit"]:hover {
    background-color: #0891b2; /* Slightly darker cyan when hovering */
}

/* Button Click State */
.contact-page button[type="submit"]:active {
    transform: scale(0.98); /* Subtle springy click animation */
}