.wrap {
  max-width: 1100px;
  margin: 40px auto;
  padding: 0 20px;
  text-align: center;
}

/* Hide radios but keep them accessible */
.loc-input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.pillbar {
  display: flex;
  gap: 22px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 170px;
  height: 56px;
  padding: 0 22px;
  border: 2px solid var(--brand);
  border-radius: var(--pill-radius);
  cursor: pointer;
  user-select: none;
  font-weight: 600;
  letter-spacing: 0.2px;
  color: var(--brand);
  background: #fff;
  transition: transform 0.06s ease, background 0.2s ease, color 0.2s ease,
    box-shadow 0.2s ease;
}
.pill:hover {
  transform: translateY(-1px);
}
/* Active state via :checked + label */
.loc-input:checked + .pill {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 0 0 6px var(--brand-ghost);
}
/* Focus ring for keyboard users */
.loc-input:focus-visible + .pill {
  box-shadow: 0 0 0 4px var(--ring);
}

.address-card {
  max-width: 980px;
  margin: 0 auto;
  padding: 24px 26px;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  background: #fff;
}
.city-title {
  font-size: 22px;
  font-weight: 800;
  margin: 0 0 8px;
}
.addr-line {
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}
@media (max-width: 520px) {
  .pill {
    min-width: 140px;
    height: 50px;
  }
}

.contact-title {
  margin-bottom: 2rem;
}

.contact-form {
  /* background: #f8f9fa; */
  /* padding: 2rem; */
  border-radius: 8px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-info__item {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
}

.contact-info__item i {
  font-size: 1.5rem;
  color: var(--color-primary);
  margin-top: 0.5rem;
}

.contact-info__item h3 {
  margin-bottom: 0.5rem;
}

.contact-info__item p {
  margin: 0;
}

/* Contact Form Styles */
.contact-form-wrapper {
  height: 100%;
  max-width: 800px;
  margin: 0 auto;
}

.contact-form-wrapper h2 {
  font-weight: 600;
  margin-bottom: 0.75rem;
  font-size: 1.75rem;
  letter-spacing: -0.5px;
}

.contact-form-wrapper p {
  color: #6c757d;
  margin-bottom: 2rem;
  font-size: 1rem;
  line-height: 1.6;
  font-weight: 400;
}

.form-floating {
  margin-bottom: 1rem;
}

.form-floating > .form-control,
.form-floating > .form-select {
  height: calc(1.5rem + 2px);
  padding: 0.6rem 0.45rem 0.15rem;
  border: 1px solid #e9ecef;
  border-radius: 6px;
  font-size: 0.95rem;
  transition: all 0.2s ease;
  background-color: #fff;
  line-height: 1.5;
}

.form-floating > .form-control:focus,
.form-floating > .form-control:not(:placeholder-shown) {
  border-color: #0d6efd;
  box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.08);
  padding-top: inherit;
  padding-bottom: inherit;
}

.form-floating > label {
  padding: 0.15rem 0.45rem;
  color: #6c757d;
  font-size: 0.9rem;
  font-weight: 400;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  height: 100%;
  width: 100%;
  pointer-events: none;
}

.form-floating > .form-control:focus ~ label,
.form-floating > .form-control:not(:placeholder-shown) ~ label,
.form-floating > .form-select ~ label {
  transform: scale(0.85) translateY(-0.5rem) translateX(0.15rem);
  color: var(--color-heading);
  font-weight: 500;
  height: auto;
  padding: 0.25rem 0.5rem;
  background: white;
  width: auto;
  left: 0.5rem;
  top: 0;
  border-radius: 10px;
}

.form-control,
.form-control:focus {
  border: 1px solid #e9ecef;
  box-shadow: none;
  height: auto;
}

textarea.form-control {
  min-height: 36px;
  padding-top: 12px;
  resize: vertical;
  line-height: 1.5;
}

.btn-primary {
  padding: 0.8rem 2rem;
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  border-radius: 6px;
  background: #0d6efd;
  border: none;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-transform: none;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(13, 110, 253, 0.3);
}

.contact-info-wrapper {
  /* background: #fff;
    padding: 2rem 1.5rem; */
  border-radius: 12px;
  /* box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03); */
  height: 100%;
  display: flex;
  flex-direction: column;
}

#contact-section {
  background: rgba(0, 63, 135, 0.05);
}

.contact-map {
  flex: 1;
  display: flex;
}

.contact-map iframe {
  height: 100%;
  width: 100%;
}

@media (min-width: 992px) {
  .row.g-5 {
    align-items: stretch;
  }
}

.contact-info {
  flex: 1;
}

.contact-info h4 {
  color: #2c3e50;
  position: relative;
  padding-bottom: 1rem;
  margin-bottom: 1.5rem;
}

.contact-info h4:after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 50px;
  height: 3px;
  background: #0d6efd;
  border-radius: 3px;
}

.contact-info h5 {
  color: #2c3e50;
  font-size: 1.1rem;
  margin-bottom: 0.3rem;
}

.contact-info a {
  color: #6c757d;
  transition: color 0.3s ease;
}

.contact-info a:hover {
  color: #0d6efd;
  text-decoration: none;
}

.company-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: none;
  border-radius: 12px;
  overflow: hidden;
  height: 100%;
}

.company-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
}

.company-card .card-body {
  padding: 2rem;
}

.company-card .icon-wrapper {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 1.5rem;
}

@media (max-width: 768px) {
  .company-card {
    margin-bottom: 1.5rem;
  }
}


.tab-btn {
    border: 1px solid;
}