@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@300;400;500;600;700&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  width: 100%;
  background-color: #0d0d0d;
  background-image: url('tlo.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  font-family: 'Rajdhani', sans-serif;
  padding: 85px 20px 45px 20px;
  color: #ffffff;
  overflow-x: hidden;
  font-size: 17px;
  line-height: 1.5;
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 50px;
  background: rgba(13, 13, 13, 0.95);
  backdrop-filter: blur(10px);
  height: 65px;
  font-size: 16px;
  padding: 0 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.navbar .logo {
  height: 38px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  display: block;
}

.navbar ul {
  display: flex;
  list-style: none;
  gap: 36px;
}

.nav {
  text-decoration: none;
  color: #d4d4d8;
  font-weight: 600;
  white-space: nowrap;
  transition: color 0.25s ease, transform 0.25s ease;
  display: inline-block;
  font-family: 'Rajdhani', sans-serif;
  letter-spacing: 0.5px;
}

.nav:hover {
  color: #ff3b30;
  transform: translateY(-2px);
}

#navbtn {
  background: transparent;
  color: #ff3b30;
  border: 1.5px solid #ff3b30;
  border-radius: 20px;
  padding: 8px 18px;
  font-size: 15px;
  font-weight: 700;
  font-family: 'Rajdhani', sans-serif;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  margin-left: auto;
  cursor: pointer;
  transition: all 0.25s ease;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1px;
}

#navbtn .btn-text {
  color: #ff3b30;
  text-decoration: none;
  transition: color 0.25s ease;
}

#navbtn:hover {
  background: rgba(255, 59, 48, 0.15);
  box-shadow: 0 0 16px rgba(255, 59, 48, 0.4);
  transform: scale(1.03);
}

#navbtn:hover .btn-text {
  color: #ff3b30;
}

#menuToggle {
  display: none;
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 26px;
  margin-left: auto;
  cursor: pointer;
}

header {
  text-align: center;
  margin-bottom: 35px;
  margin-top: 15px;
}

header .logo {
  height: 80px;
  width: auto;
  max-width: 320px;
  object-fit: contain;
  margin: 0 auto 12px auto;
  display: block;
}

header p {
  font-size: 22px;
  font-weight: 500;
  color: #d4d4d8;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  padding: 12px 26px;
  background-color: #110506;
  color: #ffffff;
  border: 2px solid #ff3b30;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  font-family: 'Rajdhani', sans-serif;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 0 16px rgba(255, 59, 48, 0.25);
  transition: all 0.25s ease;
}

.hero-cta:hover {
  background-color: #1f0a0c;
  box-shadow: 0 0 24px rgba(255, 59, 48, 0.55);
  transform: scale(1.03);
}

.hero-cta i {
  transition: transform 0.25s ease;
}

.hero-cta:hover i {
  transform: translateY(3px);
}

.h {
  color: white;
  font-size: 30px;
  font-weight: 700;
  font-family: 'Rajdhani', sans-serif;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.distinction {
  color: #ff3b30;
}

.section-header {
  text-align: center;
  margin-bottom: 30px;
}

.section-header .h {
  font-size: 32px;
  margin-bottom: 6px;
}

.section-divider {
  max-width: 760px;
  height: 1px;
  margin: 60px auto;
  background: linear-gradient(90deg, rgba(255, 59, 48, 0) 0%, rgba(255, 59, 48, 0.5) 50%, rgba(255, 59, 48, 0) 100%);
  position: relative;
}

.section-divider::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 140px;
  height: 2px;
  background: #ff3b30;
  box-shadow: 0 0 12px #ff3b30, 0 0 20px #ff3b30;
}

form {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

#imageDiv {
  text-align: center;
  width: 100%;
  padding: 32px 28px;
  background-color: rgba(22, 20, 20, 0.75);
  border-radius: 20px;
  border: 1px solid #2b2323;
  transition: border-color 0.3s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

#imageDiv:hover {
  border-color: #3d3131;
}

.info {
  font-size: 17px;
  color: #d4d4d8;
  font-weight: 500;
}

#dropzone {
  border: 2px dashed #555555;
  text-align: center;
  margin: 20px auto 0 auto;
  width: 100%;
  height: 180px;
  background-color: rgba(15, 14, 14, 0.6);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600;
}

#dropzone:hover {
  border-color: #ff3b30;
  background-color: rgba(255, 59, 48, 0.08);
  box-shadow: inset 0 0 20px rgba(255, 59, 48, 0.15);
  transform: translateY(-2px);
}

#dropzone:hover .upload {
  transform: scale(1.12);
  color: #ff5247;
}

.upload {
  font-size: 46px;
  margin-bottom: 10px;
  transition: transform 0.25s ease, color 0.25s ease;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 22px;
  text-align: left;
  margin-top: 28px;
}

.form-group {
  display: flex;
  flex-direction: column;
  position: relative;
}

.form-group.full-width {
  grid-column: span 2;
}

label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 700;
  font-family: 'Rajdhani', sans-serif;
  margin-bottom: 9px;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 1px;
}

label i {
  color: #ff3b30;
  font-size: 16px;
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
  width: 100%;
  background-color: #121315;
  border: 1px solid #28292d;
  border-radius: 10px;
  padding: 13px 16px;
  color: #ffffff;
  font-family: 'Rajdhani', sans-serif;
  font-size: 17px;
  font-weight: 500;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

input::placeholder,
textarea::placeholder {
  color: #8e8e93;
}

input[type="text"]:hover,
input[type="email"]:hover,
input[type="tel"]:hover,
textarea:hover {
  border-color: #3f4046;
  background-color: #17181c;
}

input:focus,
textarea:focus {
  border-color: #ff3b30 !important;
  box-shadow: 0 0 12px rgba(255, 59, 48, 0.35) !important;
  background-color: #121315 !important;
}

textarea {
  height: 115px;
  min-height: 115px;
  resize: vertical;
}

#opisCounter {
  font-size: 14px;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600;
  color: #a1a1aa;
  text-align: right;
  margin-top: 6px;
}

#send {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: auto;
  min-width: 280px;
  margin: 30px auto 0;
  padding: 14px 28px;
  background-color: #110506;
  color: #ffffff;
  border: 2px solid #ff3b30;
  border-radius: 14px;
  font-size: 17px;
  font-weight: 700;
  font-family: 'Rajdhani', sans-serif;
  cursor: pointer;
  box-shadow: 0 0 16px rgba(255, 59, 48, 0.3);
  transition: all 0.25s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
}

#send:hover {
  background-color: #1f0a0c;
  box-shadow: 0 0 24px rgba(255, 59, 48, 0.6);
  transform: translateY(-2px) scale(1.02);
}

#send:hover i {
  transform: translateY(-2px);
}

#send i {
  font-size: 18px;
  transition: transform 0.25s ease;
}

/* STAN ŁADOWANIA PRZYCISKU WYSYŁANIA */
#send.is-loading {
  opacity: 0.75;
  pointer-events: none;
  cursor: wait;
}

.spin {
  animation: spin 1s linear infinite;
  display: inline-block;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

#filePreview {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}

.thumb-wrapper {
  position: relative;
  width: 72px;
  height: 72px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #2b2323;
}

.thumb-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.phone-input {
  position: relative;
  display: flex;
  align-items: stretch;
  background-color: #121315;
  border: 1px solid #28292d;
  border-radius: 10px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.phone-input:hover {
  border-color: #3f4046;
  background-color: #17181c;
}

.phone-input:focus-within {
  border-color: #ff3b30;
  box-shadow: 0 0 12px rgba(255, 59, 48, 0.35);
  background-color: #121315;
}

.phone-country-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  background: transparent;
  border: none;
  border-right: 1px solid #28292d;
  color: #e1e1e1;
  cursor: pointer;
  font-size: 17px;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600;
  white-space: nowrap;
}

.phone-flag {
  font-size: 18px;
  line-height: 1;
}

.phone-caret {
  font-size: 10px;
  margin-left: 2px;
  color: #a1a1aa;
}

.phone-input input[type="tel"] {
  flex: 1;
  border: none !important;
  background: transparent !important;
  padding: 13px 14px;
  min-width: 0;
  box-shadow: none !important;
}

.phone-country-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  width: 280px;
  max-height: 300px;
  background-color: #121315;
  border: 1px solid #28292d;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  z-index: 50;
  overflow: hidden;
  flex-direction: column;
}

.phone-country-dropdown.open {
  display: flex;
}

.phone-country-search {
  border: none;
  border-bottom: 1px solid #28292d;
  background-color: #17181c;
  color: #ffffff;
  padding: 10px 12px;
  font-size: 16px;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 500;
  outline: none;
  border-radius: 0;
}

.phone-country-search:hover,
.phone-country-search:focus {
  border-color: #28292d !important;
  box-shadow: none !important;
  background-color: #17181c !important;
}

.phone-country-list {
  list-style: none;
  margin: 0;
  padding: 6px 0;
  overflow-y: auto;
}

.phone-country-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  font-size: 16px;
  font-weight: 600;
  color: #e1e1e1;
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.phone-country-list li:hover {
  background-color: rgba(255, 59, 48, 0.12);
  color: #ffffff;
}

.phone-country-list .phone-country-name {
  flex: 1;
}

.phone-country-list .phone-country-code {
  color: #a1a1aa;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 14px;
}

.phone-country-list .phone-empty {
  padding: 12px;
  color: #a1a1aa;
  font-size: 15px;
  cursor: default;
}

.portfolio-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 32px auto 0 auto;
  padding: 14px 30px;
  background-color: #110506;
  color: #ffffff;
  border: 2px solid #ff3b30;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 700;
  font-family: 'Rajdhani', sans-serif;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 0 16px rgba(255, 59, 48, 0.25);
  transition: all 0.25s ease;
  width: fit-content;
}

.portfolio-cta:hover {
  background-color: #1f0a0c;
  box-shadow: 0 0 24px rgba(255, 59, 48, 0.55);
  transform: scale(1.03);
}

.portfolio.reveal {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ===== PORTFOLIO KARUZELA 3D ===== */
.carousel-wrapper {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 580px;
  perspective: 1000px;
}

.carousel-track {
  position: relative;
  width: 100%;
  height: 580px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.carousel-track .portfolio-card {
  position: absolute;
  top: 50%;
  width: 650px;
  max-width: 88%;
  transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-50%) scale(0.7);
  filter: grayscale(80%) opacity(0.3);
  z-index: 1;
  background-color: rgba(22, 20, 20, 0.75);
  border: 1px solid #2b2323;
  border-radius: 18px;
  overflow: hidden;
  cursor: pointer;
}

.carousel-track .portfolio-card.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(-50%) translateX(0) scale(1);
  filter: grayscale(0%) opacity(1);
  z-index: 10;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6), 0 0 20px rgba(255, 59, 48, 0.25);
  border-color: #ff3b30;
}

.carousel-track .portfolio-card.prev {
  opacity: 0.6;
  pointer-events: auto;
  transform: translateY(-50%) translateX(-60%) scale(0.82);
  filter: grayscale(100%) opacity(0.4);
  z-index: 5;
}

.carousel-track .portfolio-card.next {
  opacity: 0.6;
  pointer-events: auto;
  transform: translateY(-50%) translateX(60%) scale(0.82);
  filter: grayscale(100%) opacity(0.4);
  z-index: 5;
}

.portfolio-img-wrapper {
  position: relative;
  width: 100%;
  /* Domyślna wysokość, zanim JS obliczy rzeczywisty format zdjęcia */
  height: 480px;
  min-height: 280px;
  max-height: 560px;
  overflow: hidden;
  background-color: #121315;
}

.portfolio-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.35s ease;
}

.portfolio-img-after {
  position: relative;
  opacity: 0;
}

.portfolio-img-before {
  opacity: 1;
}

.portfolio-card.is-active .portfolio-img-after {
  opacity: 1;
}

.portfolio-card.is-active .portfolio-img-before {
  opacity: 0;
}

.portfolio-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  padding: 5px 12px;
  background-color: rgba(13, 13, 13, 0.85);
  border: 1px solid #ff3b30;
  border-radius: 20px;
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  font-family: 'Rajdhani', sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.portfolio-badge-after {
  opacity: 0;
}

.portfolio-badge-before {
  opacity: 1;
}

.portfolio-card.is-active .portfolio-badge-after {
  opacity: 1;
}

.portfolio-card.is-active .portfolio-badge-before {
  opacity: 0;
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(17, 5, 6, 0.85);
  border: 1.5px solid #ff3b30;
  color: #fff;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 20;
  transition: all 0.25s ease;
}

.carousel-arrow:hover {
  background: #ff3b30;
  box-shadow: 0 0 18px rgba(255, 59, 48, 0.6);
  transform: translateY(-50%) scale(1.08);
}

.carousel-arrow.prev { left: -10px; }
.carousel-arrow.next { right: -10px; }

.contact-container {
  max-width: 760px;
  margin: 0 auto;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background-color: rgba(22, 20, 20, 0.75);
  border: 1px solid #2b2323;
  border-radius: 18px;
  padding: 24px 28px;
  cursor: pointer;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.contact-card:hover {
  border-color: #ff3b30;
  transform: translateY(-5px);
  box-shadow: 0 10px 24px rgba(255, 59, 48, 0.16);
}

.contact-icon {
  font-size: 30px;
  color: #ff3b30;
  display: flex;
  align-items: center;
  transition: transform 0.25s ease;
}

.contact-card:hover .contact-icon {
  transform: scale(1.18);
}

.contact-info {
  text-align: left;
}

.contact-title {
  color: #ffffff;
  font-size: 18px;
  font-weight: 700;
  font-family: 'Rajdhani', sans-serif;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.contact-value {
  color: #d4d4d8;
  font-size: 17px;
  font-weight: 500;
  transition: color 0.25s ease;
}

.contact-card:hover .contact-value {
  color: #ffffff;
}

.contact-arrow {
  margin-left: auto;
  color: #8e8e93;
  font-size: 20px;
  transition: color 0.25s ease, transform 0.25s ease;
}

.contact-card:hover .contact-arrow {
  color: #ff3b30;
  transform: translateX(6px);
}

footer {
  text-align: center;
  padding: 35px 0 15px 0;
  color: #a1a1aa;
  font-size: 15px;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600;
  border-top: 1px solid rgba(43, 35, 35, 0.5);
  margin-top: 70px;
  transition: color 0.2s ease;
}

footer:hover {
  color: #d4d4d8;
}

#backToTop {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: #110506;
  border: 2px solid #ff3b30;
  color: #ffffff;
  font-size: 19px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: all 0.3s ease;
  box-shadow: 0 0 16px rgba(255, 59, 48, 0.4);
  z-index: 999;
}

#backToTop.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

#backToTop:hover {
  box-shadow: 0 0 22px rgba(255, 59, 48, 0.7);
  transform: translateY(-4px);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.hero-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: 52px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  line-height: 1.15;
  max-width: 780px;
  margin: 0 auto;
}

.ps-question-container {
  display: flex;
  justify-content: center;
  gap: 20px;
  max-width: 760px;
  margin: 0 auto 35px auto;
}

.ps-card {
  flex: 1;
  background-color: rgba(22, 20, 20, 0.75);
  border: 1px solid #2b2323;
  border-radius: 16px;
  padding: 20px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.ps-card i {
  font-size: 28px;
  margin-bottom: 8px;
  display: block;
}

.ps-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 6px;
  text-transform: uppercase;
}

.ps-card p {
  font-size: 14px;
  color: #d4d4d8;
}

.ps-card:hover {
  border-color: #ff3b30;
  transform: translateY(-3px);
}

.ps-card.active {
  border-color: #ff3b30;
  background-color: rgba(255, 59, 48, 0.08);
  box-shadow: 0 0 20px rgba(255, 59, 48, 0.2);
}

.presety-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
  max-width: 1000px;
  margin: 0 auto;
  transition: all 0.3s ease;
}

.preset-card {
  background-color: rgba(22, 20, 20, 0.75);
  border: 1px solid #2b2323;
  border-radius: 18px;
  padding: 26px;
  text-align: left;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.preset-card:hover {
  border-color: #ff3b30;
  transform: translateY(-5px);
  box-shadow: 0 10px 24px rgba(255, 59, 48, 0.16);
}

.preset-tag {
  display: inline-block;
  margin-top: 14px;
  padding: 4px 12px;
  border: 1px solid #ff3b30;
  border-radius: 20px;
  color: #ff3b30;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.format-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
}

.format-badge {
  display: inline-flex;
  align-items: center;
  padding: 7px 16px;
  background-color: #121315;
  border: 1px solid #28292d;
  border-radius: 10px;
  color: #e1e1e1;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.5px;
}

.format-badge-raw {
  flex-direction: column;
  gap: 2px;
  padding: 10px 24px;
  font-size: 20px;
  color: #ffffff;
  background-color: #1a0d0c;
  border: 2px solid #ff3b30;
  border-radius: 14px;
  box-shadow: 0 0 18px rgba(255, 59, 48, 0.45);
}

.format-badge-raw small {
  font-size: 10px;
  font-weight: 600;
  color: #ffb3ae;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* RESPONSYWNOŚĆ */
@media (max-width: 820px) {
  .navbar {
    gap: 30px;
    padding: 0 20px;
  }
  .navbar ul {
    gap: 22px;
  }
}

@media (max-width: 768px) {
  body {
    padding: 75px 16px 30px 16px;
  }

  .navbar {
    justify-content: space-between;
    height: 60px;
  }

  .navbar .logo {
    height: 32px;
  }

  header .logo {
    height: 60px;
  }

  .navbar ul {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background: rgba(13, 13, 13, 0.98);
    flex-direction: column;
    align-items: center;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    border-bottom: 1px solid #2b2323;
  }

  .navbar ul.open {
    max-height: 320px;
  }

  .navbar ul li {
    width: 100%;
    text-align: center;
    padding: 13px 0;
    border-top: 1px solid #1a1a1a;
  }

  #navbtn span.btn-text {
    display: none;
  }

  #menuToggle {
    display: block;
    order: 3;
  }

  .navbar img.logo {
    order: 1;
  }

  #navbtn {
    order: 2;
    margin-left: auto;
    padding: 8px 12px;
  }

  header p {
    font-size: 20px;
  }

  .hero-title {
    font-size: 34px;
  }

  .section-header .h {
    font-size: 26px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .form-group.full-width {
    grid-column: span 1;
  }

  #send {
    width: 100%;
  }

  .contact-card {
    flex-wrap: wrap;
    padding: 20px;
  }

  #backToTop {
    bottom: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
  }

  .phone-country-dropdown {
    width: 100%;
  }

  .format-badge-raw {
    font-size: 17px;
    padding: 9px 18px;
  }

  .carousel-arrow.prev { left: 5px; }
  .carousel-arrow.next { right: 5px; }
}

@media (max-width: 600px) {
  .ps-question-container {
    flex-direction: column;
  }

  .carousel-track .portfolio-card {
    width: 380px;
  }

  .carousel-track .portfolio-card.prev {
    transform: translateY(-50%) translateX(-30%) scale(0.78);
  }

  .carousel-track .portfolio-card.next {
    transform: translateY(-50%) translateX(30%) scale(0.78);
  }
}

@media (max-width: 420px) {
  .carousel-wrapper {
    min-height: 420px;
  }

  .carousel-track {
    height: 420px;
  }

  .portfolio-img-wrapper {
    height: 340px;
    min-height: 220px;
    max-height: 380px;
  }

  #dropzone {
    height: 160px;
  }
}