/* ========== Base Reset ========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

@font-face {
  font-family: "NiveauGrotesk";
  src: url("Font/HVD Fonts - NiveauGroteskRegular.otf") format("opentype");
  font-weight: normal;
}

@font-face {
  font-family: "NiveauGrotesk";
  src: url("Font/HVD Fonts - NiveauGroteskBold.otf") format("opentype");
  font-weight: bold;
}
#myButton {
  position: absolute;
  top: 10px; /* Adjust as needed */
  left: 10px; /* Adjust as needed */
  z-index: 10; /* Ensure it's above other elements if necessary */
}
body {
  background: #000;
  color: white;
  overflow-x: hidden;
  font-family: "NiveauGrotesk", sans-serif;
  margin-left: 30px;
  margin-right: 30px;
}

/* ========== Learn More Button ========== */
#learnMoreContainer {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 100;
}

.learn-more {
  position: relative;
  display: inline-block;
  cursor: pointer;
  border: none;
  background: transparent;
  padding: 0;
  font-size: inherit;
  width: 14rem;
}

.learn-more .circle {
  transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
  position: relative;
  display: block;
  width: 3rem;
  height: 3rem;
  background: #fff;
  border-radius: 1.625rem;
  border: 2px solid black; /* ✅ Fix this line */
  padding: 5px; /* Optional: Adds spacing inside the border */
  border-radius: 40px; /* Optional: Rounds the corners */
  background-color: #fff;
}

.learn-more .icon {
  transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
  position: absolute;
  top: 0;
  bottom: 0;
  margin: auto;
}

.learn-more .icon.arrow {
  left: 0.625rem;
  width: 1.125rem;
  height: 0.125rem;
  background: none;
}

.learn-more .icon.arrow::before {
  content: "";
  position: absolute;
  top: -0.25rem;
  right: 0.0625rem;
  width: 0.625rem;
  height: 0.625rem;
  border-top: 2px solid #000;
  border-right: 2px solid #000;
  transform: rotate(45deg);
}

.learn-more .button-text {
  transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.75rem 0;
  margin-left: 1.85rem;
  color: #000;
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
  line-height: 1.6;
}

.learn-more:hover .circle {
  width: 100%;
}

.learn-more:hover .icon.arrow {
  background: #000;
  transform: translate(1rem, 0);
}

.learn-more:hover .button-text {
  color: #000;
}

/* ========== Try Now Button ========== */

.try-now {
  width: 10rem; /* slightly smaller than .learn-more */
  margin-top: 1rem;
}

.try-now .button-text {
  font-size: 14px;
  font-weight: 700;
  color: white;
}

.try-now:hover .circle {
  background-color: #f5f5f5;
}

.try-now:hover .icon.arrow {
  background: #000;
  transform: translate(1rem, 0);
}

.try-now .circle {
  border: 2px solid #000;
  background-color: #fff;
}

.try-now .icon.arrow::before {
  border-color: #000;
}

/* ========== Slide-In Overlay Container ========== */
.container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  padding: 40px 60px;
  background-color: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(4px);
  z-index: 999;
  overflow-y: auto;
  transition: transform 1s ease-in-out, opacity 1s ease-in-out;
}
#p5-section canvas {
  z-index: 0;
  position: fixed;
  top: 0;
  left: 0;
}

.container-hidden {
  transform: translateX(100%);
  opacity: 0;
}

.container-visible {
  transform: translateX(0%);
  opacity: 1;
}

/* ========== Close Button ========== */
.closebtn {
  position: fixed;
  top: 20px;
  right: 40px;
  font-size: 48px;
  font-weight: 400;
  color: white;
  z-index: 300;
  text-decoration: none;
  transition: color 0.3s;
}

.closebtn:hover {
  color: #ff4d4d;
  cursor: pointer;
}

/* ========== Section Content Styling ========== */
.header,
.middle-section,
.team-section,
.bottom-section {
  padding: 50px 0;
}

.header {
  display: flex;
  align-items: center;
  min-height: 100vh;
}

.hero-text {
  width: 60%;
  transform: translateY(50px);
  transition: transform 1.2s ease, opacity 1.2s ease;
}

.hero-text.fade-in {
  transform: translateY(0);
}

h1 {
  font-size: 120px;
  margin-bottom: 30px;
  color: #fff;
}

.subtitle {
  font-size: 24px;
  line-height: 1.6;
  opacity: 0.9;
}

.value-plate {
  flex: 1;
  max-width: 50%;
  padding-right: 0; /* Remove if any */
  margin-right: 0; /* Remove if any */
}

.value-plate.fade-in {
  transform: translateX(0);
}
.middle-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 90vh;
  font-weight: normal;
  gap: 80px; /* optional spacing between sides */
  align-items: center;
}

.image-placeholder,
.value-plate {
  flex: 1;
  max-width: 50%;
}

.image-placeholder img {
  width: 100%;
  height: auto;
  max-height: 550px;
  object-fit: cover;
  display: block;
}

h2 {
  font-size: 90px;
  color: #fff;
  margin-bottom: 30px;
}

.description {
  font-size: 24px;
  line-height: 1.6;
  max-width: 100%;
  opacity: 0.9;
  font-weight: normal;
}

/* ========== Team and Concept Sections ========== */

.project-logo {
  width: 80px;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.2));
}

.project-quote {
  font-size: 20px;
  margin-bottom: 8px;
  font-weight: 700;
}

.project-subquote {
  font-size: 14px;
  color: #ccc;
  font-style: italic;
}

.team-members,
.software-used {
  width: 300px;
  margin-left: 40px;
  transform: translateY(30px);
  transition: transform 1.2s ease;
  font-weight: normal;
  font-size: 24px;
}

.team-members.fade-in,
.software-used.fade-in {
  transform: translateY(0);
}

h3 {
  font-size: 40px;
  color: #fff;
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  padding-bottom: 10px;
}

.team-member,
.software {
  font-size: 24px;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 10px;
}

.bottom-section {
  margin-top: 80px;
  display: flex;
  justify-content: space-between;
  min-height: 60vh;
}

.concept {
  width: 30%;
  text-align: center;
  transform: translateY(30px);
  transition: transform 1.2s ease;
}

.concept.fade-in {
  transform: translateY(0);
}

.concept- {
  width: 250px;
  height: 350px;
  background: #fff;
  margin: 0 auto 20px;
}

.concept-title {
  font-size: 24px;
  margin-bottom: 10px;
  color: #fff;
}

/* ========== Team and Concept Sections ========== */

.team-info.right {
  display: flex;
  justify-content: flex-end; /* Align content to the right */
  flex-direction: column;
  margin-top: 20px;
}

.project-logo {
  width: 80px;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.2));
}

.project-quote {
  font-size: 20px;
  margin-bottom: 8px;
  font-weight: 700;
}

.project-subquote {
  font-size: 14px;
  color: #ccc;
  font-style: italic;
}
.team-info {
  display: flex;
  justify-content: flex-end;
  margin-top: 20px;
  font-weight: normal;
}

.team-members,
.software-used {
  width: 300px;
  margin-left: 40px;
  transform: translateY(30px);
  transition: transform 1.2s ease;
  font-weight: normal;
  font-size: 24px;
}

.team-members.fade-in,
.software-used.fade-in {
  transform: translateY(0);
}

h3 {
  font-size: 40px;
  color: #fff;
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  padding-bottom: 10px;
}

.team-member,
.software {
  font-size: 24px;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 10px;
}

.bottom-section {
  display: flex;
  justify-content: space-between;
  min-height: 60vh;
}

.concept {
  width: 30%;
  text-align: center;
  transform: translateY(30px);
  transition: transform 1.2s ease;
}

.concept.fade-in {
  transform: translateY(0);
}
.concept-image img {
  width: 250px;
  height: 350px;
  background: #fff;
  margin: 0 auto 20px;
}

.concept-title {
  font-size: 24px;
  margin-bottom: 10px;
  color: #fff;
  font-weight: normal;
}

/* ========== Footer ========== */
footer {
  text-align: center;
  padding: 20px 0;
  font-size: 14px;
  opacity: 0.6;
  color: #fff;
}

/* ========== Fade In / Out ========== */
.fade-element {
  opacity: 0;
  transition: opacity 1.2s ease, transform 1.2s ease;
}

.fade-in {
  opacity: 1;
}

.fade-out {
  opacity: 0;
}

/* ========== Responsive ========== */
@media (max-width: 1024px) {
  h1 {
    font-size: 48px;
  }
  h2 {
    font-size: 36px;
  }
  .hero-text {
    width: 70%;
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 40px;
  }
  h2 {
    font-size: 32px;
  }
  .hero-text {
    width: 100%;
  }
  .middle-section {
    flex-direction: column;
  }
  .image-placeholder {
    margin-bottom: 30px;
  }
  .bottom-section {
    flex-direction: column;
    align-items: center;
  }
  .concept {
    width: 80%;
    margin-bottom: 40px;
  }
  .team-info {
    flex-direction: column;
    align-items: flex-end;
  }
  .team-members,
  .software-used {
    margin-left: 0;
    margin-bottom: 30px;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 32px;
  }
  h2 {
    font-size: 28px;
  }
  .subtitle,
  .description {
    font-size: 14px;
  }
  .concept-title {
    font-size: 16px;
    font-weight: normal;
  }
}

/* ========== Navigation ========== */

/* Navigation Wrapper */
.nav-wrapper {
  position: fixed;
  top: 20px;
  left: 20px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Toggle Button */
.nav-toggle {
  background: white;
  border: 2px solid black;
  border-radius: 50%;
  width: 3.2rem;
  height: 3.2rem;
  font-size: 20px;
  cursor: pointer;
}

/* Buttons Container */
.nav-buttons {
  display: flex;
  flex-direction: column;
  margin-top: 10px;
  gap: 10px;
  opacity: 1;
  transition: opacity 0.3s ease, max-height 0.3s ease;
  max-height: 200px;
}

.nav-buttons.hidden {
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  pointer-events: none;
}

.nav-buttons.visible {
  opacity: 1;
  max-height: 200px;
}

/* Individual Buttons */
.nav-btn {
  width: 3rem;
  height: 3rem;
  background: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.5rem; /* Adjust to fit inside */
  line-height: 3rem; /* Vertically center icon */
  text-align: center;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
  padding: 0; /* Critical: REMOVE padding to keep shape */
}

/* Dropdown Content Box */
.dropdown-box {
  position: fixed;
  top: 100px;
  left: 90px;
  width: 220px;
  background: white;
  color: black;
  padding: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, opacity 0.3s ease;
  opacity: 0;
  transform: translateX(-120%);
  z-index: 999;
}

.dropdown-box.show {
  opacity: 1;
  transform: translateX(0);
}

.dropdown-box.hide {
  opacity: 0;
  transform: translateX(-120%);
}
.team-wrapper {
  display: flex;
  justify-content: space-between;
  gap: 60px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.project-concept {
  flex: 1;
  max-width: 50%;
  font-size: 24px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
}
.middle-section a {
  color: inherit; /* This will inherit the color of the parent element */
  text-decoration: none; /* Optional: Remove underline */
}

.middle-section a:hover {
  text-decoration: underline; /* Optional: Add underline on hover */
}
