/* ==========================================================================
   SETIA AMAN SECURITY SERVICES SDN BHD - INTERNAL PAGES STYLESHEET
   Clean Alignment, Structured Grids, High-End Card Presentations
   ========================================================================== */

/* Subpage Hero Standard */
.subpage-hero {
  position: relative;
  width: 100%;
  min-height: 440px;
  display: flex;
  align-items: center;
  background-color: #040710;
  overflow: hidden;
  padding-top: calc(var(--header-height, 104px) + 36px);
  padding-bottom: 64px;
}

.subpage-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.subpage-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
}

.subpage-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(4, 7, 16, 0.78) 0%,
    rgba(4, 7, 16, 0.58) 50%,
    rgba(4, 7, 16, 0.96) 100%
  );
  z-index: 2;
}

.subpage-hero-content {
  position: relative;
  z-index: 3;
  max-width: 920px;
  margin: 0;
}

.subpage-hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 4px;
  background: rgba(212, 175, 55, 0.16);
  border: 1px solid rgba(212, 175, 55, 0.45);
  color: #fce293;
  font-family: var(--font-heading, 'Nunito Sans', sans-serif);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.subpage-hero-title {
  font-family: var(--font-serif, 'Cormorant Garamond', serif);
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  font-weight: 700;
  letter-spacing: 2px;
  line-height: 1.1;
  color: #ffffff;
  margin-bottom: 16px;
}

.subpage-hero-desc {
  font-family: var(--font-body, 'Nunito Sans', sans-serif);
  font-size: 1.1rem;
  line-height: 1.7;
  color: #cbd5e1;
  max-width: 800px;
}

/* Breadcrumbs */
.breadcrumb-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: #94a3b8;
  margin-top: 22px;
}

.breadcrumb-nav a {
  color: #e2e8f0;
  transition: color var(--transition-fast, 0.2s);
}

.breadcrumb-nav a:hover {
  color: var(--color-gold, #d4af37);
}

.breadcrumb-sep {
  color: var(--color-gold, #d4af37);
}

/* Sections */
.section-white {
  background-color: #ffffff;
  color: #0a1426;
  padding: 90px 0 100px;
}

.section-dark {
  background-color: #060b14;
  color: #e2e8f0;
  padding: 90px 0 100px;
  position: relative;
}

.section-slate {
  background-color: #f8fafc;
  color: #0a1426;
  padding: 90px 0 100px;
}

.section-header-center {
  text-align: center;
  max-width: 860px;
  margin: 0 auto 52px;
}

.section-eyebrow {
  display: inline-block;
  font-family: var(--font-heading, 'Nunito Sans', sans-serif);
  font-size: 0.82rem;
  font-weight: 800;
  color: #aa7c11;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.section-dark .section-eyebrow {
  color: #fce293;
}

.section-title-dark {
  font-family: var(--font-serif, 'Cormorant Garamond', serif);
  font-size: clamp(2.3rem, 3.8vw, 3.2rem);
  font-weight: 700;
  color: #0a1426;
  line-height: 1.15;
  margin-bottom: 16px;
}

.section-title-light {
  font-family: var(--font-serif, 'Cormorant Garamond', serif);
  font-size: clamp(2.3rem, 3.8vw, 3.2rem);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.15;
  margin-bottom: 16px;
}

.section-subtitle-dark {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #475569;
}

.section-subtitle-light {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #94a3b8;
}

/* --------------------------------------------------------------------------
   Leadership Cards
   -------------------------------------------------------------------------- */
.directors-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  align-items: stretch;
}

.director-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 22px rgba(15, 23, 42, 0.05);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.director-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 40px rgba(10, 20, 38, 0.12);
  border-color: rgba(212, 175, 55, 0.6);
}

.director-img-wrap {
  width: 100%;
  height: 380px;
  background: #040710;
  overflow: hidden;
}

.director-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.4s ease;
}

.director-card:hover .director-img {
  transform: scale(1.04);
}

.director-meta {
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.director-role-tag {
  font-family: var(--font-heading, 'Nunito Sans', sans-serif);
  font-size: 0.75rem;
  font-weight: 800;
  color: #aa7c11;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.director-name {
  font-family: var(--font-serif, 'Cormorant Garamond', serif);
  font-size: 1.65rem;
  font-weight: 700;
  color: #0a1426;
  line-height: 1.2;
  margin-bottom: 12px;
}

.director-divider {
  width: 40px;
  height: 2px;
  background: #d4af37;
  margin-bottom: 14px;
}

.director-bio {
  font-size: 0.92rem;
  line-height: 1.65;
  color: #475569;
}

/* Executive Circular Avatar Presentation (Zero Black Borders) */
.director-avatar-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 38px 20px 14px;
  background: transparent;
}

.director-avatar-frame {
  width: 196px;
  height: 196px;
  border-radius: 50%;
  border: 3.5px solid #d4af37;
  outline: 6px solid rgba(212, 175, 55, 0.22);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25), 0 0 24px rgba(212, 175, 55, 0.2);
  overflow: hidden;
  position: relative;
  background: #040813;
  margin: 0 auto;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s ease, outline-color 0.35s ease, box-shadow 0.35s ease;
}

.director-card:hover .director-avatar-frame {
  transform: scale(1.06);
  border-color: #fce293;
  outline-color: rgba(212, 175, 55, 0.48);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35), 0 0 32px rgba(212, 175, 55, 0.38);
}

.director-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  transition: transform 0.4s ease;
}

.director-card:hover .director-avatar-img {
  transform: scale(1.05);
}

/* Centered meta alignment when avatar shape is used */
.director-card--avatar .director-meta {
  text-align: center;
  align-items: center;
  padding: 16px 24px 32px;
}

.director-card--avatar .director-name {
  min-height: 4.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-bottom: 14px;
}

.director-card--avatar .director-divider {
  margin: 0 auto 16px;
}

/* Org Chart */
.org-chart-container {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 28px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
  text-align: center;
}

.org-chart-img {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

/* --------------------------------------------------------------------------
   Accreditation Grid (KDN, PIKM, MBPJ)
   -------------------------------------------------------------------------- */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  align-items: stretch;
}

.cert-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 22px rgba(15, 23, 42, 0.05);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.cert-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.1);
  border-color: rgba(212, 175, 55, 0.5);
}

.cert-img-wrap {
  width: 100%;
  height: 380px;
  background: linear-gradient(180deg, #f8fafc 0%, #edf2f7 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  border-bottom: 1px solid #e2e8f0;
  position: relative;
  cursor: pointer;
  overflow: hidden;
}

.cert-img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  border-radius: 6px;
  background: #ffffff;
  border: 1px solid #dcdfe4;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12), 0 2px 6px rgba(15, 23, 42, 0.06);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}

.cert-card:hover .cert-img,
.cert-img-wrap:hover .cert-img {
  transform: scale(1.035);
  box-shadow: 0 16px 36px rgba(212, 175, 55, 0.28), 0 4px 12px rgba(15, 23, 42, 0.1);
  border-color: rgba(212, 175, 55, 0.5);
}

.cert-zoom-overlay {
  position: absolute;
  inset: 0;
  background: rgba(4, 8, 19, 0.4);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.cert-zoom-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid #d4af37;
  color: #0a1426;
  font-family: var(--font-heading, 'Nunito Sans', sans-serif);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  transform: translateY(8px);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.cert-img-wrap:hover .cert-zoom-overlay,
.cert-card:hover .cert-zoom-overlay {
  opacity: 1;
}

.cert-img-wrap:hover .cert-zoom-pill,
.cert-card:hover .cert-zoom-pill {
  transform: translateY(0);
}

.btn-cert-view {
  margin-top: 16px;
  background: transparent;
  border: 1px solid rgba(212, 175, 55, 0.5);
  color: #aa7c11;
  padding: 8px 16px;
  border-radius: 6px;
  font-family: var(--font-heading, 'Nunito Sans', sans-serif);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  transition: all 0.25s ease;
}

.btn-cert-view:hover {
  background: #d4af37;
  color: #060b14;
  border-color: #d4af37;
  transform: translateX(3px);
  box-shadow: 0 4px 14px rgba(212, 175, 55, 0.35);
}

.cert-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.cert-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 4px;
  background: rgba(212, 175, 55, 0.12);
  color: #aa7c11;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 10px;
  width: fit-content;
}

.cert-name {
  font-family: var(--font-serif, 'Cormorant Garamond', serif);
  font-size: 1.45rem;
  font-weight: 700;
  color: #0a1426;
  margin-bottom: 8px;
}

.cert-authority {
  font-size: 0.88rem;
  color: #64748b;
  font-weight: 600;
  margin-bottom: 12px;
}

.cert-desc {
  font-size: 0.9rem;
  line-height: 1.6;
  color: #475569;
}

/* --------------------------------------------------------------------------
   Insurance Coverage Grid
   -------------------------------------------------------------------------- */
.insurance-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  align-items: stretch;
}

.insurance-card {
  background: #0a1222;
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.insurance-card:hover {
  transform: translateY(-6px);
  border-color: #d4af37;
  box-shadow: 0 16px 40px rgba(212, 175, 55, 0.18);
}

.insurance-img-wrap {
  width: 100%;
  height: 380px;
  background: #040710;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.insurance-img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
}

.insurance-body {
  padding: 26px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.insurance-carrier-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 4px;
  background: rgba(212, 175, 55, 0.16);
  color: #fce293;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin-bottom: 10px;
  width: fit-content;
}

.insurance-amount {
  font-family: var(--font-heading, 'Nunito Sans', sans-serif);
  font-size: 1.85rem;
  font-weight: 900;
  color: #f7d065;
  margin-bottom: 4px;
}

.insurance-title {
  font-family: var(--font-serif, 'Cormorant Garamond', serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 10px;
}

.insurance-desc {
  font-size: 0.9rem;
  line-height: 1.6;
  color: #94a3b8;
}

/* --------------------------------------------------------------------------
   Equipment Grid (6 Systems)
   -------------------------------------------------------------------------- */
.equipment-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  align-items: stretch;
}

.equipment-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.05);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.equipment-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(10, 20, 38, 0.1);
  border-color: rgba(212, 175, 55, 0.5);
}

.equipment-img-box {
  position: relative;
  width: 100%;
  height: 220px;
  background: #060b14;
  overflow: hidden;
  border-bottom: 1px solid #e2e8f0;
}

.equipment-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.equipment-card:hover .equipment-img {
  transform: scale(1.06);
}

.equipment-info {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.equipment-title {
  font-family: var(--font-serif, 'Cormorant Garamond', serif);
  font-size: 1.4rem;
  font-weight: 700;
  color: #0a1426;
  margin-bottom: 8px;
}

.equipment-specs {
  font-size: 0.9rem;
  line-height: 1.6;
  color: #475569;
}

/* --------------------------------------------------------------------------
   Clients Grid (13 Clients)
   -------------------------------------------------------------------------- */
.clients-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
  align-items: stretch;
}

.client-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 28px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
  transition: all 0.3s ease;
  height: 100%;
}

.client-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 30px rgba(10, 20, 38, 0.09);
  border-color: rgba(212, 175, 55, 0.5);
}

.client-logo-box {
  height: 90px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.client-logo-img {
  max-height: 80px;
  max-width: 180px;
  object-fit: contain;
  filter: grayscale(20%);
  transition: filter 0.3s ease, transform 0.3s ease;
}

.client-card:hover .client-logo-img {
  filter: grayscale(0%);
  transform: scale(1.06);
}

.client-name {
  font-family: var(--font-heading, 'Nunito Sans', sans-serif);
  font-size: 1.02rem;
  font-weight: 800;
  color: #0a1426;
  margin-bottom: 6px;
}

.client-sector {
  font-size: 0.78rem;
  color: #aa7c11;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-top: auto;
}

/* --------------------------------------------------------------------------
   Industries Grid (8 Sectors)
   -------------------------------------------------------------------------- */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  align-items: stretch;
}

.industry-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 32px 24px;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.04);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.industry-card:hover {
  transform: translateY(-6px);
  border-color: rgba(212, 175, 55, 0.5);
  box-shadow: 0 14px 32px rgba(10, 20, 38, 0.09);
}

.industry-icon-disc {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #060b14;
  border: 1.5px solid #d4af37;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fce293;
  margin-bottom: 18px;
}

.industry-title {
  font-family: var(--font-serif, 'Cormorant Garamond', serif);
  font-size: 1.45rem;
  font-weight: 700;
  color: #0a1426;
  margin-bottom: 10px;
}

.industry-desc {
  font-size: 0.92rem;
  line-height: 1.6;
  color: #475569;
}

/* --------------------------------------------------------------------------
   Step Cards Grid (4 Pillars)
   -------------------------------------------------------------------------- */
.step-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  align-items: stretch;
}

.step-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 30px 22px;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.04);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.step-card:hover {
  transform: translateY(-5px);
  border-color: #d4af37;
  box-shadow: 0 12px 28px rgba(10, 20, 38, 0.08);
}

.step-number-badge {
  font-family: var(--font-serif, 'Cormorant Garamond', serif);
  font-size: 2.2rem;
  font-weight: 700;
  color: #d4af37;
  line-height: 1;
  margin-bottom: 12px;
}

.step-card-title {
  font-family: var(--font-heading, 'Nunito Sans', sans-serif);
  font-size: 1.15rem;
  font-weight: 800;
  color: #0a1426;
  margin-bottom: 8px;
}

.step-card-desc {
  font-size: 0.9rem;
  line-height: 1.6;
  color: #475569;
}

/* --------------------------------------------------------------------------
   K9 Grid
   -------------------------------------------------------------------------- */
.k9-showcase-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.k9-img-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.k9-img-card {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, 0.35);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
  background: #040710;
}

.k9-img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.k9-img-card:hover .k9-img {
  transform: scale(1.05);
}

.k9-feature-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 28px;
}

.k9-feature-item {
  background: rgba(12, 21, 38, 0.75);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: 8px;
  padding: 18px;
}

.k9-feature-title {
  color: #fce293;
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.k9-feature-desc {
  color: #94a3b8;
  font-size: 0.88rem;
  line-height: 1.5;
}

/* Responsive */
@media (max-width: 1200px) {
  .clients-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .industries-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 992px) {
  .directors-grid,
  .cert-grid,
  .insurance-grid,
  .equipment-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .step-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .k9-showcase-grid {
    grid-template-columns: 1fr;
  }
  .clients-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .directors-grid,
  .cert-grid,
  .insurance-grid,
  .equipment-grid,
  .step-cards-grid,
  .clients-grid,
  .industries-grid {
    grid-template-columns: 1fr;
  }
  .k9-img-gallery {
    grid-template-columns: 1fr;
  }
  .subpage-hero {
    min-height: 360px;
    padding-top: calc(var(--header-height, 104px) + 20px);
  }
}

/* --------------------------------------------------------------------------
   Certificate Lightbox Modal Styles
   -------------------------------------------------------------------------- */
.cert-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.cert-lightbox.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.cert-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 7, 18, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 1;
}

.cert-lightbox-container {
  position: relative;
  z-index: 2;
  width: 95%;
  max-width: 860px;
  max-height: 94vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  outline: none;
}

.cert-lightbox-close {
  position: absolute;
  top: -46px;
  right: 0;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(212, 175, 55, 0.4);
  background: rgba(10, 20, 38, 0.85);
  color: #fce293;
  font-size: 26px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
}

.cert-lightbox-close:hover {
  background: #d4af37;
  color: #060b14;
  transform: rotate(90deg);
  border-color: #fce293;
  box-shadow: 0 0 16px rgba(212, 175, 55, 0.6);
}

.cert-lightbox-dialog {
  width: 100%;
  background: #080e1c;
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7), 0 0 40px rgba(212, 175, 55, 0.15);
  display: flex;
  flex-direction: column;
  max-height: 90vh;
}

.cert-lightbox-header {
  padding: 18px 24px 14px;
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
  background: #060b14;
  text-align: center;
}

.cert-lightbox-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: #fce293;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.cert-lightbox-title {
  font-family: var(--font-serif, 'Cormorant Garamond', serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 4px 0;
}

.cert-lightbox-sub {
  font-size: 0.85rem;
  color: #94a3b8;
  margin: 0;
}

.cert-lightbox-image-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: #02050c;
  overflow: auto;
  max-height: calc(88vh - 150px);
}

.cert-lightbox-img {
  max-width: 100%;
  max-height: calc(85vh - 160px);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.3s ease;
}

.cert-lightbox-footer {
  padding: 12px 24px;
  border-top: 1px solid rgba(212, 175, 55, 0.2);
  background: #060b14;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.cert-lightbox-nav {
  display: flex;
  align-items: center;
  gap: 14px;
}

.cert-lightbox-nav-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(212, 175, 55, 0.3);
  color: #f1f5f9;
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.cert-lightbox-nav-btn:hover {
  background: rgba(212, 175, 55, 0.2);
  border-color: #d4af37;
  color: #fce293;
}

.cert-lightbox-counter {
  font-size: 0.8rem;
  color: #94a3b8;
  font-weight: 600;
}

.cert-lightbox-download-link {
  font-size: 0.82rem;
  color: #fce293;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  transition: color 0.2s ease;
}

.cert-lightbox-download-link:hover {
  color: #ffffff;
  text-decoration: underline;
}

@media (max-width: 600px) {
  .cert-lightbox-close {
    top: -40px;
    right: 4px;
    width: 36px;
    height: 36px;
    font-size: 22px;
  }
  .cert-lightbox-footer {
    justify-content: center;
  }
  .cert-lightbox-title {
    font-size: 1.25rem;
  }
}

/* --------------------------------------------------------------------------
   Clients Carousel / Slider Section (Right to Left on Black BG, Slow Speed)
   -------------------------------------------------------------------------- */
.section-clients-dark {
  background: #020408;
  background: radial-gradient(circle at 50% 0%, #0a1324 0%, #020408 75%);
  padding: 85px 0 95px;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(212, 175, 55, 0.2);
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.clients-slider-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 16px 0 24px;
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

.clients-slider-track {
  display: flex;
  align-items: stretch;
  width: max-content;
  animation: slideRightToLeft 80s linear infinite;
  will-change: transform;
}

.clients-slider-track:hover {
  animation-play-state: paused;
}

@keyframes slideRightToLeft {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-50%);
  }
}

.client-slider-card {
  flex: 0 0 250px;
  width: 250px;
  background: #060b14;
  border: 1px solid rgba(212, 175, 55, 0.22);
  border-radius: 12px;
  padding: 18px 16px 20px;
  margin: 0 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease, background 0.35s ease;
  user-select: none;
}

.client-slider-card:hover {
  transform: translateY(-6px);
  border-color: #d4af37;
  background: #0d1629;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.8), 0 0 22px rgba(212, 175, 55, 0.3);
}

.client-slider-logo-wrap {
  width: 100%;
  height: 82px;
  background: transparent;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  margin-bottom: 14px;
  box-shadow: none;
}

.client-slider-logo-img {
  max-height: 64px;
  max-width: 185px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  border-radius: 6px;
  transition: transform 0.3s ease;
}

.client-slider-card:hover .client-slider-logo-img {
  transform: scale(1.05);
}

.client-slider-name {
  font-family: var(--font-heading, 'Nunito Sans', sans-serif);
  font-size: 0.9rem;
  font-weight: 700;
  color: #f8fafc;
  margin: 0 0 4px 0;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
}

.client-slider-sector {
  font-size: 0.72rem;
  font-weight: 800;
  color: #fce293;
  letter-spacing: 1px;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
}

@media (max-width: 768px) {
  .client-slider-card {
    flex: 0 0 210px;
    width: 210px;
    padding: 14px 12px 16px;
    margin: 0 8px;
  }
  .client-slider-logo-wrap {
    height: 72px;
  }
  .client-slider-logo-img {
    max-height: 52px;
    max-width: 150px;
  }
}


/* ==========================================================================
   HOMEPAGE HERO BANNER - RESPONSIVE & MOBILE REFINEMENTS
   Fixes mobile text wrapping, docked badge collision, and button visibility
   ========================================================================== */

/* Buttons baseline styling */
.hero-btn-group {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 6px;
  opacity: 1;
}

.btn-hero-primary {
  background: linear-gradient(135deg, #fbe089 0%, #e5a93b 50%, #c48b14 100%);
  color: #070c16 !important;
  font-family: var(--font-heading, 'Nunito Sans', sans-serif);
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.8px;
  padding: 13px 26px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  box-shadow: 0 4px 18px rgba(212, 175, 55, 0.35);
  transition: all 0.25s ease;
  border: none;
  cursor: pointer;
}

.btn-hero-primary:hover {
  background: linear-gradient(135deg, #fff2aa 0%, #f0bb4c 50%, #d49a1d 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(212, 175, 55, 0.55);
  color: #000000 !important;
}

.btn-hero-secondary {
  background: rgba(10, 20, 38, 0.75);
  border: 1.5px solid rgba(212, 175, 55, 0.6);
  color: #fce293 !important;
  font-family: var(--font-heading, 'Nunito Sans', sans-serif);
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.8px;
  padding: 13px 24px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all 0.25s ease;
  cursor: pointer;
}

.btn-hero-secondary:hover {
  background: rgba(212, 175, 55, 0.18);
  border-color: #d4af37;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(212, 175, 55, 0.3);
}

/* Ensure buttons are fully visible in entrance sequence */
.page-ready .hero-btn-group,
.intro-already-seen .hero-btn-group {
  opacity: 1 !important;
  transform: translateY(0) !important;
  transition-delay: 0.75s;
}

/* Desktop docked badge bar padding offset to clear floating call/wa buttons */
@media (min-width: 993px) {
  .hero-docked-badge-bar {
    padding-right: 95px;
  }
}

/* Tablet & Mobile Screens (<= 992px) */
@media (max-width: 992px) {
  .hero-section {
    min-height: auto;
    padding-top: calc(var(--header-height, 104px) + 24px);
    padding-bottom: 50px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  .hero-docked-badge-bar {
    position: relative;
    bottom: auto;
    right: auto;
    left: auto;
    margin: 32px auto 0;
    width: 100%;
    max-width: 580px;
    clip-path: none;
    border-radius: 12px;
    border: 1px solid rgba(212, 175, 55, 0.35);
    background: rgba(4, 7, 16, 0.94);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    padding: 14px 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
    z-index: 5;
    box-sizing: border-box;
  }

  .docked-badge-inner {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
    gap: 16px;
    width: 100%;
  }

  .docked-gold-divider {
    display: block;
    width: 1px;
    height: 38px;
    background: rgba(212, 175, 55, 0.4);
    flex-shrink: 0;
  }
}

/* Mobile Screens (<= 768px) */
@media (max-width: 768px) {
  .hero-content {
    max-width: 100%;
  }

  .hero-category {
    font-size: 0.74rem;
    letter-spacing: 2.2px;
    margin-bottom: 6px;
  }

  .hero-brand-name {
    font-size: clamp(2.35rem, 8.5vw, 3.4rem);
    letter-spacing: 2px;
    line-height: 1.05;
    margin-bottom: 4px;
    white-space: nowrap;
  }

  .hero-brand-sub {
    font-size: clamp(0.92rem, 3.4vw, 1.15rem);
    letter-spacing: 1.2px;
    line-height: 1.35;
    margin-top: 2px;
    margin-bottom: 14px;
  }

  .hero-headline-protecting {
    font-size: clamp(1.05rem, 3.8vw, 1.35rem);
    letter-spacing: 1.2px;
    margin-top: 2px;
    margin-bottom: 12px;
    gap: 6px;
  }

  .hero-tagline-quote {
    font-size: clamp(1.5rem, 5.5vw, 1.95rem);
    line-height: 1.22;
    margin-bottom: 4px;
  }

  .hero-tagline-pillars {
    font-size: 0.92rem;
    letter-spacing: 1px;
    margin-bottom: 18px;
  }

  .hero-trust-block {
    margin-bottom: 22px;
  }

  .hero-trust-heading {
    font-size: 1.12rem;
    margin-bottom: 4px;
  }

  .hero-trust-sub {
    font-size: 0.9rem;
    line-height: 1.55;
  }

  .hero-bg-img {
    object-position: 70% center;
  }

  .hero-gradient-overlay {
    background: linear-gradient(
      180deg,
      rgba(5, 8, 17, 0.88) 0%,
      rgba(5, 8, 17, 0.82) 40%,
      rgba(5, 8, 17, 0.94) 100%
    );
  }
}

/* Small Mobile Screens (<= 480px) */
@media (max-width: 480px) {
  .hero-section {
    padding-top: calc(var(--header-height, 90px) + 16px);
    padding-bottom: 45px;
  }

  .hero-brand-name {
    font-size: clamp(2.05rem, 8.2vw, 2.5rem);
    letter-spacing: 1.5px;
    white-space: nowrap;
  }

  .hero-brand-sub {
    font-size: 0.88rem;
    letter-spacing: 1px;
  }

  .hero-headline-protecting {
    font-size: 1.02rem;
    letter-spacing: 1px;
    gap: 5px;
  }

  .hero-tagline-quote {
    font-size: 1.48rem;
  }

  .hero-tagline-pillars {
    font-size: 0.85rem;
    letter-spacing: 0.8px;
    margin-bottom: 16px;
  }

  .hero-btn-group {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    width: 100%;
  }

  .btn-hero-primary,
  .btn-hero-secondary {
    width: 100%;
    justify-content: center;
    padding: 12px 18px;
    font-size: 0.84rem;
    box-sizing: border-box;
  }

  .hero-docked-badge-bar {
    margin: 24px 0 0 0;
    padding: 12px 14px;
    border-radius: 10px;
  }

  .docked-badge-inner {
    gap: 10px;
  }

  .docked-map-wrap {
    width: 38px;
    height: 30px;
  }

  .docked-flag-wrap {
    width: 28px;
    height: 28px;
  }

  .docked-sub-label {
    font-size: 0.58rem;
    letter-spacing: 0.8px;
  }

  .docked-main-gold {
    font-size: 0.96rem;
  }

  .docked-flag-text {
    font-size: 0.68rem;
  }

  .docked-gold-divider {
    height: 32px;
  }
}


/* --------------------------------------------------------------------------
   Protecting What Matters Most Banner - Text Centered Presentation
   -------------------------------------------------------------------------- */
.protecting-container,
.protecting-container-center {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
  display: block;
}

.protecting-guard-side {
  display: none !important;
}

.protecting-content-side {
  width: 100%;
  text-align: center;
}

.protecting-title-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 36px;
  text-align: center;
}

.protecting-accent-line {
  width: 50px;
  height: 2px;
  background: #d4af37;
  display: inline-block;
  flex-shrink: 0;
}

.protecting-title-text {
  font-family: var(--font-heading, 'Nunito Sans', sans-serif);
  font-size: clamp(1.35rem, 2.6vw, 1.85rem);
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 2.8px;
  text-transform: uppercase;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
}

.protecting-pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  align-items: stretch;
  justify-items: center;
}

.protecting-pillar-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 22px 20px;
  background: rgba(6, 12, 24, 0.65);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: 12px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  width: 100%;
  box-sizing: border-box;
}

.protecting-pillar-item:hover {
  transform: translateY(-5px);
  border-color: #d4af37;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.55), 0 0 18px rgba(212, 175, 55, 0.25);
}

.pillar-disc-box {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.28) 0%, rgba(212, 175, 55, 0.08) 100%);
  border: 1.5px solid #d4af37;
  color: #fce293;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
}

.pillar-heading {
  font-family: var(--font-heading, 'Nunito Sans', sans-serif);
  font-size: 1.15rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 8px;
  text-align: center;
}

.pillar-body {
  font-size: 0.92rem;
  line-height: 1.6;
  color: #cbd5e1;
  text-align: center;
  margin: 0;
}

/* --------------------------------------------------------------------------
   Ready to Upgrade Your Site Security - Background with ready.png
   -------------------------------------------------------------------------- */
.cta-ready-section {
  position: relative;
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: #060b16;
  border-top: 1px solid rgba(212, 175, 55, 0.28);
  border-bottom: 1px solid rgba(212, 175, 55, 0.28);
  padding: 85px 0;
  text-align: center;
}

.cta-ready-bg-wrap {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.cta-ready-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  filter: brightness(0.55) contrast(1.15);
}

.cta-ready-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle at 50% 50%,
    rgba(6, 11, 22, 0.68) 0%,
    rgba(4, 8, 16, 0.86) 65%,
    rgba(2, 4, 10, 0.96) 100%
  ),
  linear-gradient(
    180deg,
    rgba(4, 8, 16, 0.75) 0%,
    transparent 50%,
    rgba(4, 8, 16, 0.85) 100%
  );
}

.cta-ready-container {
  position: relative;
  z-index: 2;
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.cta-ready-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .protecting-pillars-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .protecting-title-row {
    gap: 12px;
  }
  .protecting-accent-line {
    width: 25px;
  }
  .protecting-title-text {
    font-size: 1.15rem;
    letter-spacing: 1.5px;
  }
  .cta-ready-section {
    padding: 60px 0;
    min-height: auto;
  }
}
