
.contact-container {
  max-width: 500px;
  margin: auto;
}

.contact h2 {
  color: #53a2fd;
  font-size: 1.9rem;
  font-weight: 600;
  margin-bottom: 0.8rem;
  margin-top: 75px;
}

.contact h5 {
  color: #bcbfc0;
  margin-bottom: 15px;
}


.contact h3 {
  color: #53a2fd;
  font-weight: 600;
  margin-bottom: 5px;
}



.contact-intro {
  font-size: 0.95rem;
  opacity: 0.85;
  margin-bottom: 2.5rem;
}

.contact-form {
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(16px);
  padding: 2.5rem;
  border-radius: 22px;
  border: 1px solid rgba(79, 117, 243, 0.274);
  margin-bottom: 22px;
}

.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 1.4rem;
}

.form-group label {
  font-size: 0.85rem;
  margin-bottom: 0.4rem;
  opacity: 0.8;
}

.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255,255,255,0.08);
  border: none;
  outline: none;
  padding: 0.8rem 0.9rem;
  border-radius: 10px;
  color: #fff;
  font-size: 0.9rem;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(228, 232, 238, 0.6);
}



.form-group select {
  color: #fff;
}

.form-group select option {
  color: #e6dcdc;
  background: #010a1d;
}


/* Mobile */
@media (max-width: 768px) {
  .contact-form {
    padding: 2rem 1.6rem;
  }
}

.phone-field {
  width: 100%;
  margin-bottom: 1rem;
  position: relative;
}

.phone-field label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.82);
}

.phone-group {
  display: flex;
  align-items: center;
  width: 100%;
  height: 56px;

  overflow: visible;
  border-radius: 12px;

  border: 1px solid rgba(255,255,255,0.08);

  background: rgba(255,255,255,0.04);
}

.country-btn {
   width: 120px;
  flex: 0 0 120px;
  height: 56px;
  border: 0;
  outline: none;
  background: rgba(255,255,255,0.03);
  color: #fff;
  font-size: 13px;
  padding: 0 8px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
  cursor: pointer;
  border-right: 1px solid rgba(255,255,255,0.08);
}

.country-btn:hover {
  background: rgba(255, 255, 255, 0.08);
}


.country-btn-left {
  display: flex;
  align-items: center;
  gap: 6px;
  overflow: hidden;
}

#selectedCountryText {
  white-space: nowrap;
  font-size: 12px;
}

.country-emoji {
  display: inline-flex;
  width: 1.2em;
  justify-content: center;
  align-items: center;
  flex: 0 0 auto;
  font-size: 1rem;
  line-height: 1;
}

.chevron {
  opacity: 0.8;
  font-size: 12px;
  flex-shrink: 0;
  margin-left: auto;
}

#phoneLocal {
  flex: 1;

  height: 56px;

  border: 0;
  outline: none;

  background: transparent;

  color: #fff;

  font-size: 15px;

  padding: 0 16px;

  box-sizing: border-box;
}

#phoneLocal::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.phone-error {
  display: block;
  min-height: 1.2rem;
  margin-top: 0.45rem;
  font-size: 0.85rem;
  color: #ff8a8a;
}

.country-dropdown {
  bottom: calc(100% + 8px);
  top: auto;
  width: min(560px, 100%);

  z-index: 99999;

  border-radius: 16px;

  overflow: hidden;

  background: #08111f;

  border: 1px solid rgba(255,255,255,0.12);

  box-shadow:
    0 20px 45px rgba(0,0,0,0.42);

  max-height: 350px;
}

.country-search-wrap {
  padding: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03)
}

.country-search {
  width: 100%;
  height: 46px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: #0f1724;
  color: #fff;
  outline: none;
  padding: 0 14px;
  box-sizing: border-box;
  font-size: 15px;
}

.country-search::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.country-search:focus {
  border-color: rgba(79, 195, 247, 0.7);
  box-shadow: 0 0 0 3px rgba(79, 195, 247, 0.12);
}

.country-list {
  max-height: 340px;
  overflow-y: auto;
}

.country-item {
  width: 100%;
  border: 0;
  background: transparent;
  color: #fff;
  text-align: left;
  padding: 12px 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  font-size: 14px;
  transition: background 0.18s ease;
}

.country-item:hover {
  background: rgba(255, 255, 255, 0.08);
}

.country-item .left {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.country-item .flag {
  font-size: 1.05rem;
  line-height: 1;
  flex-shrink: 0;
}

.country-item .name {
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.country-item .code {
  color: rgba(255, 255, 255, 0.68);
  flex-shrink: 0;
  font-weight: 500;
}

@media (max-width: 600px) {

  .country-btn {
    width: 180px;
    flex: 0 0 20px;
    align-items: center;
  justify-content: flex-start;
  padding-left: 6px;
  }

}

.form-step {
  display: none;
}

.form-step.active {
  display: block;
}

.form-progress-wrap {
  margin-bottom: 1.8rem;
}

.form-progress-bar {
  width: 100%;
  height: 8px;
  background: rgba(255,255,255,0.08);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 0.8rem;
}

.form-progress {
  width: 33.33%;
  height: 100%;
  background: linear-gradient(90deg, #4fc3f7, #6ea8ff);
  border-radius: inherit;
  transition: width 0.35s ease;
}

.step-counter {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
}

.step-buttons {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.5rem;
}

.first-step {
  justify-content: flex-end;
}

.prev-btn,
.next-btn,
.submit-btn {
  border: none;
  outline: none;
  cursor: pointer;
  padding: 0.9rem 1.5rem;
  border-radius: 30px;
  font-size: 0.9rem;
  font-weight: 600;
}

.prev-btn {
  background: rgba(255,255,255,0.08);
  color: #fff;
}

.next-btn,
.submit-btn {
  background: #6ea8ff;
  color: #0b1c2d;
}


.invalid-field {
  border: 1px solid #ff4d4d !important;
  box-shadow: 0 0 0 0 transparent !important;
}

.phone-group.invalid-field {
  border: 1px solid #ff4d4d !important;
}