
.hero-header {
  position: relative;
  min-height: 50vh;
  background: linear-gradient(135deg, #0a0f16 0%, #141b2b 100%);
  padding-bottom: 40px;
}

.hero-header h1 {
  font-size: clamp(2.2rem, 6vw, 3.5rem);
  font-weight: 700;
  color: white;
  margin-top: 25px;
  position: relative;
  z-index: 1;
  text-align: center;
}

.hero-header p {
  color: rgba(255, 255, 255, 0.7);
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  max-width: 600px;
  margin: 15px auto 0;
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 15px;
}

.contact-section {
  padding: 60px 0;
  background: var(--bg-light);
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: white;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.contact-form-side {
  padding: 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-intro {
  margin-bottom: 40px;
}

.contact-intro h2 {
  font-size: clamp(1.6rem, 4vw, 2rem);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.3;
}

.contact-intro h2 span {
  color: var(--primary);
}

.input-group {
  position: relative;
  margin-bottom: 32px;
}

.input-group input,
.input-group textarea {
  width: 100%;
  padding: 14px 0;
  font-size: 16px;
  border: none;
  border-bottom: 2px solid #e0e0e0;
  outline: none;
  background: transparent;
  transition: all 0.3s;
  color: var(--text-primary);
}

.input-group textarea {
  resize: vertical;
}

.input-group label {
  position: absolute;
  left: 0;
  top: 14px;
  font-size: 16px;
  color: #888;
  pointer-events: none;
  transition: all 0.3s;
}

.input-group input:focus ~ label,
.input-group input:not(:placeholder-shown) ~ label,
.input-group textarea:focus ~ label,
.input-group textarea:not(:placeholder-shown) ~ label {
  top: -20px;
  font-size: 12px;
  color: var(--primary);
  font-weight: 600;
}

.input-group input:focus,
.input-group textarea:focus {
  border-bottom-color: var(--primary);
}

.btn-submit {
  background: var(--primary);
  color: white;
  padding: 14px 32px;
  border-radius: 50px;
  border: none;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.btn-submit:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(247, 89, 16, 0.3);
}

.contact-map-side {
  position: relative;
  min-height: 550px;
  background: #eef2f5;
  display: flex;
  flex-direction: column;
}

.contact-map-side iframe,
.map-iframe {
  width: 100% !important;
  height: 100%;
  min-height: 750px;
  border: none;
  filter: grayscale(0.2) contrast(1.05);
  transition: 0.3s;
  display: block;
}

.contact-map-side:hover iframe,
.contact-map-side:hover .map-iframe {
  filter: grayscale(0);
}

.map-overlay {
  position: absolute;
  bottom: 30px;
  left: 30px;
  right: 30px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  padding: 24px;
  border-radius: 20px;
  box-shadow: var(--shadow-md);
  max-width: 320px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  z-index: 5;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 18px;
}

.info-item:last-child {
  margin-bottom: 0;
}

.info-icon {
  width: 38px;
  height: 38px;
  background: rgba(247, 89, 16, 0.1);
  color: var(--primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.info-text {
  font-size: 0.88rem;
  color: var(--text-primary);
  font-weight: 500;
  line-height: 1.4;
}

.alert-message {
  padding: 12px 20px;
  border-radius: 12px;
  margin-bottom: 24px;
  font-size: 0.85rem;
  display: none;
}

.alert-success {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.alert-error {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

@media (max-width: 1024px) {
  .contact-container {
    grid-template-columns: 1fr;
    border-radius: 20px;
  }

  .contact-form-side {
    padding: 40px 30px;
  }

  .contact-map-side {
    min-height: auto;
    order: 2;
    background: #ffffff;
  }

  .contact-map-side iframe,
  .map-iframe {
    min-height: 400px;
  }

  .map-overlay {
    position: relative;
    bottom: auto;
    left: auto;
    right: auto;
    max-width: 100%;
    margin: 24px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.06);
  }
}

@media (max-width: 768px) {
  .contact-intro h2 {
    font-size: 1.65rem;
    line-height: 1.3;
    word-wrap: break-word;
  }

  .contact-form-side {
    padding: 30px 20px;
  }

  .map-overlay {
    margin: 20px;
  }

  .contact-map-side iframe,
  .map-iframe {
    height: 350px;
  }
}

@media (max-width: 480px) {
  .contact-intro h2 {
    font-size: 1.45rem;
  }

  .contact-form-side {
    padding: 25px 15px;
  }

  .map-overlay {
    margin: 15px 10px;
    padding: 16px;
  }

  .info-text {
    font-size: 0.85rem;
  }
}
