body {
  margin: 0;
  font-family: 'Segoe UI', Arial, sans-serif;
  background: #f9f8f3;
  color: #3e3e1f;
}
.navbar {
  background: #f8f9fa;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  padding: 0.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 10;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}
.logo {
  font-weight: bold;
  font-size: 1.5rem;
  color: #2e5d34;
}
.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}
.nav-links li a {
  color: #205522;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
}
.nav-links li a:hover {
  background: #e6e2d3;
  color: #0d2c0f;
}
.hero {
  width: 100vw;
  min-width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  height: 380px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-image: url('../imge/bp-lot-2-bengal-couleur-human.jpg');
  background-color: #2e5d34; /* Using a solid color as a placeholder */
  background-size: cover;
  background-position:  center;
  background-repeat: no-repeat;
}
.hero::before {
  content: '';
  position: absolute;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.35);
  z-index: 0;
}
.hero h1, .hero p {
  position: relative;
  z-index: 1;
  color: #fff;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
}
.hero h1 {
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 1rem;
  letter-spacing: 2px;
}
.hero p {
  font-size: 1.3rem;
  font-weight: 400;
}
.hero-img {
  width: 180px;
  border-radius: 12px;
  margin-bottom: 1rem;
}
.slogan {
  color: #6b6b4e;
  font-size: 1.2rem;
}
.intro {
  max-width: 900px;
  margin: 2rem auto 1.5rem auto;
  font-size: 1.25rem;
  color: #2d3a2e;
  text-align: center;
  line-height: 1.7;
}
.cards {
  display: flex;
  gap: 2rem;
  justify-content: center;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}
.card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 24px rgba(32,85,34,0.08);
  padding: 2rem 1.5rem;
  width: 300px;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.18s, box-shadow 0.18s;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}
.card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 8px 32px rgba(32,85,34,0.16);
}
.card img {
  width: 56px;
  height: 56px;
  margin-bottom: 1rem;
  border-radius: 12px;
  object-fit: cover;
}
.card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #205522;
  text-align: center;
}
.card p {
  font-size: 1rem;
  color: #444;
  margin-bottom: 1rem;
  text-align: center;
}
.card a {
  color: #4b7c2a;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1.5px solid #b7d7a8;
  transition: color 0.2s, border 0.2s;
}
.card a:hover {
  color: #205522;
  border-bottom: 1.5px solid #205522;
}

/* === Energy Management Page Styles === */

/* Hero image for the energy page */
.hero-energy {
    /* background-image: url('../imge/bp-lot-2-bengal-couleur-human.avif'); */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Breadcrumb Navigation */
.breadcrumb {
    padding: 1rem 2rem;
    background-color: #f1f1f1;
    font-size: 0.9rem;
}
.breadcrumb a {
    color: #2e5d34;
    text-decoration: none;
}
.breadcrumb a:hover {
    text-decoration: underline;
}

/* General section styling */
.container > section {
    margin-bottom: 3rem;
    padding: 0 1rem;
}

.intro .golden-rule {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2e5d34;
    background-color: #eaf3e8;
    padding: 1rem;
    border-left: 5px solid #5a8a5e;
    border-radius: 8px;
    margin-top: 1.5rem;
}

.highlight-section {
    background-color: #f0f7f0;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
}
.highlight-section h2 {
    color: #205522;
}

.activities h3 {
    font-size: 1.5rem;
    color: #3e3e1f;
    margin-bottom: 1.5rem;
    text-align: center;
    border-bottom: 2px solid #e6e2d3;
    padding-bottom: 0.5rem;
    font-weight: bold;
    color: #FFA500; /* Accent Orange */
    margin-bottom: 1rem;
}

.card-container {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.card .card-icon {
    font-size: 3rem;
    color: #4a6c6f;
    margin-bottom: 1rem;
}

/* Schedule / Timeline */
.schedule .important-note {
    text-align: center;
    font-style: italic;
    color: #6b6b4e;
    margin-bottom: 2rem;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 1rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    width: 2px;
    background-color: #e6e2d3;
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1px;
}

.timeline-item {
    padding: 1rem 2rem;
    position: relative;
    width: 50%;
}

.timeline-item:nth-child(odd) {
    left: 0;
    padding-right: 40px;
    text-align: right;
}

.timeline-item:nth-child(even) {
    left: 50%;
    padding-left: 40px;
    text-align: left;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    background-color: white;
    border: 3px solid #FFC107; /* Accent Yellow/Orange */
    top: 28px;
    border-radius: 50%;
    z-index: 1;
}

.timeline-item:nth-child(odd)::after {
    right: -8px;
}

.timeline-item:nth-child(even)::after {
    left: -8px;
}

.timeline-time {
    font-weight: bold;
    color: #205522;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

/* Safety Section */
.safety-notes h2 {
    text-align: center;
}
.safety-box {
    background-color: #fff9e6;
    border: 2px solid #FFC107;
    border-radius: 12px;
    padding: 1rem 1.5rem;
    max-width: 900px;
    margin: 1rem auto;
}
.safety-box p {
    margin: 0.8rem 0;
}

/* Conclusion */
.conclusion {
    text-align: center;
}

footer {
  background: #f8f9fa;
  color: #888;
  font-size: 0.95rem;
  text-align: center;
  padding: 1.5rem 0 1rem 0;
  margin-top: 2rem;
  border-top: 1px solid #e6e2d3;
}

/* === Responsive Styles === */
@media (max-width: 900px) {
  .cards { flex-direction: column; align-items: center; }
}

@media (max-width: 768px) {
    .timeline::before {
        left: 20px;
    }
    .timeline-item, .timeline-item:nth-child(even), .timeline-item:nth-child(odd) {
        width: 100%;
        left: 0;
        padding-left: 50px;
        padding-right: 15px;
        text-align: left;
    }
    .timeline-item::after, .timeline-item:nth-child(odd)::after, .timeline-item:nth-child(even)::after {
        left: 12px;
    }
}

/* Training Integration Section */
.training-integration {
    max-width: 900px;
    margin: 2rem auto;
}
.training-integration ul {
    list-style-type: none;
    padding-left: 0;
    margin: 1rem 0;
}
.training-integration li {
    background-color: #f8f8f2;
    padding: 1rem;
    border-left: 4px solid #b7d7a8;
    margin-bottom: 0.75rem;
    border-radius: 0 8px 8px 0;
}

.icon-grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.5rem;
    text-align: center;
    margin-bottom: 2rem;
}

.icon-item {
    flex-basis: 200px;
    flex-grow: 1;
}

.icon-display {
    font-size: 3.5rem;
    color: #4a6c6f;
    margin-bottom: 1rem;
}

/* Accordion styles for health section */
.accordion {
    max-width: 900px;
    margin: 2rem auto;
}
.accordion-header {
    background-color: #f1f1f1;
    color: #444;
    cursor: pointer;
    padding: 18px;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    font-size: 1.1rem;
    transition: background-color 0.4s;
    border-bottom: 1px solid #ddd;
}
.accordion-header:hover, .accordion-header.active {
    background-color: #e6e2d3;
}
.accordion-header::after {
    content: '\\002B'; /* Plus sign */
    color: #777;
    font-weight: bold;
    float: right;
    margin-left: 5px;
}
.accordion-header.active::after {
    content: "\\2212"; /* Minus sign */
}
.accordion-content {
    padding: 0 18px;
    background-color: white;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
    border-bottom: 1px solid #ddd;
}
.accordion-content p {
    padding: 1rem 0;
}

/* Checklist styles */
.checklist-section {
    text-align: center;
}
.checklist-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 1.5rem;
}
.checklist {
    background: #f8f8f2;
    padding: 1.5rem;
    border-radius: 12px;
    flex-basis: 300px;
    flex-grow: 1;
    text-align: left;
}
.checklist h4 {
    border-bottom: 2px solid #e6e2d3;
    padding-bottom: 0.5rem;
    margin-top: 0;
}
.checklist ul {
    list-style-type: '✓ ';
    padding-left: 1.2rem;
}

.activities {
    padding-bottom: 2rem;
}

.hero-section {
  width: 100vw;
  min-width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  height: 380px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-image: url('../imge/bp-lot-2-bengal-couleur-human.jpg');
  background-color: #2e5d34;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-section::before {
  content: '';
  position: absolute;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.35);
  z-index: 0;
}

.hero-section h1, .hero-section p {
  position: relative;
  z-index: 1;
  color: #fff;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
}

.hero-section h1 {
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 1rem;
  letter-spacing: 2px;
}

.hero-section p {
  font-size: 1.3rem;
  font-weight: 400;
}

.hero-section-img {
  width: 180px;
  border-radius: 12px;
  margin-bottom: 1rem;
}

.hero-section-slogan {
  color: #6b6b4e;
  font-size: 1.2rem;
}

.hero-section-intro {
  max-width: 900px;
  margin: 2rem auto 1.5rem auto;
  font-size: 1.25rem;
  color: #2d3a2e;
  text-align: center;
  line-height: 1.7;
}

.hero-section-cards {
  display: flex;
  gap: 2rem;
  justify-content: center;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.hero-section-card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 24px rgba(32,85,34,0.08);
  padding: 2rem 1.5rem;
  width: 300px;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.18s, box-shadow 0.18s;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}

.hero-section-card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 8px 32px rgba(32,85,34,0.16);
}

.hero-section-card img {
  width: 56px;
  height: 56px;
  margin-bottom: 1rem;
  border-radius: 12px;
  object-fit: cover;
}

.hero-section-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #205522;
  text-align: center;
}

.hero-section-card p {
  font-size: 1rem;
  color: #444;
  margin-bottom: 1rem;
  text-align: center;
}

.hero-section-card a {
  color: #4b7c2a;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1.5px solid #b7d7a8;
  transition: color 0.2s, border 0.2s;
}

.hero-section-card a:hover {
  color: #205522;
  border-bottom: 1.5px solid #205522;
} 