/* Project Page Specific Styles - Matches Portfolio Aesthetic */
body {
  margin: 0;
  padding: 0;
  background-image: url("data:image/svg+xml,<svg id='patternId' width='100%' height='100%' xmlns='http://www.w3.org/2000/svg'><defs><pattern id='a' patternUnits='userSpaceOnUse' width='25' height='13' patternTransform='scale(4) rotate(70)'><rect x='0' y='0' width='100%' height='100%' fill='%23090a15ff'/><path d='M15.044 22.25a2.5 2.5 0 01-2.5 2.5 2.5 2.5 0 01-2.5-2.5 2.5 2.5 0 012.5-2.5 2.5 2.5 0 012.5 2.5m2.5 0a5 5 0 01-5 5 5 5 0 01-5-5 5 5 0 015-5 5 5 0 015 5m2.5 0a7.5 7.5 0 01-7.5 7.5 7.5 7.5 0 01-7.5-7.5 7.5 7.5 0 017.5-7.5 7.5 7.5 0 017.5 7.5m2.5 0a10 10 0 01-10 10 10 10 0 01-10-10 10 10 0 0110-10 10 10 0 0110 10m2.5 0a12.5 12.5 0 01-12.5 12.5 12.5 12.5 0 01-12.5-12.5 12.5 12.5 0 0112.5-12.5 12.5 12.5 0 0112.5 12.5m0-9a2.5 2.5 0 00-2.363 1.688 12.5 12.5 0 011.672 3.212 12.5 12.5 0 010 .002 2.5 2.5 0 00.69.098 2.5 2.5 0 002.5-2.5 2.5 2.5 0 00-2.5-2.5zm0-2.5a5 5 0 00-4.143 2.203 12.5 12.5 0 014.053 7.795 5 5 0 00.09.002 5 5 0 005-5 5 5 0 00-5-5zm-.037-2.5a7.5 7.5 0 00-6.125 3.227 12.5 12.5 0 016.162 10.773 12.5 12.5 0 01-.041 1 7.5 7.5 0 00.04 0 7.5 7.5 0 007.5-7.5 7.5 7.5 0 00-7.5-7.5 7.5 7.5 0 00-.036 0zm.017-2.5a10 10 0 00-8.441 4.672 12.5 12.5 0 018.46 11.828 12.5 12.5 0 01-.495 3.488 10 10 0 00.496.012 10 10 0 0010-10 10 10 0 00-10-10 10 10 0 00-.02 0zm.006-2.5a12.5 12.5 0 00-10.998 6.588 12.5 12.5 0 01.29.039 12.5 12.5 0 01.005 0 12.5 12.5 0 01.29.045 12.5 12.5 0 01.003 0 12.5 12.5 0 01.58.113 12.5 12.5 0 01.004 0 12.5 12.5 0 011.123.3 12.5 12.5 0 01.02.007 12.5 12.5 0 01.006.002 12.5 12.5 0 01.277.093 12.5 12.5 0 01.8.31 12.5 12.5 0 01.032.01 12.5 12.5 0 01.033.016 12.5 12.5 0 01.492.223 12.5 12.5 0 01.016.008 12.5 12.5 0 01.004.002 12.5 12.5 0 01.523.271 12.5 12.5 0 01.006.002 12.5 12.5 0 01.254.143 12.5 12.5 0 01.004.002 12.5 12.5 0 01.252.15 12.5 12.5 0 01.004.002 12.5 12.5 0 01.248.156 12.5 12.5 0 01.004.002 12.5 12.5 0 01.244.16 12.5 12.5 0 01.004.002 12.5 12.5 0 01.24.168 12.5 12.5 0 01.004.002 12.5 12.5 0 01.236.174 12.5 12.5 0 01.004.002 12.5 12.5 0 01.233.18 12.5 12.5 0 01.004.002 12.5 12.5 0 01.228.183 12.5 12.5 0 01.004.002 12.5 12.5 0 01.223.19 12.5 12.5 0 01.004.002 12.5 12.5 0 01.218.195 12.5 12.5 0 01.032.03 12.5 12.5 0 01.185.173 12.5 12.5 0 01.004.002 12.5 12.5 0 01.209.205 12.5 12.5 0 01.004.004 12.5 12.5 0 01.205.21 12.5 12.5 0 01.002.001 12.5 12.5 0 01.2.215 12.5 12.5 0 01.003.004 12.5 12.5 0 01.193.219 12.5 12.5 0 01.004.003 12.5 12.5 0 01.19.223 12.5 12.5 0 01.004.004 12.5 12.5 0 01.363.463 12.5 12.5 0 01.004.004 12.5 12.5 0 01.172.236 12.5 12.5 0 01.004.004 12.5 12.5 0 01.166.24 12.5 12.5 0 01.002.004 12.5 12.5 0 01.162.244 12.5 12.5 0 01.002.004 12.5 12.5 0 01.156.248 12.5 12.5 0 01.03.05 12.5 12.5 0 01.251.437 12.5 12.5 0 01.016.029 12.5 12.5 0 01.01.02 12.5 12.5 0 01.263.507 12.5 12.5 0 01.002.004 12.5 12.5 0 01.125.266 12.5 12.5 0 01.002.004 12.5 12.5 0 01.118.267 12.5 12.5 0 01.002.004 12.5 12.5 0 01.113.272 12.5 12.5 0 01.002.004 12.5 12.5 0 01.105.273 12.5 12.5 0 01.002.004 12.5 12.5 0 01.098.275 12.5 12.5 0 01.002.004 12.5 12.5 0 01.092.278 12.5 12.5 0 01.002.003 12.5 12.5 0 01.086.282 12.5 12.5 0 01.002.004 12.5 12.5 0 01.078.28 12.5 12.5 0 01.002.005 12.5 12.5 0 01.072.285 12.5 12.5 0 01.002.004 12.5 12.5 0 01.067.285 12.5 12.5 0 01.023.121 12.5 12.5 0 01.035.17 12.5 12.5 0 01.086.496 12.5 12.5 0 01.014.09 12.5 12.5 0 010 .004 12.5 12.5 0 01.039.29 12.5 12.5 0 01.008.075 12.5 12.5 0 01.045.467 12.5 12.5 0 01.003.05 12.5 12.5 0 01.002.04 12.5 12.5 0 01.028.535 12.5 12.5 0 010 .02 12.5 12.5 0 010 .003 12.5 12.5 0 01.004.293 12.5 12.5 0 010 .014 12.5 12.5 0 01-.127 1.777 12.5 12.5 0 01-.1.586 12.5 12.5 0 01-.058.291 12.5 12.5 0 010 .002 12.5 12.5 0 01-.141.576 12.5 12.5 0 01-.08.287 12.5 12.5 0 01-.182.567 12.5 12.5 0 01-.207.557 12.5 12.5 0 01-.234.546 12.5 12.5 0 01-.26.536 12.5 12.5 0 01-.1.187 12.5 12.5 0 001.488.088 12.5 12.5 0 0012.5-12.5 12.5 12.5 0 00-12.5-12.5 12.5 12.5 0 00-.014 0zm-24.986 10a2.5 2.5 0 00-2.5 2.5 2.5 2.5 0 002.5 2.5 2.5 2.5 0 00.691-.098 12.5 12.5 0 011.672-3.214A2.5 2.5 0 00.044 13.25zm0-2.5a5 5 0 00-5 5 5 5 0 005 5 5 5 0 00.09-.002 12.5 12.5 0 014.054-7.795A5 5 0 00.044 10.75zm-.037-2.5a7.5 7.5 0 00-7.463 7.5 7.5 7.5 0 007.5 7.5 7.5 7.5 0 00.041 0 12.5 12.5 0 01-.041-1 12.5 12.5 0 016.162-10.773A7.5 7.5 0 00.044 8.25a7.5 7.5 0 00-.037 0zm.017-2.5a10 10 0 00-9.98 10 10 10 0 0010 10 10 10 0 00.498-.014 12.5 12.5 0 01-.498-3.486 12.5 12.5 0 018.46-11.828A10 10 0 00.045 5.75a10 10 0 00-.02 0zm-.082-2.5a12.5 12.5 0 00-12.486 12.5 12.5 12.5 0 0012.5 12.5 12.5 12.5 0 001.57-.1 12.5 12.5 0 01-1.482-5.9 12.5 12.5 0 0110.93-12.4A12.5 12.5 0 00-.044 3.25a12.5 12.5 0 00-.014 0zm12.602 3.5a2.5 2.5 0 00-2.39 1.773 12.5 12.5 0 01.82 1.327 12.5 12.5 0 011.57-.1 12.5 12.5 0 011.488.088 12.5 12.5 0 01.875-1.399 2.5 2.5 0 00-2.363-1.689zm0-2.5a5 5 0 00-4.178 2.256 12.5 12.5 0 012.608 3.344 12.5 12.5 0 011.57-.1 12.5 12.5 0 011.488.088 12.5 12.5 0 012.658-3.383 5 5 0 00-4.146-2.205zm-.037-2.5a7.5 7.5 0 00-6.15 3.266 12.5 12.5 0 014.617 4.834 12.5 12.5 0 011.57-.1 12.5 12.5 0 011.488.088 12.5 12.5 0 014.676-4.861 7.5 7.5 0 00-6.164-3.227 7.5 7.5 0 00-.037 0zm5.226 9.129a12.5 12.5 0 01.254.117 12.5 12.5 0 00-.254-.117zM12.524-.75a10 10 0 00-8.457 4.695 12.5 12.5 0 016.907 5.905 12.5 12.5 0 011.57-.1 12.5 12.5 0 011.488.088 12.5 12.5 0 016.973-5.916A10 10 0 0012.544-.75a10 10 0 00-.02 0zm5.21 11.629a12.5 12.5 0 01.253.117 12.5 12.5 0 00-.254-.117zM12.53-3.25a12.5 12.5 0 00-11.004 6.6 12.5 12.5 0 019.448 6.5 12.5 12.5 0 011.57-.1 12.5 12.5 0 011.488.088 12.5 12.5 0 019.526-6.498 12.5 12.5 0 00-11.014-6.59 12.5 12.5 0 00-.014 0zm5.203 14.129a12.5 12.5 0 01.254.117 12.5 12.5 0 00-.254-.117zM25.043.25a2.5 2.5 0 00-2.362 1.688 12.5 12.5 0 01.877 1.4 12.5 12.5 0 011.472-.088 12.5 12.5 0 01.014 0 12.5 12.5 0 012.389.23 2.5 2.5 0 00.11-.73 2.5 2.5 0 00-2.5-2.5zm0-2.5A5 5 0 0020.9-.047a12.5 12.5 0 012.659 3.385 12.5 12.5 0 011.472-.088 12.5 12.5 0 01.014 0 12.5 12.5 0 014.783.953 5 5 0 00.217-1.453 5 5 0 00-5-5zm-.036-2.5a7.5 7.5 0 00-6.125 3.227 12.5 12.5 0 014.676 4.86 12.5 12.5 0 011.472-.087 12.5 12.5 0 01.014 0 12.5 12.5 0 017.014 2.152 7.5 7.5 0 00.486-2.652 7.5 7.5 0 00-7.5-7.5 7.5 7.5 0 00-.037 0zm.017-2.5a10 10 0 00-8.441 4.672 12.5 12.5 0 016.975 5.916 12.5 12.5 0 011.472-.088 12.5 12.5 0 01.014 0 12.5 12.5 0 019.01 3.838 10 10 0 00.99-4.338 10 10 0 00-10-10 10 10 0 00-.02 0zm.006-2.5a12.5 12.5 0 00-10.998 6.59 12.5 12.5 0 019.526 6.498 12.5 12.5 0 011.472-.088 12.5 12.5 0 01.014 0 12.5 12.5 0 0110.678 6 12.5 12.5 0 001.822-6.5 12.5 12.5 0 00-12.5-12.5 12.5 12.5 0 00-.014 0zM14.69 8.75a12.5 12.5 0 00-.128.197 12.5 12.5 0 01.128-.197zm3.043 2.129a12.5 12.5 0 01.254.117 12.5 12.5 0 00-.254-.117zM.043.25a2.5 2.5 0 00-2.5 2.5 2.5 2.5 0 00.106.717A12.5 12.5 0 01-.058 3.25a12.5 12.5 0 01.014 0 12.5 12.5 0 011.57.1 12.5 12.5 0 01.881-1.41A2.5 2.5 0 00.044.25zm0-2.5a5 5 0 00-5 5 5 5 0 00.208 1.42 12.5 12.5 0 014.691-.92 12.5 12.5 0 01.014 0 12.5 12.5 0 011.57.1A12.5 12.5 0 014.19-.045 5 5 0 00.044-2.25zm-.036-2.5a7.5 7.5 0 00-7.463 7.5 7.5 7.5 0 00.469 2.605A12.5 12.5 0 01-.057 3.25a12.5 12.5 0 01.013 0 12.5 12.5 0 011.57.1 12.5 12.5 0 014.682-4.873A7.5 7.5 0 00.044-4.75a7.5 7.5 0 00-.037 0zm.017-2.5a10 10 0 00-9.98 10 10 10 0 00.96 4.275A12.5 12.5 0 01-.057 3.25a12.5 12.5 0 01.014 0 12.5 12.5 0 011.57.1 12.5 12.5 0 016.979-5.928A10 10 0 00.044-7.25a10 10 0 00-.02 0zm.006-2.5a12.5 12.5 0 00-12.486 12.5 12.5 12.5 0 001.78 6.428A12.5 12.5 0 01-.059 3.25a12.5 12.5 0 01.014 0 12.5 12.5 0 011.57.1 12.5 12.5 0 019.532-6.51A12.5 12.5 0 00.044-9.75a12.5 12.5 0 00-.014 0zM9.722 7.951a12.5 12.5 0 01.12.154 12.5 12.5 0 00-.12-.154z'  stroke-width='1' stroke='%23000000ff' fill='none'/></pattern></defs><rect width='800%' height='800%' transform='translate(-44,-4)' fill='url(%23a)'/></svg>")
}
/* Simplified Navigation */
.project-nav {
  position: relative;
  top: 0;
  width: 100%;
  padding: 1rem 3rem 0 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  border-bottom: none; 
}


.project-logo {
  font-family: var(--Kanit);
  font-size: 1.7rem;
  font-weight: 600;
  font-style: italic;
  letter-spacing: -0.5px;
  color: var(--text-color);
  text-decoration: none;
  transition: color 0.4s ease;
}

.project-logo:hover {
  color: var(--fullwhite);
}

.back-button {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  padding: 1rem 1rem;
  background: var(--transparent-color);
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.4s ease;
}

.back-button:hover {
  background-color: var(--accent-color);
  transform: translateY(-3px);
  color: var(--fullwhite);
}
.back-icon{
  width: 20px;
  height: 20px;
  transition: transform 0.25s ease;
}
/* Breadcrumbs */

.sticky-nav-bread{
  position: -webkit-sticky; /* For Safari */
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(09, 10, 21, 0.3);
  backdrop-filter: blur(7px);
}
.breadcrumbs{
  display: block;
  width: 100%;
}

.breadcrumbs .container {
  margin: 0 auto;
  font-family: var(--Code-pro);
  font-size: 0.9em;
  margin-left: 3rem;
  display: flex;
  align-items: center;
  white-space: nowrap;
  overflow: hidden;

}

.breadcrumb-title {
  padding-right: 1rem;
  display: block;
  flex: 1 1 auto;
  min-width: 0;         
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}


.breadcrumbs a {
  color: var(--text-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.breadcrumbs a:hover {
  color: var(--bold-color);
}

.breadcrumbs .separator {
  margin: 0 0.5em;
  color: var(--text-color);
  opacity: 0.5;
}

.breadcrumbs span:last-child {
  color: var(--bold-color);
}

/* Hero Section */
.project-hero {
  padding: 3em 0 3em;
  text-align: center;
  text-justify: center;
}

.project-hero .container {
  margin: 0 auto;
  padding: 0 3em;
}

.project-hero h1 {
  display: block;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  font-family: var(--Kanit);
  font-size: 2.8em;
  font-weight: 700;
  font-style: italic;
  margin-bottom: 3rem; 
}

.tagline {
  font-size: 1.3rem;
  color: var(--text-color);
  margin-bottom: 2rem;
  font-weight: 300;
}

.tech-badges {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin: 2rem 0;
}

.tech-badge {
  background: var(--hover-color);
  color: var(--fullwhite);
  padding: 0.5rem 1.2rem;
  border-radius: 20px;
  font-family: var(--Code-pro);
  font-size: 0.85rem;
  font-weight: 500;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2.5rem;
  border-radius: 30px;
  text-decoration: none;
  font-family: var(--Kanit);
  font-weight: 400;
  transition: all 0.4s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-primary {
  background: var(--accent-color);
  color: var(--fullwhite);
}

.btn-primary:hover {
  background: var(--bold-color);
  transform: translateY(-4px);
}

.btn-secondary {
  background: var(--transparent-color);
  color: var(--text-color);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--bold-color);
  color: var(--fullwhite);
  transform: translateY(-4px);
}

/* Section Styles */
.project-section {
  padding: 4rem 0;
  background: var(--background-color);
}

.project-section:nth-child(even) {
  background: var(--background-color);
}

.container {
  max-width: 1200px;
  max-width: 80%;
  margin: 0 auto;
}

/* Overview Grid */
.overview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.overview-card {
  background: var(--transparent-color);
  padding: 2rem;
  border-radius: 15px;
  border-left: 4px solid var(--accent-color);
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.overview-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--bold-color);
}

.overview-card h3 {
  font-family: var(--Kanit);
  color: var(--bold-color);
  margin-bottom: 1rem;
  font-size: 1.4rem;
}

.overview-card p {
  color: var(--text-color);
  line-height: 1.8;
}

.results-list {
  list-style: none;
  padding: 0;
}

.results-list li {
  padding: 0.6rem 0;
  padding-left: 1.5rem;
  position: relative;
  color: var(--text-color);
}

.results-list li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--bold-color);
  font-weight: bold;
  font-size: 1.2rem;
}

/* Architecture Section */
.architecture-section {
  background: var(--background-color);
}

.architecture-content {
  margin-top: 3rem;
  text-align: center;
}

.architecture-image-container {
  max-width: 800px;
  margin: 0 auto 2rem;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.architecture-image {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.architecture-image-container:hover .architecture-image {
  transform: scale(1.02);
}

.architecture-text {
  max-width: 800px;
  margin: 0 auto;
  color: var(--text-color);
  font-size: 1.1rem;
  line-height: 1.8;
  text-align: left;
}

/* Technical Details Grid */
.technical-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.tech-card {
  background: var(--transparent-color);
  padding: 2rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.tech-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.08);
}

.tech-card h4 {
  font-family: var(--Kanit);
  color: var(--bold-color);
  margin-bottom: 0.8rem;
  font-size: 1.2rem;
}

.tech-card p {
  color: var(--text-color);
  line-height: 1.6;
  margin-top: 0.5rem;
}

.tech-card code {
  background: var(--hover-color);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  font-family: var(--Code-pro);
  font-size: 0.9rem;
  color: var(--t-color);
}

/* Features Grid */

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.feature-card {
  background: var(--transparent-color);
  padding: 2rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.08);
}

.feature-card h3 {
  font-family: var(--Kanit);
  color: var(--bold-color);
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.feature-card p {
  color: var(--text-color);
  line-height: 1.7;
}

/* Challenges & Solutions */
.challenge-box {
  margin: 3rem 0;
}

.challenge {
  background: rgba(227, 231, 23, 0.1);
  border-left: 4px solid var(--t-color);
  padding: 2rem;
  border-radius: 8px;
  margin-bottom: 1.5rem;
}

.challenge h3 {
  font-family: var(--Kanit);
  color: var(--t-color);
  margin-bottom: 1rem;
  font-size: 1.4rem;
}

.challenge p {
  color: var(--text-color);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.solution {
  background: rgba(214, 106, 18, 0.1);
  border-left: 4px solid var(--accent-color);
  padding: 2rem;
  border-radius: 8px;
  margin-top: 1rem;
}

.solution h4 {
  font-family: var(--Kanit);
  color: var(--bold-color);
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.solution p {
  color: var(--text-color);
  line-height: 1.8;
  margin-bottom: 1rem;
}

/* Code Blocks */
.code-block {
  margin: 1.5rem 0;
}

.code-header {
  background: var(--hover-color);
  color: var(--text-color);
  padding: 0.8rem 1.5rem;
  border-radius: 8px 8px 0 0;
  font-family: var(--Code-pro);
  font-size: 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: none;
}

.code-block pre {
  /* margin: 0 !important; */
  border-radius: 0 0 8px 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-top: none;
}

.code-block code {
  font-family: var(--Code-pro);
  font-size: 0.9rem;
}

/* Metrics Section */
.metrics-grid {
  /* display: grid !important; /* Force grid display */
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)) !important;
  gap: 2rem;
  margin-top: 3rem;
  width: 100%;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.metric-card {
  background: var(--accent-color);
  padding: 2.5rem 1.5rem;
  border-radius: 15px;
  text-align: center;
  /* box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3); */
  transition: transform 0.3s ease;
}

.metric-card:hover {
  transform: translateY(-8px);
}

.metric-number {
  font-family: var(--Kanit);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--fullwhite);
  margin-bottom: 0.5rem;
}

.metric-label {
  font-family: var(--Code-pro);
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.9);
}

/* Lessons Learned */
.lessons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.lesson-card {
  background: var(--transparent-color);
  padding: 2rem;
  border-radius: 12px;
  border-left: 4px solid var(--bold-color);
  border-bottom: 4px solid var(--accent-color);
  /* border: 1px solid rgba(255, 255, 255, 0.1); */
  transition: all 0.3s ease;
}

.lesson-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.08);
}

.lesson-card p {
  color: var(--text-color);
  line-height: 1.8;
  font-size: 1.05rem;
}

/* CTA Section */
.cta-section {
  text-align: center;
  padding: 5rem 0;
}

.cta-section h2 {
  font-family: var(--Kanit);
  color: var(--fullwhite);
  font-size: 2.2rem;
  margin-bottom: 2rem;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-section .btn-primary {
  background: var(--accent-color);
  color: var(--fullwhite);
}

.cta-section .btn-secondary {
  background: transparent;
  color: var(--fullwhite);
  border: 2px solid var(--fullwhite);
}
.cta-section .btn-primary:hover {
  background: var(--transparent-color);
  border: 2px solid var(--accent-color);
}
.cta-section .btn-secondary:hover {
  border: 2px solid var(--accent-color);
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  z-index: 9999;
  padding-top: 50px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(5px);
}

.lightbox-content {
  margin: auto;
  display: block;
  max-width: 90%;
  max-height: 85vh;
  border-radius: 8px;
  animation: zoom 0.3s;
}

@keyframes zoom {
  from { transform: scale(0.8); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 40px;
  color: var(--fullwhite);
  font-size: 50px;
  font-weight: bold;
  transition: 0.3s;
  cursor: pointer;
  z-index: 10000;
}

.lightbox-close:hover,
.lightbox-close:focus {
  color: var(--accent-color);
}

#lightbox-caption {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
  text-align: center;
  color: var(--text-color);
  padding: 20px 0;
  font-family: var(--Code-pro);
}

/* Responsive Design MOBILE ###############################*/ 
@media screen and (max-width: 882px) {

  .project-nav {
    padding: 1rem 1.5rem 0 1.5rem;
  }
  .project-logo {
    font-size: 1.4em;
    font-weight: 600;
  }
  .back-button {
    padding: 0.5rem 0.5rem;
    font-size: 0.7rem;
  }
  .back-icon{
    width: 18px;
    height: 18px;
  }

  .breadcrumbs .container {
    font-size: 0.8rem;
    margin-left: 1.5rem;
    padding: 0;
  }

  .project-hero h1 {
    font-size: 2rem;
  }

  .tagline {
    font-size: 1.1rem;
  }

  .container {
    max-width: 90%;
    /* padding: 0 1.5rem; */
  }

  .overview-grid,
  .technical-grid,
  .features-grid,
  .metrics-grid,
  .lessons-grid {
    grid-template-columns: 1fr;
  }

  .project-hero {
    padding: 2.5rem 0;
    margin-top: 1rem;
  }

  .hero-buttons,
  .cta-buttons {
    flex-direction: column;
    /* width: 80%; */
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .metric-number {
    font-size: 2.2rem;
  }

  .lightbox-close {
    top: 10px;
    right: 20px;
    font-size: 35px;
  }
}

/* Footer */
footer {
  display: block;
  color: var(--hover-color);
  background-color: black;
  text-align: center;
  padding: 1.5rem;
  margin-top: 0;
}