/* ============================================================
   ETOUCH SOLUTIONS — internships.css
   Page-specific layer for internships.html only.
   Loaded AFTER css/style.css. Reuses shared components — the
   centred eyebrow + rule, gradient text, buttons, the scroll-snap
   slider engine, scroll reveals and every design token. Nothing
   shared is redefined here.

   I1 Tokens · I2 Breadcrumb · I3 Hero · I4 Stats bar
   I5 Program cards · I6 Why-intern list · I7 Highlight cards
   I8 Apply timeline · I9 Intern quotes · I10 FAQ
   I11 CTA · I12 Responsive
============================================================ */

/* ------------------------------------------------------------
   I1 · PAGE TOKENS
------------------------------------------------------------ */
:root {
  --in-mist: #F8F9FA;
}

/* ------------------------------------------------------------
   I2 · BREADCRUMB
------------------------------------------------------------ */
.in-crumb { padding: .9rem 0 .2rem; }
.in-crumb .breadcrumb { margin-bottom: 0; font-size: .74rem; font-weight: 500; }
.in-crumb .breadcrumb-item a { color: var(--gray); }
.in-crumb .breadcrumb-item a:hover { color: var(--green); }
.in-crumb .breadcrumb-item.active { color: var(--text); font-weight: 600; }

/* ------------------------------------------------------------
   I3 · HERO
------------------------------------------------------------ */
.in-hero {
  position: relative;
  background: linear-gradient(160deg, #FFFFFF 0%, var(--in-mist) 45%, #EEF6F0 100%);
  padding: 20px 0 40px;
  overflow: hidden;
}
/* Soft blur circles behind the copy */
.in-hero::before {
  content: "";
  position: absolute; left: -140px; top: -120px;
  width: 400px; height: 400px; border-radius: 50%;
  background: radial-gradient(circle, rgba(10, 174, 96, .16), transparent 68%);
  filter: blur(6px);
  pointer-events: none;
}

.in-eyebrow {
  font-size: .68rem; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--green-deep-2);
  margin-bottom: .6rem;
}

.in-title {
  font-size: clamp(1.95rem, 4.2vw, 2.9rem);
  line-height: 1.15;
  font-weight: 800;
  color: #0E1B14;
  margin-bottom: 1.2rem;
}
.in-title .t-grad { display: inline-block; position: relative; }
/* Gold bar under "Grow Your Future." — page-scoped override of
   the shared .t-grad, which is display:block in style.css §22.2 */
.in-title .t-grad::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -10px;
  height: 4px; border-radius: 2px;
  background: var(--yellow);
}

.in-lead { font-size: .84rem; color: var(--gray); line-height: 1.9; max-width: 390px; margin-bottom: 1.6rem; }

.in-visual { position: relative; }
.in-shot {
  position: relative;
  z-index: 1;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.in-shot img { width: 100%; display: block; transition: transform .7s var(--ease); }
.in-shot:hover img { transform: scale(1.03); }

/* Glass card pinned to the lower-right of the hero image */
.in-glass {
  position: absolute;
  right: 0; bottom: 6%;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.4rem;
  border-radius: var(--r-md);
  background: linear-gradient(150deg, rgba(11, 58, 36, .92), rgba(4, 30, 18, .95));
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, .1);
  box-shadow: 0 24px 44px rgba(0, 0, 0, .34);
}
.in-glass-ico { font-size: 2rem; color: var(--yellow); flex: 0 0 auto; line-height: 1; }
.in-glass-list { list-style: none; margin: 0; padding: 0; }
.in-glass-list li {
  font-size: .84rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1.7;
  white-space: nowrap;
}

/* ------------------------------------------------------------
   I4 · STATS BAR
   One white panel of six divided cells, as in the reference.
------------------------------------------------------------ */
.in-stats {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-md);
  padding: 1rem .8rem;
  display: flex;
  flex-wrap: wrap;
}
.in-stat {
  flex: 1 1 0;
  min-width: 150px;
  display: flex;
  align-items: center;
  gap: .7rem;
  padding: .35rem .9rem;
  position: relative;
}
.in-stat + .in-stat::before {
  content: "";
  position: absolute; left: 0; top: 14%; bottom: 14%;
  width: 1px;
  background: var(--line);
}
.in-stat-ico {
  width: 38px; height: 38px;
  border-radius: 11px;
  display: grid; place-items: center;
  font-size: 1rem;
  flex: 0 0 auto;
  background: var(--green-light);
  color: var(--green-deep-2);
  transition: transform .3s var(--ease), background-color .3s var(--ease), color .3s var(--ease);
}
.in-stat:nth-child(2n) .in-stat-ico { background: rgba(244, 180, 0, .16); color: #C98F00; }
.in-stat:hover .in-stat-ico { transform: translateY(-4px); background: var(--green); color: var(--white); }
.in-stat-val { font-size: 1.05rem; font-weight: 800; color: #0E1B14; line-height: 1.15; }
.in-stat-cap { font-size: .62rem; color: var(--gray); line-height: 1.4; }

/* ------------------------------------------------------------
   I5 · PROGRAM CARDS
   Five across on XL — a page-scoped slide width, since the
   shared engine ships 2/3/4/6 only.
------------------------------------------------------------ */
.slide-5 { width: calc((100% - 4 * 1.25rem) / 5); }

.in-prog {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
  padding: 1.4rem 1.1rem 1.2rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  text-align: center;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.in-prog:hover {
  transform: translateY(-8px);
  border-color: rgba(10, 174, 96, .28);
  box-shadow: 0 24px 44px rgba(10, 174, 96, .18);
}

.in-prog-ico {
  width: 62px; height: 62px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 1.5rem;
  background: var(--green-light);
  color: var(--green-deep-2);
  transition: transform .35s var(--ease), background-color .35s var(--ease), color .35s var(--ease);
}
.in-prog:hover .in-prog-ico { transform: scale(1.08); background: var(--green); color: var(--white); }

.in-prog-title { font-size: .88rem; font-weight: 700; color: #0E1B14; margin-bottom: .25rem; }
.in-prog-dur { font-size: .7rem; color: var(--gray); margin-bottom: .8rem; }
.in-prog-text { font-size: .72rem; color: var(--gray); line-height: 1.75; margin-bottom: 1rem; text-align: left; }

.in-prog-skills-label {
  font-size: .72rem; font-weight: 700;
  color: #0E1B14;
  text-align: left;
  margin-bottom: .3rem;
}
.in-prog-skills { font-size: .7rem; color: var(--gray); line-height: 1.75; text-align: left; margin-bottom: 1rem; }

.in-prog-link {
  margin-top: auto;
  align-self: flex-start;
  font-size: .72rem; font-weight: 700;
  color: var(--green-deep-2);
  text-decoration: none;
  display: inline-flex; align-items: center; gap: .35rem;
  transition: gap .3s var(--ease), color .3s var(--ease);
}
.in-prog-link:hover { color: var(--green); gap: .55rem; }

/* ------------------------------------------------------------
   I6 · WHY-INTERN LIST
------------------------------------------------------------ */
.in-sec-eyebrow {
  font-size: .62rem; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--green-deep-2);
  margin-bottom: .4rem;
}
.in-sec-title {
  font-size: clamp(1.15rem, 2.4vw, 1.5rem);
  font-weight: 700;
  color: #0E1B14;
  margin-bottom: 1.3rem;
}

.in-perk { display: flex; align-items: flex-start; gap: .8rem; }
.in-perk-ico {
  width: 40px; height: 40px;
  border-radius: 12px;
  display: grid; place-items: center;
  font-size: 1rem;
  flex: 0 0 auto;
  background: var(--green-light);
  color: var(--green-deep-2);
  transition: transform .3s var(--ease), background-color .3s var(--ease), color .3s var(--ease);
}
.in-perk:nth-child(2n) .in-perk-ico { background: rgba(244, 180, 0, .16); color: #C98F00; }
.in-perk:hover .in-perk-ico { transform: translateY(-4px); background: var(--green); color: var(--white); }
.in-perk-name { font-size: .78rem; font-weight: 700; color: #0E1B14; margin-bottom: .15rem; }
.in-perk-text { font-size: .68rem; color: var(--gray); line-height: 1.7; margin: 0; }

/* Vertical rule between the two columns of this row */
.in-col-divider { border-left: 1px solid var(--line); }

/* ------------------------------------------------------------
   I7 · HIGHLIGHT CARDS
------------------------------------------------------------ */
.in-high {
  background: var(--in-mist);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 1rem;
  height: 100%;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background-color .35s var(--ease);
}
.in-high:hover {
  transform: translateY(-5px);
  background: var(--white);
  box-shadow: 0 18px 32px rgba(10, 174, 96, .14);
}
.in-high-ico {
  width: 36px; height: 36px;
  border-radius: 10px;
  display: grid; place-items: center;
  font-size: .9rem;
  margin-bottom: .6rem;
  background: var(--white);
  color: var(--green-deep-2);
  box-shadow: var(--shadow-sm);
}
.in-high:nth-child(2n) .in-high-ico { color: #C98F00; }
.in-high-name { font-size: .76rem; font-weight: 700; color: #0E1B14; margin-bottom: .2rem; }
.in-high-text { font-size: .66rem; color: var(--gray); line-height: 1.7; margin: 0; }

/* ------------------------------------------------------------
   I8 · APPLY TIMELINE
   Four numbered steps with a connecting line behind them.
------------------------------------------------------------ */
.in-steps { position: relative; }
.in-step { text-align: center; position: relative; }

/* Connector drawn between adjacent steps */
.in-step::after {
  content: "";
  position: absolute;
  top: 34px;
  left: calc(50% + 38px);
  right: calc(-50% + 38px);
  height: 2px;
  background: var(--line);
}
.in-step:last-child::after { display: none; }

.in-step-ico {
  width: 68px; height: 68px;
  margin: 0 auto .9rem;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--green-deep-2);
  display: grid; place-items: center;
  font-size: 1.35rem;
  position: relative;
  z-index: 2;
  box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), background-color .35s var(--ease), color .35s var(--ease);
}
.in-step:hover .in-step-ico { transform: translateY(-5px); background: var(--green); color: var(--white); }

/* Numbered badge sitting on the circle */
.in-step-num {
  position: absolute;
  left: 50%;
  top: 58px;
  transform: translateX(-50%);
  z-index: 3;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--green-deep-2);
  color: var(--white);
  font-size: .62rem;
  font-weight: 700;
  display: grid; place-items: center;
  border: 2px solid var(--white);
}
.in-step-name { font-size: .78rem; font-weight: 700; color: #0E1B14; margin: .5rem 0 .3rem; }
.in-step-text { font-size: .66rem; color: var(--gray); line-height: 1.7; max-width: 150px; margin: 0 auto; }

/* Sequential arrival, driven by internships.js */
.in-step { opacity: 0; transform: translateY(16px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.in-step.is-in { opacity: 1; transform: none; }

/* ------------------------------------------------------------
   I9 · INTERN QUOTES
------------------------------------------------------------ */
.in-quote {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
  padding: 1.1rem;
  height: 100%;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.in-quote:hover {
  transform: translateY(-6px);
  border-color: rgba(10, 174, 96, .28);
  box-shadow: 0 22px 40px rgba(10, 174, 96, .16);
}
.in-quote-head { display: flex; align-items: center; gap: .7rem; margin-bottom: .7rem; }
.in-quote-avatar { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; flex: 0 0 auto; }
.in-quote-stars { color: var(--yellow); font-size: .68rem; letter-spacing: 2px; line-height: 1.4; }
.in-quote-name { font-size: .78rem; font-weight: 700; color: #0E1B14; line-height: 1.3; }
.in-quote-role { font-size: .64rem; color: var(--green-deep-2); font-weight: 600; }
.in-quote-text { font-size: .72rem; color: #4A5A54; line-height: 1.85; margin: 0; }

/* ------------------------------------------------------------
   I10 · FAQ ACCORDION
   Bootstrap accordion restyled to the brand.
------------------------------------------------------------ */
.in-faq .accordion-item {
  border: 1px solid var(--line);
  border-radius: var(--r-sm) !important;
  margin-bottom: .7rem;
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}
.in-faq .accordion-button {
  font-family: inherit;
  font-size: .82rem;
  font-weight: 600;
  color: #0E1B14;
  background: var(--white);
  padding: .95rem 1.1rem;
  box-shadow: none;
}
.in-faq .accordion-button:not(.collapsed) {
  color: var(--green-deep-2);
  background: var(--green-light);
}
.in-faq .accordion-button:focus { box-shadow: 0 0 0 4px rgba(10, 174, 96, .14); border-color: transparent; }
.in-faq .accordion-button::after {
  width: 1rem; height: 1rem;
  background-size: 1rem;
}
.in-faq .accordion-body {
  font-size: .74rem;
  color: var(--gray);
  line-height: 1.85;
  padding: .3rem 1.1rem 1.1rem;
}

/* ------------------------------------------------------------
   I11 · CTA
------------------------------------------------------------ */
.in-cta {
  background: linear-gradient(120deg, #0D3524 0%, #061D12 55%, #0B2A1B 100%);
  border-radius: var(--r-lg);
  padding: 1.5rem 1.8rem;
  position: relative;
  overflow: hidden;
}
.in-cta::after {
  content: "";
  position: absolute; left: 12%; top: -110px;
  width: 300px; height: 300px; border-radius: 50%;
  background: radial-gradient(circle, rgba(10, 174, 96, .24), transparent 70%);
}
.in-cta > .row { position: relative; z-index: 1; }

.in-cta-badge {
  width: 96px; height: 96px;
  margin: 0 auto;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--green-deep-2);
  display: grid; place-items: center;
  font-size: 2.6rem;
  box-shadow: 0 14px 30px rgba(244, 180, 0, .35);
}

.in-cta-title {
  font-size: clamp(1.15rem, 2.4vw, 1.55rem);
  line-height: 1.3;
  color: var(--white);
  margin-bottom: .35rem;
}
.in-cta-text { font-size: .78rem; color: rgba(255, 255, 255, .66); line-height: 1.8; margin: 0; }

.in-cta-ask { font-size: .72rem; color: rgba(255, 255, 255, .66); margin: .7rem 0 0; }
.in-cta-ask a {
  color: var(--yellow);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.in-cta-ask a:hover { color: var(--yellow); }

/* ------------------------------------------------------------
   I12 · RESPONSIVE
------------------------------------------------------------ */
@media (max-width: 1399.98px) {
  .slide-5 { width: calc((100% - 3 * 1.25rem) / 4); }
}

@media (max-width: 1199.98px) {
  .slide-5 { width: calc((100% - 2 * 1.25rem) / 3); }
  .in-glass { padding: .9rem 1.1rem; }
  .in-glass-list li { font-size: .76rem; }
  .in-glass-ico { font-size: 1.6rem; }
  /* Four across is tight below XL — connectors would break */
  .in-step::after { display: none; }
}

@media (max-width: 991.98px) {
  .in-hero { text-align: center; }
  .in-lead { margin-left: auto; margin-right: auto; }
  .in-visual { margin-top: 2rem; }
  .in-glass { position: static; margin-top: 1rem; text-align: left; justify-content: center; }

  .slide-5 { width: calc((100% - 1.25rem) / 2); }

  .in-col-divider { border-left: 0; border-top: 1px solid var(--line); padding-top: 1.4rem; margin-top: .6rem; }
  .in-step { margin-bottom: 1.4rem; }
}

@media (max-width: 767.98px) {
  .in-title { font-size: 1.85rem; }
  .in-hero .btn { width: 100%; justify-content: center; }
  .in-stat { flex: 1 1 46%; }
  .in-stat + .in-stat::before { display: none; }
  .in-cta { text-align: center; padding: 1.4rem 1.1rem; }
  .in-cta .btn { width: 100%; justify-content: center; }
}

@media (max-width: 575.98px) {
  .slide-5 { width: 100%; }
  .in-stat { flex: 1 1 100%; }
  .in-glass-list li { white-space: normal; }
}
