* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Banner */
.banner img {
  width: 100%;
  height: 28vh;
  object-fit: cover;
}

/* ===============================
   GLOBAL RESET
================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Nunito', sans-serif;
  background-color: #f4f4f4;
  padding-top: 70px;
  color: #111;
}

/* ===============================
   FULL VIEWPORT LAYOUT
================================ */
.full-viewport {
  min-height: calc(100vh - 70px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

/* ===============================
   CARD CONTAINER
================================ */
.contact-card {
  width: 100%;
  max-width: 960px;
  background: #ffffff;
  padding: 50px 55px;
  border-radius: 20px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

/* ===============================
   HEADINGS & TEXT
================================ */
.contact-card h1 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 8px;
}

.subtitle {
  font-size: 15px;
  color: #555;
  margin-bottom: 35px;
}

/* ===============================
   GROUP SECTIONS
================================ */
.group {
  margin-bottom: 32px;
}

.group h3 {
  font-size: 18px;
  margin-bottom: 14px;
  font-weight: 600;
}

/* ===============================
   RADIO SELECTORS (CARD STYLE)
================================ */
.radio-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.radio-box {
  position: relative;
  border: 2px solid #ddd;
  padding: 16px 24px;
  border-radius: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 14px;
  font-weight: 500;
  background: #fff;
}

.radio-box input {
  display: none;
}

.radio-box:hover {
  border-color: #111;
}

.radio-box:has(input:checked) {
  background: #111;
  color: #ffffff;
  border-color: #111;
}

/* ===============================
   PCB DIMENSIONS
================================ */
.dimension-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.dimension-row span {
  font-size: 20px;
  font-weight: 600;
}

.dimension-row input {
  width: 140px;
}

/* ===============================
   INPUT FIELDS
================================ */
input[type="text"],
input[type="email"],
input[type="number"] {
  width: 100%;
  padding: 13px 14px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 14px;
  transition: border 0.2s;
}

input:focus {
  outline: none;
  border-color: #111;
}

/* ===============================
   SUBMIT BUTTON
================================ */
.submit-btn {
  width: 100%;
  padding: 15px;
  background: #111;
  color: #ffffff;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.submit-btn:hover {
  background: #000;
}

/* ===============================
   SUCCESS STATE
================================ */
.success-text {
  font-size: 18px;
  color: #333;
  margin-top: 25px;
  line-height: 1.6;
}

/* ===============================
   UTILITY
================================ */
.hidden {
  display: none;
}

/* ===============================
   RESPONSIVE
================================ */
@media (max-width: 768px) {
  .contact-card {
    padding: 35px 25px;
  }

  .contact-card h1 {
    font-size: 28px;
  }

  .radio-row {
    flex-direction: column;
  }

  .dimension-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .dimension-row span {
    display: none;
  }

  .dimension-row input {
    width: 100%;
  }
}

/* Address & Map */
.contact-details {
  display: flex;
  flex-direction: row;
  padding: 30px;
  background-color: #f1f1f1;
  gap: 10px;
}
.details {
  flex: 1 1 40%;
}
.spacer {
  flex: 1 1 20%;
}
.map {
  flex: 1 1 40%;
}

/* Social icons */
.social {
  display: flex;
  justify-content: center;
  padding: 20px;
  background: #111;
  gap: 15px;
}
.social a img {
  width: 30px;
  height: 30px;
  filter: brightness(0) invert(1);
  transition: transform 0.2s;
}
.social a img:hover {
  transform: scale(1.1);
}

/* Responsive */
@media (max-width: 768px) {
  /* .header {
    flex-direction: column;
    align-items: flex-start;
  }
  .menu-icon {
    display: block;
  }
  .navbar {
    flex-direction: column;
    width: 100%;
    display: none;
    background: #111;
  }
  .navbar.show {
    display: flex;
  } */

  .banner img {
    padding-top: auto;
  width: 100%;
  height: 10vh;
  object-fit: cover;
}

  .contact-main, .contact-details {
    flex-direction: row;
  }
  .spacer {
    display: none;
  }
  .contact-left, .contact-right, .details, .map {
    flex: 1 1 100%;
  }
}


  /* ===============================
   ANIMATIONS
================================ */
.fade-out {
  animation: fadeOut 0.4s ease forwards;
}

.fade-in {
  animation: fadeInUp 0.6s ease forwards;
}

@keyframes fadeOut {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0;
    transform: translateY(-20px);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
