/* css/style.css */

body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
}
/* hero section */


#hero {
  position: relative;
  overflow: hidden;
}

.hero-container {
  position: relative;
  width: 100%;
  height: 90vh;
  overflow: hidden;
}

.hero-img {
  object-fit: cover;
  width: 100%;
  height: 100%;
  filter: brightness(80%);
}

.hero-text-box {
  background: rgba(0, 0, 0, 0.6); /* semi-transparent black box */
  z-index: 2;
  max-width: 700px;
}

/* end */

  .card-img-top {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
  }

/* Emergency Section Narrow Cards */
.emergency-card {
  max-width: 230px;
  margin: 0 auto;
}




.bg-white {
  background-color: #412727;
}

ul li a {
  color: #007BFF;
  text-decoration: none;
}
ul li a:hover {
  text-decoration: underline;
}
.map-box {
  border-radius: 12px;
  overflow: hidden;
}


.education-img {
  width: 100%;
  height: 200px;       
  object-fit: cover;   
  border-radius: 10px;
}


/* ======= Educational Section Styling ======= */
.education-section {
  background-color: #f9f9f9;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
  margin-bottom: 40px;
  transition: all 0.3s ease-in-out;
}

.section-heading {
  color: #1e3a3a;
  font-weight: 600;
  margin-bottom: 20px;
  border-left: 4px solid #0d6efd;
  padding-left: 10px;
}

.video-list li,
.resource-list li {
  padding: 10px 0;
  font-size: 1.1rem;
  transition: 0.3s;
}

.video-list li a,
.resource-list li a {
  text-decoration: none;
  color: #0d6efd;
}

.video-list li a:hover,
.resource-list li a:hover {
  text-decoration: underline;
  color: #063970;
  padding-left: 6px;
}
/* ===== Safety Section Styles ===== */
section.bg-light {
  background-color: #f9fafa !important;
}

section h2 {
  font-weight: 700;
  color: #0d3b66;
}

.card {
  border: none;
  border-radius: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
}

.card h4 {
  font-size: 1.2rem;
  font-weight: 600;
  color: #1c3a3e;
  margin-bottom: 12px;
}

.card p {
  color: #4a4a4a;
  font-size: 1rem;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .card h4 {
    font-size: 1.1rem;
  }
  .card p {
    font-size: 0.95rem;
  }
}


.info-card {
  background-color: #fff;
  border-radius: 16px;
  padding: 25px 15px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
  transition: transform 0.4s ease, box-shadow 0.3s ease;
}
.info-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}
.icon {
  font-size: 40px;
  margin-bottom: 15px;
  animation: bounce 2s infinite;
}
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/*education  */
.hover-shadow:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease-in-out;
}
.transition {
  transition: all 0.3s ease-in-out;
}
.card-img-top {
  height: 180px;
  object-fit: cover;
  border-top-left-radius: 0.5rem;
  border-top-right-radius: 0.5rem;
}


/*education FAQ */


.accordion-button {
  background-color: #f1f5f9;
  color: #1e293b;
  font-weight: 500;
}
.accordion-button:focus {
  box-shadow: none;
}
.accordion-body {
  background-color: #fff;
  color: #374151;
}


/*custom nav item*/



  













