:root {
  /* ---- Greens & Neutrals ---- */
  --dark-color: #2F4F2F;
  --dark-secondary-color: #3C5A3C;
  --mid-color: #6B8E23;
  --light-color: #A7C99B;
  --light-secondary-color: #E3F2D0;

  --title-text-color: #3B7A2A;
  --main-text-color: #4E6E41;

  --title-text-font: 'title-text-font', 'Arial', sans-serif;
  --main-text-font: 'main-text-font', 'Arial', sans-serif;

  --header-bg: url('img/board.jpg');
  --body-bg: url('img/transparentgridtexture.png');

  --overlay-bg: rgba(34, 55, 28, 0.85);
  --overlay-text: #DDEECC;
  --overlay-transition: 0.3s;
}

@font-face {
  font-family: 'main-text-font';
  src: url('fonts/code.ttf');
}
@font-face {
  font-family: 'title-text-font';
  src: url('fonts/code.ttf');
}

/* ---- Reset ---- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  font-family: var(--main-text-font);
  background: var(--body-bg) var(--dark-color);
  color: var(--main-text-color);
}

/* ---- Header ---- */
header {
  background: var(--header-bg) var(--dark-color);
  color: var(--light-secondary-color);
  text-align: center;
  padding: 32px 0 24px 0;
  text-shadow: 2px 2px 5px rgba(0,0,0,0.7);
}

header h1 {
  font-family: var(--title-text-font);
  font-size: 7rem;
  letter-spacing: 3px;
  text-shadow:
    -3px -3px 6px rgba(27, 95, 38, 0.6),
     3px -3px 6px rgba(47, 171, 45, 0.6),
    -3px  3px 6px rgba(81, 170, 46, 0.6),
     3px  3px 6px rgba(15, 64, 19, 0.8);
}

/* ---- Navigation ---- */
nav {
  display: flex;
  justify-content: center;
  gap: 60px;
  background: var(--dark-secondary-color);
  padding: 16px 0;
}

nav a {
  color: var(--light-secondary-color);
  text-decoration: none;
  font-size: 22px;
  font-weight: bold;
  transition: color 0.3s;
}

nav a:hover, nav a:focus {
  color: var(--mid-color);
}

/* ---- Main content ---- */
main {
  width: 85%;
  max-width: 1200px;
  margin: 32px auto;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

main h2 {
  font-family: var(--title-text-font);
  color: var(--title-text-color);
  font-size: 2.2rem;
  margin-bottom: 24px;
  border-bottom: 2px solid var(--mid-color);
  padding-bottom: 8px;
}

/* ---- About Page ---- */
.about-container {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
  justify-content: center;
  text-align: center;
}

.about-container img {
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 50%;
}

/* ---- Gallery for Projects / Schematics ---- */
.gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
}

.gallery figure {
  position: relative;
  cursor: pointer;
  overflow: hidden;
  border-radius: 12px;
  text-align: center;
  background: var(--light-secondary-color);
  width: 260px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.gallery figure:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.2);
}

.gallery img {
  display: block;
  width: 100%;
  border-radius: 12px;
}

.gallery figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 8px;
  background: rgba(34, 55, 28, 0.85);
  color: #DDEECC;
  font-family: var(--title-text-font);
  font-size: 1.1rem;
  text-align: center;
  opacity: 0;
  transition: opacity 0.3s;
}

.gallery figure:hover figcaption,
.gallery figure:focus figcaption {
  opacity: 1;
}

/* ---- Info box for Projects / Schematics ---- */
.gallery figure .info {
  display: none;
  width: 100%;            /* fits the figure/image width */
  box-sizing: border-box;
  padding: 12px;
  margin-top: 8px;
  background: rgba(240,240,240,0.95);
  color: #333;
  border-radius: 8px;
  text-align: left;
  font-size: 16px;
}

.gallery figure.active .info {
  display: block;
}

/* Specific tweaks for Schematic 1 and 3 */
.gallery figure.s1 .info,
.gallery figure.s3 .info {
  padding: 16px;
}

/* Schematics gallery grid: 3 columns, 2 rows */
#schematics .gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 columns */
  grid-auto-rows: auto;                  /* rows adapt to content */
  gap: 30px;                             /* space between boxes */
  justify-items: center;                  /* center each figure */
}

/* Make each schematic figure bigger */
#schematics figure {
  width: 340px;        /* wider boxes */
  cursor: pointer;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 6px 25px rgba(0,0,0,0.15);
  transition: transform 0.3s, box-shadow 0.3s;
  text-align: center;
}

/* Hover effect */
#schematics figure:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}

/* Image inside figure fills the box */
#schematics figure img {
  width: 100%;
  border-radius: 12px;
  display: block;
}

/* Overlay title on hover */
#schematics figure figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 10px;
  background: rgba(34, 55, 28, 0.85);
  color: #DDEECC;
  font-family: var(--title-text-font);
  font-size: 1.3rem;
  opacity: 0;
  transition: opacity 0.3s;
}

#schematics figure:hover figcaption,
#schematics figure:focus figcaption {
  opacity: 1;
}

/* Info box (drop-down) */
#schematics figure .info {
  display: none;
  width: 100%;
  padding: 16px;
  margin-top: 8px;
  background: rgba(240, 240, 240, 0.95);
  color: #333;
  border-radius: 8px;
  font-size: 16px;
  text-align: left;
  box-sizing: border-box;
}

#schematics figure.active .info {
  display: block;
}
#schematics h2 {
  font-size: 3rem; /* larger text */
  text-align: center; /* center the text */
  color: #CFF0B2; /* lighter green */
  margin-bottom: 40px;
  letter-spacing: 2px;
  text-shadow: 2px 2px 6px rgba(0,0,0,0.3); /* subtle shadow */

  /* Floating animation */
  animation: floatTitle 3s ease-in-out infinite;
}

.schematic-info-box {
  max-width: 900px;
  margin: 20px auto 40px auto; /* centered, with spacing below */
  padding: 24px 30px;
  background: rgba(207, 240, 178, 0.9); /* light green, semi-transparent */
  color: #2F4F2F; /* dark text for readability */
  text-align: center;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
  font-size: 1.2rem;
  line-height: 1.6;
  animation: floatBox 4s ease-in-out infinite;
}

.schematic-info-box h3 {
  font-size: 1.8rem;
  margin-bottom: 12px;
}

b {
  font-size: 1.2em; /* makes bold text larger */
  color: #092002;   /* optional: a lighter green for emphasis */
}
/* ---- About & Projects Page Headers ---- */
#about h2,
#projects h2 {
  font-family: var(--title-text-font);
  font-size: 2.5rem;                  /* larger font size */
  text-align: center;                  /* center the text */
  color: var(--light-secondary-color); /* lighter green color */
  margin-bottom: 40px;                 /* space below heading */
  letter-spacing: 2px;                 /* spacing between letters */
  text-shadow: 2px 2px 6px rgba(0,0,0,0.3); /* subtle shadow */

  /* Floating animation */
  animation: floatText 3s ease-in-out infinite;
}

/* About Me Box */
.about-box {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  align-items: flex-start;
  margin: 50px 20px;
  padding: 30px;
  background: #1e1e1e;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.45);
}

/* Photo */
.about-photo img {
  width: 200px;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

/* Text */
.about-text p {
  font-size: 1.2rem;      /* make text larger */
  line-height: 1.8;       /* improve readability */
  color: #ccc;
  margin: 0;
}

/* Responsive: stack photo and text on smaller screens */
@media (max-width: 768px) {
  .about-box {
    flex-direction: column;
    align-items: center;
  }

/* Unified Hardware & Software Projects */

/* Responsive: same layout on smaller screens */
@media (max-width: 900px) {
  .project-container {
    gap: 20px;
  }
  .project-box {
    max-width: 90%;
  }
}

/* Gallery container */
.gallery {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin: 20px 0;
}

/* Individual project box */
.gallery figure {
  display: flex;
  flex-direction: row; /* side by side */
  background: #222;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.5);
  transition: transform 0.2s;
}

.gallery figure:hover {
  transform: translateY(-5px);
}

/* Image styling */
.gallery figure img {
  width: 300px;
  height: auto;
  object-fit: cover;
}

/* Info box styling */
.gallery figure .info {
  padding: 20px;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.gallery figure .info h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.gallery figure .info p {
  font-size: 1rem;
  line-height: 1.5;
}

/* Caption below image for smaller screens */
.gallery figure figcaption {
  display: none;
}

/* Responsive: stack on small screens */
@media screen and (max-width: 800px) {
  .gallery figure {
    flex-direction: column;
  }
  .gallery figure img {
    width: 100%;
  }
  .gallery figure figcaption {
    display: block;
    text-align: center;
    margin: 10px 0;
    font-weight: bold;
    color: #fff;
  }
}

/* Gallery container */
.gallery {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin: 20px 0;
}

/* Individual project box */
.gallery figure {
  display: flex;
  flex-direction: row; /* side by side */
  background: #222;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.5);
  transition: transform 0.2s;
  width: 100%;
}

.gallery figure:hover {
  transform: translateY(-5px);
}

/* Image styling */
.gallery figure img {
  flex: 1 1 40%; /* take 40% of the figure width, can grow/shrink */
  max-width: 100%;
  height: auto;
  object-fit: cover;
}

/* Info box styling */
.gallery figure .info {
  flex: 1 1 60%; /* take 60% of the figure width */
  padding: 20px;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.gallery figure .info h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.gallery figure .info p {
  font-size: 1rem;
  line-height: 1.5;
}

/* Caption below image for smaller screens */
.gallery figure figcaption {
  display: none;
}

/* Responsive: stack on small screens */
@media screen and (max-width: 900px) {
  .gallery figure {
    flex-direction: column;
  }
  .gallery figure img {
    width: 100%;
  }
  .gallery figure .info {
    width: 100%;
    padding: 15px;
  }
  .gallery figure figcaption {
    display: block;
    text-align: center;
    margin: 10px 0;
    font-weight: bold;
    color: #fff;
  }
}

/* ---- Unified Hardware & Software Project Styles ---- */
.project-container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: center;
  margin: 40px 20px;
}

/* Individual Project Box */
.project-box {
  display: flex;
  flex-direction: row; /* image + text side by side */
  align-items: center;
  background: #1e1e1e;
  padding: 20px;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.45);
  max-width: 700px;
  width: 100%;
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
  letter-spacing: 2px;
  
}

.project-info h3 {
  margin-bottom: 15px; /* Adjust this value as needed */
}
.project-info p {
  margin-top: 10px;
  line-height: 1.6; /* Optional: makes text easier to read */
}


.project-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.55);
}

/* Project Images */
.project-box img {
  width: 250px;
  height: auto;
  object-fit: cover;
  border-radius: 12px;
  margin-right: 20px;
  flex-shrink: 0;
}

/* Project Info Box */
.project-info {
  flex: 1;
  color: #E3F2D0;
  font-size: 1rem;
  line-height: 1.5;
}

.project-info h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: #fff;
  font-family: var(--title-text-font);
}

.project-info p {
  margin: 0;
}

/* ---- Gallery Figures for Hardware/Software ---- */



  .about-text p {
    font-size: 1.1rem;
    text-align: center;
  }

  .about-photo img {
    width: 150px;
    margin-bottom: 20px;
  }
}

/* ---- About Me Section ---- */
.about-box {
  display: flex;
  align-items: flex-start;
  gap: 32px;
  background: rgba(167, 201, 155, 0.2); /* light green transparent box */
  padding: 24px;
  border-radius: 12px;
  margin-bottom: 40px;
}

.about-photo img {
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid #A7C99B;
}

.about-text {
  flex: 1;
  color: #E3F2D0; /* light mint text color */
  font-size: 1.1rem;
  line-height: 1.6;
}

.about-text h3 {
  font-size: 2rem;       /* larger title */
  color: #DDEECC;        /* light text */
  margin-bottom: 16px;
  letter-spacing: 1px;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.2);
}

/* ---- Interests Section ---- */
.interests-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
}

.interest-box {
  background: rgba(167, 201, 155, 0.2); /* soft light green */
  padding: 20px;
  border-radius: 12px;
  width: 300px;
  text-align: center;
  color: #E3F2D0; /* lighter text color */
  transition: transform 0.3s ease;
}

.interest-box:hover {
  transform: translateY(-5px); /* subtle movement */
}

.interest-box h3 {
  font-size: 1.8rem;  /* larger title */
  margin-bottom: 12px;
  color: #DDEECC;     /* light title color */
  text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.interest-box ul {
  list-style-type: disc;
  padding-left: 20px;
  text-align: left;
}

.interest-box li {
  margin-bottom: 8px;
  font-size: 1rem;
  color: #E3F2D0; /* lighter text */
}


.contact-box {
  border: 20px solid transparent; /* space for border image */
  border-image-source: url('img/mixer.png'); /* your decorative border image */
  border-image-slice: 30; /* adjust slice depending on your image */
  border-image-repeat: round; /* repeat edges to fill the box */
  border-image-width: 20px;
  padding: 40px;
  background-color: rgba(243, 243, 243, 0.95); /* keep box background visible */
  border-radius: 12px; /* optional rounded corners */
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}



/* Floating animation keyframes (reusable for all headers) */
@keyframes floatText {
  0%   { transform: translateY(0); }
  50%  { transform: translateY(-8px); } /* moves up slightly */
  100% { transform: translateY(0); }
}

@keyframes floatBox {
  0% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
  100% { transform: translateY(0); }
}


@keyframes floatTitle {
  0%   { transform: translateY(0); }
  50%  { transform: translateY(-10px); } /* move up slightly */
  100% { transform: translateY(0); }
}

/* Schematic 1 & 3 optional custom sizing */
.info-s1, .info-s3 {
  width: 100%; /* match figure width */
  padding: 16px;
}


@keyframes floatText {
  0% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
  100% { transform: translateY(0); }
}

/* ---- Contact Page ---- */
#contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 16px;
  margin: 40px 0;
}

#contact h2 {
  font-size: 5rem;
  margin-bottom: 24px;
}

/* Contact Box */
.contact-box {
  background: var(--light-secondary-color);
  max-width: 800px;
  width: 85%;
  margin: 60px auto;
  padding: 80px 60px;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  text-align: center;
  font-size: 1.5rem;
  color: var(--main-text-color);
  letter-spacing: 1.5px;
}

.contact-box p {
  margin: 20px 0;
  font-size: 1.3rem;
}
.contact-box h3 {
  font-size: 3rem;
  color: var(--title-text-color);
  text-shadow: 2px 2px 6px rgba(0,0,0,0.35);
  margin-bottom: 20px;
  animation: floatText 3s ease-in-out infinite;
}

/* About + Contact Wrapper */
.about-contact-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  margin-bottom: 40px; /* space before interests section */
}

/* About Me box */
.about-box {
  flex: 1 1 48%; /* take ~half width */
}

/* Contact box */
.contact-box {
  flex: 1 1 48%; /* take ~half width */
  background: var(--light-secondary-color);
  padding: 24px;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
  text-align: left;
  margin-top: 0; /* remove extra top margin */
}

/* Responsive: stack on small screens */
@media (max-width: 900px) {
  .about-contact-wrapper {
    flex-direction: column;
  }
  .about-box, .contact-box {
    flex: 1 1 100%;
  }
  .contact-box {
    margin-top: 24px; /* small spacing when stacked */
  }
}
/* Photo Album Slideshow */
#photo-album {
  text-align: center;
  margin: 40px auto;
}

.slideshow-container {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  border: 12px solid #33b27b; /* camera/photo frame border */
  border-radius: 16px;
  padding: 20px;
  background: #2e9c51; /* album background */
  box-shadow: 0 10px 30px rgba(90, 212, 79, 0.4);
}

.slide {
  display: none;
  width: 100%;
  border-radius: 8px;
}

.slide img,
.slide video {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

/* Navigation arrows */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 12px;
  color: white;
  font-weight: bold;
  font-size: 24px;
  border-radius: 50%;
  background: rgba(0,0,0,0.5);
  user-select: none;
  transform: translateY(-50%);
}

.prev { left: 10px; }
.next { right: 10px; }

.prev:hover, .next:hover {
  background: rgba(0,0,0,0.8);
}

/* Dots */
.dots-container {
  text-align: center;
  margin-top: 16px;
}

.dot {
  cursor: pointer;
  height: 12px;
  width: 12px;
  margin: 0 4px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.3s;
}

.dot.active {
  background-color: #717171;
}


.contact-box a {
  color: var(--title-text-color);
  text-decoration: none;
  font-weight: bold;
  transition: color 0.2s;
}

.contact-box a:hover,
.contact-box a:focus {
  color: var(--mid-color);
}
.album-container {
  position: relative;
  max-width: 700px;
  margin: 40px auto;
  border: 10px solid #444; /* photo frame */
  padding: 20px;
  border-radius: 12px;
  background: #222;
}

.slide {
  display: none;
  width: 100%;
}

.slide img,
.slide video {
  width: 100%;
  border-radius: 8px;
}

/* Navigation Arrows */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  padding: 12px;
  font-size: 24px;
  color: white;
  background: rgba(0,0,0,0.5);
  border: none;
  border-radius: 50%;
}

.prev { left: 10px; }
.next { right: 10px; }

.prev:hover, .next:hover {
  background: rgba(0,0,0,0.8);
}


input, textarea {
  padding: 10px;
  font-size: 16px;
  border: 1px solid var(--mid-color);
  border-radius: 5px;
  font-family: var(--main-text-font);
}

button {
  background: var(--mid-color);
  color: var(--light-secondary-color);
  border: none;
  padding: 12px;
  font-size: 18px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s;
}

button:hover, button:focus {
  background: var(--dark-color);
}

/* Container for both skill boxes */
.skills-container {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  margin: 50px 20px;
}

/* Individual skill boxes */
.skill-box {
  background: #063d14;          /* dark modern card */
  border-radius: 12px;
  padding: 25px;
  flex: 1 1 300px;               /* responsive: min 300px, grow */
  max-width: 500px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.4);
  transition: transform 0.3s, box-shadow 0.3s;
}

/* Hover effect */
.skill-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(13, 77, 23, 0.5);
}

/* Box headings */
.skill-box h3 {
  margin-bottom: 15px;
  font-size: 1.5rem;
  color: #f5f5f5;
  border-bottom: 2px solid #094321;
  padding-bottom: 8px;
}

/* Lists */
.skill-box ul {
  list-style-type: disc;
  margin-left: 20px;
  margin-bottom: 15px;
  color: #ccc;
}

/* Images inside skill boxes */
.skill-images {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-start;
  margin-top: 10px;
}

.skill-images img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid #555;
  transition: transform 0.3s;
}

.skill-images img:hover {
  transform: scale(1.1);
  border-color: #888;
}

/* Container for all skill boxes */
.skills-container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;              /* more space between boxes */
  justify-content: center;
  margin: 10px 10px;      /* more top/bottom spacing */
}

.full-width-inlay {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  z-index: 5;

  /* Adjust thickness here */
  height: 15px;
  /* reduce height from 8px to 4px */
}

.full-width-inlay img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}


/* Individual skill boxes */
.skill-box {
  background: #123b06;          
  border-radius: 16px;           /* slightly rounder corners */
  padding: 35px 30px;            /* more internal padding */
  flex: 1 1 320px;               /* responsive min-width 320px */
  max-width: 500px;
  box-shadow: 0 10px 25px rgba(4, 49, 23, 0.45);
  transition: transform 0.3s, box-shadow 0.3s;
}

/* Hover effect */
.skill-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.55);
}

/* Headings */
.skill-box h3 {
  margin-bottom: 20px;
  font-size: 1.6rem;
  color: #f5f5f5;
  border-bottom: 2px solid #444;
  padding-bottom: 10px;
}

/* Lists */
.skill-box ul {
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 0;
  color: #ccc;
  line-height: 1.8;            /* more spacing between list items */
}

/* Optional: spacing for last list item */
.skill-box ul li:last-child {
  margin-bottom: 10px;
}

/* Optional: add breathing space around the whole container on smaller screens */
@media (max-width: 768px) {
  .skills-container {
    flex-direction: column;
    align-items: center;
    gap: 30px;
    margin: 40px 10px;
  }
}

strong {
  font-size: 1.2em; /* 20% larger than surrounding text */
  font-weight: 700; /* optional: make sure it’s bold */
}

/* Optional: make it even bigger for headings or special emphasis */
strong.large {
  font-size: 1.5em;
  color: #fff; /* or any accent color */
}

.skill-box ul {
  list-style-type: disc;
  margin-left: 25px;
  padding-left: 0;
  line-height: 1.8;        /* more space between lines */
  font-size: 1rem;          /* adjust for readability */
  color: #ccc;
}

.skill-box ul li {
  margin-bottom: 15px;      /* sp
      <!-- About Me -->
      <div class="about-box">
        <div class="about-photo">
          <img src="img/me.jpg" alt="Sadie Portrait">
        </div>
        <div class="about-text">
<p>Sadie Racky is a Music Technologist with a concentration in hardware circuitry design and modular synthesis. She has a passion for building analog sound circuits as well as implementing microcontrollers with different softwares in her designs. She has proficiency in languages such as Python, C#, and Arduino (IDE), as well as VCV Rack, which is virtual modular synthesis. </p>
        </div>
      </div>
ace between each bullet */
}

.skill-box h3 {
  margin-bottom: 20px;
  font-size: 1.6rem;
  color: #f5f5f5;
  border-bottom: 2px solid #444;
  padding-bottom: 10px;
}

.skill-box {
  padding: 35px 30px;       /* more internal padding for breathing room */
  background: #03340b;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.45);
}


/* ---- Responsive ---- */
@media (max-width: 900px) {
  .about-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .gallery figure {
    width: 48%;
  }
}

@media (max-width: 600px) {
  header h1 {
    font-size: 2rem;
  }

  nav {
    flex-wrap: wrap;
    gap: 12px;
    font-size: 18px;
  }

  .gallery figure {
    width: 100%;
  }

  main {
    width: 95%;
  }
.album-container {
  position: relative;
  max-width: 600px;
  aspect-ratio: 4/3;
  margin: 40px auto;
  padding: 10px;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(56, 239, 117, 0.4);

  /* Decorative background inside the box */
border: 20px solid transparent;
border-image: url('lace.png') 17 round;
  /* Optional: add border around the container */
  border: 8px solid #fff;   /* a white border to frame the image */
  overflow: hidden;          /* ensures slides don’t overflow */
}



.album-container {
  position: relative;
  max-width: 700px;
  margin: 40px auto;
  border: 8px solid hsl(120, 63%, 51%); /* dark green border */
  padding: 20px;
  border-radius: 12px;
  background: #3d0909;
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
  overflow: hidden;
}
.project-box {
  border: 2px solid #2F4F2F;        /* dark green solid border */
  border-radius: 12px;               /* rounded corners for softness */
  box-shadow: 0 6px 15px rgba(47, 79, 47, 0.3); /* soft green drop shadow */
  padding: 20px;
  background-color: rgba(167, 201, 155, 0.1); /* lightly tinted background */
  display: flex;
  gap: 20px;
  align-items: center;
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
  cursor: pointer;
}

/* Glow and elevate on hover for interactivity */
.project-box:hover {
  border-color: #7CFC00;            /* neon green border on hover */
  box-shadow: 0 0 20px 6px #7CFC00; /* neon glow shadow */
  background-color: rgba(167, 201, 155, 0.15);
}

/* Style the image inside the project box */
.project-image img {
  width: 250px;
  height: auto;
  border-radius: 12px;
  border: 1px solid #2F4F2F;
  box-shadow: 0 4px 12px rgba(47, 79, 47, 0.4);
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

/* Enhance image glow on project box hover */
.project-box:hover .project-image img {
  border-color: #7CFC00;
  box-shadow: 0 0 15px 4px #7CFC00;
}
.projects-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  padding: 20px 0;
  max-width: 1200px;
  margin: 0 auto;
}

.project-box {
  border: 2px solid #2F4F2F;          /* dark green border */
  border-radius: 14px;                 /* rounded corners */
  box-shadow: 0 8px 20px rgba(47,79,47,0.2); /* subtle green shadow */
  background-color: rgba(167, 201, 155, 0.1); /* light semi-transparent green */
  padding: 20px;
  display: flex;
  gap: 20px;
  align-items: center;
  cursor: pointer;
  transition: box-shadow 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.project-box:hover {
  border-color: #7CFC00;              /* neon green on hover */
  box-shadow: 0 0 25px 6px #7CFC00;  /* neon glow */
  transform: translateY(-6px);
  background-color: rgba(167, 201, 155, 0.15);
}

.project-image img {
  width: 200px;
  height: auto;
  border-radius: 12px;
  border: 1px solid #2F4F2F;
  box-shadow: 0 6px 15px rgba(47,79,47,0.3);
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.project-box:hover .project-image img {
  border-color: #7CFC00;
  box-shadow: 0 0 20px 5px #7CFC00;
}

/* Content within project-info */
.project-info h3 {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #154734;      /* dark green text */
  margin-bottom: 12px;
  font-size: 1.5rem;
}

.project-info p, .project-info ul {
  color: #2F4F2F;
  font-size: 1rem;
  line-height: 1.6;
}

.project-info ul {
  padding-left: 20px;
  margin-top: 8px;
}

.project-info ul li {
  margin-bottom: 6px;
}


header h1:hover {
  color: #7CFC00;
  text-shadow: 0 0 15px #7CFC00, 0 0 30px #7CFC00;
}

body {
  cursor: url('img/cursor.png') 0 0, auto;  /* x y hotspot */
}
.album-container {
  position: relative;
  max-width: 600px;
  aspect-ratio: 4/3;
  margin: 40px auto;
  border: 8px solid #444;
  border-radius: 12px;
  padding: 10px;
  background: #222;
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.slide {
  display: none;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.slide img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 8px;
}
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  padding: 8px;
  font-size: 20px;
  color: white;
  background: rgba(0,0,0,0.5);
  border: none;
  border-radius: 50%;
}
.prev { left: 10px; }
.next { right: 10px; }
.prev:hover, .next:hover { background: rgba(0,0,0,0.8); }
.dots-container {
  text-align: center;
  margin-top: 12px;
}
.dot {
  cursor: pointer;
  height: 10px;
  width: 10px;
  margin: 0 3px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.3s;
}
.dot.active { background-color: #717171; }

  
}


.project-box {
  display: flex;
  align-items: stretch;
  height: 200px; /* or auto for flexible height */
  margin: 16px 0;
  background: #abf0a0;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  overflow: hidden;
}

.project-image, .project-info {
  flex: 1 1 0;
  min-width: 0;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.project-info {
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (max-width: 700px) {
  .project-box {
    flex-direction: column;
    height: auto;
  }
  .project-image, .project-info {
    width: 100%;
    height: 180px; /* or auto if you want flexible heights on small screens */
  }
  .project-image img {
    height: 100%;
    border-radius: 8px 8px 0 0;
  }
}
.projects-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px; /* spacing between boxes */
  margin: 16px 0;
}

@media (max-width: 700px) {
  .projects-container {
    grid-template-columns: 1fr; /* stack project boxes vertically on small screens */
  }

  .project-box {
    flex-direction: column;
    height: auto;
  }

  .project-image, .project-info {
    width: 100%;
    height: 180px;
  }

  .project-image img {
    height: 100%;
    border-radius: 8px 8px 0 0;
  }
}
.project-box {
  display: flex;
  align-items: stretch;
  height: 200px; /* or auto for flexible height */
  margin: 16px 0;
  background: #bbe8be;  /* light green background */
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  overflow: hidden;
  color: #0a3223;  /* dark green text for all text inside */
}


.text-box.top-text {
  width: 300px;              /* adjust to your image size */
  height: 200px;             /* adjust to your image size */
  background-image: url('img/comp.png'); /* your computer image */
  background-size: contain;  /* scale image to fit */
  background-repeat: no-repeat;
  background-position: center;
  margin: 30px auto;         /* center on page */
  display: flex;             /* center text */
  align-items: center;       /* vertically center text */
  justify-content: center;   /* horizontally center text */
  text-align: center;        /* center text inside box */
  padding: 20px;             /* space inside the monitor screen */
  color: #fff;               /* text color for contrast */
  font-size: 1rem;
  box-sizing: border-box;
}

/* Optional hover glow */
.text-box.top-text:hover {
  box-shadow: 0 0 15px rgba(0, 255, 255, 0.7); /* neon glow effect */
  transform: scale(1.05); /* subtle zoom */
}


.bottom-text {
  /* Additional styling for bottom text box if needed */
}

.project-info {
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #154734;  /* dark green text */
}

.projects-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin: 16px 0;
}

.project-box {
  display: flex;
  align-items: stretch;
  background: #b3e0ab;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  overflow: hidden;
  color: #154734;
  height: auto; /* auto height for content */
}

.project-image, .project-info {
  flex: 1 1 0;
  min-width: 0;
  height: auto;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 8px 0 0 8px;
}

.project-info {
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow-wrap: break-word;
  word-break: break-word;
}
header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 10px 20px;
  border-bottom: 1px solid #ddd;
}



header .subheader {
  font-size: 1rem; /* smaller font */
  color: #021d04; /* same color */
  margin-top: 5px;
}


/* Stack on smaller screens */
@media (max-width: 900px) {
  .projects-container {
    grid-template-columns: 1fr; /* one column */
  }
  .project-box {
    flex-direction: column; /* stack image above text */
  }
  .project-image img {
    border-radius: 8px 8px 0 0;
    height: auto;
  }
}

.site-footer {
  background-color: #a9c6ae;  /* very light greenish */
  color: #154734;             /* dark green text */
  text-align: center;
  padding: 12px 20px;
  font-size: 0.9rem;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  border-top: 1px solid #cbd8c3;
  margin-top: 30px;
}

.site-footer a {
  color: #154734;
  text-decoration: none;
  font-weight: 600;
}

.site-footer a:hover,
.site-footer a:focus {
  text-decoration: underline;
}
a:hover, a:focus {
  color: #c5d4b6; /* neon green */
  text-shadow: 0 0 8px #d6f8b4;
  transition: color 0.3s, text-shadow 0.3s;
}

button:hover {
  box-shadow: 0 0 12px #adc497;
  transition: box-shadow 0.3s;
}

.glass-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 128, 0, 0.25);
  padding: 24px;
  color: #94f435;
}
@keyframes pulse {
  0%, 100% { opacity: 0.7; }
  50% { opacity: 1; }
}

body::before {
  content: "";
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url('img/waveform_overlay.png') repeat;
  opacity: 0.7;
  animation: pulse 6s ease-in-out infinite;
  pointer-events: none;
  z-index: -1;
}
header h1 {
  display: inline-block;
  transition: transform 0.4s ease;
  cursor: pointer;
}

header h1.stretched {
  transform: scaleX(1.5);
}
@keyframes stretchX {
  0%   { transform: scaleX(1); }
  50%  { transform: scaleX(1.5); }
  100% { transform: scaleX(1); }
}

header h1 {
  display: inline-block;
  cursor: pointer;
}
a:hover, a:focus {
  color: #7CFC00; /* Neon green */
  text-shadow: 0 0 8px #7CFC00;
  transition: color 0.3s, text-shadow 0.3s;
}

button:hover {
  box-shadow: 0 0 12px #7CFC00;
  transition: box-shadow 0.3s;
}
body {
  cursor: url('img/cursor.png'), auto;
}

.glow {
  box-shadow: 0 0 15px 5px #7CFC00; /* neon green glow */
  transition: box-shadow 0.4s ease;
}
/* Glow effect for box and image */
.glow {
  box-shadow: 0 0 20px 5px #7CFC00; /* bright neon green glow */
  transform: scale(1.05);
  transition: box-shadow 0.4s ease, transform 0.4s ease;
}

.glow img {
  box-shadow: 0 0 15px 4px #7CFC00;
  border-radius: 12px;
  transition: box-shadow 0.4s ease;
  transform: scale(1.05);
}

header {
  background: var(--header-bg) var(--dark-color);
  color: var(--light-secondary-color);
  text-align: center;              /* Center text horizontally */
  padding: 32px 0 24px 0;
  text-shadow: 2px 2px 5px rgba(0,0,0,0.7);

  /* Flexbox centering */
  display: flex;
  flex-direction: column;
  align-items: center;             /* Center child elements horizontally */
}
.project-info h3 {
  margin-bottom: 15px; /* Adjust this value as needed */
}
.project-info p {
  margin-top: 10px;
  line-height: 1.6; /* Optional: makes text easier to read */
}
.header-container {
  position: relative; /* needed for absolute positioning of the GIF */
  text-align: center; /* centers the header text */
  padding: 20px 0;
}

.header-container h1 {
  font-size: 3rem;
  margin: 0;
}

.header-gif {
  position: absolute;
  right: 20px; /* distance from the right edge */
  top: 45%; /* vertically center relative to header */
  transform: translateY(-50%); /* perfect vertical centering */
  width: 180px; /* adjust size as needed */
  height: auto;
}
/* =========================
   Universal hover/focus/touch glow
   Paste this at the VERY END of style.css
   ========================= */

:root {
  --hover-glow: #A7C99B;
  --hover-glow-soft: rgba(167,201,155,0.35);
  --hover-glow-strong: rgba(167,201,155,0.95);
}

/* Elements we want to glow */
.projects-container .project-box,
.skill-box,
.interest-box,
.gallery figure,
#schematics figure {
  transition: transform 280ms cubic-bezier(.2,.9,.2,1),
              box-shadow 280ms cubic-bezier(.2,.9,.2,1),
              border-color 220ms linear;
  will-change: transform, box-shadow;
  -webkit-tap-highlight-color: transparent; /* nicer on android */
  box-sizing: border-box;
  /* ensure these don't overflow their glow */
  position: relative;
}

/* keyboard focus + hover + "is-hover" class for touch */
.projects-container .project-box:hover,
.projects-container .project-box:focus,
.projects-container .project-box:focus-visible,
.projects-container .project-box.is-hover,
.skill-box:hover,
.skill-box:focus,
.skill-box:focus-visible,
.skill-box.is-hover,
.interest-box:hover,
.interest-box:focus,
.interest-box:focus-visible,
.interest-box.is-hover,
.gallery figure:hover,
.gallery figure:focus,
.gallery figure:focus-visible,
.gallery figure.is-hover,
#schematics figure:hover,
#schematics figure:focus,
#schematics figure:focus-visible,
#schematics figure.is-hover {
  transform: translateY(-6px);
  box-shadow:
    0 8px 20px var(--hover-glow-soft),
    0 0 22px 6px var(--hover-glow);
  border-color: var(--hover-glow);
  outline: none; /* we provide a specific focus outline below */
}

/* Accessible focus outline for keyboard users */
.projects-container .project-box:focus-visible,
.skill-box:focus-visible,
.interest-box:focus-visible,
.gallery figure:focus-visible,
#schematics figure:focus-visible {
  outline: 3px solid var(--hover-glow-strong);
  outline-offset: 6px;
}

/* Image glow inside a project box */
.project-box .project-image img,
.gallery figure img,
#schematics figure img {
  transition: box-shadow 280ms ease, transform 280ms ease;
  will-change: box-shadow, transform;
}

/* bring extra glow to the image when parent is hovered/touched */
.project-box:hover .project-image img,
.project-box.is-hover .project-image img,
.gallery figure:hover img,
.gallery figure.is-hover img,
#schematics figure:hover img,
#schematics figure.is-hover img {
  box-shadow: 0 6px 18px var(--hover-glow-soft),
              0 0 14px 4px var(--hover-glow);
  transform: scale(1.03);
}

/* small active feedback for touch */
@media (pointer: coarse) {
  .projects-container .project-box:active,
  .skill-box:active,
  .interest-box:active,
  .gallery figure:active,
  #schematics figure:active {
    transform: translateY(-3px);
    box-shadow: 0 8px 16px var(--hover-glow-soft);
  }
}

/* Make sure boxes remain responsive */
.projects-container .project-box,
.skill-box,
.interest-box,
.gallery figure,
#schematics figure {
  max-width: 100%;
  min-width: 0;
}

header .subheader {
  font-size: 1rem;      /* smaller font */
  color: #021d04;       /* same dark green */
  margin-top: 5px;      /* small gap below main header text */
}

/* About Me photo glowing effect */
.about-photo-img {
  display: block;
  max-width: 100%;
  border-radius: 12px; /* optional */
  box-shadow: 0 0 10px rgba(2, 29, 4, 0.5);
  transition: box-shadow 0.3s, transform 0.3s;
  cursor: pointer;
}

.about-photo-img:hover {
  box-shadow: 0 0 25px rgba(2, 29, 4, 0.8); /* glow intensifies on hover */
}

/* Animation for moving side-to-side */
@keyframes sideMove {
  0% { transform: translateX(0); }
  25% { transform: translateX(15px); }
  50% { transform: translateX(-15px); }
  75% { transform: translateX(10px); }
  100% { transform: translateX(0); }
}

/* Add class for movement */
.moving {
  animation: sideMove 1s ease-in-out infinite;
}
/* About Text Box */
.about-text {
  background-color: #0f290f;
  padding: 15px;
  border-radius: 8px;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  position: relative;
}
.about-text {
  background-color: #0f290f;
  padding: 15px;
  border-radius: 8px;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  position: relative;
}

/* Hover glow effect */
.about-text:hover {
  box-shadow: 0 0 20px 5px rgba(2, 29, 4, 0.6);
  transform: translateY(-3px);
}
/* Computer Container */
.computer-container {
  position: relative;
  width: auto; /* let content dictate width */
  margin: 20px auto;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 5px; /* minimal space between computer and circle */
}

/* Computer Image */
.computer-image {
  width: 280px; /* smaller to reduce overall spacing */
  display: block;
  border: none;
}

/* Click Me Text */
.click-me-text {
  position: absolute;
  top: 80px;
  left: 65px;
  color: #031707;
  font-size: 1.5rem;
  font-weight: bold;
  text-shadow: 0 0 5px #21d633, 0 0 10px #063a1c;
  cursor: pointer;
  user-select: none;
  transition: transform 0.2s ease;
}

.click-me-text:hover {
  transform: scale(1.1);
}

/* Circle Text Box */
.text-circle {
  width: 220px; /* smaller circle */
  height: 220px;
  background-color: #accfab;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 12px;
  color: #051f12;
  font-size: 0.95rem;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.5s cubic-bezier(.25,.8,.25,1);
  pointer-events: none;
}

/* Show circle when active */
.text-circle.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.nice-textbox {
  background-color: #bef1be; /* soft light blue background */
  border-radius: 12px;       /* rounded corners */
  padding: 20px 25px;        /* inner spacing */
  margin: 30px auto;          /* space around the box */
  max-width: 900px;          /* limit width */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15); /* subtle shadow */
  font-size: 1rem;
  line-height: 1.6;
  color: #333;               /* dark text for contrast */
}

.nice-textbox a {
  color: #0077cc;            /* link color */
  text-decoration: underline;
}

.nice-textbox a:hover {
  color: #005fa3;
}
.project-row {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 50px;
}

.project-row:nth-child(even) {
  flex-direction: row-reverse;
}

.project-image img {
  width: 0%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.project-info {
  width: 50%;
  background-color: #0f290f;
  padding: 20px;
  border-radius: 8px;
  color: #fff;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.project-info h3 {
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 1.5rem;
}

.project-info p {
  line-height: 1.6;
}

.full-width-text {
  width: 100%;
  text-align: center;
}
/* Each project takes full width */
.project-box {
  display: flex;
  flex-direction: column; /* stack image and text vertically */
  width: 100%;
  margin-bottom: 50px;
}

.project-box img {
  width: 100%; /* full-width image */
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.project-box .project-info {
  background-color: #0f290f;
  color: #fff;
  padding: 20px;
  border-radius: 8px;
  margin-top: 15px; /* space between image and text */
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.project-box h3 {
  margin-top: 0;
  font-size: 1.5rem;
}

.project-box p {
  line-height: 1.6;
}
/* Make each project full-width and stacked */
.projects-container {
  display: flex;
  flex-direction: column; /* stack projects vertically */
  gap: 50px; /* space between projects */
}

.project-box {
  display: flex;
  flex-direction: column; /* stack image above text */
  width: 100%;
}

.project-box img {
  width: 80%; /* full-width image */
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.project-box .project-info {
  background-color: #0f290f;
  color: #fff;
  padding: 20px;
  border-radius: 8px;
  margin-top: 15px; /* space between image and text */
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.project-box h3 {
  margin-top: 0;
  font-size: 1.5rem;
}

.project-box p {
  line-height: 1.6;
}
.project- {
  width: 100%;
  margin-bottom: 50px;
  position: relative;
}

.project-box img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  display: block;
}

.project-box .project-info {
  margin-top: 15px;
  background-color: #0f290f;
  padding: 20px;
  border-radius: 8px;
  color: #fff;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.project-info h3 {
  margin-top: 0;
  font-size: 1.5rem;
}

.project-info p {
  line-height: 1.6;
}

.full-width-text {
  width: 100%;
  text-align: center;
}
.project-row {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 50px;
}

.project-row:nth-child(even) {
  flex-direction: row-reverse;
}

.project-image img {
  width: 50%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.project-info {
  width: 50%;
  background-color: #0f290f;
  padding: 20px;
  border-radius: 8px;
  color: #fff;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.project-info h3 {
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 1.5rem;
}

.project-info p {
  line-height: 1.6;
}
.project-row {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 50px;
}

.project-image img {
  width: 40%; /* make image smaller so info can be wider */
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.project-info {
  width: 100%; /* take more horizontal space */
  background-color: #0f290f;
  padding: 30px 20px;
  border-radius: 8px;
  color: #fff;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  text-align: center;
}
.project-image {
  display: flex;
  justify-content: center; /* centers horizontally */
  align-items: center; /* centers vertically if needed */
}

.project-image img {
  width: 40%; /* keep the smaller size */
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}


.project-info h3 {
  margin-top: 0;
  margin-bottom: 20px;
  font-size: 1.5rem;
}

.project-info p {
  line-height: 1.8;
}

.full-width-text {
  width: 100%;
  text-align: center;
}
