/* CONTACT REVAMP STYLES */

.ta-contact-revamp {
  font-family: "poppins", Helvetica, sans-serif;
}

/* CONTACT BANNER */
.ta-contact-revamp .ta-contact-banner {
  background: #e0e0e0;
  padding: 60px 0;
}

.ta-contact-revamp .ta-contact-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  gap: 80px;
}

.ta-contact-revamp .ta-contact-left h1 {
  font-size: 56px;
  font-weight: 700;
  line-height: 1.1;
  color: #000;
}

.ta-contact-revamp .ta-contact-left h1 span {
  color: #ff7a00;
}

.ta-contact-revamp .ta-contact-right {
  max-width: 520px;
}

.ta-contact-revamp .ta-contact-right p {
  font-size: 15px;
  line-height: 1.7;
  color: #1f2937;
}

.ta-contact-revamp .ta-contact-right a {
  color: #000;
  font-weight: 500;
  text-decoration: none;
}

.ta-contact-revamp .ta-contact-right a:hover {
  text-decoration: underline;
}

/* CONTACT SECTION */
.ta-contact-revamp .ta-contact-section {
  background: #292929;
}

.ta-contact-revamp .ta-contact-wrapper {
  display: flex;
  gap: 30px;
  max-width: 1400px;
  margin: auto;
  padding: 40px 20px;
}

.ta-contact-revamp .ta-contact-image {
  width: 50%;
  position: relative;
}

.ta-contact-revamp .ta-contact-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
}

.ta-contact-revamp .ta-back-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(0,0,0,0.7);
  color: #fff;
  border: none;
  padding: 8px 14px;
  border-radius: 20px;
  cursor: pointer;
}

.ta-contact-revamp .ta-contact-form {
  width: 50%;
  background: #2f2f2f;
  padding: 30px;
  border-radius: 6px;
  color: #fff;
}

.ta-contact-revamp .ta-contact-form h2 {
  margin-bottom: 20px;
  color: #fff;
}

.ta-contact-revamp .ta-form-row {
  display: flex;
  gap: 10px;
}

.ta-contact-revamp .ta-contact-form input,
.ta-contact-revamp .ta-contact-form textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 12px;
  border-radius: 6px;
  border: 1px solid #aaa;
  background: #444;
  color: #fff;
}

.ta-contact-revamp .ta-contact-form textarea {
  height: 120px;
  resize: none;
}

.ta-contact-revamp .ta-contact-form button[type="submit"] {
  width: 100%;
  padding: 12px;
  background: #ff7a00;
  border: none;
  border-radius: 6px;
  color: #fff;
  font-size: 16px;
  cursor: pointer;
}

/* BADGE SECTION */
.ta-contact-revamp .badge-section {
  background: #fff;
  overflow: hidden;
  padding: 40px 0;
}

.ta-contact-revamp .badge-track {
  display: flex;
  align-items: center;
  gap: 60px;
  width: max-content;
  animation: scroll 30s linear infinite;
}

.ta-contact-revamp .badge {
  min-width: 180px;
  height: 100px;
  background: #ffffff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
  transition: transform 0.3s ease;
}

.ta-contact-revamp .badge img {
  width: 100%;
  max-height: 90px;
  object-fit: contain;
}

@keyframes scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.ta-contact-revamp .badge:hover {
  transform: translateY(-6px);
}

/* KNOWLEDGE SECTION */
.ta-contact-revamp .ta-knowledge-section {
  background: #ffffff;
  padding: 70px 20px;
}

.ta-contact-revamp .ta-knowledge-container {
  max-width: 1400px;
  margin: 0 auto;
}

.ta-contact-revamp .ta-knowledge-header h2 {
  font-size: 28px;
  margin-bottom: 8px;
  color: #111;
  font-weight: bold;
}

.ta-contact-revamp .ta-knowledge-header p {
  color: #6b7280;
  font-size: 14px;
  margin-bottom: 40px;
}

.ta-contact-revamp .ta-knowledge-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.ta-contact-revamp .ta-knowledge-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 16px;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  text-decoration: none;
}

.ta-contact-revamp .ta-knowledge-card:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transform: translateY(-3px);
}

.ta-contact-revamp .ta-knowledge-card img {
  width: 90px;
  height: 90px;
  border-radius: 8px;
  object-fit: cover;
}

.ta-contact-revamp .ta-card-content h3 {
  font-size: 15px;
  margin: 0 0 6px;
  color: #111;
}

.ta-contact-revamp .ta-card-content p {
  font-size: 13px;
  color: #6b7280;
  margin: 0;
}

.ta-contact-revamp .ta-knowledge-cta {
  text-align: center;
  margin-top: 40px;
}

.ta-contact-revamp .ta-knowledge-cta button {
  background: #111827;
  color: #ffffff;
  border: none;
  padding: 10px 20px;
  font-size: 14px;
  border-radius: 8px;
  cursor: pointer;
}

/* LOCATIONS SECTION */
.ta-contact-revamp .ta-locations-banner {
  width:100%;
  height:100px;
  background: linear-gradient(rgba(255,255,255,0.92), rgba(255,255,255,0.92));
  background-size:cover;
  background-position:center;
  display:flex;
  align-items:center;
  justify-content:center;
}

.ta-contact-revamp .ta-locations-banner h2 {
  font-size:36px;
  font-weight:500;
  color:#000;
}

.ta-contact-revamp .ta-location-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.ta-contact-revamp .ta-location-card {
  position: relative;
  overflow: hidden;
  height: 320px;
  cursor: pointer;
}

.ta-contact-revamp .ta-location-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.ta-contact-revamp .ta-location-card:hover img {
  transform: scale(1.05);
}

.ta-contact-revamp .ta-location-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.ta-contact-revamp .ta-location-info {
  text-align: center;
  color: #ffffff;
  padding: 0 20px;
}

.ta-contact-revamp .ta-location-info h3,
.ta-contact-revamp .ta-location-info h3 strong {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
  color: #ffffff !important;
  display: block;
}

.ta-contact-revamp .ta-location-address {
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 5px;
  color: rgba(255, 255, 255, 0.9);
}

.ta-contact-revamp .ta-location-number {
  font-size: 15px;
  font-weight: 500;
  margin-top: 10px;
}

.ta-contact-revamp .ta-location-number a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.ta-contact-revamp .ta-location-number a:hover {
  color: #ff7a00;
}

.ta-contact-revamp .ta-location-card:hover .ta-location-overlay {
  opacity: 1;
}

.ta-contact-revamp .ta-location-footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  background: #e5e5e5;
  color: #000;
  text-align: center;
  padding: 14px 0;
  font-size: 18px;
  font-weight: 500;
}

/* RESPONSIVE */
@media (max-width: 1200px) {
  .ta-contact-revamp .ta-location-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .ta-contact-revamp .ta-contact-container {
    flex-direction: column;
    text-align: left;
    gap: 24px;
  }
  .ta-contact-revamp .ta-contact-wrapper {
    flex-direction: column;
  }
  .ta-contact-revamp .ta-contact-image,
  .ta-contact-revamp .ta-contact-form {
    width: 100%;
  }
  .ta-contact-revamp .ta-form-row {
    flex-direction: column;
    gap: 0;
  }
  .ta-contact-revamp .ta-knowledge-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .ta-contact-revamp .ta-location-grid {
    grid-template-columns: 1fr;
  }
}
