/* Utilities */
.text-center {
  text-align: center;
}

.mb-large {
  margin-bottom: 3rem;
}

/* Mission Section */
.mission-section {
  padding-top: 100px;
  padding-bottom: 80px;
}

.mission-grid {
  display: flex;
  justify-content: space-between;
  gap: 60px;
  align-items: flex-start;
}

.mission-text-content {
  flex: 1;
  max-width: 48%;
}

.mission-section .section-title {
  margin-bottom: 24px;
}

.mission-description p {
  font-weight: 400;
  font-size: 16px;
  line-height: 25.59px;
  color: #4b5563;
  letter-spacing: 0;
  margin-bottom: 1.5rem;
}

.mission-description p:last-child {
  margin-bottom: 0;
}

.mission-visual {
  flex: 1;
  display: flex;
  justify-content: flex-end;
}

.visual-placeholder {
  width: 100%;
  aspect-ratio: 16/10;
  background-color: #f3f4f6;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9ca3af;
  font-weight: 500;
  font-size: 1rem;
  height: 350px; /* Constrain height */
}

/* Values Section */
.values-section {
  padding-top: 40px;
  padding-bottom: 100px;
}

.values-section .section-title {
  margin-bottom: 3rem;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.value-card {
  border-top: 1px solid var(--border-color);
  padding-top: 24px;
}

.value-title {
  font-weight: 700;
  font-size: 16px;
  line-height: 24.5px;
  color: #111827;
  letter-spacing: 0;
  margin-bottom: 1rem;
}

.value-desc {
  font-weight: 400;
  font-size: 14px;
  line-height: 22.75px;
  color: #4b5563;
  letter-spacing: 0;
}

/* Ecosystem Section */
.ecosystem-section {
  padding-top: 80px;
  padding-bottom: 120px;
  background-color: #fafafa;
}

.ecosystem-header {
  max-width: 700px;
  margin: 0 auto 60px;
  text-align: center;
}

.ecosystem-section .section-title {
  margin-bottom: 16px;
  text-align: center;
}

.ecosystem-subtitle {
  font-weight: 400;
  font-size: 16px;
  line-height: 21px;
  color: #4b5563;
  letter-spacing: 0;
  text-align: center;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.partner-card {
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #d1d5db;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.875rem;
  transition: all 0.2s ease;
}

.partner-card:hover {
  border-color: #9ca3af;
  color: #6b7280;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .mission-grid {
    flex-direction: column;
    gap: 40px;
  }

  .mission-text-content {
    max-width: 100%;
  }

  .mission-visual {
    width: 100%;
    justify-content: center;
  }

  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .partners-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .values-grid {
    grid-template-columns: 1fr;
  }

  .section-title,
  .mission-section .section-title,
  .values-section .section-title,
  .ecosystem-section .section-title {
    font-size: 1.75rem;
  }

  section {
    padding: 50px 0;
  }
}

@media (max-width: 480px) {
  .partners-grid {
    grid-template-columns: 1fr;
  }
}

/* Insights & Research Section */
.insights-section {
  padding-top: 100px;
  padding-bottom: 50px;
  background-color: #ffffff;
}
.about-us-whitepaper-section {
  padding-top: 0px;
  padding-bottom: 50px;
  background-color: #ffffff;
}
.insights-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 40px;
}

.insights-header .section-title {
  margin-bottom: 0;
}

.read-all-link {
  color: #ed5c37; /* Primary color */
  font-weight: 600;
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s ease;
}

.read-all-link:hover {
  gap: 10px;
}

.insights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 40px;
}

.insight-card {
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 32px;
  transition: all 0.3s ease;
  background-color: #fff;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.insight-card:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transform: translateY(-5px);
  border-color: #d1d5db;
}

.card-tag {
  font-size: 0.75rem;
  font-weight: 700;
  color: #ed5c37;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #111827;
  line-height: 1.4;
  margin-bottom: 16px;
  flex-grow: 1;
}

.card-date {
  font-size: 0.875rem;
  color: #9ca3af;
}

/* Research part */
.research-wrapper {
  display: flex;
  justify-content: space-between;
  gap: 60px;
  padding-top: 60px;
  border-top: 1px solid #f3f4f6;
}

.research-content {
  flex: 0 0 35%;
}

.research-content .section-title {
  margin-bottom: 24px;
}

.research-desc {
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--text-secondary);
  max-width: 400px;
}

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

.whitepaper-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 32px;
  border: 1px solid var(--border-color);
  border-radius: 4px; /* Slightly squarer looks like image */
  background-color: #fff;
  transition: all 0.2s ease;
}

.whitepaper-item:hover {
  border-color: #ed5c37;
  background-color: #fffafa; /* very light tint if needed, or just white */
}

.wp-title {
  font-weight: 600;
  font-size: 1rem;
  color: #1f2937;
}

.wp-icon {
  color: #9ca3af;
  font-size: 1.25rem;
}

.whitepaper-item:hover .wp-icon {
  color: #ed5c37;
}

/* Responsive */
@media (max-width: 1024px) {
  .insights-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .research-wrapper {
    flex-direction: column;
    gap: 40px;
  }

  .research-content {
    max-width: 100%;
  }

  .research-desc {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .insights-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .insights-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 80px;
  }

  .insight-card {
    padding: 24px;
  }

  .whitepaper-item {
    padding: 20px;
  }

  .insights-section {
    padding-top: 60px;
    padding-bottom: 60px;
  }
}

/* Contact Section */
.contact-section {
  background-color: #0b1221; /* #0f172a from common.css */
  padding: 100px 0;
  color: #ffffff;
}

.contact-grid {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  align-items: flex-start;
  /* flex-direction: column; */
}

.contact-info {
  flex: 1;
  /* max-width: 500px; */
}

.contact-section .section-title {
  color: #ffffff;
  margin-bottom: 24px;
}

.contact-desc {
  font-weight: 400;
  font-size: 16px;
  line-height: 24.5px;
  color: #9ca3af;
  letter-spacing: 0;
  margin-bottom: 48px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.contact-detail-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-icon-wrapper {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  color: #ed5c37; /* Primary orange */
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 4px;
}

.detail-text h4 {
  font-weight: 700;
  font-size: 14px;
  line-height: 21px;
  color: #ffffff;
  letter-spacing: 0;
  margin-bottom: 4px;
}

.detail-text p,
.detail-text a {
  font-weight: 400;
  font-size: 12px;
  line-height: 17.5px;
  color: #9ca3af;
  letter-spacing: 0;
  text-decoration: none;
  transition: color 0.2s ease;
}

.contact-detail-item .detail-text p.headquarters-address {
  white-space: pre;
}

.schedule-call-info {
  text-align: center;
}

.hide {
  display: none;
}

.schedule-call-form-wrapper {
    padding: 60px 100px 15px;
    background: white;
    border-radius: 10px;
}

.schedule-button-row .schedule-submit-btn {
  width: max-content;
  padding: 14px 6em;
}

.schedule-button-row {
  display: flex;
  justify-content: center;
}

.detail-text a:hover {
  color: #ed5c37;
}

.form-rows{
    width: 100%;
    display: grid;
    column-gap: 20px;
    grid-template-columns: 1fr 1fr;
}

/* Contact Form */
.contact-form-wrapper {
  /* flex: 0 0 500px; Fixed width for the form card */
  background-color: #ffffff;
  border-radius: 8px;
  padding: 40px;
  color: var(--text-primary);
  max-width: 700px;
}

.form-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 32px;
}

.form-row {
  display: flex;
  gap: 20px;
}

.form-group {
  flex: 1;
  display: flex;
  flex-direction: column;
  /* gap: 8px; */
  margin-bottom: 20px;
}

.form-group label {
  font-size: 0.875rem;
  font-weight: 600;
  color: #374151;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 1rem;
  color: #111827;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.form-control:focus {
  outline: none;
  border-color: #ed5c37;
  box-shadow: 0 0 0 3px rgba(237, 92, 55, 0.1);
}

.form-control::placeholder {
  color: #9ca3af;
}

textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

.submit-btn {
  width: 100%;
  background-color: #ed5c37;
  color: #ffffff;
  font-weight: 600;
  padding: 14px 24px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background-color 0.2s ease;
  margin-top: 10px;
}

.submit-btn:hover {
  background-color: #d95332;
}

/* Responsive Contact */
@media (max-width: 1024px) {
  .contact-grid {
    flex-direction: column;
    gap: 60px;
  }

  .contact-info {
    max-width: 100%;
  }

  .contact-form-wrapper {
    width: 100%;
    padding: 32px;
    flex: auto;
  }
}

@media (max-width: 640px) {
  .form-row {
    flex-direction: column; /* Stack first/last name on mobile */
    gap: 0px;
    margin-bottom: 0px;
  }

  .contact-section {
    padding: 60px 0;
  }

  .form-rows{
    grid-template-columns: 1fr;
  }

.schedule-call-form-wrapper {
        padding: 30px 25px;
}
}

@media (max-width: 480px) {
  .contact-section {
    padding: 40px 0;
  }

  .contact-grid {
    gap: 40px;
  }

  .contact-form-wrapper {
    padding: 24px;
    border-radius: 4px; /* Slightly reduce border radius on mobile */
  }

  .form-title {
    font-size: 1.25rem;
    margin-bottom: 24px;
  }

  .contact-desc {
    margin-bottom: 32px;
    font-size: 15px;
  }

  .contact-details {
    gap: 24px;
  }
}