/* Tech-ME marketing site responsive overrides */

.site-logo {
  max-height: 50px;
  width: auto;
}

.header-area .navbar {
  min-height: 80px;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.header-area .navbar-brand {
  padding: 0;
  margin-right: 1rem;
}

.header-area .navbar-nav .nav-link {
  font-weight: 500;
  color: #1e1e1e !important;
  padding: 0.5rem 1rem !important;
}

.header-area .navbar-nav .nav-link:hover,
.header-area .navbar-nav .nav-link.active {
  color: #fe3f40 !important;
}

.header-area .navbar-toggler {
  border-color: rgba(0, 0, 0, 0.15);
}

.header-area .navbar-toggler:focus {
  box-shadow: 0 0 0 0.2rem rgba(254, 63, 64, 0.25);
}

.background-header .navbar-nav .nav-link {
  color: #1e1e1e !important;
}

.section img,
.right-image img,
.left-image img,
.showed-content img {
  max-width: 100%;
  height: auto;
}

.service-text {
  font-size: clamp(0.85rem, 1.5vw, 1rem);
}

.our-portfolio .showed-content .product-logo {
  max-width: 200px;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.contact-us fieldset {
  border: 0;
  padding: 0;
  margin: 0 0 1rem;
}

/* Contact section — modern rebuild */
.contact-modern {
  position: relative;
  padding: 120px 0 130px;
  background:
    linear-gradient(180deg, rgba(8, 18, 38, 0.72) 0%, rgba(8, 18, 38, 0.82) 100%),
    url("../images/contact-bg.png") center center / cover no-repeat;
  overflow: hidden;
}

.contact-modern::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(3, 164, 237, 0.22), transparent 34%),
    radial-gradient(circle at 85% 80%, rgba(254, 63, 64, 0.18), transparent 30%);
  pointer-events: none;
}

.contact-modern .container {
  position: relative;
  z-index: 1;
}

.contact-modern-intro {
  max-width: 720px;
  margin: 0 auto 3rem;
}

.contact-modern-badge {
  display: inline-block;
  margin-bottom: 1rem;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact-modern-heading {
  margin: 0 0 1rem;
  color: #fff;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
  font-weight: 700;
}

.contact-modern-heading em {
  font-style: normal;
  color: #03a4ed;
}

.contact-modern-heading span {
  color: #fe3f40;
}

.contact-modern-subtitle {
  margin: 0 auto;
  max-width: 58ch;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.05rem;
  line-height: 1.7;
}

.contact-modern-shell {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(0, 1.25fr);
  gap: 0;
  border-radius: 28px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.28);
}

.contact-modern-info {
  background: linear-gradient(160deg, #111827 0%, #1f2937 55%, #0f172a 100%);
  color: #fff;
  padding: 2.5rem 2.25rem;
}

.contact-modern-info h3 {
  margin: 0 0 0.75rem;
  font-size: 1.65rem;
  font-weight: 700;
}

.contact-modern-info > .contact-modern-info-content > p {
  margin: 0 0 2rem;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.7;
}

.contact-modern-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.1rem;
}

.contact-modern-list li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-modern-list-icon {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(3, 164, 237, 0.18);
  color: #7dd3fc;
  font-size: 1rem;
}

.contact-modern-list strong {
  display: block;
  margin-bottom: 0.2rem;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
}

.contact-modern-list a,
.contact-modern-list span {
  display: block;
  color: #fff;
  text-decoration: none;
  font-size: 0.96rem;
  line-height: 1.5;
}

.contact-modern-list a:hover {
  color: #03a4ed;
}

.contact-modern-list-icon-whatsapp {
  background: rgba(37, 211, 102, 0.18);
  color: #25d366;
}

.contact-modern-list a[href*="wa.me"]:hover {
  color: #25d366;
}

.contact-modern-form-area {
  padding: 2.5rem 2.25rem;
  background: #fff;
}

.contact-modern-form {
  margin: 0;
  padding: 0;
  background: transparent;
  position: static;
}

.contact-modern-form-top h3 {
  margin: 0 0 0.35rem;
  color: #111827;
  font-size: 1.65rem;
  font-weight: 700;
}

.contact-modern-form-top p {
  margin: 0 0 1.75rem;
  color: #6b7280;
  font-size: 0.98rem;
}

.contact-modern-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.1rem 1rem;
}

.contact-modern-field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.contact-modern-field-full {
  grid-column: 1 / -1;
}

.contact-modern-field label {
  color: #374151;
  font-size: 0.82rem;
  font-weight: 600;
}

form#contact.contact-modern-form input,
form#contact.contact-modern-form textarea {
  width: 100%;
  margin: 0 !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 12px !important;
  background: #f9fafb !important;
  color: #111827;
  font-size: 0.98rem;
  font-weight: 400;
  box-shadow: none;
  transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

form#contact.contact-modern-form input {
  height: 50px;
  padding: 0 16px;
}

form#contact.contact-modern-form textarea {
  min-height: 180px !important;
  max-height: none !important;
  height: auto !important;
  padding: 14px 16px;
  line-height: 1.6;
  resize: vertical;
}

form#contact.contact-modern-form input::placeholder,
form#contact.contact-modern-form textarea::placeholder {
  color: #9ca3af;
}

form#contact.contact-modern-form input:focus,
form#contact.contact-modern-form textarea:focus {
  outline: none;
  background: #fff !important;
  border-color: #03a4ed !important;
  box-shadow: 0 0 0 4px rgba(3, 164, 237, 0.12) !important;
}

.contact-modern-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  width: 100%;
  margin-top: 1.25rem;
  min-height: 52px;
  padding: 0.85rem 1.4rem;
  border: 0;
  border-radius: 12px;
  background: #03a4ed;
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 12px 24px rgba(3, 164, 237, 0.24);
}

.contact-modern-submit:hover {
  transform: translateY(-1px);
  background: #0284c7 !important;
  box-shadow: 0 16px 28px rgba(3, 164, 237, 0.3);
}

form#contact.contact-modern-form button {
  text-transform: none;
  letter-spacing: normal;
}

.contact-modern-submit i {
  font-size: 0.9rem;
  transition: transform 0.2s ease;
}

.contact-modern-submit:hover i {
  transform: translateX(3px);
}

@media (max-width: 991.98px) {
  .header-area .navbar-collapse {
    background: #fff;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    margin-top: 0.5rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  }

  .header-area .main-red-button {
    margin-top: 0.5rem;
    text-align: center;
  }

  .contact-modern-shell {
    grid-template-columns: 1fr;
  }

  .contact-modern-info,
  .contact-modern-form-area {
    padding: 2rem 1.5rem;
  }
}

@media (max-width: 767.98px) {
  .main-banner {
    padding-top: 120px !important;
    padding-bottom: 80px !important;
  }

  .section-heading h2,
  .left-content h2 {
    font-size: clamp(1.5rem, 6vw, 2.25rem);
  }

  .phone-info h4 {
    font-size: 1rem;
    line-height: 1.5;
  }

  .contact-modern {
    padding: 90px 0 100px;
  }

  .contact-modern-fields {
    grid-template-columns: 1fr;
  }
}
