/* ============================================
   SAFETY PAGE STYLES
   ============================================ */

/* Safety Intro */
.safety-intro {
  padding: 2rem 0 3rem;
}

.safety-hero {
  background: linear-gradient(135deg, #0f2a38 0%, #1f4a5e 100%);
  border-radius: 28px;
  padding: 3.5rem 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.safety-hero::after {
  content: '';
  position: absolute;
  right: -50px;
  bottom: -50px;
  width: 300px;
  height: 300px;
  background: rgba(217, 179, 130, 0.05);
  border-radius: 50%;
  pointer-events: none;
}

.safety-hero::before {
  content: '';
  position: absolute;
  left: -80px;
  top: -80px;
  width: 200px;
  height: 200px;
  background: rgba(217, 179, 130, 0.03);
  border-radius: 50%;
  pointer-events: none;
}

.safety-hero-content {
  flex: 1;
  position: relative;
  z-index: 2;
}

.safety-badge {
  display: inline-block;
  background: rgba(217, 179, 130, 0.15);
  color: #d9b382;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.3rem 1.2rem;
  border-radius: 30px;
  border: 1px solid rgba(217, 179, 130, 0.2);
  margin-bottom: 0.8rem;
}

.safety-badge i {
  margin-right: 0.4rem;
}

.safety-hero-content h2 {
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
  line-height: 1.2;
}

.safety-hero-content p {
  font-size: 1.05rem;
  opacity: 0.9;
  line-height: 1.7;
}

.safety-hero-icon {
  width: 120px;
  height: 120px;
  background: rgba(217, 179, 130, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: #d9b382;
  flex-shrink: 0;
  border: 2px solid rgba(217, 179, 130, 0.15);
  position: relative;
  z-index: 2;
  animation: pulse-icon 3s ease-in-out infinite;
}

@keyframes pulse-icon {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.05); opacity: 0.8; }
}

/* ============================================
   ZIG ZAG LAYOUT
   ============================================ */
.safety-steps {
  padding: 3rem 0 2rem;
}

.zigzag-container {
  position: relative;
  padding: 2rem 0;
  max-width: 1000px;
  margin: 0 auto;
}

.zigzag-container::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, #d9b382, #1f4a5e, #d9b382);
  transform: translateX(-50%);
  border-radius: 4px;
}

.zigzag-item {
  position: relative;
}

.zigzag-item:last-child {
  margin-bottom: 0;
}

.zigzag-card {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  background: #ffffff;
  padding: 1.8rem 2rem;
  border-radius: 24px;
  border: 1px solid #e6ecf2;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  width: calc(50% - 40px);
  cursor: pointer;
}

/* Left side cards */
.zigzag-card.left {
  margin-right: auto;
  border-left: 4px solid #d9b382;
}

.zigzag-card.left::after {
  content: '';
  position: absolute;
  right: -20px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  background: #d9b382;
  border-radius: 50%;
  border: 3px solid #ffffff;
  box-shadow: 0 0 0 3px #d9b382;
}

/* Right side cards */
.zigzag-card.right {
  margin-left: auto;
  border-right: 4px solid #1f4a5e;
}

.zigzag-card.right::after {
  content: '';
  position: absolute;
  left: -20px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  background: #1f4a5e;
  border-radius: 50%;
  border: 3px solid #ffffff;
  box-shadow: 0 0 0 3px #1f4a5e;
}

/* Hover Effects */
.zigzag-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.1);
  border-color: #d9b382;
}

.zigzag-card.left:hover {
  border-left-color: #d9b382;
  box-shadow: 0 16px 48px rgba(217, 179, 130, 0.15);
}

.zigzag-card.right:hover {
  border-right-color: #d9b382;
  box-shadow: 0 16px 48px rgba(31, 74, 94, 0.15);
}

.zigzag-card:hover .zigzag-number {
  background: #d9b382;
  color: #0f2a38;
  transform: rotate(360deg) scale(1.1);
}

.zigzag-card:hover .zigzag-icon {
  background: #d9b382;
  color: #0f2a38;
  transform: rotateY(180deg);
}

.zigzag-card:hover .zigzag-content h3 {
  color: #d9b382;
}

.zigzag-number {
  position: absolute;
  top: -12px;
  left: -12px;
  width: 40px;
  height: 40px;
  background: #1f4a5e;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.85rem;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.zigzag-card.right .zigzag-number {
  left: auto;
  right: -12px;
}

.zigzag-icon {
  width: 56px;
  height: 56px;
  background: #e8f0f5;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: #1f4a5e;
  flex-shrink: 0;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.zigzag-content {
  flex: 1;
}

.zigzag-content h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #0f2a38;
  margin-bottom: 0.2rem;
  transition: color 0.3s ease;
}

.zigzag-content p {
  color: #2a4050;
  font-size: 0.92rem;
  line-height: 1.7;
  margin: 0;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
  padding: 3rem 0 4rem;
}

.cta-box {
  background: linear-gradient(135deg, #0f2a38 0%, #1f4a5e 100%);
  border-radius: 24px;
  padding: 3rem 4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.cta-content h2 {
  color: #ffffff;
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.cta-content p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.05rem;
}

.cta-actions {
  flex-shrink: 0;
}

.btn-primary {
  background: #d9b382;
  color: #0f2a38;
  padding: 0.8rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background: #c9a272;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(217, 179, 130, 0.3);
}

.btn-lg {
  padding: 1rem 2.5rem;
  font-size: 1.05rem;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 992px) {
  .safety-hero {
    padding: 2.5rem;
    flex-direction: column;
    text-align: center;
  }
  
  .safety-hero-icon {
    width: 90px;
    height: 90px;
    font-size: 3rem;
  }
  
  .safety-hero-content h2 {
    font-size: 2rem;
  }
  
  .zigzag-container::before {
    display: none;
  }
  
  .zigzag-card {
    width: 100%;
    margin: 0 !important;
    border-left: 4px solid #d9b382 !important;
    border-right: none !important;
  }
  
  .zigzag-card::after {
    display: none !important;
  }
  
  .zigzag-card .zigzag-number {
    left: -12px !important;
    right: auto !important;
  }
  
  .zigzag-item {
    margin-bottom: 2rem;
  }
}

@media (max-width: 768px) {
  .safety-hero {
    padding: 2rem 1.5rem;
  }
  
  .safety-hero-content h2 {
    font-size: 1.6rem;
  }
  
  .safety-hero-icon {
    width: 70px;
    height: 70px;
    font-size: 2.4rem;
  }
  
  .zigzag-card {
    padding: 1.2rem 1.5rem;
    flex-direction: column;
    align-items: flex-start;
  }
  
  .zigzag-icon {
    width: 48px;
    height: 48px;
    font-size: 1.3rem;
  }
  
  .zigzag-content h3 {
    font-size: 1rem;
  }
  
  .zigzag-content p {
    font-size: 0.85rem;
  }
  
  .cta-box {
    padding: 2rem;
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .safety-hero-content h2 {
    font-size: 1.3rem;
  }
  
  .safety-badge {
    font-size: 0.7rem;
  }
  
  .zigzag-card {
    padding: 1rem 1.2rem;
  }
  
  .zigzag-number {
    width: 32px;
    height: 32px;
    font-size: 0.75rem;
  }
  
  .cta-content h2 {
    font-size: 1.3rem;
  }
}