.rocket {
  opacity: 0.5;
  position: fixed;
  bottom: 8px;
  left: 8px;
  width: 20px;
  height: 20px;
  will-change: transform;
  z-index: 5;
  transform: rotate(-45deg) translateY(100vh);
  -webkit-transform: rotate(-45deg) translateY(100vh);
  transition: transform 0.4s ease-out;
  -webkit-transition: -webkit-transform 0.4s ease-out;
}

/* General Sections */
.section-content {
  display: flex;
  display: -webkit-flex;
  flex-direction: column;
  -webkit-flex-direction: column;
  align-items: center;
  -webkit-align-items: center;
  overflow: hidden;
}

.section-image {
  width: 100%;
  height: 350px;
  display: block;
  overflow: visible;
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  z-index: 0;
}
.section-image img {
  display: block;
  width: 100%;
  object-fit: cover;
}
.section-text {
  width: 100%;
  padding: 3em 2em;
  display: flex;
  display: -webkit-flex;
  background: #0b1622;
  flex-direction: column;
  -webkit-flex-direction: column;
  justify-content: center;
  -webkit-justify-content: center;
  z-index: 1;
}

/* HERO SECTION */
.hero .section-image {
  height: 450px;
  display: block;
}
.hero .section-image .spaceman {
  position: relative;
  height: 100%;
  object-fit: contain;
  object-position: bottom;
  z-index: 101;
}
.hero .section-text {
  background-color: #050A12aa;
}
.hero .hero-cta {
  margin-top: 2em;
}

/* SERVICES */
.services .section-content {
  flex-direction: column-reverse;
  -webkit-flex-direction: column-reverse;
}
.services h2,
.services h3 {
  margin: 0.5em 0;
}
.services .section-text {
  background-color: #050A12aa;
}
.services .services-cta {
  margin: 3em;
  display: inline-block;
}
.services .gear-wrapper {
  display: flex;
  display: -webkit-flex;
  justify-content: center;
  -webkit-justify-content: center;
  align-items: center;
  -webkit-align-items: center;
  margin-top: 100px;
}
.services .gear {
  width: 400px;
  height: 400px;
  transition: transform 0.05s linear;
  -webkit-transition: -webkit-transform 0.05s linear;
  will-change: transform;
  filter: drop-shadow(0 0 4px #00d8ff) drop-shadow(0 0 8px #00d8ff);
}
.services .gear-b {
  transform: rotate(30deg);
  -webkit-transform: rotate(30deg);
  margin-top: -390px;
  margin-left: -65px;
}

/* PROCESS */
.process .process-cta {
  margin: 3em 0;
  display: inline-block;
}
.process .process-steps {
  display: flex;
  display: -webkit-flex;
  flex-direction: column;
  -webkit-flex-direction: column;
  gap: 2rem;
  margin-top: 2rem;
}
.process .process-step h4 {
  font-size: 1.25rem;
  color: #EAF6F6;
  margin-bottom: 0.5rem;
  font-weight: 600;
}
.process .process-step div {
  color: rgba(234, 246, 246, 0.85);
  font-size: 1rem;
  line-height: 1.6;
}
.process .section-image {
  background-image: url('../images/process_building.webp');
}

/* ABOUT */
.about .about-cta {
  margin: 2em 1em;
  display: inline-block;
}
.about .section-image {
  position: relative;
  height: 650px;
  overflow: visible;
  display: flex;
  display: -webkit-flex;
  justify-content: center;
  -webkit-justify-content: center;
}
.about .section-image img {
  position: absolute;
  width: auto;
  display: block;
}
.about .section-text {
  text-align: center;
}
.about .section-text p {
  padding: 0;
  text-align: center;
  font-size: 2em;
  font-weight: 900;
}
.about .tree {
  transition: top 0.1s ease-out;
  -webkit-transition: top 0.1s ease-out;
}

/* TECH STACK */
.tech-stack .tech-stack-cta {
  margin: 2em 1em;
  display: inline-block;
}
.tech-stack .section-content,
.tech-stack .section-image {
  overflow: hidden;
}

/* PROJECTS SECTION */
.projects {
  color: #fff;
}
.projects .projects-title {
  text-align: center;
  margin-top: 40px;
}
.projects .projects-title p {
  margin: 1em;
  padding: 0;
}
.projects .project-showcase {
  display: flex;
  display: -webkit-flex;
  flex-wrap: wrap;
  -webkit-flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  -webkit-justify-content: center;
  padding: 1rem 5rem;
  padding-bottom: 3em;
}
.projects .project-showcase a {
  text-decoration: none;
}
.projects .card-meta {
  display: flex;
  display: -webkit-flex;
  justify-content: space-between;
  -webkit-justify-content: space-between;
  margin-top: 0.5rem;
  padding: 0 0.25rem;
  font-size: 0.7rem;
  font-weight: 300;
  color: #ccddee;
  opacity: 0.6;
  font-style: italic;
  letter-spacing: 0.03em;
}
.projects .card-meta .read-more-hint {
  width: 5rem;
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 300;
  opacity: 0.9;
  color: #00d8ff;
  font-style: italic;
  letter-spacing: 0.04em;
}
.projects .card-meta .project-label {
  display: inline-block;
  float: left;
  width: 10em;
  font-size: 0.65rem;
  font-weight: 400;
  background: linear-gradient(135deg, #00d8ff33, #8f00ff22);
  color: #00d8ff;
  padding: 0.25rem 0.75rem;
  border-radius: 6px;
  border: 1px solid rgba(0, 216, 255, 0.2);
  box-shadow: 0 0 8px rgba(0, 216, 255, 0.2);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  pointer-events: none;
  z-index: 2;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: box-shadow 0.3s ease, background 0.3s ease;
  -webkit-transition: box-shadow 0.3s ease, background 0.3s ease;
}
.projects .project-card {
  position: relative;
  width: 320px;
  border-radius: 1rem;
  padding: 1.5rem;
  overflow: hidden;
  border: 2px solid #00f2ff88;
  background-image: linear-gradient(135deg, #181e2c88, #18284488);
  box-shadow: 0 0 12px #00f2ff66;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  -webkit-transition: -webkit-transform 0.3s ease, box-shadow 0.3s ease;
}
.projects .project-card:hover {
  transform: scale(1.03);
  -webkit-transform: scale(1.03);
  box-shadow: 0 0 20px #00f2ff88, 0 0 40px #8f00ff33;
}
.projects .card-content h3 {
  font-size: 1.2rem;
  margin: 0;
  color: #ffffff;
}
.projects .card-content p {
  font-size: 0.95rem;
  color: #bbbbdd;
}

/* TESTIMONIALS */
.testimonials-section {
  background: #0d1a24;
  color: #fff;
  padding: 2rem;
}
.testimonials-section .testimonials-title {
  text-align: center;
  margin-bottom: 2rem;
}
.testimonials-section .testimonials-cards {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  display: -webkit-flex;
  flex-direction: column;
  -webkit-flex-direction: column;
  gap: 3rem;
}
.testimonials-section .testimonial-card.clean {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 0 0 transparent;
  transition: border 0.3s ease;
  -webkit-transition: border 0.3s ease;
}
.testimonials-section .testimonial-card.clean:hover {
  border-color: rgba(42, 233, 187, 0.15);
}
.testimonials-section .quote-clean {
  position: relative;
  padding: 0;
  font-style: italic;
  color: #ffffffcc;
  line-height: 1.6;
  font-size: 1.05rem;
  z-index: 1;
}
.testimonials-section .quote-clean::after {
  content: "”";
  position: absolute;
  top: -1.2rem;
  right: -1rem;
  width: 3.5rem;
  height: 3.5rem;
  color: #2AE9BB44;
  font-size: 12rem;
  font-family: serif;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  pointer-events: none;
}
.testimonials-section .quote-clean2::before {
  content: "“";
  top: -0.5em;
  left: -0.5em;
  position: absolute;
  line-height: 1;
  color: #2AE9BB;
  font-family: serif;
  z-index: 0;
  pointer-events: none;
  font-size: 5rem;
}
.testimonials-section .testimonial-client {
  display: flex;
  display: -webkit-flex;
  flex-direction: column;
  -webkit-flex-direction: column;
  align-items: flex-end;
  -webkit-align-items: flex-end;
  font-size: 0.95rem;
  opacity: 0.85;
}
.testimonials-section .client-name {
  font-weight: 600;
  font-size: 1.5rem;
  color: #fff;
}
.testimonials-section .client-role {
  font-size: 0.85rem;
  color: #ccc;
  opacity: 0.8;
}
.testimonials-section .client-company {
  font-size: 0.85rem;
  color: #20C9D2;
}
.testimonials-section .testimonials-cta {
  text-align: center;
  justify-self: center;
  margin-top: 0;
  margin-bottom: 3em;
}
.testimonials-cta .cta-button {
  justify-self: center;
}

/* TECH STACK HEX GRID */
.hex-grid-wrapper {
  position: relative;
  perspective: 1000px;
  overflow: hidden;
  height: 100%;
}
.hex-grid {
  transform: rotateY(-20deg) rotateX(20deg);
  -webkit-transform: rotateY(-20deg) rotateX(20deg);
  transform-style: preserve-3d;
  -webkit-transform-style: preserve-3d;
}
.hex-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 40px;
  justify-content: center;
  margin: -100px 0 0 -200px;
}
.hex {
  display: flex;
  display: -webkit-flex;
  align-items: center;
  -webkit-align-items: center;
  justify-content: center;
  -webkit-justify-content: center;
  position: relative;
  margin-top: -40px;
  transition: transform 0.4s ease-out;
  -webkit-transition: -webkit-transform 0.4s ease-out;
  will-change: transform;
}
/* Hex shape + glow */
.hex,
.hex::before,
.hex::after {
  clip-path: polygon(
    50% 0%,
    93% 25%,
    93% 75%,
    50% 100%,
    7% 75%,
    7% 25%
  );
}
.hex::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #00d8ffff, #8e2de2ff);
  box-shadow: 0 0 10px #00d8ff88;
  z-index: 0;
}
.hex::after {
  content: "";
  position: absolute;
  inset: 8px;
  background: #181e2c;
  z-index: 1;
}
.hex > img {
  position: relative;
  z-index: 2;
  width: 40%;
  padding: 30% 0;
  filter: brightness(1.2) drop-shadow(0 0 4px #00f0ff);
}

/* Tablet layout */
@media (min-width: 768px) {
  .section-content {
    flex-direction: row;
    -webkit-flex-direction: row;
    height: 1050px;
    max-width: 100vw;
  }
  .section-text {
    height: 100%;
    width: 50%;
    flex: 1;
    padding: 3em 2em;
  }
  .section-image {
    width: 50%;
    height: 100%;
  }
  .section-image img {
    height: 100%;
  }
  .hero {
    overflow: hidden;
  }
  .hero .section-content {
    height: 650px;
  }
  .hero .section-image {
    height: 100%;
    background-size: 650px;
  }
  .services .section-content {
    flex-direction: row;
    -webkit-flex-direction: row;
  }
  .services .gear {
    width: 800px;
    height: 800px;
  }
  .services .gear-b {
    margin-top: -780px;
    margin-left: -130px;
  }
  .about .section-content {
    flex-direction: row-reverse;
    -webkit-flex-direction: row-reverse;
  }
  .about .section-image {
    height: inherit;
    padding-left: 0;
  }
  .about .section-image img {
    width: 100%;
  }
  .tech-stack img {
    height: auto;
  }
  .tech-stack .hex-grid {
    margin: 50% 0 0 -100px;
  }
}

/* Desktop layout */
@media (min-width: 1400px) {
  .section-content {
    flex-direction: row;
    -webkit-flex-direction: row;
    text-align: left;
  }
  .section-text {
    padding: 2em 8em;
    width: 40%;
    flex: 0 1 auto;
  }
  .section-image {
    width: 60%;
    height: 100%;
    flex: 0 1 auto;
  }
  .hero .section-content {
    height: 650px;
  }
  .hero .section-image {
    background-size: 650px;
  }
  .services .section-content {
    flex-direction: row;
    -webkit-flex-direction: row;
  }
  .services .section-image {
    width: 40%;
  }
  .services .section-text {
    width: 60%;
  }
  .services .gear-wrapper {
    margin-top: 60px;
  }
  .about .section-image img {
    width: auto;
    margin: 0 auto;
  }
  .tech-stack .hex-grid {
    margin: -200px 0 0 -200px;
  }
  .site-footer {
    padding: 2rem 1rem;
  }
}

