/* Contact Us Page Dedicated Stylesheet */

/* Page Hero Banner */
.contact-page-hero {
  padding: 90px 0 80px;
  background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.78) 0%, rgba(240, 247, 255, 0.88) 100%), url('assets/back.jpg');
  background-attachment: fixed;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  text-align: center;
  border-bottom: 1px solid #e2e8f0;
  position: relative;
  overflow: hidden;
}

.contact-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(59, 130, 246, 0.25);
  color: #1d4ed8;
  font-size: 15.5px;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 9px 22px;
  border-radius: 30px;
  margin-bottom: 20px;
}

.contact-page-hero h1 {
  font-size: 58px;
  font-weight: 900;
  color: #0f172a;
  margin-bottom: 16px;
  letter-spacing: -1.2px;
}

.contact-page-hero p {
  font-size: 21.5px;
  color: #475569;
  max-width: 820px;
  margin: 0 auto;
  line-height: 1.65;
}

/* 3 Office Location Cards Grid */
.contact-section {
  padding: 75px 0;
  background: #ffffff;
}

.locations-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 64px;
}

.location-card {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 20px;
  padding: 36px 28px;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.04);
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.location-card:hover {
  transform: translateY(-6px);
  border-color: #93c5fd;
  box-shadow: 0 14px 34px -4px rgba(37, 99, 235, 0.16);
}

.location-icon-box {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: #eff6ff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #2563eb;
  margin-bottom: 20px;
  flex-shrink: 0;
}

.location-card h3 {
  font-size: 20.5px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 12px;
  line-height: 1.35;
}

.location-card p {
  font-size: 16.5px;
  color: #64748b;
  line-height: 1.6;
  margin: 0;
}

.location-accent-bar {
  width: 40px;
  height: 3.5px;
  background: linear-gradient(90deg, #2563eb, #60a5fa);
  border-radius: 2px;
  margin-top: 20px;
}

/* Contact Info & Demo Request Form Grid */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: flex-start;
  margin-top: 20px;
}

.contact-info h3 {
  font-size: 32px;
  font-weight: 900;
  color: #0f172a;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.contact-info p {
  font-size: 18px;
  color: #475569;
  line-height: 1.65;
  margin-bottom: 28px;
}

.info-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.info-item-box {
  display: flex;
  align-items: center;
  gap: 18px;
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 16px;
  padding: 18px 22px;
  transition: all 0.25s ease;
}

.info-item-box:hover {
  border-color: #93c5fd;
  background: #ffffff;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.08);
}

.info-item-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #eff6ff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #2563eb;
  flex-shrink: 0;
}

.info-item-text strong {
  display: block;
  font-size: 14.5px;
  font-weight: 800;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 2px;
}

.info-item-text span, .info-item-text a {
  font-size: 17.5px;
  font-weight: 700;
  color: #0f172a;
  text-decoration: none;
}

.info-item-text a:hover {
  color: #2563eb;
}

/* Demo Request Form Wrapper */
.contact-form-wrapper {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 24px;
  padding: 44px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
}

.contact-form-wrapper h3 {
  font-size: 26px;
  font-weight: 900;
  color: #0f172a;
  margin-bottom: 24px;
  letter-spacing: -0.5px;
}

.contact-form .form-group {
  margin-bottom: 20px;
}

.contact-form label {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: #334155;
  margin-bottom: 8px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  background: #f8fafc;
  border: 1.5px solid #cbd5e1;
  border-radius: 12px;
  padding: 14px 18px;
  font-size: 16px;
  color: #0f172a;
  font-family: inherit;
  transition: all 0.25s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  background: #ffffff;
  border-color: #2563eb;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
  outline: none;
}

.contact-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

@media (max-width: 1024px) {
  .locations-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .contact-page-hero { padding: 48px 16px 36px; text-align: center; }
  .contact-page-hero h1 { font-size: 30px !important; line-height: 1.25; }
  .contact-grid { grid-template-columns: 1fr !important; gap: 24px; }
  .contact-form-wrapper { padding: 24px 18px; border-radius: 18px; }
  .contact-form .form-row { grid-template-columns: 1fr !important; }
  .locations-grid { grid-template-columns: 1fr !important; gap: 14px; }
}
