
body {
  font-family: 'Montserrat', sans-serif;
  background-color: #2d3a47;
  color: #f0f0f0;
}

.bg-light {
  background-color: #f8f9fa !important;
  color: #333;
}

.hse-hero {
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0,0,0,0.6)), url('../images/farmc.png');
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  height: 60vh;
  min-height: 400px;
  position: relative;
}

.hse-hero .container {
  position: relative;
  z-index: 2;
}

/* Cards Section */
.hse-content {
  position: relative;
  z-index: 2;
  margin-top: -50px;
  background: white;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.hse-card {
  background-color: #fff;
  border-radius: 1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.hse-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.hse-icon {
  width: 80px;
  height: 80px;
  object-fit: contain;
}

/* Policies Section */
.hse-policies {
  background-color: #f8f9fa;
}

.hse-policy-list {
  list-style: none;
  padding-left: 0;
}

.hse-policy-list li {
  padding: 8px 0;
  font-size: 1.1rem;
}

.hse-policy-list i {
  margin-right: 10px;
  font-size: 1.2rem;
}

/* Certifications Section */
.hse-certifications {
  background-color: #1f2c3c;
  color: #fff;
}

.certification-item {
  border: 1px solid #eee;
  border-radius: 8px;
  transition: all 0.3s ease;
  height: 100%;
}

.certification-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.certification-logo {
  height: 80px;
  object-fit: contain;
}

/* Case Cards */
.case-card {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.case-card:hover {
  transform: translateY(-5px);
}

.case-icon {
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.case-icon i {
  font-size: 3rem;
}

.case-content {
  padding: 20px;
}

.case-stats {
  margin-top: 15px;
}

.case-stats .badge {
  margin-right: 5px;
  font-size: 0.8rem;
  padding: 5px 10px;
}

.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease-out;
}

.fade-up.show {
  opacity: 1;
  transform: translateY(0);
}



@media (max-width: 768px) {
  .hse-hero {
    height: 50vh;
    min-height: 300px;
  }
  
  .hse-content {
    margin-top: 0;
  }
  
  .hse-policies .row > div {
    margin-bottom: 30px;
  }
  
  .certification-item {
    margin-bottom: 20px;
  }
}

@media (max-width: 576px) {
  .hse-hero {
    height: 40vh;
  }
  
  .hse-icon {
    width: 60px;
    height: 60px;
  }
}