/* ==========================================================================
   Power Up NFTs - 1:1 Responsive Stylesheet
   ========================================================================== */

:root {
  --color-primary: #6EC1E4;
  --color-secondary: #54595F;
  --color-text: #7A7A7A;
  --color-black: #000000;
  --color-accent: #61CE70;
  --color-link: #cc3366;
  --color-link-hover: #333366;
  --font-primary: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body-alt: Arial, 'Helvetica Neue', Helvetica, sans-serif;
  --container-max-width: 1140px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  padding: 0;
  background-color: #ffffff;
  color: var(--color-black);
  font-family: var(--font-primary);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.5;
  overflow-x: hidden;
}

a {
  color: var(--color-link);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover,
a:focus {
  color: var(--color-link-hover);
}

img {
  max-width: 100%;
  height: auto;
  display: inline-block;
  vertical-align: middle;
  border: none;
}

/* ==========================================================================
   Layout Containers & Anchors
   ========================================================================== */

.container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 10px;
  width: 100%;
}

.menu-anchor {
  display: block;
  position: relative;
  top: -85px;
  visibility: hidden;
  height: 0;
  pointer-events: none;
}

/* ==========================================================================
   Header / Sticky Navigation (#thenav)
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
  background-color: #ffffff;
  box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.5);
  margin-bottom: 25px;
  transition: box-shadow 0.3s ease, background-color 0.3s ease;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 10px 20px;
}

.header-logo a {
  display: inline-block;
  line-height: 0;
}

.header-logo .logo-desktop {
  display: block;
  width: 200px;
  height: auto;
}

.header-logo .logo-mobile {
  display: none;
}

.header-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
}

.header-nav li {
  margin: 0;
  padding: 0;
}

.header-nav a {
  font-family: var(--font-primary);
  font-size: 20px;
  font-weight: 700;
  color: var(--color-secondary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.header-nav a:hover,
.header-nav a:focus {
  color: var(--color-primary);
}

/* ==========================================================================
   Intro Section
   ========================================================================== */

.intro-section {
  padding: 10px 0 25px;
}

.text-block {
  margin: 0 30px;
  font-family: var(--font-body-alt);
  font-size: 18px;
  line-height: 1.38;
  color: var(--color-black);
}

.text-block p {
  margin: 0 0 18px 0;
}

.text-block p:last-child {
  margin-bottom: 0;
}

/* ==========================================================================
   Section Banner Headers (Services, Projects, Contact)
   ========================================================================== */

.section-banner {
  text-align: center;
  padding: 15px 0 25px;
}

.section-banner .banner-desktop {
  display: inline-block;
}

.section-banner .banner-mobile {
  display: none;
}

.section-banner--services .banner-desktop {
  width: 960px;
}

.section-banner--projects .banner-desktop,
.section-banner--contact .banner-desktop {
  width: 800px;
}

/* ==========================================================================
   Services Section
   ========================================================================== */

.services-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-bottom: 20px;
}

.service-row {
  display: flex;
  align-items: center;
  background-color: #ffffff;
  padding: 10px 0;
}

.service-col-image {
  width: 33.333%;
  padding: 10px;
  text-align: center;
  flex-shrink: 0;
}

.service-col-image img {
  width: 250px;
  height: 250px;
  object-fit: contain;
}

.service-col-text {
  width: 66.667%;
  padding: 10px;
}

.service-col-text p {
  margin: 0 30px;
  font-family: var(--font-primary);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--color-black);
}

/* ==========================================================================
   Projects Section
   ========================================================================== */

.projects-section {
  padding-bottom: 20px;
}

.section-subheading {
  font-family: var(--font-primary);
  font-size: 30px;
  font-weight: 600;
  color: var(--color-primary);
  margin: 25px 10px 20px;
  line-height: 1.2;
}

.project-item {
  margin-bottom: 35px;
}

.project-image {
  text-align: center;
  margin: 20px 0;
}

.project-image a {
  display: inline-block;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.project-image a:hover {
  opacity: 0.92;
}

.project-title-centered {
  font-family: var(--font-primary);
  font-size: 30px;
  font-weight: 600;
  color: var(--color-black);
  text-align: center;
  margin: 15px 0 20px;
}

.text-block--roboto {
  font-family: var(--font-primary);
  line-height: 1.5;
}

/* ==========================================================================
   Clients / Partners Logo Grid
   ========================================================================== */

.clients-section {
  padding: 10px 0 30px;
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  justify-items: center;
  row-gap: 30px;
  column-gap: 20px;
  padding: 15px 10px;
}

.client-item {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
}

.client-item img {
  max-height: 150px;
  width: auto;
  object-fit: contain;
}

/* ==========================================================================
   Contact Section & Form (WPForms Classic Full Match)
   ========================================================================== */

.contact-section {
  padding-bottom: 30px;
}

.contact-intro {
  margin-bottom: 25px;
}

.contact-form-wrapper {
  margin: 0 60px;
  max-width: 760px;
}

.wpforms-form {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
  color: #50575e;
}

.form-field {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.3;
  margin-bottom: 8px;
  color: #333333;
}

.required-star {
  color: #ff0000;
  font-weight: 400;
}

.name-row {
  display: flex;
  gap: 20px;
  max-width: 60%;
}

.name-col {
  flex: 1;
}

.form-input,
.form-textarea {
  display: block;
  width: 100%;
  padding: 8px 12px;
  font-size: 16px;
  font-family: inherit;
  line-height: 1.3;
  color: #333333;
  background-color: #ffffff;
  border: 1px solid #cccccc;
  border-radius: 2px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-input {
  height: 38px;
}

.form-input--medium,
.form-textarea--medium {
  max-width: 60%;
}

.form-textarea {
  height: 120px;
  resize: vertical;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: #999999;
}

.form-sublabel {
  display: block;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.3;
  margin-top: 4px;
  color: #50575e;
}

.form-submit-container {
  margin-top: 15px;
}

.form-submit-btn {
  background-color: #eeeeee;
  border: 1px solid #dddddd;
  color: #333333;
  font-size: 16px;
  font-family: inherit;
  font-weight: 400;
  padding: 10px 15px;
  cursor: pointer;
  border-radius: 2px;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.form-submit-btn:hover,
.form-submit-btn:focus {
  background-color: #dddddd;
  border-color: #cccccc;
}

.form-submit-btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.form-status {
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: 4px;
  font-size: 15px;
  line-height: 1.4;
  display: none;
}

.form-status.is-visible {
  display: block;
}

.form-status.is-success {
  background-color: #e0ffc7;
  border: 1px solid #b4e88c;
  color: #214c00;
}

.form-status.is-error {
  background-color: #fde8e8;
  border: 1px solid #f5b5b5;
  color: #8a1f1f;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  padding: 20px 0 35px;
  text-align: center;
}

.site-footer p {
  margin: 0;
  font-family: var(--font-primary);
  font-size: 18px;
  color: var(--color-black);
}

.site-footer .copyright-symbol {
  font-family: 'Lucida Grande', sans-serif;
  font-size: 12pt;
  font-weight: 700;
}

/* ==========================================================================
   Responsive Design (Tablet & Mobile)
   ========================================================================== */

@media (max-width: 1024px) {
  .container {
    max-width: 1024px;
  }

  .name-row,
  .form-input--medium,
  .form-textarea--medium {
    max-width: 80%;
  }
}

@media (max-width: 767px) {
  .container {
    max-width: 100%;
    padding: 0 12px;
  }

  .menu-anchor {
    top: -65px;
  }

  /* Header Mobile */
  .header-inner {
    padding: 8px 14px;
  }

  .header-logo .logo-desktop {
    width: 105px;
  }

  .header-nav ul {
    gap: 14px;
  }

  .header-nav a {
    font-size: 14px;
  }

  /* Intro & Text Blocks Mobile */
  .text-block {
    margin: 0 10px;
    font-size: 16px;
    line-height: 1.45;
  }

  /* Banners Mobile */
  .section-banner {
    padding: 10px 0 18px;
  }

  .section-banner .banner-desktop {
    display: none;
  }

  .section-banner .banner-mobile {
    display: inline-block;
    width: 100%;
    max-width: 360px;
    height: auto;
  }

  /* Services Mobile */
  .services-list {
    gap: 16px;
  }

  .service-row {
    flex-direction: column;
    text-align: left;
    padding: 12px 0;
    border-bottom: 1px solid #f2f2f2;
  }

  .service-row:last-child {
    border-bottom: none;
  }

  .service-col-image {
    width: 100%;
    padding: 0 0 12px 0;
  }

  .service-col-image img {
    width: 210px;
    height: 210px;
  }

  .service-col-text {
    width: 100%;
    padding: 0;
  }

  .service-col-text p {
    margin: 0 10px;
    font-size: 16px;
  }

  /* Headings & Projects Mobile */
  .section-subheading {
    font-size: 24px;
    margin: 20px 10px 16px;
  }

  .project-title-centered {
    font-size: 24px;
  }

  /* Clients Grid Mobile (2x4 instead of cramped or oversized 1x8) */
  .clients-grid {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 24px;
    column-gap: 16px;
    padding: 10px;
  }

  .client-item img {
    max-height: 120px;
    max-width: 140px;
  }

  /* Contact Form Mobile */
  .contact-form-wrapper {
    margin: 0 10px;
    max-width: 100%;
  }

  .name-row,
  .form-input--medium,
  .form-textarea--medium {
    max-width: 100%;
  }

  .name-row {
    flex-direction: column;
    gap: 12px;
  }

  .form-submit-btn {
    width: 100%;
    padding: 12px 15px;
  }
}

@media (max-width: 380px) {
  .header-logo .logo-desktop {
    width: 85px;
  }

  .header-nav ul {
    gap: 10px;
  }

  .header-nav a {
    font-size: 13px;
  }
}

