/* =========================================================
   LMIIT WELCOME PARTNERS
   Modern Bootstrap-compatible responsive design
   ========================================================= */

:root {
  --brand-red: #0b3f7a;
  --brand-red-dark: #082e5b;
  --text-dark: #252525;
  --text-muted: #686868;
  --border: #e8e8e8;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text-dark);
  background: #fff;
  font-family: "Inter", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.partner-section {
  padding: 34px 0 32px;
  background:
    radial-gradient(circle at 5% 0%, rgba(18, 102, 214, .035), transparent 28%),
    #fff;
}

.partner-container {
  width: min(100%, 1440px);
  margin: auto;
  padding: 0 36px;
}

.intro-row {
  margin-bottom: 22px;
}

.award-card {
    margin: 0;
    overflow: hidden;
    border: 1px solid #d8e6f4;
    border-radius: 12px;
    background: #f5f9fd;
    box-shadow: 0 12px 28px rgba(12,47,88,.10);
}

.award-card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 207 / 145;
  object-fit: cover;
}

.intro-content {
  padding: 0 4px;
}

.intro-content h1 {
  margin: 0;
  color: var(--brand-red);
  font-size: clamp(1.6rem, 2.2vw, 2.25rem);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: .015em;
}

.heading-rule {
  width: 145px;
  height: 3px;
  margin: 8px 0 13px;
  border-radius: 50px;
  background: var(--brand-red);
}

.intro-content p {
  max-width: 991.98px;
  margin: 0 0 10px;
  color: #333;
  font-size: clamp(.93rem, 1vw, 1.03rem);
  line-height: 1.62;
}

.call-box {
  display: flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  max-width: 100%;
  margin-top: 14px;
  padding: 9px 18px 9px 11px;
  border: 1px solid #cfe0f2;
  border-radius: 9px;
  color: var(--text-dark);
  text-decoration: none;
  background: #f8fbff;
  box-shadow: 0 7px 20px rgba(12,47,88,.06);
  transition: .25s ease;
}

.call-box:hover {
  color: var(--text-dark);
  border-color: rgba(18,102,214,.45);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0,0,0,.08);
}

.call-icon {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--brand-red);
}

.call-text {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 3px 14px;
  font-size: .88rem;
  line-height: 1.4;
}

.call-text strong {
  font-weight: 700;
}

.call-text span {
  white-space: nowrap;
}


/* =========================================================
   WHY PARTNER WITH LMIIT - MODERN SECTION
   ========================================================= */

.why-partner {
  position: relative;
  margin-top: 30px;
  padding: 30px 28px 28px;
  border: 1px solid rgba(18, 102, 214, .10);
  border-radius: 18px;
  background: linear-gradient(145deg, #fff 0%, #f7fbff 100%);
  box-shadow: 0 14px 34px rgba(12,47,88,.08);
  overflow: hidden;
}

.why-partner::before {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  top: -100px;
  left: -80px;
  border-radius: 50%;
  background: rgba(18, 102, 214, .06);
  pointer-events: none;
}

.why-partner::after {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  right: -120px;
  bottom: -140px;
  border-radius: 50%;
  background: rgba(18, 102, 214, .045);
  pointer-events: none;
}


/* Section title */

.section-title-wrap {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 25px;
}

.section-title-wrap h2 {
  position: relative;
  margin: 0;
  padding: 0 8px;
  color: #252525;
  font-size: clamp(18px, 1.7vw, 25px);
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: .04em;
  text-align: center;
}

.section-title-wrap h2::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -9px;
  width: 55px;
  height: 3px;
  border-radius: 50px;
  background: var(--brand-red);
  transform: translateX(-50%);
}

.title-line {
  position: relative;
  width: 70px;
  height: 2px;
  opacity: .8;
  background: linear-gradient(90deg, transparent, var(--brand-red));
}

.title-line:last-child {
  background: linear-gradient(90deg, var(--brand-red), transparent);
}

.title-line::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand-red);
  transform: translateY(-50%);
}

.title-line:first-child::after {
  right: 0;
}

.title-line:last-child::after {
  left: 0;
}


/* Benefit grid */

.benefit-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 8px;
}


/* Benefit card */

.benefit-item {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 15px;
  min-height: 125px;
  padding: 22px 18px;
  border: 1px solid #dce8f4;
  border-radius: 14px;
  background: rgba(255,255,255,.90);
  box-shadow: 0 5px 18px rgba(12,47,88,.045);
  overflow: hidden;
  transition:
    transform .35s ease,
    box-shadow .35s ease,
    border-color .35s ease;
}

.benefit-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--brand-red);
  transition: width .35s ease;
}

.benefit-item:hover {
  transform: translateY(-7px);
  border-color: rgba(18,102,214,.18);
  box-shadow: 0 16px 35px rgba(12,47,88,.12);
}

.benefit-item:hover::before {
  width: 100%;
}


/* Icon */

.benefit-icon {
  position: relative;
  flex: 0 0 58px;
  width: 58px;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-red);
  font-size: 25px;
  border: 1px solid rgba(18,102,214,.10);
  border-radius: 14px;
  background: linear-gradient(
    145deg,
    rgba(18,102,214,.12),
    rgba(18,102,214,.04)
  );
  transition:
    transform .35s ease,
    background .35s ease,
    color .35s ease;
}

.benefit-icon::before {
  content: "";
  position: absolute;
  top: 7px;
  right: 7px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-red);
  opacity: .18;
}

.benefit-item:hover .benefit-icon {
  color: #fff;
  background: var(--brand-red);
  transform: scale(1.08) rotate(-3deg);
  box-shadow: 0 8px 18px rgba(18,102,214,.25);
}


/* Content */

.benefit-item h3 {
  margin: 1px 0 7px;
  color: #252525;
  font-size: 15px;
  line-height: 1.35;
  font-weight: 800;
  letter-spacing: .01em;
}

.benefit-item p {
  margin: 0;
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.55;
}


/* =========================================================
   BACK TO TOP
   ========================================================= */

.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 20;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: var(--brand-red);
  box-shadow: 0 8px 24px rgba(0,0,0,.18);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: .25s ease;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--brand-red-dark);
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 991.98px) {

  .partner-container {
    padding-left: 24px;
    padding-right: 24px;
  }

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

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767.98px) {

  .partner-section {
    padding: 22px 0;
  }

  .partner-container {
    padding-left: 15px;
    padding-right: 15px;
  }

  .award-card {
    max-width: 767.98px;
    margin: 0 auto;
  }

  .intro-content h1 {
    font-size: 1.7rem;
  }

  .intro-content p {
    font-size: .94rem;
    line-height: 1.65;
  }

  .call-box {
    width: 100%;
    padding-right: 12px;
  }

  .call-text {
    display: block;
    font-size: .84rem;
  }

  .call-text strong,
  .call-text span {
    display: block;
    white-space: normal;
  }

  .call-text span {
    margin-top: 2px;
  }

  .why-partner {
    margin-top: 25px;
    padding: 25px 16px 20px;
    border-radius: 15px;
  }

  .section-title-wrap {
    gap: 8px;
    margin-bottom: 23px;
  }

  .section-title-wrap h2 {
    font-size: 17px;
    letter-spacing: .02em;
  }

  .title-line {
    width: 35px;
  }

  .benefit-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .benefit-item {
    min-height: auto;
    padding: 18px;
    border-radius: 13px;
  }

  .benefit-icon {
    flex: 0 0 52px;
    width: 52px;
    height: 52px;
    font-size: 22px;
  }

  .benefit-item h3 {
    font-size: 15px;
  }

  .benefit-item p {
    font-size: 12.5px;
  }
}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 767.98px) {

  .why-partner {
    padding: 22px 12px 16px;
  }

  .section-title-wrap h2 {
    font-size: 15px;
  }

  .title-line {
    width: 25px;
  }

  .benefit-item {
    gap: 13px;
    padding: 16px;
  }

  .benefit-icon {
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    font-size: 20px;
  }

  .benefit-item h3 {
    font-size: 14px;
  }

  .benefit-item p {
    font-size: 12px;
  }

}
