/* Banner trên cùng */
.banner-form {
  text-align: center;
  position: relative;
  z-index: 0;
  img {
    width: 100%;
    margin: 0 auto;
    display: block;
  }
}
.tin-moi-wrapper{
  display: flex;
  margin: 5% auto 5% 0; 
  width: 100%;
  height: auto; 
  max-width: 1560px;
}
.contact-left .anima-bg-moveup{
    width: 25%;
    height: 100%;
}
.unik-support-element {
    position: absolute;
    transform: translate(-40%, 20%);
    height: auto;
}
.contact-right{
  width: 400px;
}
.contact-container {
justify-items: end;
}

.contact-info {
  flex: 1;
  background: linear-gradient(135deg, #1B0E6F, #210A75);
  color: white;
  padding: 40px;
  display: flex;
  flex-direction: column;
  font-family: 'Avant Garde', Arial, sans-serif;
}

.contact-info h3 {
  font-size: 28px;
  margin-bottom: 16px;
  line-height: 1.4;
  font-family: SVN-Aguda;
}
.tit-big{
  font-size: 52px;
}
.contact-info h3 .highlight {
  color: #FF6D40;
}

.contact-info p {
  margin-bottom: 20px;
  font-size: 16px;
  line-height: 1.6;
  font-family: Avant Garde;
}

.contact-info ul {
  list-style: none;
  padding: 0;
}

.contact-info ul li {
  margin: 10px 0;
  font-size: 15px;
}

.contact-info ul li i {
  margin-right: 8px;
  color: #FF6D40;
}
/* Nền banner-item.png */
.banner-item-bg {
  position: relative;
  right: -15%;
  background: no-repeat center;
  background-size: cover;
  z-index: 1;
  width: 85%;
}
.graphic-item-bg{
    position: absolute;
    z-index: 0;
    width: 100%;
    margin-top: 10%;
    height: 100vh;
}
.section-title {
    text-align: center;
    font-size: 42px;
    color: #FF6D40;
    font-weight: 600;
    font-family: 'Avant Garde', Arial, sans-serif;
    position: relative;
    margin-top: -20%;
    left: 50%;
    transform: translate(-50%, -50%);
    line-height: 0.5;
    z-index: 101;
}

.title-tinmoi{
  font-family: 'SVN-Aguda', sans-serif;
  font-size: 68px;
  font-weight: 600;
  color: rgba(66, 16, 177, 1);
  position: relative;
  z-index: 3;
  margin: 15% auto 5%;
  max-width: 1200px;
  width: 100%;
}
.title-tinmoi h1{
  margin: 0;
}
.sub-title-lienhe{
  font-family: 'Avant Garde', Arial, sans-serif;
  font-size: 24px;
  font-weight: 400;
}
.sub-title{
    font-family: 'Avant Garde', Arial, sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: #ffff;
}


/* FORM */

.form-wrapper {
  position: relative;
  width: 40%;
  max-width: 1200px;
  background: rgb(255 255 255 / 90%);
  border-bottom-right-radius: 20px;
  border-top-right-radius: 20px;
  box-shadow: 0 0px 40px rgba(0, 0, 0, 0.2);
  z-index: 10;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  padding: 40px;
  padding-bottom: 0;
  flex-direction: column;
}
#pardot-form textarea.form-control {
  min-height: 120px; /* hoặc 150px nếu muốn cao hơn */
  resize: vertical;  /* cho phép người dùng kéo chỉnh */
}
.form-group {
  flex: 0 0 30%;
  box-sizing: border-box;
}

/* Floating Label Support */
.floating-label-group {
  position: relative;
  width: 100%;
  font-family: 'Avant Garde', Arial, sans-serif;
}

.floating-label-group input,
.floating-label-group textarea,
.floating-label-group select {
  width: 100%;            /* full chiều ngang form-group */
  box-sizing: border-box; /* tính padding/border vào width */
  padding: 14px 12px;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 8px;
  background: white;
  font-family: 'Avant Garde', Arial, sans-serif;
}

.floating-label-group label {
  position: absolute;
  top: 14px;
  left: 12px;
  color: #999;
  font-size: 14px;
  pointer-events: none;
  transition: 0.2s ease all;
  background: white;
  padding: 0 4px;
}

.floating-label-group input:focus + label,
.floating-label-group input:not(:placeholder-shown) + label,
.floating-label-group textarea:focus + label,
.floating-label-group textarea:not(:placeholder-shown) + label {
  top: -8px;
  left: 10px;
  font-size: 12px;
  color: #333;
}

/* Fix select (do không hỗ trợ placeholder-shown) */
.floating-label-group select:focus + label,
.floating-label-group select + label {
  top: -8px;
  left: 10px;
  font-size: 12px;
  color: #333;
}
.success-message {
  padding: 20px;
  background-color: #dff0d8;
  color: #3c763d;
  border: 2px solid #c3e6cb;
  border-radius: 10px;
  font-size: 18px;
  font-family: 'Avant Garde';
  text-align: center;
  animation: fadeInUp 0.5s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
@keyframes fadeInUp {
  from {
    transform: translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
/* Responsive 1 cột ở mobile */
@media (max-width: 768px) {
  .form-group {
    flex: 0 0 100%;
  }
}

@keyframes scrollUp {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-20%);
  }
}

.form-row input,
.form-row select {
  flex: 1;
  padding: 12px 16px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 14px;
  min-width: 200px;
  font-family: 'Avant Garde', Arial, sans-serif;
  font-weight: 400;
}

.form-button {
  text-align: right;
  padding: 0 40px 40px 40px;

}

.form-button button {
  padding: 12px 24px;
  background-color: #ff5722;
  color: white;
  font-family: 'Avant Garde', Arial, sans-serif;
  font-weight: 400;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}

.form-button button:hover {
  background-color: #e64a19;
}

@media (min-width: 2560px) {
  .tin-moi-wrapper{
  max-width: 1880px;
}
}
@media (max-width: 1440px) {
  .title-tinmoi {
    font-size: 56px;
    margin-left: 10%;
  }
}

@media (max-width: 1024px) {
  .section-title {
    font-size: 32px;
    margin-top: -10%;
  }
  .title-tinmoi {
    font-size: 48px;
    margin-left: 10%;
    padding-bottom: 40px;
  }
  .sub-title-lienhe {
    font-size: 20px;
  }
  .banner-item-bg {
    right: -5%;
    width: 100%;
  }
  .graphic-item-bg {
    margin-top: -50%;
  }
}

@media (max-width: 768px) {
  .tin-moi-wrapper{
    height: auto;
    flex-direction: column;
    width: 100%;
    margin: 0 0 5%;
  }
  .contact-right {
    width: 100%;
    text-align: center;
  }
  .contact-container {
    flex-direction: column;
  }
  .form-wrapper {
    width: 100%;
    position: relative;
    z-index: 1;
  }
  .form-row {
    flex-direction: column;
  }
  .form-button {
    text-align: center;
    margin-top: 5%;
  }
  .section-title {
    font-size: 24px;
    margin-top: -5%;
  }
  .title-tinmoi {
    font-size: 32px;
    margin-left: 0;
    text-align: center;
    margin-top: 10%;
  }
  .sub-title-lienhe {
    font-size: 16px;
    text-align: center;
  }
  .graphic-item-bg {
    display: none;
  }
}

@media (max-width: 480px) {
  .form-row input,
  .form-row select {
    /* min-width: 100%; */
  }
}
