.projects-title,
.hero#contact h1,
.hero#projects h1 {
  color: rgb(59, 136, 255);
  background: linear-gradient(90deg, rgb(61, 132, 255) 60%, #00ffff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
  animation: glint-move 2.5s linear infinite;
}
/* Section title styling to match home hero */
/* Section title styling to match home hero, except for project cards */
h2 {
  color: rgb(59, 136, 255);
  font-size: 2.6rem;
  font-weight: bold;
  letter-spacing: 1px;
  margin-bottom: 1.2rem;
  background: linear-gradient(90deg, rgb(61, 132, 255) 60%, #00ffff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
  animation: glint-move 2.5s linear infinite;
}
.project-card h2 {
  color: #fff;
  font-size: 1.4rem;
  font-weight: bold;
  letter-spacing: 0.5px;
  margin-bottom: 0.7rem;
  background: none;
  -webkit-background-clip: initial;
  -webkit-text-fill-color: initial;
  background-clip: initial;
  text-fill-color: initial;
  animation: none;
}
@media (max-width: 700px) {
  h2 {
    font-size: 1.6rem;
    margin-bottom: 0.8rem;
  }
}
/* Hero project card formatting */
.hero {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
}
.hero-content {
  flex: 1 1 0;
  min-width: 0;
}
.hero-project-card.project-card {
  background: #141414;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  margin-left: 2.2rem;
  width: 340px;
  max-width: 340px;
  display: block;
  flex-shrink: 0;
}
.hero-project-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 16px;
  display: block;
}
@media (max-width: 900px) {
  .hero {
    flex-direction: column;
    align-items: flex-start;
  }
  .hero-project-card.project-card {
    margin-left: 0;
    margin-top: 2.2rem;
    max-width: 98vw;
    width: 100%;
  }
  .hero-project-card img {
    height: 160px;
    border-radius: 12px;
  }
}
@media (max-width: 600px) {
  .hero-project-card.project-card {
    margin-top: 2.2rem !important;
    max-width: 98vw !important;
  }
  .hero-project-card img {
    height: 160px !important;
    border-radius: 12px !important;
  }
}
@media (max-width: 600px) {
  .hero {
    flex-direction: column !important;
    align-items: flex-start;
    padding: 0.8rem 0.3rem 0.8rem 0.3rem;
    min-height: 40vh;
    background-position: 60% 0;
    position: relative;
  }
  .hero-image {
    position: static !important;
    max-width: 100% !important;
    margin: 2.2rem 0 0 0 !important;
    transform: none !important;
    right: 0 !important;
    top: auto !important;
    width: 100% !important;
    display: block !important;
    order: 5 !important;
    z-index: 1 !important;
    clear: both;
  }
  .hero-image img {
    width: 100% !important;
    max-width: 320px !important;
    min-width: 0 !important;
    border-radius: 8px !important;
    margin: 0 auto !important;
    display: block !important;
  }
  .hero > .glint-title, .hero h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 0.5rem;
    word-break: break-word;
    color: rgb(59, 136, 255);
    clear: both;
  }
  .hero p {
    font-size: 0.95rem !important;
    max-width: 98vw !important;
    order: 3 !important;
    z-index: 2 !important;
    clear: both;
  }
  .btn, .btn-login, .btn-signup {
    padding: 0.5rem 1rem !important;
    font-size: 0.95rem !important;
    border-radius: 18px !important;
    order: 4 !important;
    clear: both;
  }
}
@media (max-width: 600px) {
  .hero {
    flex-direction: column;
    align-items: flex-start;
    padding: 0.8rem 0.3rem 0.8rem 0.3rem;
    min-height: 40vh;
    background-position: 60% 0;
  }
  .hero-image {
    position: static;
    max-width: 100%;
    margin: 1rem 0 0 0;
    transform: none;
    right: 0;
    top: auto;
    width: 100%;
    display: block;
    order: 2;
    z-index: 1;
  }
  .hero-image img {
    width: 100%;
    max-width: 320px;
    min-width: 0;
    border-radius: 8px;
    margin: 0 auto;
    display: block;
  }
  .hero > .glint-title, .hero h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 0.5rem;
    word-break: break-word;
    color: rgb(59, 136, 255);
  }
  .hero#contact h1,
  .hero#contact h1:visited,
  .hero#contact h1:active,
  .hero#contact h1:focus {
    color: white !important;
  }
  .hero p {
    font-size: 0.95rem;
    max-width: 98vw;
    order: 3;
    z-index: 2;
  }
  .btn, .btn-login, .btn-signup {
    padding: 0.5rem 1rem;
    font-size: 0.95rem;
    border-radius: 18px;
    order: 4;
  }
}
@media (max-width: 1100px) {
  .hero {
    padding: 2rem 1rem 2rem 1rem;
    min-height: 60vh;
    background-position: 60% 0;
  }
  .hero-image {
    right: 1rem;
    max-width: 50%;
  }
  .glint-title, .hero h1 {
    font-size: 2.6rem;
  }
}
@media (max-width: 800px) {
  .hero {
    flex-direction: column;
    align-items: flex-start;
    padding: 1.2rem 0.5rem 1.2rem 0.5rem;
    min-height: 50vh;
    background-position: 60% 0;
  }
  .hero-image {
    position: static;
    max-width: 100%;
    margin: 1.5rem 0 0 0;
    transform: none;
    right: 0;
    top: auto;
    width: 100%;
    display: block;
    order: 2;
  }
  .hero > .glint-title, .hero h1 {
    font-size: 2rem !important;
    line-height: 1.15;
    margin-bottom: 0.7rem;
    word-break: break-word;
    order: 1;
    z-index: 2;
    background: linear-gradient(90deg, rgb(61, 132, 255) 60%, #00ffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
    color: rgb(59, 136, 255);
    animation: glint-move 2.5s linear infinite;
  }
  .hero p {
    font-size: 1rem;
    max-width: 98vw;
    order: 3;
    z-index: 2;
  }
  .btn, .btn-login, .btn-signup {
    padding: 0.6rem 1.2rem;
    font-size: 1rem;
    border-radius: 20px;
    order: 4;
  }
}
@media (max-width: 700px) {
  .hero {
    min-height: 70vh;
    padding: 1.2rem 0.5rem 1.2rem 0.5rem;
    align-items: flex-start;
    padding-left: 0.5rem;
    background-position: 60% 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
  }
  .hero-image {
    position: static;
    max-width: 100%;
    margin: 1.5rem 0 0 0;
    transform: none;
    right: 0;
    top: auto;
    width: 100%;
    display: block;
    order: 2;
  }
  .hero > .glint-title, .hero h1 {
    font-size: 2rem !important;
    line-height: 1.15;
    margin-bottom: 0.7rem;
    word-break: break-word;
    order: 1;
    z-index: 2;
    background: none;
    -webkit-background-clip: initial;
    -webkit-text-fill-color: initial;
    background-clip: initial;
    text-fill-color: initial;
    color: rgb(59, 136, 255);
  }
  .hero p {
    font-size: 1rem;
    max-width: 98vw;
    order: 3;
    z-index: 2;
  }
  .btn, .btn-login, .btn-signup {
    padding: 0.6rem 1.2rem;
    font-size: 1rem;
    border-radius: 20px;
    order: 4;
  }
}
@media (max-width: 700px) {
  .hero h1, .glint-title {
    font-size: 2.2rem !important;
  }
}
/* Glint effect for hero title */
.glint-title {
  color: rgb(61, 132, 255);
  position: relative;
  background: linear-gradient(90deg, rgb(61, 132, 255) 60%, #00ffff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
  font-weight: bold;
  font-size: 4rem;
  letter-spacing: 2px;
  margin-bottom: 1rem;
  animation: glint-move 2.5s linear infinite;
}

@keyframes glint-move {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 100% 50%;
  }
}
html, body {
  min-height: 100%;
  margin: 0;
  scroll-behavior: smooth;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: 'Helvetica Neue', sans-serif;
  color: rgb(61, 132, 255);
  overflow-x: hidden;
}

.wrapper {
  height: 100vh;        /* defines maximum vertical space */
  overflow: hidden;     /* prevents scroll propagation */
}

.scroll-area {
  height: 100%;
  overflow-y: auto;     /* enables constrained scrolling */
}

header {
  position: fixed;
  width: 100%;
  top: 0;
  background: #1a1a1a;
  padding: 1rem 3rem;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  z-index: 10;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.lang-container {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

#lang-dropdown {
  border: none;
  cursor: pointer;
  font-size: 16px;
  font-family: 'Helvetica Neue', sans-serif;
}

/* Logo container (link) */
.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: white;
  font-weight: bold;
  font-size: 1.6rem;
  letter-spacing: 1px;
}

.logo img {
  height: 40px;
  width: auto;
  display: block;
}


nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
}

nav a {
  color: white;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s ease;
  font-size: 1.05rem;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

/* Auth buttons container */
.auth-buttons {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.btn-login,
.btn-signup {
  padding: 0.5rem 1.2rem;
  text-decoration: none;
  font-weight: 600;
  border-radius: 20px;
  transition: all 0.3s ease;
  font-size: 0.95rem;
}

.btn-login {
  color: rgb(61, 132, 255);
  background-color: transparent;
  border: 2px solid rgb(61, 132, 255);
}

.btn-login:hover {
  color: #00ffff;
}

.btn-signup {
  color: white !important;
  background-color: rgb(61, 132, 255);
  border: 2px solid rgb(61, 132, 255);
}

.btn-signup:hover {
  background-color: rgb(40, 100, 200);
  border-color: rgb(40, 100, 200);
  transform: scale(1.05);
  color: #00ffff !important;
}

.hero h1 {
  font-size: 4rem;
  letter-spacing: 2px;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.2rem;
  max-width: 700px;
  margin-bottom: 2rem;
}

.btn,
.btn:link,
.btn:visited,
.btn:hover,
.btn:active {
  text-decoration: none;
  padding: 0.8rem 2rem;
  background-color: rgba(255, 255, 255, 0.9);
  color: #000;
  border-radius: 30px;
  font-weight: bold;
  transition: 0.3s ease;
}

/* Hover-specific effects */
.btn:hover {
  background-color: #00ffff;
  transform: scale(1.075);
  color: #000;
}


.hero {
  position: relative;
  color: white;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 100vh;
  padding: 4rem;
  display: flex;
  flex-direction: column;
  /*
  justify-content: center;
  align-items: center;
  text-align: center;
  */

  justify-content: center;   /* vertical center */
  align-items: flex-start;   /* left */
  padding-left: 4rem;        /* adjust as needed */
}

/* Add the dark overlay */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.25); /* Adjust opacity as needed */
  z-index: 0;
}

/* Make sure text appears above overlay */
.hero > * {
  position: relative;
  z-index: 1;
}

.hero-image {
  position: absolute;
  right: 4rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
  max-width: 40%;
}

.hero-image img {
  width: 100%;
  height: auto;
  border-radius: 12px; /* optional */
  width: 420px;        /* REQUIRED */
}

.story {
  background: #0a0a0a;
  color: #ddd;
  padding: 5rem 8%;
  line-height: 1.7;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.story h2 {
  color: #fff;
}

a {
  text-decoration: none;
  color: inherit;
}

a:visited {
  color: inherit;
}

a:hover {
  color: #00ffff;
}

/* Clean minimal scroll arrow like Squarespace */
/* Clean minimal scroll arrow with soft glow + halo */
#scrollToBottom {
  position: absolute !important;
  bottom: 30px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;

  font-size: 2rem !important;
  padding: 0 !important;
  background: none !important;
  border: none !important;
  color: white !important;

  animation: sqScroll 3.5s ease-in-out infinite;
  opacity: 0.85;

  /* Soft glow */
  text-shadow:
    0 0 6px rgba(255,255,255,0.9),
    0 0 12px rgba(255,255,255,0.5),
    0 0 20px rgba(255,255,255,0.25);
}

/* Halo circle behind arrow */
#scrollToBottom::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 38px;
  height: 38px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(
    rgba(255,255,255,0.25),
    rgba(255,255,255,0.05),
    transparent
  );
  z-index: -1;
}

@keyframes sqScroll {
  0% {
    opacity: 0.15;
    transform: translateX(-50%) translateY(0);
  }
  50% {
    opacity: 1;
    transform: translateX(-50%) translateY(6px);
  }
  100% {
    opacity: 0.15;
    transform: translateX(-50%) translateY(0);
  }
}

.hero .btn {
  background: rgba(255, 255, 255, 0.18);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.45);
  padding: 0.6rem 1.6rem;
  border-radius: 40px;
  backdrop-filter: blur(6px);
  transition: 0.3s ease;
}

.hero .btn:hover {
  background: rgba(255, 255, 255, 0.32);
  border-color: rgba(255, 255, 255, 0.65);
  color: #00ffff;
}


