body {
  margin: 0;
  font-family: "Noto Sans", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  font-variation-settings: "wdth" 100;
  background: radial-gradient(circle at center, #1a1a22 0%, #0e0e14 80%);
  color: white;
}

/* Header */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  /* changed from flex-start to center */
  flex-wrap: wrap;
  padding: 2rem 2rem 0 2rem;
  max-width: 1200px;
  margin: auto;
}

.header-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 auto;
}

.logo {
  width: 300px;
  margin-bottom: 1rem;
}

.mobile-header {
  display: none;
}

.cta-button {
  background-color: #ec6262;
  color: black;
  border: none;
  padding: 1rem 2rem;
  font-weight: bold;
  font-size: 1rem;
  cursor: pointer;
  border-radius: 6px;
  transition: background-color 0.3s;
}

.cta-btn2 {
  background-color: rgba(0, 0, 0, 0);
  color: white;
}

/* Headline */
.headline {
  padding: 1rem 2rem;
  max-width: 1200px;
  margin: auto;
  text-align: center;
}

.headline p {
  color: #ccc;
  font-size: 1.1rem;
}

/* Services */
.services {
  padding: 1rem 2rem;
  max-width: 1200px;
  margin: auto;
  text-align: center;
}

.services h2 {
  margin-bottom: 1rem;
  text-align: left;
}

.services-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  margin-bottom: 2rem;
}

.service-card {
  padding: 2rem;
  text-align: center;
}

.service-card:hover {
  filter: drop-shadow(0 0 8px #4edcf87e);
  z-index: 1;
}

.service-card img {
  width: 48px;
  height: 48px;
}

.service-card h3 {
  margin-bottom: 0.5rem;
}

.service-card p {
  color: #ccc;
  font-size: 0.95rem;
}

/* CTA Button */
.cta-btn-sect {
  padding: 1rem 2rem;
  max-width: 1200px;
  margin: auto;
  text-align: center;
}

/* Portfolio */
.portfolio {
  padding: 1rem 2rem;
  max-width: 1200px;
  margin: auto;
  text-align: left;
}

.portfolio h2 {
  margin-bottom: 2rem;
}

.custom-portfolio-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-auto-rows: 190px;
  gap: 1rem;
  max-width: 1200px;
  margin: auto;
  padding: 2rem;
}

.portfolio-tile {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  transition: opacity 0.3s ease-in-out;
}

.tile-1  { grid-column: 1 / 3; grid-row: 1 / 2; }
.tile-2  { grid-column: 3 / 4; grid-row: 1 / 2; }
.tile-3  { grid-column: 4 / 6; grid-row: 1 / 2; }
.tile-4  { grid-column: 1 / 2; grid-row: 2 / 4; }
.tile-5  { grid-column: 2 / 5; grid-row: 2 / 4; }
.tile-6  { grid-column: 5 / 6; grid-row: 2 / 4; }
.tile-7  { grid-column: 1 / 2; grid-row: 4 / 5; }
.tile-8  { grid-column: 2 / 3; grid-row: 4 / 5; }
.tile-9  { grid-column: 3 / 4; grid-row: 4 / 5; }
.tile-10 { grid-column: 4 / 5; grid-row: 4 / 5; }
.tile-11 { grid-column: 5 / 6; grid-row: 4 / 5; }

.closer-look {text-align: center;}
.closer-look a {color: white;}

/* Testimonials */
.testimonials {
  padding: 1rem 2rem;
  text-align: center;
  max-width: 1200px;
  margin: auto;
}

.testimonials h2 {
  margin-bottom: 2rem;
  text-align: left;
}

.testimonial-img {
  width: 230px;
}

.testimonial-cards {
  display: flex;
  gap: 2rem;
  transition: transform 0.6s ease;
  padding: 2rem 0;
}

.testimonial {
  flex: 0 0 25%;
  max-width: 25%;
  background-color: #1a1a22;
  border-radius: 10px;
  padding: 1.5rem;
  color: #ccc;
}

.carousel {
  position: relative;
  overflow: hidden;
  max-width: 100%;
  margin: auto;
}

.carousel-button {
  position: absolute;
  top: 85%;
  transform: translateY(-50%);
  color: white;
  background: none;
  border: none;
  height: 100%;
  cursor: pointer;
  z-index: 2;
  margin: 0 1rem;
  font-size: 2rem;
}

.carousel-button.left {
  left: 0;
}

.carousel-button.right {
  right: 0;
}

/* Request Popup Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
  margin: 0 auto;
}

.modal-content {
  background-color: #1a1a22;
  padding: 2rem;
  border-radius: 8px;
  width: 80%;
  max-width: 500px;
  color: white;
  box-shadow: 0 0 20px #000;
  position: relative;
}

.modal-content h2 {
  color: #3eb9cd;
}

.modal-content label {
  display: block;
  margin-top: 1rem;
}

.modal-content form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.modal-content input,
.modal-content textarea,
.modal-content select {
  width: 100%;
  box-sizing: border-box;
  padding: 0.75rem;
  background-color: #0e0e14;
  border: 1px solid #333;
  color: white;
  border-radius: 4px;
  font-family: inherit;
  font-size: 1rem;
}

.modal-content button {
  margin-top: 1.5rem;
  padding: 1rem;
  width: 100%;
  background-color: #ec6262;
  border: none;
  color: white;
  font-weight: bold;
  font-size: 1rem;
  border-radius: 6px;
  cursor: pointer;
}

.close-modal {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 1.5rem;
  color: white;
  cursor: pointer;
}

.privacy-note {
  font-size: 0.85rem;
  color: #888;
  margin-top: 1rem;
}

/* Footer */
.footer {
  text-align: center;
  padding: 2rem;

  font-size: 0.9rem;
  color: #888;
}

.footer a {
  color: #3eb9cd;
  text-decoration: none;
}

.footer-icon {
  width: 24px;
  height: 24px;
  vertical-align: middle;
  margin: 0 0.5rem;
}

.inst {
  width: 32px;
  height: 32px;
}

.mailto {
  margin-bottom: 10px;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
  background-image: url("/assets/textures/black-felt.png");
  background-size: cover;
  background-repeat: repeat;
  opacity: 0.04;
  /* adjust for subtlety */
  mix-blend-mode: overlay;
  /* or try 'soft-light', 'multiply', etc. */
}

/* Media Queries */
/* Small Annoying Devices */
@media (max-width: 300px) {
  .logo {width: 80%;}
  .services-grid {grid-template-columns: 1fr;}
  .service-card {
    padding: 1rem;
    font-size: 0.7rem;
    border-radius: 6px;
  }
  .service-card p {
    font-size: 0.8rem;
  }
  .service-card h3 {
    font-size: 1rem;
    margin: 0;
  }
  .services h2 {
    font-size: 1rem;
  }
  .small,
  .smaller,
  .smallest,
  .large {
    width: 45%;
  }
  .low, .high {height: 150px;}
  .testimonial {
    flex: 0 0 80%;
    max-width: 80%;
  }
  .testimonial-img {width: 171px;}
  .testimonial p {font-size: 0.82rem;}
  .service-card img {
    width: 36px;
    height: 36px;
  }
  .headline p {font-size: 0.8rem;}
  .modal-content form {gap: 0.4rem;}
  .modal-content h2 {font-size: 1rem;}
  .modal-content label {margin-top: 10px;}
  .custom-portfolio-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 120px;
    padding: 1rem;
  }
  .portfolio-tile:nth-child(3n) {
    grid-column: span 2;
  }
}

/* Standard Mobile Phones */
@media (min-width: 301px) and (max-width: 399px) {
  .logo {
    width: 80%;
  }

  .services-grid {
    grid-template-columns: 1fr 1fr;
  }

  .service-text {
    display: none;
  }

  .service-card {
    padding: 1rem;
    font-size: 0.7rem;
    border-radius: 6px;
  }

  .testimonial {
    flex: 0 0 80%;
    max-width: 80%;
  }

  .testimonial-img {
    width: 171px;
  }

  .testimonial p {
    font-size: 0.82rem;
    padding: 1rem;
  }

  .service-card img {
    width: 36px;
    height: 36px;
    color: red;
  }

  .headline p {
    font-size: 1rem;
  }

  .modal-content form {
    gap: 0.4rem;
  }

  .modal-content h2 {
    font-size: 1rem;
  }

  .modal-content label {
    margin-top: 10px;
  }
  .custom-portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 120px;
    padding: 1rem;
  }

  .portfolio-tile:nth-child(3n) {
    grid-column: span 2;
  }
}


@media (min-width: 400px) and (max-width: 480px) {
  .logo {width: 260px;}
  .services-grid {
    gap: 0.7rem;
  }

  .service-card {
    padding: 0.4rem;
    font-size: 0.65rem;
    border-radius: 6px;
  }

  .service-card img {
    width: 32px;
    height: 32px;
  }

  .service-text {
    display: none;
  }

  .testimonial {
    flex: 0 0 100%;
    max-width: 100%;
    padding: 0;
  }

  .modal-content form {
    gap: 0.4rem;
  }

  .modal-content h2 {
    font-size: 1rem;
  }

  .modal-content label {
    margin-top: 10px;
  }

  .testimonial p {
    padding: 1rem;
  }
.custom-portfolio-grid {
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: 120px;
}

.portfolio-tile:nth-child(3n) {
  grid-column: span 2;
}
}

/* Tablets & Weird In-Betweens */
@media (min-width: 481px) and (max-width: 580px) {
  .services-grid {
    gap: 0.7rem;
  }

  .service-card {
    padding: 0.4rem;
    font-size: 0.65rem;
    border-radius: 6px;
  }

  .service-card img {
    width: 32px;
    height: 32px;
  }

  .service-text,
  .services h2 {
    display: none;
  }

  .testimonial {
    flex: 0 0 100%;
    max-width: 100%;
    padding: 0;
  }

  .service-text,
  .services h2 {
    display: none;
  }

  .testimonial {
    flex: 0 0 60%;
    max-width: 100%;
  }
  .custom-portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 120px;
    gap: 1.25rem;
    padding: 2rem;
  }

  .portfolio-tile:nth-child(3n) {
    grid-column: span 2;
  }

  .portfolio-tile {
    grid-row: auto !important;
  }
}

@media (min-width: 581px) and (max-width: 900px) {
  .services-grid {
    grid-template-columns: 1fr 1fr;
  }

  .testimonial {
    flex: 0 0 50%;
    max-width: 50%;
  }

  .service-card {
    padding: 1rem;
  }

  .service-card p {
    font-size: 0.86rem;
  }
}

@media (min-width: 901px) and (max-width: 1023px) {
  .service-card p {
    font-size: 0.85rem;
  }

  .service-card h3 {
    font-size: 1rem;
  }
}