* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
}

nav {
    background-color: #7AB2D3;
    padding: 10px 20px;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    height: 100px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0px 0px 30px #608BC1;
}

nav ul {
    list-style-type: none;
    display: flex;
    justify-content: center;
    align-items: center;
}

nav a {
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 20px;
}

nav a:hover {
    background-color: #555;
}

section {
    padding: 100px 20px; 
    min-height: 100vh;
}

#home {
    background-color:#D4F6FF;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 40px 0px 0px 0px;
    height: 800px;
}

#about {
    background-color: #D4F6FF;
    height: 1000px;
}

#contact {
    background-color: #D4F6FF;
}

#services {
    background-color: #b0b0b0;
    display: none;  /* Initially hidden */
    padding: 100px 20px;
}
 
 li{
    font-weight: bolder;
 }
  img{
    height: 800px;
    width: 100%;
    border-radius: 5px;
    box-shadow: 0px 0px 10px black;
  }
  #HeadTitle{
    color: black;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-size: 40px;
  }
  #HeadTitle:hover{
color: red;
font-size: 60px;
  }
.text {
    position: absolute;
    bottom: 1px; /* Position the text at the bottom of the image */
    left: 35%;
    transform: translateY(-500%);
    font-size: 64px;
    color: black;
    font-weight: bold;
    opacity: 0; /* Initially hide the text */
    animation: slideInFromTop 1.5s ease-out forwards; /* Slide-in and fade-in effect for text */
    animation-delay: 0.5s; /* Delay text animation slightly after image appears */
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5), -2px -2px 5px rgba(255, 255, 255, 0.3); /* Add a shadow for better readability */
}
@keyframes slideInFromTop {
    0% { 
        opacity: 0; 
        transform: translateX(-20%) translateY(-100%); /* Slide from above */
    }
    100% { 
        opacity: 1; 
        transform: translateX(-20%) translateY(-500%); /* Final position */
    }
}
 
.about-page {
    height: 800px;
    width: 1200px;
    margin: 50px auto;
    padding: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
.floodAlert{
    margin: 10px 0px 20px 0px ;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    text-decoration: underline;
    font-weight: bolder;
    color: black;
}

.floodAlertDetails{
    margin: 10px 0px 20px 0px ;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
/* font-weight: 400; */
font-size: 22px;
}

h1 {
    color: #333;
    text-align: center;
}

h2 {
    color: #555;
}

p {
    color: #666;
}

#factButton {
    display: block;
    margin: 20px auto;
    padding: 10px 20px;
    font-size: 16px;
    background-color: #7AB2D3;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

#factButton:hover {
    background-color: #4A628A;
}

.facts {
    margin-top: 20px;
    color: #444;
    font-weight: bold;
    height: 1000px;
}
#aboutTitle{
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
    font-size: 50px;
}



.contact-container {
    width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background-color: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    margin-top: 50px;
}

h1 {
    text-align: center;
    color: #333;
}

label {
    font-weight: bold;
    margin-top: 10px;
    display: block;
    color: #555;
}

input, textarea {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

#submitBtn {
    padding: 10px 20px;
    background-color: #608BC1;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    width: 100%;
    font-size: 30px;
}

#submitBtn:hover {
    background-color: #0056b3;
}

#response-message {
    text-align: center;
    margin-top: 20px;
    font-size: 16px;
    color: #28a745;
}

#response-message.error {
    color: #dc3545;
}

#ContactUs{
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
    font-size: 50px;
}
