/* ===== SCOPED RESET ===== */
.ta-csr-revamp {
  font-family: 'Poppins', sans-serif;
}

.ta-csr-revamp * {
  box-sizing: border-box;
}

/* ===== CONTAINER ===== */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== HERO ===== */
.csr-hero {
  position: relative;
  height: 60vh;

  display: flex;
  align-items: flex-end;

  overflow: hidden;

  background: url("https://images.unsplash.com/photo-1593113630400-ea4288922497")
    center / cover no-repeat;
}

.csr-hero .container {
  max-width: 1280px;
  width: 100%;
  padding: 0;
}

/* ===== OVERLAY ===== */
.csr-hero__overlay {
  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      90deg,
      rgba(6,18,35,0.98) 0%,
      rgba(6,18,35,0.9) 35%,
      rgba(6,18,35,0.6) 65%,
      rgba(6,18,35,0.4) 100%
    ),
    linear-gradient(
      to bottom,
      rgba(6,18,35,0.2),
      rgba(6,18,35,0.95)
    );
}

/* ===== CONTENT ===== */
.csr-hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 100%;
  margin-bottom: 80px;
}

/* ===== TAG ===== */
.csr-hero__tag {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.csr-hero__tag-line {
  width: 40px;
  height: 2px;
  background: #ff6a1a;
}

.csr-hero__tag-text {
  font-size: 12px;
  letter-spacing: 2px;
  color: #ff6a1a;
}

/* ===== TITLE ===== */
.csr-hero__title {
  font-size: 72px;
  font-weight: 700;
  line-height: 1.05;
}

.csr-hero__title-white {
  color: #ffffff;
}

.csr-hero__title-orange {
  color: #ff6a1a;
  display: inline-block;
  margin-top: 10px;
}

/* ===== SCROLL ===== */
.csr-hero__scroll {
  position: absolute;
  right: 30px;
  bottom: 80px;

  writing-mode: vertical-rl;
  transform: rotate(180deg);

  font-size: 10px;
  letter-spacing: 4px;
  color: rgba(255,255,255,0.4);
}

/* ===== CSR COMMITMENT ===== */
.csr-commitment {
  padding: 100px 0;
  background: #f8fafc;
}

/* WRAPPER */
.csr-commitment__wrapper {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

/* LEFT */
.csr-commitment__tag {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.csr-commitment__line {
  width: 40px;
  height: 2px;
  background: #ff6a1a;
}

.csr-commitment__tag-text {
  font-size: 12px;
  letter-spacing: 2px;
  color: #ff6a1a;
}

/* TITLE */
.csr-commitment__title {
  font-size: 56px;
  font-weight: 700;
  line-height: 1.1;
  color: #1c2539;
}

.csr-commitment__title span {
  color: #ff6a1a;
}

/* DESC */
.csr-commitment__desc {
  margin-top: 24px;
  font-size: 15px;
  color: #6b7280;
  line-height: 1.7;
}

/* RIGHT CARD */
.csr-commitment__card {
  background: #fffbf9;
  border: 1px solid rgba(255,106,26,0.2);
  border-radius: 20px;
  padding: 40px;
  font-size: 14px;
  color: #475569;
  line-height: 1.8;

  box-shadow: 0 10px 30px rgba(0,0,0,0.04);
}

/* ===== FOUNDATION SECTION ===== */
.csr-foundation {
  position: relative;
  isolation: isolate;
  padding: 136px 0;
  background:
    radial-gradient(circle at 85% 15%, rgba(255, 106, 26, 0.16), transparent 42%),
    radial-gradient(circle at 8% 88%, rgba(59, 130, 246, 0.14), transparent 40%),
    linear-gradient(145deg, #060f1d, #101b30 52%, #0a1428);
  color: #fff;
}

/* TAG */
.csr-foundation__tag {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.csr-foundation__line {
  width: 52px;
  height: 2px;
  background: #ff6a1a;
}

.csr-foundation__tag span {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2.4px;
  color: #ff6a1a;
}

/* TITLE */
.csr-foundation__title {
  font-size: clamp(40px, 5vw, 60px);
  font-weight: 700;
  line-height: 1.12;
  margin-bottom: 46px;
}

.csr-foundation__title .white {
  color: #f8fbff;
}

.csr-foundation__title .orange {
  color: #ff6a1a;
  margin-left: 8px;
}

/* CARD */
.csr-foundation__card {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.85fr);
  gap: 30px;
  align-items: center;
  background: linear-gradient(160deg, rgba(255,255,255,0.08), rgba(255,255,255,0.04));
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 22px;
  padding: 40px 44px;
  margin-bottom: 46px;

  backdrop-filter: blur(10px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.22);
}

.csr-foundation__card p {
  font-size: 16px;
  line-height: 1.9;
  color: #e5edf7;
}

.csr-foundation__content {
  display: flex;
  flex-direction: column;
}

.csr-foundation__legal {
  display: block;
  margin-top: 24px;
  font-size: 14px;
  line-height: 1.6;
  color: #c4d1e4;
  font-style: italic;
}

/* BUTTONS */
.csr-foundation__actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.csr-foundation__btn {
  position: relative;
  overflow: hidden;
  min-height: 132px;

  background: linear-gradient(155deg, rgba(255,255,255,0.12), rgba(255,255,255,0.05));
  border: 1px solid rgba(255,255,255,0.18);
  padding: 22px 22px;
  border-radius: 18px;
  color: #f8fbff;

  text-align: left;
  cursor: pointer;

  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.csr-foundation__btn::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: #ff6a1a;
}

.csr-foundation__btn h4 {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 8px;
  color: #ffffff;
}

.csr-foundation__btn span {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  color: #d7e2f2;
}

.csr-foundation__btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 28px rgba(5, 11, 24, 0.45);
  border-color: rgba(255, 106, 26, 0.55);
}

/* ===== PARTNERS ===== */
.csr-partners {
  padding: 112px 0;
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 106, 26, 0.08), transparent 28%),
    radial-gradient(circle at 84% 82%, rgba(59, 130, 246, 0.08), transparent 30%),
    #f8fafc;
}

.csr-partners__header {
  max-width: 720px;
  margin-bottom: 42px;
}

.csr-partners__tag {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.csr-partners__line {
  width: 44px;
  height: 2px;
  background: #ff6a1a;
}

.csr-partners__tag span {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2.2px;
  color: #ff6a1a;
}

.csr-partners__title {
  font-size: clamp(36px, 4.6vw, 52px);
  line-height: 1.08;
  color: #172033;
}

.csr-partners__title span {
  color: #ff6a1a;
}

.csr-partners__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.partner-tile {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 220px;
  padding: 28px 24px;
  border-radius: 24px;
  background: rgba(255,255,255,0.88);
  border: 1px solid rgba(226, 232, 240, 0.95);
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.07);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.partner-tile:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 106, 26, 0.3);
  box-shadow: 0 22px 38px rgba(15, 23, 42, 0.1);
}

.partner-tile__mark {
  width: 62px;
  height: 62px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  border-radius: 18px;
  background: linear-gradient(135deg, #ff6a1a, #ff9d5c);
  color: #ffffff;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.06em;
  box-shadow: 0 14px 24px rgba(255, 106, 26, 0.2);
}

.partner-tile h3 {
  font-size: 20px;
  line-height: 1.25;
  color: #172033;
}

.partner-tile p {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.7;
  color: #5b687a;
}

/* ===== EMPLOYEE DRIVE ===== */
.csr-drive {
  position: relative;
  padding: 120px 0;
  background:
    radial-gradient(circle at 10% 10%, rgba(255, 106, 26, 0.08), transparent 34%),
    radial-gradient(circle at 90% 90%, rgba(59, 130, 246, 0.08), transparent 35%),
    #f5f8fc;
}

/* HEADER */
.csr-drive__header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 64px;
}

.csr-drive__tag {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.csr-drive__tag .line {
  width: 40px;
  height: 2px;
  background: #ff6a1a;
}

.csr-drive__tag span {
  font-size: 12px;
  letter-spacing: 2px;
  color: #ff6a1a;
}

/* TITLE */
.csr-drive__title {
  font-size: clamp(36px, 4.5vw, 50px);
  font-weight: 700;
  line-height: 1.1;
  color: #1c2539;
}

.csr-drive__title span {
  color: #ff6a1a;
}

/* SUBTITLE */
.csr-drive__subtitle {
  margin: 18px auto 0;
  max-width: 64ch;
  font-size: 16px;
  color: #4b5563;
  line-height: 1.75;
}

/* GRID */
.csr-drive__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px;
}

/* CARD */
.drive-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.08);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.drive-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 106, 26, 0.4);
  box-shadow: 0 22px 38px rgba(15, 23, 42, 0.15);
}

/* IMAGE */
.drive-card__image {
  position: relative;
  height: clamp(200px, 21vw, 238px);
  overflow: hidden;
}

.drive-card__image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(7, 18, 36, 0.45), rgba(7, 18, 36, 0) 55%);
}

.drive-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.drive-card:hover .drive-card__image img {
  transform: scale(1.03);
}

/* CONTENT */
.drive-card__content {
  padding: 24px 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.drive-card__meta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.drive-card__meta h4 {
  color: #111827;
  font-size: 21px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

/* ICON */
.drive-card__meta .icon {
  width: 42px;
  height: 42px;
  background: #ff6a1a;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
}

.drive-card__meta .icon svg {
  width: 20px;
  height: 20px;
  stroke-width: 2.2;
}

.drive-card__content p {
  max-width: 56ch;
  font-size: 15px;
  color: #4b5563;
  line-height: 1.82;
  text-wrap: pretty;
}

/* ===== IMPACT METRICS ===== */
.csr-impact {
  position: relative;
  padding: 0 0 96px;
  background:
    linear-gradient(180deg, #f8fafc 0%, #f5f8fc 100%);
}

.csr-impact__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));

  gap: 18px;
  padding: 26px 28px;
  border-radius: 24px;
  background: #ffffff;
  border: 1px solid #e5ebf3;
  box-shadow: 0 18px 34px rgba(15, 23, 42, 0.06);
}

.impact-stat {
  text-align: center;
  padding: 18px 12px;
  border-right: 1px solid rgba(148, 163, 184, 0.18);
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.impact-stat:last-child {
  border-right: 0;
}

.csr-impact.is-visible .impact-stat {
  opacity: 1;
  transform: translateY(0);
}

.impact-stat__value {
  font-size: clamp(34px, 4.2vw, 52px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
}

.impact-counter {
  display: inline-block;
  background: linear-gradient(135deg, #ff5a1f 0%, #ff8a00 38%, #ff6666 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  filter: drop-shadow(0 6px 14px rgba(255, 138, 0, 0.22));
}

.impact-stat p {
  margin-top: 16px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  color: #425168;
  letter-spacing: 0.02em;
}

/* ===== CTA ===== */
.csr-cta {
  padding: 0 0 120px;
  background:
    linear-gradient(180deg, #f5f8fc 0%, #edf3fa 100%);
}

.csr-cta__panel {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) auto;
  gap: 32px;
  align-items: center;
  padding: 42px 44px;
  border-radius: 28px;
  background:
    linear-gradient(90deg, rgba(10, 18, 34, 0.99) 0%, rgba(10, 18, 34, 0.92) 42%, rgba(10, 18, 34, 0.64) 100%),
    linear-gradient(180deg, rgba(255, 106, 26, 0.08), rgba(10, 18, 34, 0.3)),
    url("https://images.unsplash.com/photo-1529156069898-49953e39b3ac?auto=format&fit=crop&w=1200&q=80") center right / 100% 100% no-repeat,
    radial-gradient(circle at top right, rgba(255, 106, 26, 0.18), transparent 28%),
    linear-gradient(145deg, #13213a, #1d2f4d 58%, #13253f);
  box-shadow: 0 28px 48px rgba(9, 18, 34, 0.24);
  background-size: cover;
}

.csr-cta__content,
.csr-cta__actions {
  position: relative;
  z-index: 2;
}

.csr-cta__tag {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.csr-cta__line {
  width: 44px;
  height: 2px;
  background: #ff6a1a;
}

.csr-cta__tag span {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2.2px;
  color: #ff9a61;
}

.csr-cta__title {
  font-size: clamp(34px, 4.5vw, 54px);
  font-weight: 700;
  line-height: 1.06;
  color: #ffffff;
}

.csr-cta__title span {
  color: #ff7c33;
}

.csr-cta__text {
  margin-top: 18px;
  max-width: 56ch;
  font-size: 16px;
  line-height: 1.8;
  color: rgba(224, 233, 246, 0.88);
}

.csr-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: flex-end;
}

.csr-cta__btn {
  min-width: 190px;
  padding: 16px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease, background 0.24s ease;
}

.csr-cta__btn:hover {
  transform: translateY(-2px);
}

.csr-cta__btn--primary {
  background: linear-gradient(135deg, #ff6a1a, #ff9352);
  color: #ffffff;
  box-shadow: 0 16px 24px rgba(255, 106, 26, 0.25);
}

.csr-cta__btn--secondary {
  background: rgba(255,255,255,0.06);
  color: #ffffff;
  border-color: rgba(255,255,255,0.18);
}

/* ===== TOP GRID ===== */
.csr-foundation__top {
  margin-bottom: 60px;
}

/* IMAGE */
.csr-foundation__image {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  min-height: 100%;
  box-shadow: 0 20px 40px rgba(1, 6, 16, 0.35);
}

.csr-foundation__image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(9, 18, 33, 0.02), rgba(9, 18, 33, 0.38));
}

.csr-foundation__image img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  display: block;
}

/* ===== CAROUSEL ===== */
.csr-foundation__carousel {
  overflow: hidden;
  position: relative;
}

/* TRACK */
.csr-foundation__track {
  display: flex;
  gap: 20px;
  width: max-content;

  animation: csrScroll 40s linear infinite;
}

.csr-foundation__track:hover {
  animation-play-state: paused;
}

/* CARD */
.csr-slide {
  position: relative;
  width: 320px;
  height: 180px;
  border-radius: 14px;
  overflow: hidden;
  flex-shrink: 0;
}

/* IMAGE */
.csr-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* OVERLAY */
.csr-slide__overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;

  padding: 14px;

  background: linear-gradient(
    to top,
    rgba(255,106,26,0.9),
    rgba(255,106,26,0.4),
    transparent
  );

  font-size: 14px;
  font-weight: 600;
  color: #fff;
}

/* ANIMATION */
@keyframes csrScroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

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

  .csr-slide {
    width: 260px;
  }
}

@media (max-width: 1024px) {
  .csr-drive {
    padding: 100px 0;
  }

  .csr-drive__grid {
    gap: 24px;
  }

  .drive-card__meta h4 {
    font-size: 20px;
  }

  .csr-impact__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .impact-stat:nth-child(3) {
    border-right: 0;
  }

  .impact-stat:nth-child(4),
  .impact-stat:nth-child(5) {
    border-top: 1px solid rgba(148, 163, 184, 0.18);
  }

  .csr-partners__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .csr-cta__panel {
    grid-template-columns: 1fr;
    align-items: flex-start;
    background-size: auto, auto, 50% 100%, auto, auto;
  }

  .csr-cta__actions {
    justify-content: flex-start;
  }
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .csr-drive {
    padding: 84px 0;
  }

  .csr-drive__header {
    margin-bottom: 42px;
  }

  .csr-drive__subtitle {
    font-size: 15px;
    line-height: 1.7;
  }

  .csr-drive__grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .drive-card__image {
    height: 196px;
  }

  .drive-card__content {
    padding: 20px 18px 22px;
  }

  .drive-card__meta h4 {
    font-size: 18px;
  }

  .drive-card__content p {
    font-size: 14px;
    line-height: 1.72;
  }

  .csr-impact {
    padding: 0 0 72px;
  }

  .csr-impact__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    padding: 16px;
  }

  .impact-stat {
    padding: 20px 10px;
    border-right: 0;
    border-top: 1px solid rgba(148, 163, 184, 0.18);
  }

  .impact-stat:nth-child(1),
  .impact-stat:nth-child(2) {
    border-top: 0;
  }

  .impact-stat p {
    font-size: 12px;
  }

  .csr-partners {
    padding: 84px 0;
  }

  .csr-partners__header {
    margin-bottom: 30px;
  }

  .csr-partners__grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .partner-tile {
    min-height: auto;
    padding: 24px 20px;
  }

  .partner-tile h3 {
    font-size: 18px;
  }

  .csr-cta {
    padding: 0 0 84px;
  }

  .csr-cta__panel {
    padding: 28px 22px;
    gap: 24px;
    background-size: auto, auto, 58% 100%, auto, auto;
  }

  .csr-cta__text {
    font-size: 15px;
    line-height: 1.72;
  }

  .csr-cta__actions {
    width: 100%;
    flex-direction: column;
  }

  .csr-cta__btn {
    width: 100%;
  }
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .csr-foundation__title {
    font-size: 36px;
    margin-bottom: 30px;
  }

  .csr-foundation__actions {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .csr-foundation__card {
    padding: 28px 24px;
    margin-bottom: 30px;
  }

  .csr-foundation__card p {
    font-size: 15px;
    line-height: 1.8;
  }

  .csr-foundation__image img {
    min-height: 240px;
  }

  .csr-foundation__btn {
    min-height: 116px;
    padding: 18px;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .csr-foundation__actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .csr-commitment__wrapper {
    grid-template-columns: 1fr;
  }

  .csr-commitment__title {
    font-size: 40px;
  }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .csr-hero__title {
    font-size: 42px;
  }

  .csr-hero__content {
    margin-bottom: 60px;
  }
}
