/* =========================================================
   Company page styles (company.html only)
   Requires shared.css to be loaded first
   ========================================================= */

/* ===== Hero-two section (become a client + documents) ===== */

.hero-two {
  background: #F4F6FB;
  padding: 18px 0 50px;
}

.hero-two-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 20px;
  align-items: stretch;
  background: #FFFFFF;
  border-radius: 10px;
  padding: 14px;
}

.hero-two-left {
  position: relative;
  overflow: hidden;
  border: 2px solid #F4F6FB;
  border-radius: 10px;
  padding: 80px 40px 22px;
}

.hero-two-heading {
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 26px;
  line-height: 115%;
  text-transform: uppercase;
  color: #000000;
  opacity: 0.8;
  margin: 0 0 40px;
}

.hero-two-subtext {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 20px;
  color: #2F2937;
  margin: 0 0 40px;
}

.hero-two-right {
  display: flex;
  flex-direction: column;
  gap: 18px;
  border: 2px solid #F4F6FB;
  border-radius: 10px;
  padding: 18px;
  justify-content: center;
}

.our_doc_button--dark {
  background: #1E1A17;
  border-color: #1E1A17;
  color: #FFFFFF;
}

.our_doc_button--dark:hover {
  background: #2F2937;
  border-color: #2F2937;
}

.hero-two-icon {
  display: block;
  width: 420px;
  height: 154px;
  object-fit: contain;
  pointer-events: none;
  margin-left: auto;
  margin-right: -40px;
  margin-bottom: -22px;
}

@media (max-width: 870px) {
  .hero-two-grid {
    grid-template-columns: 1fr;
  }
  .hero-two-left {
    padding: 40px 22px 22px;
  }
}

/* previous promo cards (if still used somewhere) */
.promo{
  border-radius: var(--radius); /* reduced */
  border: 1px solid var(--line);
  background: var(--panel);
  padding: 14px;
}
.promo h3{ margin:0 0 8px; font-size: 14px; }
.promo p{ margin:0 0 12px; color: var(--muted); font-size: 13px; line-height:1.5; }
.promo a{ display:inline-flex; }

/* ===== Block FT section (white intro area) ===== */

.block-ft-section {
  background: #ffffff;
  padding: 90px 0 85px;
}

/* ===== Block section (close to provided reference) ===== */

.block-section{
  padding: 140px 0 130px;
  background-color: #F4F6FB;
  background-image: url(./img_mform3pl/transit_bg.jpg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

/* top small caption line */
.block-cap{
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 32px;
  line-height: 115%;
  text-align: center;
  text-transform: uppercase;
  color: #000000;
  opacity: 0.8;
  margin-bottom: 10px;
}

/* big headline */
.block-title{
  margin: 0 auto;
  max-width: 1100px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 32px;
  line-height: 115%;
  text-align: center;
  color: #000000;
}

/* brown subtitle */
.block-sub{
  margin: 0 0 22px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 28px;
  line-height: 34px;
  text-align: left;
  color: #000000;
}

/* cards row */
.block-cards{
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

/* wrapper for card + text below */
.bcard-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* dark card with only illustration */
.bcard {
  width: 100%;
  max-width: 469px;
  height: 201px;
  background: #1E1A17;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.bcard img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* label under card (TRANSIT, EXPORT, IMPORT) */
.bcard-label {
  margin-top: 16px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 24px;
  line-height: 29px;
  color: #000000;
}

/* description under label */
.bcard-desc {
  margin-top: 6px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 20px;
  line-height: 24px;
  color: #000000;
}

/* responsive for block cards */
@media (max-width: 870px) {
  .block-cards {
    grid-template-columns: 1fr;
  }

  .bcard {
    max-width: 100%;
  }
}


/* ===== Mission section (white background) ===== */

.mission-section {
  background: #ffffff;
  padding: 40px 0 48px;
  overflow: hidden;
}

/* 2-column grid, full-width */
.mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

/* left column — starts from page edge */
.mission-left {
  display: flex;
  flex-direction: column;
}

/* yellow title — small left indent from edge */
.mission-title {
  font-family: 'Ikra Slab', 'IkraSlab', sans-serif;
  font-weight: 400;
  font-size: 64px;
  line-height: 130%;
  color: #E9A854;
  margin: 0 0 20px;
  padding-left: 10%;
}

/* image under title — full width from left edge */
.mission-image {
  width: 825px;
  height: 280px;
  max-width: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 718px) {
  .mission-image{
    display: none;
  }
}

/* right column — aligned with container right edge */
.mission-right {
  display: flex;
  flex-direction: column;
  padding-right: 18px;
}

/* lead text */
.mission-lead {
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 28px;
  line-height: 34px;
  color: #000;
  margin: 0 0 24px;
}

/* subtitles (OUR GOALS, OUR OBJECTIVES) */
.mission-subtitle {
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 32px;
  line-height: 115%;
  text-transform: uppercase;
  color: #000000;
  opacity: 0.8;
  margin: 24px 0 12px;
}

.mission-subtitle:first-of-type {
  margin-top: 0;
}

/* lists */
.mission-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 24px;
  line-height: 29px;
  color: #000;
}

.mission-list li {
  position: relative;
  padding-left: 16px;
  margin-bottom: 4px;
}

.mission-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #E9A854;
  font-weight: 900;
}

/* responsive */
@media (max-width: 900px) {
  .mission-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .mission-title {
    padding-left: 18px;
  }

  .mission-right {
    padding-left: 18px;
  }
}


/* ===== Code of Business Ethics ===== */

.ethics-section {
  background: #ffffff;
  padding: 42px 0 48px;
}

.ethics-title {
  text-align: center;
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 32px;
  line-height: 115%;
  color: #000000;
  opacity: 0.8;
  margin-bottom: 12px;
}

.ethics-text {
  text-align: center;
  max-width: 1011px;
  margin: 0 auto 20px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 28px;
  line-height: 34px;
  color: #000000;
}

.ethics-btn {
  display: block;
  width: fit-content;
  margin: 0 auto;
  padding: 16px 30px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 24px;
  line-height: 29px;
  text-align: center;
  background: #E9A854;
  color: #000;
  border: none;
  border-radius: 16px;
  cursor: pointer;
}

.ethics-btn:hover {
  background: #d9963f;
}

/* ===== Hero-one section (extracted from hero) ===== */

.hero-one {
  padding: 100px 0 50px;
  background: #F4F6FB;
}

.hero-one-card {
  background: #fff;
  border-radius: 10px;
  padding: 40px;
}

.hero-one-pill {
  width: 310px;
  height: 35px;
  background: #E9ECF5;
  border-radius: 47px;
  margin-bottom: 31px;
}

.hero-one-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 32px;
  line-height: 115%;
  text-transform: uppercase;
  color: #000;
  opacity: 0.8;
  margin: 0 0 42px;
}

.hero-one-text {
  margin-bottom: 45px;
}

.hero-one-text p {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 20px;
  color: #2F2937;
  margin: 0;
}

.hero-one-cta {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.hero-one-btn {
  max-width: 250px;
  padding: 12px 10px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 20px;
  text-align: center;
  color: #2F2937;
  background: #fff;
  border: 2px solid #E9A854;
  border-radius: 10px;
  text-decoration: none;
}

.hero-one-btn:hover{
  background: #1E1A17;
  border-color: #1E1A17;
  color: #fff;
}

/* ===== Hero-three section (certificates + company details) ===== */

.hero-three {
  background: #F4F6FB;
  padding: 18px 0;
}

.hero-three-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 18px;
  background: #FFFFFF;
  border-radius: 10px;
  padding: 14px;
}

.hero-three-top-left {
  overflow: hidden;
  border: 2px solid #F4F6FB;
  border-radius: 10px;
  padding: 81px 40px 22px;
  display: flex;
  flex-direction: column;
  position: relative;
}

.hero-three-heading {
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 26px;
  line-height: 115%;
  color: #000000;
  opacity: 0.8;
  margin: 0 0 40px;
}

.hero-three-subtext {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 20px;
  color: #2F2937;
  margin: 0 0 40px;
}

.hero-three-top-right {
  display: flex;
  flex-direction: column;
  gap: 18px;
  border: 2px solid #F4F6FB;
  border-radius: 10px;
  padding: 18px;
  justify-content: center;
}

.hero-three-bottom-left {
  border: 2px solid #F4F6FB;
  border-radius: 10px;
  padding: 22px 40px;
  display: flex;
  align-items: center;
}

.hero-three-bottom-left .hero-three-heading {
  margin: 0;
}

.hero-three-bottom-right {
  display: flex;
  flex-direction: column;
  gap: 18px;
  border: 2px solid #F4F6FB;
  border-radius: 10px;
  padding: 18px;
  justify-content: center;
}

.hero-three-icon {
  display: flex;
  justify-self: flex-end;
  width: 625px;
  height: 276px;
  position: absolute;
  bottom: 0;
  right: 0;
}
.hero-three-icon-wrapper {
  width: 625px;
  height: 276px;
}

.hero-three-top-left-btn{
  margin-bottom: 15px;
}

/* ===== Mobile (768px) ===== */
@media (max-width: 768px) {
  .hero-one { padding: 40px 0 20px; }
  .hero-one-pill { width: 200px; }

  .hero-two { padding: 14px 0 20px; }
  .hero-two-icon { display: none; }
  .hero-three-icon{ display: none; }

  .hero-three-grid {
    grid-template-columns: 1fr;
  }

  .hero-three-top-left {
    padding: 24px 20px 20px;
  }

  .hero-three-icon-wrapper {
    display: none;
  }

  .block-section { padding: 40px 0 30px; }
  .block-ft-section { padding: 30px 0 25px; }

  .block-cap,
  .block-title,
  .mission-subtitle { font-size: 20px; }

  .block-sub,
  .mission-lead { font-size: 18px; }

  .bcard-label { font-size: 16px; }
  .bcard-desc { font-size: 14px; }

  .mission-title { font-size: 32px; }
  .mission-list { font-size: 15px; }

  .ethics-title { font-size: 20px; }
  .ethics-text { font-size: 16px; }
  .ethics-btn { font-size: 15px; padding: 10px 18px; }

  .hero-one-title { font-size: 20px; }
  .hero-two-heading,
  .hero-three-heading { font-size: 20px; }
  .hero-three-subtext { font-size: 14px; }
}
