html{
  scroll-behavior: smooth;
}

.header-wrapper {
    display: none;
}

section {
  padding: 2rem 1rem !important;
}

.i2c-hero{
  width: 100%;
  margin-left: 50%;
  transform: translateX(-50%);
  overflow: hidden;

  min-height: 600px;

  background-image:
    linear-gradient(
      90deg,
      rgba(0,106,172,0.95) 0%,
      rgba(0,106,172,0.92) 35%,
      rgba(0,106,172,0.55) 60%,
      rgba(0,106,172,0.25) 78%,
      rgba(0,106,172,0.10) 100%
    ),
    var(--i2c-hero-bg);
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
}

/* HERO: keep background full width, but content stays centered like About */
.i2c-hero__inner{
  height: 100%;
  min-height: inherit;
  display: flex;
  align-items: center;

  /* instead of huge left padding, use a centered max-width wrapper */
  max-width: 1024px;
  margin: 0 auto;

  padding: clamp(28px, 6vw, 80px) clamp(18px, 4vw, 32px);
  box-sizing: border-box;
}

.i2c-hero__content{
  max-width: 720px;
}

.i2c-hero__kicker{
  color: rgba(255,255,255,0.55);
  font-weight: 600;
  letter-spacing: 0.2px;
  font-size: clamp(14px, 1.2vw, 20px);
  margin-bottom: clamp(10px, 1.2vw, 18px);
}

.i2c-hero__title{
  color: #ffffff;
  font-weight: 800;
  line-height: 1.08;
  font-size: clamp(34px, 4vw, 56px);
  margin-bottom: clamp(12px, 1.6vw, 22px);
}

.i2c-hero__sub{
  color: rgba(255,255,255,0.9);
  font-size: clamp(14px, 1.4vw, 20px);
  margin-bottom: clamp(18px, 2.2vw, 28px);
}

/* ===== BUTTON (tighter + no weird hover) ===== */
.i2c-hero__btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;

  height: 42px;          /* less tall */
  padding: 0 22px;

  border-radius: 8px;
  background: rgba(255,255,255,0.32);
  border: 1px solid rgba(255,255,255,0.22);

  color: #fff !important;               /* defeat theme link color */
  text-decoration: none !important;
  line-height: 1;
  box-shadow: none;
  text-shadow: none;

  transition: transform 160ms ease, background 160ms ease;

  -webkit-tap-highlight-color: transparent; /* remove mobile tap highlight */
  user-select: none;
}

.i2c-hero__btn:hover,
.i2c-hero__btn:focus,
.i2c-hero__btn:active,
.i2c-hero__btn:visited{
  color: #fff !important;
  text-decoration: none !important;
  background: rgba(255,255,255,0.40);
  transform: translateY(-1px);
  outline: none;
}

/* optional: nicer selection inside hero */
.i2c-hero ::selection{
  background: rgba(255,255,255,0.25);
}

/* ===== RESPONSIVE ===== */

/* At ~760px: center text AND center the content block */
@media (max-width: 760px){
  .i2c-hero__inner{
    justify-content: center; /* centers the whole block in width */
    text-align: center;      /* centers text */
  }

  .i2c-hero__content{
    margin: 0 auto;
    max-width: 640px;
  }

  /* optional: mobile overlay (top-down) often looks better than left-right */
  .i2c-hero{
    background-image:
      linear-gradient(
        180deg,
        rgba(0,106,172,0.92) 0%,
        rgba(0,106,172,0.82) 55%,
        rgba(0,106,172,0.62) 100%
      ),
      var(--i2c-hero-bg);
    background-position: center;
  }
}

/* smaller phones: reduce hero height so it doesn't feel too tall */
@media (max-width: 420px){
  .i2c-hero{
    min-height: 420px;
  }
  .i2c-hero__inner{
    padding: 22px 18px;
  }
}

/* ===== Support for Scientists: About section (scoped) ===== */
.i2c-sfs-about{
  width: 100%;
  background: #fff;
  padding: 64px 0;
  overflow-x: clip; /* prevents “overflow behind screen” feel on very small widths */
}

.i2c-sfs-about,
.i2c-sfs-about *{
  box-sizing: border-box;
}

.i2c-sfs-about__inner{
  width: min(1024px, calc(100% - 48px));
  margin: 0 auto;
  display: flex;
  gap: 32px;
  align-items: flex-start;
}

.i2c-sfs-about__left{
  flex: 1 1 58%;
  min-width: 320px;
}

.i2c-sfs-about__title{
  font-family: Anek Latin, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-size: 40px;
  line-height: 1.1;
  font-weight: 700;
  color: #0A214A;
  margin: 0 0 16px 0;
  text-align: left;
}

.i2c-sfs-about__text{
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 520px;
}

.i2c-sfs-about__p{
  font-family: Anek Latin, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: #5B667A;
  text-align: left;
  overflow-wrap: anywhere;
}

/* Card */
.i2c-sfs-about__card{
  flex: 1 1 42%;
  min-width: 320px;
  background: #F4F7FB;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 6px 20px rgba(10,33,74,0.06);
}

.i2c-sfs-about__cardTitle{
  font-family: Anek Latin, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-size: 18px;
  line-height: 1.2;
  font-weight: 700;
  color: #0A214A;
  margin: 0 0 10px 0;
  text-align: left;
}

.i2c-sfs-about__cardIntro{
  font-family: Anek Latin, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-size: 12.5px;
  line-height: 1.55;
  color: #5B667A;
  margin: 0 0 18px 0;
  text-align: left;
  overflow-wrap: anywhere;
}

.i2c-sfs-about__list{
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.i2c-sfs-about__item{
  display: flex;
  gap: 14px;
  align-items: center;
}

.i2c-sfs-about__icon{
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: #fff;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  box-shadow: 0 6px 18px rgba(10,33,74,0.08);
}

.i2c-sfs-about__iconImg{
  width: 28px;
  height: auto;
  object-fit: contain;
  display: block;
  margin-top: auto;
}

.i2c-sfs-about__itemText{
  font-family: Anek Latin, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-size: 13px;
  line-height: 1.45;
  color: #5B667A;
  text-align: left;
  overflow-wrap: anywhere;
}

/* ---- Responsive behaviour / proofed ---- */

/* stack earlier so the card doesn't get cramped around ~886px */
@media (max-width: 980px){
  .i2c-sfs-about__inner{
    flex-direction: column;
    align-items: stretch;               /* card becomes full width */
    width: min(1024px, calc(100% - 40px));
    gap: 24px;
  }

  .i2c-sfs-about__left,
  .i2c-sfs-about__card{
    width: 100%;
    min-width: 0;                       /* IMPORTANT: avoid weird overflow/shrink behaviour */
    flex: 0 0 auto;
  }

  .i2c-sfs-about__text{
    max-width: none;                    /* About text should not stay artificially narrow */
  }
}

/* add breathing room from hero once stacked (~756px complaint) */
@media (max-width: 820px){
  .i2c-sfs-about{
    padding: 72px 0 48px;
  }
}

/* phone: keep everything left aligned, avoid "centered" look */
@media (max-width: 600px){
  .i2c-sfs-about{
    padding: 56px 0 40px;
  }

  .i2c-sfs-about__inner{
    width: min(1024px, calc(100% - 32px)); /* safer side padding */
  }

  .i2c-sfs-about__item{
    align-items: flex-start;            /* better for multi-line text */
  }
}

/* very small phones (~374px): prevent edge hugging + overflow feel */
@media (max-width: 420px){
  .i2c-sfs-about__inner{
    width: min(1024px, calc(100% - 24px)); /* 12px per side */
  }

  .i2c-sfs-about__card{
    padding: 18px;
  }

  .i2c-sfs-about__title{
    font-size: 34px;
  }
}

.i2c-lfp-contact{
  background: #F7F7F7;
  padding: clamp(32px, 5vw, 64px) 0;
}

/* keep content centered and readable on wide screens */
.i2c-lfp-contact__inner{
  width: 100%;
  max-width: 1024px;
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 32px);
  box-sizing: border-box;
}

/* optional: avoid extra margins from theme paragraphs */
.i2c-lfp-contact__lead{
  margin: 0 0 16px 0;
}

#contact{
  scroll-margin-top: 90px;
}

