/*----------------------------------------*/
/* Safety Tips Page Styles
/*----------------------------------------*/

/* Layout Utilities */
.section-padding-lg {
  padding: 120px 0;
}

.section-gradient {
  padding: 120px 0;
  background: linear-gradient(135deg, rgba(255, 107, 107, 0.05) 0%, rgba(255, 107, 237, 0.05) 100%);
}

.section-gradient-soft {
  padding: 120px 0;
  background: linear-gradient(135deg, rgba(255, 107, 107, 0.08) 0%, rgba(45, 52, 54, 0.04) 100%);
}

.section-gradient-deep {
  padding: 120px 0;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.section-light {
  padding: 120px 0;
  background: #f8f9fa;
}

/* Hero / Breadcrumb */
.safety-breadcrumb {
  position: relative;
  padding: 140px 0 120px;
  overflow: hidden;

  .bg-shape::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.85) 0%, rgba(118, 75, 162, 0.85) 100%);
    mix-blend-mode: multiply;
  }

  .breadcrumb-content {
    color: #fff;
    position: relative;

    h1 {
      font-size: 56px;
      font-weight: 800;
      margin-bottom: 18px;
      color: var(--black_900);

      span {
        color: #fff;
      }
    }

    p {
      max-width: 100%;
      color: var(--black_25);
    }
  }

  .hero-cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 30px;
  }
}

.safety-quick-stats {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  border-radius: 20px;
  padding: 35px 30px;
  display: flex;
  flex-direction: column;
  gap: 22px;

  .quick-stat-item {
    display: flex;
    gap: 18px;
    align-items: center;
    color: #fff;

    i {
      width: 52px;
      height: 52px;
      border-radius: 16px;
      background: rgba(255, 255, 255, 0.18);
      display: grid;
      place-items: center;
      font-size: 22px;
    }

    h4 {
      font-size: 28px;
      font-weight: 700;
      margin: 0 0 4px;
      color: var(--black_25);
    }

    p {
      margin: 0;
      font-size: 15px;
      opacity: 0.85;
      line-height: 1.5;
      color: var(--black_50);
    }
  }
}

/* Overview Section */
.badge-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 999px;
  background: rgba(255, 107, 107, 0.15);
  color: var(--brand_color);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 12px;
}

.section-heading {
  max-width: 680px;
  margin: 0 auto 50px;

  h2 {
    font-size: 40px;
    font-weight: 800;
    color: var(--black_900);
    margin: 20px 0 15px;
  }

  p {
    color: var(--black_600);
    font-size: 17px;
  }
}

.overview-card {
  height: 100%;
  background: #fff;
  border-radius: 22px;
  padding: 32px 26px;
  box-shadow: 0 20px 45px rgba(8, 15, 52, 0.08);
  transition: all 0.3s ease;

  &:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 55px rgba(8, 15, 52, 0.12);
  }
}

.overview-icon {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--brand_color) 0%, #ff6bed 100%);
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 26px;
  margin-bottom: 20px;
}

.overview-card h5 {
  font-size: 20px;
  font-weight: 700;
  color: var(--black_900);
  margin-bottom: 12px;
}

.overview-card p {
  color: var(--black_600);
  line-height: 1.7;
  margin: 0;
}

/* Essentials Section */
.safety-essentials {
  .section-heading {
    margin-bottom: 60px;
  }
}

.essential-card {
  background: #ffffff;
  border-radius: 24px;
  padding: 36px 32px;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;

  &:hover {
    transform: translateY(-10px);
    box-shadow: 0 24px 55px rgba(15, 23, 42, 0.12);
  }

  .card-header {
    display: flex;
    align-items: center;
    gap: 18px;
  }

  h3 {
    font-size: 24px;
    font-weight: 700;
    margin: 0;
    color: var(--black_900);
  }
}

.step-number {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--brand_color) 0%, #ff6bed 100%);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 18px;
  color: #fff;
}

.essential-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 14px;

  li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--black_600);
    font-size: 15px;
    line-height: 1.5;
  }

  i {
    color: #10b981;
  }
}

.essential-link {
  margin-top: auto;
  font-weight: 600;
  color: var(--brand_color);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  transition: gap 0.3s ease;

  &:hover {
    gap: 12px;
  }
}

/* Journey Section */
.journey-timeline {
  background: #fff;
  border-radius: 30px;
  padding: 45px 40px;
  box-shadow: 0 25px 60px rgba(15, 23, 42, 0.1);
}

.timeline-header {
  margin-bottom: 35px;

  h2 {
    font-size: 34px;
    font-weight: 800;
    color: var(--black_900);
    margin: 15px 0 10px;
  }

  p {
    color: var(--black_600);
    margin: 0;
  }
}

.timeline-item {
  position: relative;
  padding-left: 35px;
  margin-left: 10px;
  border-left: 2px solid rgba(255, 107, 107, 0.25);
  padding-bottom: 28px;

  &:last-child {
    border-left-color: transparent;
    padding-bottom: 0;
  }
}

.timeline-dot {
  position: absolute;
  left: -11px;
  top: 4px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand_color) 0%, #ff6bed 100%);
  box-shadow: 0 0 0 6px rgba(255, 107, 107, 0.15);
}

.timeline-content {
  h4 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
  }

  p {
    color: var(--black_600);
    margin-bottom: 15px;
  }
}

.timeline-actions {
  .text-link {
    font-weight: 600;
    color: var(--brand_color);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;

    &::after {
      content: '\f061';
      font-family: 'Font Awesome 5 Free';
      font-weight: 600;
      transition: transform 0.3s ease;
    }

    &:hover::after {
      transform: translateX(4px);
    }
  }
}

.journey-support {
  background: #fff;
  border-radius: 28px;
  padding: 40px 35px;
  box-shadow: 0 22px 55px rgba(15, 23, 42, 0.12);
  display: flex;
  flex-direction: column;
  gap: 24px;

  h3 {
    font-size: 28px;
    font-weight: 700;
    color: var(--black_900);
  }

  p {
    color: var(--black_600);
    margin: 0;
  }
}

.support-options {
  display: grid;
  gap: 14px;
}

.support-card {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 18px 20px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0.08) 100%);
  text-decoration: none;
  color: var(--black_900);
  transition: transform 0.3s ease, box-shadow 0.3s ease;

  &:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 25px rgba(15, 23, 42, 0.12);
  }

  h5 {
    margin: 0 0 4px;
    font-size: 18px;
    font-weight: 700;
  }

  p {
    margin: 0;
    font-size: 14px;
    color: var(--black_600);
  }
}

.support-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--brand_color) 0%, #ff6bed 100%);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 20px;
}

.journey-note {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 18px;
  padding: 16px 18px;
  color: #fff;

  i {
    font-size: 18px;
    margin-top: 3px;
  }

  p {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
  }
}

/* Toolkit Section */
.safety-toolkit {
  .section-heading {
    margin-bottom: 50px;
  }
}

.toolkit-card {
  background: #fff;
  border-radius: 24px;
  padding: 38px 32px;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.1);
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;

  &:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.14);
  }

  h4 {
    font-size: 22px;
    font-weight: 700;
    color: var(--black_900);
    margin: 0;
  }

  p {
    color: var(--black_600);
    margin: 0;
    line-height: 1.6;
  }

  .theme-btn,
  .theme-btn-outline {
    align-self: flex-start;
  }
}

.toolkit-icon {
  width: 62px;
  height: 62px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--brand_color) 0%, #ff6bed 100%);
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 26px;
}

/* Safety Stats Section */
.safety-stats-section {
  .section-title {
    font-size: 42px;
    font-weight: 700;
    color: var(--black_900);
  }

  .section-subtitle {
    font-size: 18px;
    color: var(--black_600);
  }
}

.stat-card {
  background: white;
  border-radius: 20px;
  padding: 40px 30px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;

  &::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--brand_color) 0%, #FF6BED 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
  }

  &:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);

    &::before {
      transform: scaleX(1);
    }
  }
}

.stat-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 25px;
  background: linear-gradient(135deg, var(--brand_color) 0%, #FF6BED 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  color: white;
}

.stat-number {
  font-size: 48px;
  font-weight: 800;
  color: var(--black_900);
  margin: 0;
  display: inline-block;
}

.stat-suffix {
  font-size: 32px;
  font-weight: 700;
  color: var(--brand_color);
  margin: 0;
  display: inline-block;
}

.stat-label {
  font-size: 16px;
  color: var(--black_600);
  margin-top: 10px;
}

/* Safety Navigation Tabs */
.safety-nav-tabs {
  background: white;
  border-radius: 50px;
  padding: 8px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
  gap: 10px;
  flex-wrap: wrap;

  .nav-link {
    border: none;
    border-radius: 40px;
    padding: 15px 30px;
    color: var(--black_600);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    background: transparent;

    i {
      font-size: 20px;
    }

    &:hover {
      color: var(--brand_color);
      background: rgba(255, 107, 107, 0.1);
    }

    &.active {
      background: linear-gradient(135deg, var(--brand_color) 0%, #FF6BED 100%);
      color: white;
    }
  }
}

/* Safety Content */
.safety-image-wrapper {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  margin: 0 20px;

  img {
    width: 100%;
    height: auto;
    border-radius: 20px;
  }
}

.safety-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.95);
  padding: 12px 24px;
  border-radius: 30px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);

  i {
    color: var(--brand_color);
    font-size: 18px;
  }

  &.alert-badge i {
    color: #ff4757;
  }
}

.safety-content {
  h3 {
    font-size: 36px;
    font-weight: 700;
    color: var(--black_900);
    padding-top: 30px;
  }
}

.safety-tips-list {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.tip-item {
  display: flex;
  gap: 20px;
  padding: 25px;
  background: #fff;
  border-radius: 15px;
  transition: all 0.3s ease;
  box-shadow: var(--bs_sm);

  &:hover {
    background: white;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transform: translateX(10px);
  }
}

.tip-icon {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--brand_color) 0%, #FF6BED 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 22px;
}

.alert-list .tip-icon.alert-icon {
  background: linear-gradient(135deg, #ff4757 0%, #ff6348 100%);
}

.tip-content {
  h5 {
    font-size: 18px;
    font-weight: 700;
    color: var(--black_900);
    margin-bottom: 8px;
  }

  p {
    font-size: 15px;
    color: var(--black_600);
    margin: 0;
    line-height: 1.6;
  }
}

/* Video Section */
.video-features-list {
  list-style: none;
  padding: 0;
  margin: 0;

  li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    color: var(--black_700);
    margin-bottom: 12px;
  }

  i {
    color: #10b981;
    font-size: 20px;
  }
}

.video-wrapper {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.video-placeholder {
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.9) 0%, rgba(118, 75, 162, 0.9) 100%), url('../img/members/member-05.png') center/cover;
  height: 400px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;

  &:hover {
    transform: scale(1.02);
  }

  i {
    font-size: 80px;
    color: white;
    margin-bottom: 15px;
  }

  p {
    color: white;
    font-size: 18px;
    font-weight: 600;
    margin: 0;
  }
}

/* Emergency Resources */
.emergency-card {
  background: white;
  border-radius: 20px;
  padding: 40px 30px;
  text-align: center;
  transition: all 0.3s ease;
  height: 100%;

  &:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
  }

  h4 {
    font-size: 22px;
    font-weight: 700;
    color: var(--black_900);
    margin-bottom: 15px;
  }

  p {
    font-size: 15px;
    color: var(--black_600);
    margin-bottom: 20px;
  }
}

.emergency-icon {
  margin: 0 auto 20px;
  background-color: #007bff;
  color: #ffffff;
  border: none; /* Example: removing the border */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 28px;
  transition: all 0.3s ease;
}


.emergency-link {
  display: inline-block;
  padding: 12px 30px;
  background: linear-gradient(135deg, var(--brand_color) 0%, #FF6BED 100%);
  color: white;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;

  &:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(255, 107, 107, 0.3);
    color: white;
  }
}

/* Commitment Section */
.commitment-stats {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
}

.commitment-stat-item {
  h3 {
    font-size: 40px;
    font-weight: 800;
    color: var(--brand_color);
    margin-bottom: 5px;
  }

  p {
    font-size: 14px;
    color: var(--black_600);
    margin: 0;
  }
}

.commitment-features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
}

.commitment-feature {
  background: white;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;

  &:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  }

  .feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--brand_color) 0%, #FF6BED 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    margin-bottom: 15px;
  }

  h5 {
    font-size: 18px;
    font-weight: 700;
    color: var(--black_900);
    margin-bottom: 10px;
  }

  p {
    font-size: 14px;
    color: var(--black_600);
    margin: 0;
  }
}

/* Checklist Section */
.checklist-card {
  background: white;
  border-radius: 30px;
  padding: 60px 40px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);

  h3 {
    font-size: 32px;
    font-weight: 700;
    color: var(--black_900);
  }
}

.checklist-icon {
  width: 100px;
  height: 100px;
  margin: 0 auto;
  background: linear-gradient(135deg, var(--brand_color) 0%, #FF6BED 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  color: white;
}

.checklist-features {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
}

.checklist-badge {
  background: linear-gradient(135deg, rgba(255, 107, 107, 0.1) 0%, rgba(255, 107, 237, 0.1) 100%);
  padding: 10px 20px;
  border-radius: 25px;
  color: var(--brand_color);
  font-weight: 600;
  font-size: 14px;

  i {
    margin-right: 5px;
  }
}

/* Utility Classes */
.theme-btn {
  background: linear-gradient(135deg, var(--brand_color) 0%, #FF6BED 100%);
  color: white;
  border: none;
  padding: 15px 35px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
  cursor: pointer;

  &:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 107, 107, 0.3);
    color: white;
  }
}

.theme-btn-outline {
  background: transparent;
  color: $brand_color;
  border: 2px solid $brand_color;
  padding: 15px 35px;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  cursor: pointer;
  z-index: 1;

  &:hover {
    background: var(--brand_color);
    border-color: var(--brand_color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 107, 107, 0.3);
  }
}

.hero-cta-group {
  .theme-btn-outline {
    color: #fff;
    border: 2px solid var(--brand_color_200);
    z-index: 1;

    &:hover {
      background: var(--brand_color);
      border-color: var(--brand_color);
      color: white;
      transform: translateY(-3px);
      box-shadow: 0 10px 25px rgba(255, 107, 107, 0.3);
    }
  }
}

/* Responsive Styles */
@media (max-width: 991px) {
  .safety-breadcrumb {
    padding: 120px 0 100px;

    .breadcrumb-content h1 {
      font-size: 42px;
    }

    .hero-cta-group {
      flex-direction: column;
      align-items: flex-start;
    }
  }

  .safety-quick-stats {
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 18px;

    .quick-stat-item {
      flex: 1 1 45%;
    }
  }

  .section-heading h2 {
    font-size: 32px;
  }

  .journey-timeline,
  .journey-support {
    padding: 35px 28px;
  }

  .timeline-header h2 {
    font-size: 28px;
  }

  .safety-stats-section .section-title {
    font-size: 32px;
  }

  .safety-content h3 {
    font-size: 28px;
  }

  .commitment-features-grid {
    grid-template-columns: 1fr;
  }

  .safety-nav-tabs .nav-link span {
    display: none;
  }

  .stat-number {
    font-size: 36px;
  }

  .support-card {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 575px) {
  .section-padding-lg,
  .section-gradient,
  .section-gradient-soft,
  .section-gradient-deep,
  .section-light {
    padding: 60px 0;
  }

  .safety-breadcrumb {
    padding: 100px 0 80px;

    .breadcrumb-content h1 {
      font-size: 36px;
    }

    .breadcrumb-content p {
      font-size: 16px;
    }
  }

  .safety-quick-stats {
    padding: 25px;

    .quick-stat-item {
      flex: 1 1 100%;
    }
  }

  .overview-card,
  .essential-card,
  .toolkit-card {
    padding: 28px 24px;
  }

  .journey-timeline,
  .journey-support {
    padding: 28px 24px;
  }

  .timeline-item {
    padding-left: 24px;
  }

  .checklist-card {
    padding: 40px 25px;
  }

  .stat-card {
    padding: 30px 20px;
  }

  .tip-item {
    flex-direction: column;
    text-align: center;
  }
}