:root {
  --adsit-ink: #1f2428;
  --adsit-muted: #5c6670;
  --adsit-line: #dfe4e8;
  --adsit-soft: #f6f7f4;
  --adsit-panel: #ffffff;
  --adsit-accent: #f08300;
  --adsit-accent-dark: #b95f00;
  --adsit-green: #1f6f5b;
}

body.safe-optimized {
  background: var(--adsit-soft);
  color: var(--adsit-ink);
  overflow-x: hidden;
}

body.safe-optimized a {
  text-decoration: none;
}

body.safe-optimized .footer {
  background: #171a1d;
  color: #f7f8f9;
}

.home-safe .hero {
  position: relative;
  height: auto;
  min-height: calc(100vh - 60px);
  padding: 84px 24px;
  align-items: center;
  justify-content: center;
  text-align: left;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(17, 24, 31, 0.92), rgba(17, 24, 31, 0.72) 48%, rgba(17, 24, 31, 0.22)),
    url("../images/header_bg.jpg?height=800&width=1200") center / cover no-repeat;
}

.home-hero-shell {
  position: relative;
  z-index: 1;
  width: min(1180px, 100%);
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 56px;
  align-items: center;
}

.home-hero-copy {
  max-width: 760px;
  min-width: 0;
}

.safe-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: #f7c66b;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.safe-eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: currentColor;
}

.home-hero-copy h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(2.35rem, 5vw, 5.4rem);
  line-height: 1.05;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.home-hero-copy .hero-lead {
  max-width: 680px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.02rem, 1.5vw, 1.22rem);
  line-height: 1.85;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.safe-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 6px;
  font-weight: 700;
  border: 1px solid transparent;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.safe-btn:hover {
  transform: translateY(-1px);
}

.safe-btn.primary {
  color: #fff;
  background: var(--adsit-accent);
  box-shadow: 0 14px 30px rgba(240, 131, 0, 0.28);
}

.safe-btn.primary:hover {
  color: #fff;
  background: var(--adsit-accent-dark);
}

.safe-btn.secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.08);
}

.safe-btn.secondary:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
}

.home-hero-panel {
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px);
  padding: 28px;
  color: #fff;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.26);
}

.home-hero-panel h2 {
  margin: 0 0 22px;
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.68);
}

.hero-focus-list {
  display: grid;
  gap: 18px;
}

.hero-focus-item {
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.hero-focus-item:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.hero-focus-item strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1.18rem;
}

.hero-focus-item span {
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.75;
}

.safe-products {
  padding: 78px 22px;
  background: #fff;
  color: var(--adsit-ink);
}

.safe-section-head {
  width: min(1120px, 100%);
  margin: 0 auto 32px;
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: end;
}

.safe-section-head h2 {
  margin: 0;
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 800;
}

.safe-section-head p {
  max-width: 520px;
  margin: 0;
  color: var(--adsit-muted);
  line-height: 1.8;
}

.safe-products .safe-eyebrow {
  color: var(--adsit-green);
}

.safe-product-grid {
  width: min(1120px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.safe-product-card {
  overflow: hidden;
  border: 1px solid var(--adsit-line);
  border-radius: 8px;
  background: var(--adsit-panel);
  color: var(--adsit-ink);
  box-shadow: 0 18px 42px rgba(31, 36, 40, 0.08);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.safe-product-card:hover {
  color: var(--adsit-ink);
  transform: translateY(-3px);
  box-shadow: 0 26px 52px rgba(31, 36, 40, 0.13);
}

.safe-product-media {
  height: 310px;
  background: #eef1f2;
}

.safe-product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.safe-product-card.ai .safe-product-media {
  background: #111;
}

.safe-product-card.ai .safe-product-media img {
  object-fit: contain;
  padding: 18px;
}

.safe-product-body {
  padding: 26px;
}

.safe-product-body h3 {
  margin: 0 0 12px;
  font-size: 1.42rem;
  font-weight: 800;
}

.safe-product-body p {
  margin: 0;
  color: var(--adsit-muted);
  line-height: 1.8;
}

.safe-tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.safe-tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: #f3f6f4;
  color: var(--adsit-green);
  font-size: 0.84rem;
  font-weight: 700;
}

.home-safe .about,
.home-safe .historicalre,
.home-safe .contact {
  background: var(--adsit-soft);
}

.home-safe .section-title h2 {
  color: var(--adsit-ink);
  font-weight: 800;
}

.home-safe .section-title p {
  color: var(--adsit-muted);
}

.home-safe .about-card,
.home-safe .historicalre-card,
.home-safe .contact-card {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 16px 38px rgba(31, 36, 40, 0.12);
}

.home-safe .historicalre .dropdown-item {
  width: auto;
  padding: 0;
  white-space: normal;
}

.home-safe .historicalre-card {
  max-width: 100%;
  margin: 0 auto;
}

.home-safe .contact-card {
  min-height: 420px;
  height: auto;
}

.home-safe .social-sidebar {
  background: rgba(31, 36, 40, 0.92);
}

.inner-safe .course-header,
.history-safe .brand-bg {
  height: auto;
  min-height: 340px;
  display: flex;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(22, 27, 32, 0.9), rgba(22, 27, 32, 0.64)),
    url("../images/aboutusCourse_header_bg.jpg") center / cover no-repeat !important;
}

.inner-safe .course-title {
  width: min(1120px, calc(100% - 44px));
  margin: 0 auto;
  padding: 84px 0;
  text-align: left;
}

.inner-safe .course-title h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(2.2rem, 4vw, 4.1rem);
  line-height: 1.1;
  letter-spacing: 0;
}

.inner-safe .course-title p {
  max-width: 720px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  line-height: 1.8;
}

.safe-intro-panel {
  width: min(1120px, calc(100% - 44px));
  margin: 36px auto 0;
  padding: 26px 30px;
  border: 1px solid var(--adsit-line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 42px rgba(31, 36, 40, 0.08);
}

.safe-intro-panel p {
  margin: 0;
  color: var(--adsit-muted);
  line-height: 1.9;
}

.executives-safe .safe-subhero,
.investor-safe .safe-subhero {
  margin-top: 60px;
  padding: 92px 22px;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(21, 26, 31, 0.92), rgba(21, 26, 31, 0.56)),
    url("../images/aboutusCourse_header_bg.jpg") center / cover no-repeat;
}

.investor-safe .safe-subhero {
  background:
    linear-gradient(90deg, rgba(21, 26, 31, 0.86), rgba(21, 26, 31, 0.38)),
    url("../images/add-email-header.jpg") center / cover no-repeat;
}

.safe-subhero-inner {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.safe-subhero h1,
.history-safe .brand-bg h1 {
  margin: 0;
  font-size: clamp(2.2rem, 4vw, 4.2rem);
  line-height: 1.1;
  font-weight: 800;
}

.safe-subhero p,
.history-safe .brand-bg p {
  max-width: 760px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.8;
}

.executive-profile-section {
  width: min(1120px, calc(100% - 44px));
  margin: 34px auto 54px;
  padding: 22px;
  border: 1px solid var(--adsit-line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 42px rgba(31, 36, 40, 0.08);
}

.executive-profile-img {
  display: block;
  width: 100%;
  margin: 0 auto;
  border-radius: 6px;
}

.news-safe .course-header {
  background:
    linear-gradient(90deg, rgba(22, 27, 32, 0.9), rgba(22, 27, 32, 0.54)),
    url("../images/photo-1526628953301.avif") center / cover no-repeat !important;
}

.news-safe .news-listing {
  margin-top: 36px !important;
  margin-bottom: 70px !important;
}

.news-safe .news-listing .card {
  overflow: hidden;
  border: 1px solid var(--adsit-line);
  border-radius: 8px;
  box-shadow: 0 16px 36px rgba(31, 36, 40, 0.09);
}

.news-safe .news-listing .card-img-top {
  height: 214px;
  object-fit: cover;
}

.news-safe .news-listing .card-title {
  min-height: 54px;
  font-weight: 800;
  line-height: 1.45;
}

.news-safe .btn-custom {
  background: var(--adsit-accent);
  border-color: var(--adsit-accent);
  border-radius: 6px;
  font-weight: 700;
}

.news-safe .btn-custom:hover {
  background: var(--adsit-accent-dark);
  border-color: var(--adsit-accent-dark);
}

.investor-contact {
  width: min(880px, calc(100% - 44px));
  margin: 38px auto 64px;
}

.investor-contact-card {
  padding: 34px;
  border: 1px solid var(--adsit-line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 42px rgba(31, 36, 40, 0.09);
}

.investor-contact-card .info-item {
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--adsit-line);
}

.investor-contact-card .info-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: 0;
}

.investor-contact-card .info-icon {
  width: 22px;
  height: 22px;
  margin-top: 2px;
}

.history-safe .brand-bg {
  min-height: 300px;
  margin-top: 60px;
}

.history-safe .brand-bg .container {
  width: min(1120px, calc(100% - 44px));
  max-width: none;
  text-align: left !important;
}

@media (max-width: 900px) {
  .home-hero-shell,
  .safe-product-grid {
    grid-template-columns: 1fr;
  }

  .home-hero-panel {
    max-width: 540px;
  }

  .safe-section-head {
    display: block;
  }

  .safe-section-head p {
    margin-top: 14px;
  }
}

@media (max-width: 768px) {
  .home-safe .hero {
    min-height: auto;
    margin-top: 56px;
    padding: 58px 18px;
  }

  .home-hero-copy h1 {
    font-size: clamp(1.9rem, 8.8vw, 2.75rem);
    line-height: 1.12;
  }

  .hero-actions {
    flex-direction: column;
  }

  .safe-btn {
    width: 100%;
  }

  .home-hero-panel {
    padding: 22px;
  }

  .safe-products {
    padding: 56px 18px;
  }

  .safe-product-media {
    height: 250px;
  }

  .inner-safe .course-header,
  .history-safe .brand-bg {
    min-height: 260px;
  }

  .inner-safe .course-title {
    width: min(100% - 36px, 1120px);
    padding: 58px 0;
  }

  .safe-intro-panel,
  .executive-profile-section,
  .investor-contact {
    width: min(100% - 36px, 1120px);
  }

  .executives-safe .safe-subhero,
  .investor-safe .safe-subhero {
    padding: 68px 18px;
  }

  .investor-contact-card {
    padding: 24px;
  }
}
