/* ================= HERO ================= */
.hero {
  height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;

  background:
    linear-gradient(rgba(2,6,23,0.8), rgba(2,6,23,0.9)),
    url("../image/contact_hero.jpg");
  background-size: cover;
}

.hero h1 {
  font-size: 42px;
}

.hero p {
  margin-top: 10px;
  color: #94a3b8;
}

/* ================= CONTACT ================= */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 40px;
  padding: 60px;
}

/* LEFT INFO */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.info-card {
  background: rgba(255,255,255,0.05);
  padding: 20px;
  border-radius: 14px;
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.1);
}

.info-card i {
  font-size: 24px;
  margin-bottom: 10px;
  color: #38bdf8;
}

.info-card h3 {
  margin-bottom: 5px;
}

.info-card p {
  color: #94a3b8;
}

/* FORM */
.contact-form {
  background: rgba(255,255,255,0.05);
  padding: 30px;
  border-radius: 16px;
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,0.1);
}

.contact-form h2 {
  margin-bottom: 20px;
}

form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.form-row {
  display: flex;
  gap: 10px;
}

input, select, textarea {
  width: 100%;
  padding: 12px;
  border-radius: 8px;
  border: none;
  background: rgba(255,255,255,0.08);
  color: #fff;
  transition: all .2s ease;
}

input:focus, textarea:focus {
    outline: #38bdf8 solid 3px;
}

/* ================= CUSTOM DROPDOWN ================= */
.custom-select {
  position: relative;
  width: 100%;
  cursor: pointer;
  border: rgba(255, 255, 255, 0.1) 1px solid;
  border-radius: 10px;
}

.dropdown-active {
    border: #38bdf8 3px solid;
    border-radius: 10px;
}

/* selected box */
.select-selected {
  padding: 12px;
  border-radius: 8px;
  background: rgba(255,255,255,0.08);
  color: #fff;
  border: none;

  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* arrow */
.select-selected::after {
  content: "▾";
  font-size: 14px;
  opacity: 0.7;
}

/* dropdown */
.select-options {
  position: absolute;
  top: 110%;
  left: 0;
  width: 100%;

  background: rgba(2,6,23,0.95);
  backdrop-filter: blur(12px);

  border-radius: 10px;
  overflow: hidden;

  border: 1px solid rgba(255,255,255,0.1);

  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;

  transition: 0.25s ease;
  z-index: 20;
}

/* open state */
.custom-select.dropdown-active .select-options {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* options */
.select-options div {
  padding: 12px;
  transition: 0.2s;
}

.select-options div:hover {
  background: rgba(56,189,248,0.2);
}

textarea {
  min-height: 120px;
}

input::placeholder,
textarea::placeholder {
  color: #94a3b8;
}

/* BUTTON */
.btn-primary {
  background: linear-gradient(45deg,#38bdf8,#22c55e);
  border: none;
  padding: 12px;
  border-radius: 10px;
  cursor: pointer;
  font-weight: bold;
  transition: 0.2s;
}

.btn-primary:hover {
  transform: scale(1.05);
}

/* CTA */
.cta {
  text-align: center;
  padding: 60px 20px;
}

.cta h2 {
  font-size: 28px;
}

.cta p {
  color: #94a3b8;
  margin: 10px 0 20px;
}

/* RESPONSIVE */
@media(max-width:900px) {
  .contact-wrapper {
    grid-template-columns: 1fr;
    padding: 30px;
  }

  .form-row {
    flex-direction: column;
  }
}

.form-row {
    display: flex;
    gap: 15px;
}

    .form-row input {
        flex: 1;
    }

#contactSalesForm {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

    #contactSalesForm input,
    #contactSalesForm textarea {
        width: 100%;
        padding: 14px;
        border-radius: 10px;
        background: #1e293b;
        font-size: 15px;
    }

    #contactSalesForm textarea {
        min-height: 140px;
        resize: vertical;
    }

.custom-dropdown {
    position: relative;
    user-select: none;
}

.dropdown-selected {
    padding: 14px;
    border-radius: 10px;
    background: #1e293b;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

    .dropdown-selected span {
        flex: 1;
    }

.dropdown-options {
    position: absolute;
    top: 110%;
    left: 0;
    width: 100%;
    background: #1e293b;
    border-radius: 12px;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: 0.25s;
    z-index: 20;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.custom-dropdown.active .dropdown-options {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-option {
    padding: 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: 0.2s;
}

    .dropdown-option:hover {
        background: #f3f4f6;
        color: #1e293b;
    }

    .dropdown-option i {
        width: 20px;
        text-align: center;
    }

.dropdown-arrow {
    transition: 0.25s;
}

.custom-dropdown.active .dropdown-arrow {
    transform: rotate(180deg);
}

.btn-primary {
    padding: 14px;
    border: none;
    border-radius: 10px;
    background: #38bdf8;
    font-weight: bold;
    cursor: pointer;
    transition: 0.25s;
}

    .btn-primary:hover {
        opacity: 0.9;
    }

@media(max-width:768px) {

    .form-row {
        flex-direction: column;
    }
}