/* --- Hero Section --- */
.company-hero {
  position: relative;
  width: 100%;
  min-height: 28.125rem; /* min-h-[112.5] */
  padding: 3rem 0; /* py-12 */
  display: flex;
  align-items: center;
  overflow: hidden;
}

@media (min-width: 768px) {
  .company-hero {
    height: 31.875rem; /* md:h-[127.5] */
    padding: 0;
  }
}

@media (min-width: 1024px) {
  .company-hero {
    height: 40rem; /* lg:h-[160] */
  }
}

.company-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.company-hero-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(19, 24, 30, 0.7); /* bg-[#13181EB2] */
  z-index: 10;
}

.company-hero-content-wrapper {
  position: relative;
  z-index: 20;
  padding: 0 1rem; /* px-4 */
  width: 100%;
  color: white;
}

@media (min-width: 768px) {
  .company-hero-content-wrapper {
    padding: 0 1.5rem; /* md:px-6 */
  }
}

@media (min-width: 1024px) {
  .company-hero-content-wrapper {
    padding: 0 3rem; /* lg:px-12 */
    width: 83.333333%; /* lg:w-5/6 */
  }
}

.company-hero-title {
  font-family: var(--font-inter);
  font-size: 1.875rem; /* text-3xl */
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: 0.5rem;
  margin-top: 0;
  color: white;
}

@media (min-width: 768px) {
  .company-hero-title {
    font-size: 2.25rem; /* md:text-4xl */
    margin-bottom: 1.5rem; /* md:mb-6 */
  }
}

@media (min-width: 1024px) {
  .company-hero-title {
    font-size: 4.5rem; /* lg:text-7xl */
  }
}

.company-hero-text {
  font-family: var(--font-montserrat);
  font-size: 0.875rem; /* text-sm */
  color: #d1d5db; /* text-gray-300 */
  line-height: 1.625; /* leading-relaxed */
  max-width: 48rem; /* max-w-3xl */
  font-weight: 400; /* text-normal */
}

@media (min-width: 768px) {
  .company-hero-text {
    font-size: 1.125rem; /* md:text-lg */
  }
}

.company-hero-text p {
  margin-top: 0;
  margin-bottom: 0;
}
.company-hero-text p:last-child {
  margin-bottom: 0;
}

/* --- Sections Wrapper --- */
.company-sections-wrapper {
  display: flex;
  flex-direction: column;
}

.section-heading {
  font-family: var(--font-inter);
  font-size: 2.25rem; /* text-4xl */
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-top: 0;
}
@media (min-width: 768px) {
  .section-heading {
    font-size: 3rem; /* md:text-5xl */
  }
}
@media (min-width: 1024px) {
  .section-heading {
    font-size: 3.75rem; /* lg:text-6xl */
  }
}

/* --- Who We Are --- */
.who-we-are-section {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem; /* gap-12 */
  align-items: center;
  padding: 4rem 0.5rem; /* py-16 px-2 */
  background-color: #f8f9fa;
  margin: 0 -3rem; /* extend background out on desktop */
  padding-left: 3.5rem; /* compensate */
  padding-right: 3.5rem;
}

@media (max-width: 1024px) {
  .who-we-are-section {
    margin: 0 -1.5rem;
    padding: 4rem 1.5rem;
  }
}

@media (min-width: 768px) {
  .who-we-are-section {
    padding-top: 6rem; /* md:py-24 */
    padding-bottom: 6rem;
  }
}

@media (min-width: 1024px) {
  .who-we-are-section {
    grid-template-columns: 1fr 1fr; /* lg:grid-cols-2 */
    gap: 5rem; /* lg:gap-20 */
  }
}

.wwa-image-container {
  order: 2; /* mobile: image below text */
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

@media (min-width: 1024px) {
  .wwa-image-container {
    order: 1; /* desktop: image left */
  }
}

.wwa-content {
  order: 1;
  display: flex;
  flex-direction: column;
}

@media (min-width: 1024px) {
  .wwa-content {
    order: 2; /* desktop: text right */
  }
}

.wwa-content .section-heading {
  margin-bottom: 2rem; /* mb-8 */
}

.wwa-text {
  font-family: var(--font-montserrat);
  font-size: 1rem; /* text-base */
  color: #6b7280; /* text-gray-500 */
}

.wwa-text p {
  margin-top: 0;
  margin-bottom: 1.5rem; /* space-y-6 */
}
.wwa-text p:last-child {
  margin-bottom: 0;
}

@media (min-width: 768px) {
  .wwa-text {
    font-size: 1.125rem; /* md:text-lg */
  }
}

/* --- What We Do --- */
.what-we-do-section {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem; /* gap-10 */
  align-items: center;
  padding: 10px; /* 10px padding on all sides */
  background-color: white;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.03); /* shadow-[0_2px_15px...] */
  border: 1px solid #f9fafb; /* border-gray-50 */
  margin-top: 3rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .what-we-do-section {
    padding: 10px; /* keep 10px padding to match design requirements */
  }
}

@media (min-width: 1024px) {
  .what-we-do-section {
    grid-template-columns: 1.2fr 1fr;
    gap: 3.5rem; /* gap between text and image */
    margin-top: 6rem;
    margin-bottom: 6rem;
  }
}

.wwd-content {
  display: flex;
  flex-direction: column;
  padding: 0.5rem; /* slight inset on mobile */
}

@media (min-width: 1024px) {
  .wwd-content {
    padding: 2rem 0 2rem 2rem; /* spacious text layout inset, leaving image close to card bounds */
  }
}

.wwd-content .section-heading {
  margin-bottom: 1.5rem; /* mb-6 */
}

.wwd-subtitle {
  font-family: var(--font-montserrat);
  font-size: 1rem; /* text-base */
  color: #4b5563; /* text-gray-600 */
  margin-bottom: 2rem; /* mb-8 */
  margin-top: 0;
}

@media (min-width: 768px) {
  .wwd-subtitle {
    font-size: 1.125rem; /* md:text-lg */
  }
}

.wwd-list {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem 0; /* mb-8 */
  display: flex;
  flex-direction: column;
  gap: 1.5rem; /* gap-6 */
}

.wwd-list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem; /* gap-4 */
}

.wwd-item-text {
  font-family: var(--font-montserrat);
  font-size: 0.875rem; /* text-sm */
  color: #4b5563; /* text-gray-600 */
}

@media (min-width: 768px) {
  .wwd-item-text {
    font-size: 1.125rem; /* md:text-lg */
  }
}

.wwd-footer-text {
  font-family: var(--font-montserrat);
  font-size: 1rem;
  color: #4b5563;
  line-height: 1.625;
  margin: 0;
}

@media (min-width: 768px) {
  .wwd-footer-text {
    font-size: 1.125rem;
  }
}

.wwd-image-container {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05); /* shadow-sm */
}

.check-icon {
  color: var(--primary-color);
  flex-shrink: 0;
  margin-top: 0.125rem; /* mt-0.5 */
}

/* --- Why Partners Trust Us --- */
.trust-section {
  padding: 4rem 0.5rem;
}

@media (min-width: 768px) {
  .trust-section {
    padding: 6rem 0;
  }
}

.trust-heading {
  margin-bottom: 4rem; /* mb-16 */
  text-align: center;
}

@media (min-width: 1024px) {
  .trust-heading {
    text-align: left;
  }
}

.trust-grid {
  display: grid;
  grid-template-columns: 1fr;
  column-gap: 3rem; /* md:gap-x-12 */
  row-gap: 2rem; /* gap-y-8 */
}

@media (min-width: 768px) {
  .trust-grid {
    grid-template-columns: 1fr 1fr;
    row-gap: 4rem; /* md:gap-y-16 */
  }
}

@media (min-width: 1024px) {
  .trust-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

.trust-item {
  display: flex;
  flex-direction: row;
  gap: 1rem; /* gap-4 */
  border-bottom: 1px solid #e5e7eb; /* border-b border-gray-200 */
  padding-bottom: 2rem; /* pb-8 */
}

.trust-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

@media (min-width: 768px) {
  .trust-item {
    gap: 1.5rem; /* md:gap-6 */
    border-bottom: 0; /* md:border-0 */
    padding-bottom: 0; /* md:pb-0 */
  }
}

.trust-icon-wrapper {
  width: 3rem; /* w-12 */
  height: 3rem; /* h-12 */
  border-radius: 9999px;
  background-color: white;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05); /* shadow-sm */
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .trust-icon-wrapper {
    width: 4rem; /* md:w-16 */
    height: 4rem; /* md:h-16 */
  }
}

.trust-icon-wrapper img,
.trust-icon-wrapper svg {
  transform: scale(0.75);
}

@media (min-width: 768px) {
  .trust-icon-wrapper img,
  .trust-icon-wrapper svg {
    transform: scale(1);
  }
}

.trust-item-content {
  display: flex;
  flex-direction: column;
  padding-top: 0.25rem; /* pt-1 */
}

@media (min-width: 768px) {
  .trust-item-content {
    padding-top: 0.5rem; /* md:pt-2 */
  }
}

.trust-item-title {
  font-family: var(--font-montserrat);
  font-size: 1rem; /* text-base */
  font-weight: 700;
  color: var(--text-title);
  margin-top: 0;
  margin-bottom: 0.5rem; /* mb-2 */
}

@media (min-width: 768px) {
  .trust-item-title {
    font-size: 1.5rem; /* md:text-2xl */
    margin-bottom: 0.75rem; /* md:mb-3 */
  }
}

.trust-item-desc {
  font-family: var(--font-montserrat);
  font-size: 0.8125rem; /* text-[13px] */
  color: #6b7280; /* text-gray-500 */
  line-height: 1.625;
  margin: 0;
}

@media (min-width: 768px) {
  .trust-item-desc {
    font-size: 1rem; /* md:text-base */
  }
}

.object-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
