body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #000000;
  }
  
html{
  scroll-behavior: smooth;
  /* scroll-behavior: smooth; */
}
  
  .alerts-center {
    /* background: linear-gradient(to bottom right, #1f1b2e, #2c1c33);
     */
     
     background-color: #28282b;
    color: white;
    padding: 40px 20px;
  }
  
  .alerts-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
  }
  
  .alerts-header h1 {
    font-size: 32px;
    margin: 0;
  }
  
  .alerts-header p {
    font-size: 16px;
    margin-top: 8px;
    /* max-width: 600px; */
    width:100%vw ;

  }
  
  .buttons button {
    padding: 10px 20px;
    margin-left: 10px;
    font-size: 14px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s ease;
  }
  
  .report-btn {
    background-color: #fff;
    color: #e53935;
    border: 2px solid #e53935;
  }
  
  .report-btn:hover {
    background-color: #e53935;
    color: white;
  }
  
  .subscribe-btn {
    background-color: #e53935;
    color: white;
  }
  
  .subscribe-btn:hover {
    background-color: #c62828;
  }
  
  .alerts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 30px;
  }
  
  .alert-box {
    background-color: #1b2330;
    border-radius: 10px;
    padding: 20px;
    /* position: relative; */
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .alert-box p {
    margin: 0;
    font-size: 14px;
    color: #000000;
  }
  
  .alert-box h2 {
    margin: 5px 0 0;
    font-size: 24px;
    color: rgb(0, 0, 0);
  }
  
  .alert-box .icon {
    font-size: 28px;
  }
  
  .critical {
    border-left: 4px solid #f44336;
  }
  
  .warning {
    border-left: 4px solid #ff9800;
  }
  
  .advisory {
    border-left: 4px solid #fdd835;
  }
  
  .info {
    border-left: 4px solid #2196f3;
  }

  .navbar2 {
    background-color: #ffffff;
    color: #000;
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    width: 100%;
    height: 12vh;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1000;
  }
  
  .logo-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5em;
    font-weight: bold;
  }
  
  .sub-title {
    font-weight: 300;
    margin-left: 5px;
  }
  
  .navbar-links {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-right: 50px;
  }
  
  .navbar a {
    display: flex;
    align-items: center;
    gap: 50px;
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
  }
  
  .navbar a:hover {
    color: #007bff;
  }
  
  .navbar-icon{
    width: 24px;
    height: 24px;
    border-radius: 50%;
    padding: 5px;
    transition: background-color 0.3s ease, transform 0.2s ease;
  }
  
  .navbar-icon:hover {
    background-color: #f0f0f0;
    transform: scale(1.1);
  }
  /* news */
  .news-container {
    max-width: 900px;
    margin: auto;
  }

  .alert-box {
    background-color: #fff;
    border-left: 5px solid;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  }

  /* Specific border colors based on alert type */
  .evacuation { border-left-color: #ee5c5c; }
  .update-blue { border-left-color: #3f83f8; }
  .update-orange { border-left-color: #f97316; }

  .alert-news-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
  }

  .alert-news-header h3 {
    font-size: 18px;
    font-weight: 700;
  }

  .status-dot {
    height: 10px;
    width: 10px;
    background-color: #f44336;
    border-radius: 50%;
    display: inline-block;
  }

  .alert-news-tag {
    background-color: #888;
    color: white;
    text-align: center;
    border-radius: 15px;
    font-size: 12px;
    padding: 3px 8px;
    font-weight: 600;
    margin-left: 0px;
  }

  .evacuation .alert-news-tag { background-color: #ee5c5c; }
  .update-blue .alert-news-tag { background-color: #3f83f8; }
  .update-orange .alert-news-tag { background-color: #f97316; }

  .alert-news-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    color: #666;
    font-size: 14px;
    margin-bottom: 10px;
  }

  .read-more {
    color: #333;
    font-size: 14px;
    font-weight: 500;
    display: inline-block;
    margin-bottom: 10px;
  }

  .acknowledge {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #888;
    font-size: 14px;
  }

  .acknowledge i {
    margin-right: 5px;
  }

  body {
    overflow-x: hidden;
}


/* map */
.map-container {
  background: white;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  max-width: 1000px;
  margin: auto;
}

h2 {
  margin-bottom: 5px;
}

#map {
  height: 500px;
  width: 100%;
  border-radius: 8px;
  margin: 20px 0;
}

.legend {
  background: white;
  padding: 10px;
  font-size: 14px;
  border-radius: 6px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  line-height: 1.6;
}

.legend span {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 8px;
  border-radius: 50%;
}

.zone-label {
  color: white;
  font-weight: bold;
  padding: 2px 6px;
  border-radius: 12px;
  font-size: 12px;
}

.update-time {
  font-size: 13px;
  color: #555;
  display: flex;
  align-items: center;
  gap: 5px;
}

.controls {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
}

.btn {
  padding: 6px 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  background: #fff;
  cursor: pointer;
  font-weight: 500;
}

.btn:hover {
  background: #f0f0f0;
}

.icon {
  font-size: 16px;
}







/* emergency */

.accordion-container {
  max-width: 800px;
  margin: auto;
  margin-top: 50px;
  margin-bottom: 50px;
  background: white;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  padding: 20px;
  
}

h2 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 20px;
}

.accordion-item {
  border-bottom: 1px solid #e0e0e0;
}

.accordion-header {
  padding: 15px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.3s ease;
}

.accordion-header:hover {
  background: #f3f4f6;
}

.accordion-content {
  display: none;
  padding: 10px 15px 20px;
  background: #f9fafb;
  animation: fadeIn 0.3s ease-in-out;
}

.contact-list {
  background: #f9fafb;
  border-radius: 6px;
  overflow: hidden;
}

.contact-list div {
  display: flex;
  justify-content: space-between;
  padding: 10px 15px;
  font-size: 15px;
  border-bottom: 1px solid #e0e0e0;
}

.contact-list div:last-child {
  border-bottom: none;
}

.contact-list div span:last-child {
  font-weight: 700;
  color: #111;
}

.rotate {
  transform: rotate(180deg);
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-5px); }
  to { opacity: 1; transform: translateY(0); }
}

.arrow {
  transition: transform 0.3s ease;
}


.footer {
  background-color: #0d1117;
  color: #ffffff;
  padding: 40px 20px 20px;
  font-family: Arial, sans-serif;
  width:100vw;
  margin-bottom: 20px;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
}

.footer-section {
  flex: 1 1 250px;
}

.footer h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.footer p {
  font-size: 14px;
  line-height: 1.6;
}

.footer-icon {
  color: red;
  margin-right: 5px;
}

.subscribe-form {
  display: flex;
  margin-top: 10px;
  max-width: 300px;
}

.subscribe-form input {
  padding: 8px 10px;
 /* flex: 1;  */
  border: 6px;
  border-radius: 5px;
  font-size: 14px;
  margin-right: 10px;
}

.subscribe-form button {
  margin: 8px;
  padding: 2px 15px;
  background-color: #ff4b4b;
  color: white;
  border: 2px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 14px;
  transition: background-color 0.3s;
}

.subscribe-form button:hover {
  background-color: #e13b3b;
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid #444;
  margin-top: 30px;
  padding-top: 15px;
  font-size: 13px;
  color: #aaa;
}
body {
  overflow-x: hidden;
}



/* faq */

.faq-container {
  max-width: 800px;
  margin: auto;
  margin-bottom: 10px;
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  padding: 20px 25px;
}

.faq-container h2 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 25px;
}

.faq-item {
  border-top: 1px solid #e0e0e0;
}

.faq-question {
  cursor: pointer;
  padding: 15px 0;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-answer {
  display: none;
  padding: 0 0 15px;
  color: #444;
  font-size: 15px;
  line-height: 1.5;
  animation: fadeIn 0.3s ease-in-out;
}

.arrow {
  transition: transform 0.3s ease;
}

.rotate {
  transform: rotate(180deg);
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-5px); }
  to { opacity: 1; transform: translateY(0); }
}