/* SOP PAGE SPECIFIC STYLES */
.sop-hero {
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../images/hero.png') no-repeat center center;
  background-size: cover;
  padding: 200px 30px 150px; /* Diperbesar dari 150px 20px 100px */
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
  margin-top: 60px;
  min-height: 90vh; /* Menambahkan tinggi minimum untuk hero */
  display: flex;
  align-items: center;
}

.hero-overlay {
  position: relative;
  z-index: 2;
  width: 100%;
}

.sop-hero h1 {
  font-size: 4.1rem; /* Diperbesar dari 2.5rem */
  margin-bottom: 30px; /* Diperbesar dari 15px */
  text-transform: uppercase;
  letter-spacing: 1.5px; /* Sedikit diperlebar */
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7); /* Shadow lebih tebal */
  line-height: 1.2;
}

.sop-hero p {
  font-size: 1.5rem; /* Diperbesar dari 1.2rem */
  opacity: 0.95;
  font-weight: 400; /* Sedikit lebih tebal */
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.6); /* Shadow lebih tebal */
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.6;
}

.sop-intro {
  padding: 60px 0;
  background-color: #f5f8fb;
}

.intro-box {
  background-color: var(--primary-color);
  color: white;
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.intro-box::before {
  content: "";
  position: absolute;
  top: 15px;
  left: 15px;
  right: 15px;
  bottom: 15px;
  border: 2px dashed rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  pointer-events: none;
}

.intro-box h2 {
  font-size: 28px;
  margin-bottom: 20px;
  color: var(--accent-color);
}

.intro-box p {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 0;
}

.sop-content {
  padding: 60px 0;
  background-color: var(--white);
}

.sop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.sop-card {
  background-color: #e8f3ff;
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.sop-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background-color: var(--primary-color);
}

.sop-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.sop-icon {
  width: 60px;
  height: 60px;
  background-color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: white;
  font-size: 24px;
}

.sop-card h3 {
  font-size: 18px;
  margin-bottom: 15px;
  color: var(--primary-color);
  line-height: 1.4;
  min-height: 50px;
}

.sop-card p {
  font-size: 14px;
  line-height: 1.6;
  color: #444;
  margin-bottom: 20px;
  flex-grow: 1;
}

.download-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--primary-color);
  color: white;
  padding: 10px 15px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  margin-top: auto;
}

.download-btn i {
  margin-right: 8px;
}

.download-btn:hover {
  background-color: var(--secondary-color);
  transform: translateY(-2px);
}

.no-sop-message {
  grid-column: 1 / -1;
  text-align: center;
  padding: 40px;
  background-color: #f8f9fa;
  border-radius: 12px;
  color: #6c757d;
}

/* Animation */
.fade-in {
  animation: fadeIn 0.8s ease forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* RESPONSIVE STYLES */
@media (max-width: 1024px) {
  .sop-grid {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
  }

  .sop-hero h1 {
    font-size: 2.8rem;
  }
  
  .sop-hero p {
    font-size: 1.3rem;
  }
}

@media (max-width: 768px) {
  .sop-hero {
    padding: 150px 20px 100px; /* Diperbesar dari 120px 20px 80px */
    min-height: 50vh;
  }
  
  .sop-hero h1 {
    font-size: 2.3rem; /* Diperbesar dari 2rem */
  }
  
  .sop-hero p {
    font-size: 1.2rem; /* Diperbesar dari 1rem */
  }
  
  .intro-box {
    padding: 30px 20px;
  }
  
  .intro-box h2 {
    font-size: 24px;
  }
  
  .intro-box p {
    font-size: 15px;
  }
  
  .sop-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .sop-card {
    padding: 20px;
  }
  
  .sop-card h3 {
    font-size: 17px;
    min-height: auto;
  }
}

@media (max-width: 576px) {
  .sop-hero {
    padding: 130px 20px 90px;
    min-height: 45vh;
  }
  
  .sop-hero h1 {
    font-size: 2rem; /* Diperbesar dari 1.8rem */
    margin-bottom: 15px;
  }
  
  .sop-hero p {
    font-size: 1.1rem;
    line-height: 1.5;
  }
  
  .intro-box {
    padding: 25px 15px;
    border-radius: 12px;
  }
  
  .intro-box h2 {
    font-size: 22px;
  }
  
  .intro-box p {
    font-size: 14px;
  }
  
  .sop-card {
    padding: 18px;
  }
  
  .sop-icon {
    width: 50px;
    height: 50px;
    font-size: 20px;
  }
  
  .sop-card h3 {
    font-size: 16px;
  }
  
  .sop-card p {
    font-size: 13px;
  }
  
  .download-btn {
    padding: 8px 12px;
    font-size: 14px;
  }
}