


html{
  scroll-behavior: smooth;
  /* scroll-behavior: smooth; */
}

body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #78A1BB;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  text-align: center;
}


#loading-screen {
  position: fixed;
  width: 100%;
  height: 100vh;
  background: #f5f5f5;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}


#progress-container {
  width: 80%;
  max-width: 400px;
  height: 10px;
  background: #ecf0f1;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 10px;
}

#progress-bar {
  width: 0%;
  height: 100%;
  background: linear-gradient(to right, purple, white);
  transition: width 0.5s ease-in-out;
}


#loading-image {
  width: 250px;
  height: 250px;
  margin-bottom: 50px;
  border-radius: 50%;
}







/* @keyframes colorShift {
  0% { background-color: #f86c6c; }
  100% { background-color: #ff2b2bee; }
}

.alert {
  width: 100vw;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  padding: 15px 20px;
  background-color: #ff5252;
  color: white;
  border-radius: 0;
  animation: colorShift 2s infinite alternate;
}

.alert-header {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.alert img {
  width: 30px;
  height: 30px;
  margin-left: 40px;
  margin-right: 15px;
  
}

.alert-title-group {
  display: flex;
  align-items: center;
  gap: 20px;
}

.alert h5 {
  font-size: 1.2em;
  font-weight: 700;
  margin: 0;
  color: white;
}

#alert-date-time {
  background-color: rgba(0, 0, 0, 0.35);
  font-size: 0.9em;
  font-weight: 600;
  color: white;
  padding: 4px 8px;
  border-radius: 5px;
}

#alert-warning {
  font-size: 0.95em;
  font-weight: 600;
  color: white;
  margin-left: 40px;
  padding: 5px 10px;
  border-radius: 5px;
} */




/* .navbar {
    background-color: #FFF;

    color: black;
    padding: 10px 15px;
    display: flex;
    direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    row-gap: 10px;
    top: 0;
    left: 0;
    width: 100%;
    height: 15vh;

}
.navbar-links{
  scroll-behavior: smooth;
}

.navbar-icons{
  
  border-radius: 50%;
  padding: 5px;
  
  margin-top: 7px;
  width: 22px;
  height: 33px;
  justify-content: center;
  vertical-align: center;
}
.logo-title{
    display: flex;
    align-items: center;
    gap: 2px;
    font-size: large;
}

.navbar-links{
    display: flex;
    justify-content: center;
    vertical-align: center;
    gap: 20px;
    margin-left: auto;
    margin-right: 20px;
}
.navbar .title {
    font-size: 1.5em;
    font-weight: bolder;
}
.sub-title{
    margin-left: 0px;
    font-weight: 100;
}
.navbar a {
    color: black;
    text-decoration: none;
    margin-left: 20px;
}
.navbar a:hover {
    text-decoration: underline;
} */




.navbar {
  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;
  position:sticky;
}

.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);
}




/* .logo-name{
  display:flex;
  flex-direction:row;
   ;
}
.logo-name img{
  
} */


:root {
  --primary-color: #ef4444;
  --light-bg: #28282b;
   --shadow: 0 4px 12px rgba(0, 0, 0, 0.1);/*
  background: hsla(298, 68%, 90%, 1);

  background: linear-gradient(90deg, hsla(298, 68%, 90%, 1) 0%, hsla(30, 82%, 91%, 1) 100%);
  
  background: -moz-linear-gradient(90deg, hsla(298, 68%, 90%, 1) 0%, hsla(30, 82%, 91%, 1) 100%);
  
  background: -webkit-linear-gradient(90deg, hsla(298, 68%, 90%, 1) 0%, hsla(30, 82%, 91%, 1) 100%);
  
  filter: progid: DXImageTransform.Microsoft.gradient( startColorstr="#F6D5F7", endColorstr="#FBE9D7", GradientType=1 );} */
}
body {
  margin: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: var(--light-bg);
}

.main-distress-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px 20px;
}

.form-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.form-section,
.messages-section {
  background: #fff;
  padding: 30px;
  border-radius: 16px;
  flex: 1;
  min-width: 320px;
  box-shadow: var(--shadow);
}

h2 {
  margin-bottom: 20px;
  color: var(--primary-color);
}

input,
select,
textarea {
  display: block;
  width: 100%;
  margin: 10px 0;
  padding: 12px;
  font-size: 1rem;
  border-radius: 8px;
  border: 1px solid #ccc;
  box-sizing: border-box;
}

textarea {
  min-height: 100px;
}

button {
  padding: 14px;
  background-color: var(--primary-color);
  color: white;
  font-weight: bold;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  width: 100%;
  font-size: 1rem;
}

button:hover {
  background-color: #dc2626;
}

.messages {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.message {
  background: #fff;
  border-left: 6px solid #999;
  padding: 16px;
  border-radius: 12px;
  opacity: 1;
  transition: opacity 0.5s ease;
  /* position: relative; */
  box-shadow: var(--shadow);
}

.message.fade-out {
  opacity: 0;
}

.message .type {
  
  top: 10px;
  right: 10px;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.8rem;
  color: #fff;
  margin: 5px 0px 5px 328px;
}

.message.medical { border-left-color: #f87171; }
.message.medical .type { background: #ef4444; }

.message.food { border-left-color: #fbbf24; }
.message.food .type { background: #f59e0b; }

.message.security { border-left-color: #60a5fa; }
.message.security .type { background: #3b82f6; }
 


.container {
    width:80%;
    margin: 50px auto;
    padding: 20px;
    background-color: #FFF;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.823);
    
    
}

.conatiner:hover{
  transform: scale(1.05);
  box-shadow: 0px 6px 15px rgba(236, 235, 235, 0.611);
}
/* Header Section */
.header {
    font-size: 24px;
    font-weight: bold;
    color: #000;
    text-align: left;
}



/* Alert Level */
.alert-level {
    color: red;
    font-weight: 525;
    margin: 10px 0;
    text-align: left;
}

/* Description Text */
.description {
    font-size: 16px;
    color: #333;
    margin: 20px 0;
    line-height: 1.5;
}

/* Info Section */
.info-box {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

.info-item {
    flex: 1;
    text-align: center;
    padding: 10px;
    background-color: #d5cbcb;
    border-radius: 8px;
    margin: 0 5px;
}

.info-item h3 {
    margin: 0;
    font-size: 18px;
    color: #000;
}

.info-item-alert-level {
    margin: 17px 0 0;
    font-size: 16px;
    color: #333;
    text-align: center;
    color: red;
    font-weight: 525;
}

/* death */
/* h1 {
  text-align: center;
  color: white;
  margin-bottom: 2rem;
}

.card {
  background-color: #f8f9fa;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 20px;
  margin: 10px;
  text-align: center;
  display: grid;
}

.location {
  font-size: 24px;
  font-weight: bold;
  color: #34495e;
}

.count {
  font-size: 20px;
  color: #e74c3c;
}

.label {
  font-size: 14px;
  color: #7f8c8d;
}

.counterGrid{
  display: flex;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
} */

#counterGrid{
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 columns per row */
  gap: 1.5rem;
  max-width: 1000px;
  margin: auto;

}
.card{
  background-color: #f8f9fa;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 20px;
  margin: 10px;
  text-align: center;
  display: grid;
}

.count{
  font-weight: 700;
}

/* news*/
.news-container {
    max-width: 700px;
    margin: auto;
  }
  
  h2 {
    font-size: 24px;
    margin-bottom: 20px;
    /* color: white; */
  }
  
  .alert-icon {
    color: red;
    margin-right: 10px;
  }
  
  .alert-box {
    background-color: white;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 0 0 3px transparent;
    border-left: 5px solid;
  }
  
  .alert-header news {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .alert-header h3 {
    font-size: 18px;
    margin: 0;
  }
  
  .meta {
    font-size: 14px;
    color: #666;
    margin: 10px 0;
  }
  
  p {
    margin: 0;
    line-height: 1.5;
  }
  
  .tag {
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 13px;
    color: white;
    font-weight: bold;
  }
  
  .red {
    background-color: #ff4b4b;
  }
  
  .blue {
    background-color: #007bff;
  }
  
  .curfew {
    border-color: #ff4b4b;
  }
  
  .evacuation {
    border-color: #ff4b4b;
  }
  
  .update {
    border-color: #007bff;
  }

/* list */
.list-container {
    max-width: 700px;
    margin: 40px auto;
    padding: 20px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.list-title {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    text-align: center;
}
.main-content {
    margin-top: 20px;
}
.lis-content p {
    font-size: 18px;
    color: #555;
    text-align: center;
}
.list-content ul {
    list-style-type: none;
    padding: 0;
    margin: 20px 0;
}
.list-content ul li {
    font-size: 16px;
    color: #333;
    margin-bottom: 10px;
    padding: 10px;
    border-left: 4px solid #4CAF50;
    background-color: #f9f9f9;
}



/* footer*/
/* .footer {
  background-color: #0d1117;
  color: #ffffff;
  padding: 40px 20px 20px;
  font-family: Arial, sans-serif;
}

.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: none;
  border-radius: 5px 0 0 5px;
  font-size: 14px;
}

.subscribe-form button {
  padding: 8px 15px;
  background-color: #ff4b4b;
  color: white;
  border: none;
  border-radius: 0 5px 5px 0;
  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;
} */

.footer {
  background-color: #0d1117;
  color: #ffffff;
  padding: 40px 20px 20px;
  font-family: Arial, sans-serif;
  width:100vw;
  margin-top: 30px;
}

.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;
}


html{
  overflow-x: hidden;
}



     /* Ensure the map section aligns properly and visually stands out */
