/* Hubungi Kami Section */
.hubungi-section {
  background: linear-gradient(180deg, #e8f0f8 0%, #f5f8fb 100%);
  padding: 100px 0 200px 0; /* Added extra bottom padding for footer overlap */
  position: relative;
}

.hubungi-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 4rem;
}

.hubungi-card {
  background: white;
  border-radius: 25px;
  border: 3px solid #e3f2fd;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 0;
}

.hubungi-left {
  display: flex;
  flex-direction: column;
  background: linear-gradient(135deg, #4a7cbc 0%, #5b8ed4 100%);
  padding: 3rem 2.5rem;
  color: white;
  position: relative;
  overflow: hidden;
  min-height: 600px;
  border-radius: 0 50px 50px 0;
}

.hubungi-left::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  //background: linear-gradient(to bottom, rgba(74, 124, 188, 0.95) 0%, rgba(74, 124, 188, 0.85) 30%, rgba(74, 124, 188, 0.4) 70%, transparent 100%);
  z-index: 1;
}

.hubungi-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: rgba(255, 255, 255, 0.95);
  position: relative;
  z-index: 2;
}

.hubungi-title {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: auto;
  position: relative;
  z-index: 2;
}

.hubungi-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hubungi-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hubungi-right {
  background: white;
  padding: 3rem 2.5rem;
}

.form-title {
  font-size: 1.2rem;
  color: #1e3c72;
  margin-bottom: 2rem;
  font-weight: 700;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.form-group {
  width: 100%;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.form-input {
  width: 100%;
  padding: 1rem 1.2rem;
  border: 2px solid #e8edf5;
  border-radius: 10px;
  font-size: 0.9rem;
  font-family: inherit;
  transition: all 0.3s ease;
  background: #f8fafb;
}

.form-input:focus {
  outline: none;
  border-color: #4a7cbc;
  background: white;
  box-shadow: 0 0 0 4px rgba(74, 124, 188, 0.1);
}

.form-input::placeholder {
  color: #aaa;
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

.form-submit {
  width: 100%;
  padding: 1.1rem;
  background: #1e3c72;
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 0.5rem;
}

.form-submit:hover {
  background: #2a5298;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(30, 60, 114, 0.25);
}

.form-submit:active {
  transform: translateY(0);
}

/* Bottom Section */
.hubungi-bottom {
  background: transparent;
  padding: 4rem 3rem 3rem;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.bottom-text {
  color: #1e3c72;
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 2.5rem;
  font-weight: 500;
}

.btn-daftar {
  padding: 1.1rem 3.5rem;
  background: #1e3c72;
  color: white;
  border: none;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 5px 20px rgba(30, 60, 114, 0.2);
}

.btn-daftar a {
  color: white;
  text-decoration: none;
}

.btn-daftar:hover {
  background: #2a5298;
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(30, 60, 114, 0.3);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .hubungi-container {
    padding: 0 2rem;
  }

  .hubungi-card {
    grid-template-columns: 1fr;
  }

  .hubungi-left {
    min-height: 400px;
    border-radius: 0;
  }

  .hubungi-title {
    font-size: 1.8rem;
  }
}

@media (max-width: 768px) {
  .hubungi-section {
    padding: 60px 0 200px 0;
  }

  .hubungi-container {
    padding: 0 1.5rem;
  }

  .hubungi-card {
    grid-template-columns: 1fr;
  }

  .hubungi-left {
    min-height: 300px;
    padding: 2.5rem 2rem;
    border-radius: 0;
  }

  .hubungi-title {
    font-size: 1.8rem;
  }

  .hubungi-image {
    height: 250px;
  }

  .hubungi-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .hubungi-right {
    padding: 2rem 1.5rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .hubungi-bottom {
    margin: 0 1.5rem 3rem;
    padding: 2rem 1.5rem;
  }

  .bottom-text {
    font-size: 1rem;
  }

  .btn-daftar {
    padding: 1rem 3rem;
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .hubungi-section {
    padding: 50px 0 180px 0;
  }

  .hubungi-container {
    padding: 0 1rem;
  }

  .hubungi-left {
    min-height: 250px;
    padding: 2rem 1.5rem;
  }

  .hubungi-label {
    font-size: 0.8rem;
  }

  .hubungi-title {
    font-size: 1.5rem;
  }

  .hubungi-image {
    height: 200px;
  }

  .hubungi-right {
    padding: 1.5rem 1.2rem;
  }

  .form-title {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
  }

  .form-input {
    padding: 0.9rem 1rem;
    font-size: 0.85rem;
  }

  .form-textarea {
    min-height: 100px;
  }

  .form-submit {
    padding: 1rem;
    font-size: 0.95rem;
  }

  .hubungi-bottom {
    padding: 2rem 1rem;
    margin: 0 1rem 2rem;
  }

  .bottom-text {
    font-size: 0.95rem;
    margin-bottom: 2rem;
  }

  .btn-daftar {
    padding: 0.9rem 2.5rem;
    font-size: 0.9rem;
  }
}