body {
    font-family: 'Helvetica Neue', sans-serif;
    background: linear-gradient(to bottom, rgba(0, 0, 50, 0.9), rgba(0, 0, 0, 0.9));
    background-size: cover;
    background-attachment: fixed;
    margin: 0;
    padding: 0;
    text-align: center;
    color: #e0e0e0;
}

nav.topnav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #333;
    padding: 10px 20px;
    color: white;
}

nav.topnav .nav-links {
    display: flex;
    gap: 15px;
}

nav.topnav .rightnav {
    display: flex;
    gap: 15px;
    margin-left: auto;
}

nav.topnav a {
    color: white;
    text-decoration: none;
    padding: 10px 15px;
    font-size: 16px;
}

nav.topnav a:hover {
    background-color: #575757;
    border-radius: 5px;
}

.menu-icon {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

@media (max-width: 768px) {
    nav.topnav {
        flex-direction: column;
        align-items: flex-start;
    }

    nav.topnav .menu-icon {
        display: block;
    }

    nav.topnav .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        background-color: #333;
        padding: 10px 0;
    }

    nav.topnav .nav-links a {
        padding: 10px 10px;
        text-align: left;
        width: 100%;
    }

    nav.topnav .nav-links.show {
        display: flex;
    }

    nav.topnav .rightnav {
        display: flex;
    }
}

.slider-container {
    width: 80%;
    margin: 20px auto;
    overflow: hidden;
    position: relative;
}

.slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.slider img {
    width: 100%;
    border-radius: 10px;
}

.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 10px;
    border-radius: 50%;
    cursor: pointer;
}

form {
    background-color: #293030;
    color: #e4e1e1;
    padding: 30px;
    margin: 20px auto;
    max-width: 600px;
    border-radius: 15px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
    font-size: 14px;
    color: #fdf9f9;
}

.form-group input {
    width: 100%;
    padding: 10px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

.form-group input:focus {
    outline: none;
    border-color: #0078D4;
    box-shadow: 0 0 5px rgba(0, 120, 212, 0.5);
}

#weather {
    text-align: center;
    background-color: #2e72ad;
    padding: 20px;
    border-radius: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    color: #fff;
    margin: 20px auto;
    max-width: 600px;
    font-family: 'Arial', sans-serif;
}

#weather-info p {
    font-size: 18px;
    margin: 10px 0;
    line-height: 1.6;
}

#weather h2 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #ffeb3b;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

@media (max-width: 768px) {
    #weather {
        padding: 15px;
        border-radius: 15px;
    }

    #weather-info p {
        font-size: 16px;
    }

    #weather h2 {
        font-size: 20px;
    }
}

h1 {
    font-size: 36px;
    margin-bottom: 15px;
    color: #ffeb3b;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

h2 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #ffeb3b;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

p {
    font-size: 18px;
    margin: 10px 0;
    line-height: 1.6;
    color: #e0e0e0;
}

.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 20px;
}

.contact-list {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    width: 90%;
    max-width: 600px;
}

.contact-list h2 {
    text-align: center;
    margin-bottom: 15px;
    color: #007BFF;
    font-size: 20px;
    border-bottom: 2px solid #007BFF;
    padding-bottom: 5px;
}

.contact-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-list li {
    margin-bottom: 15px;
    padding: 10px;
    background-color: #220e0e21;
    border: 1px solid #130202;
    border-radius: 5px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.contact-list li:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.contact-list li strong {
    color: #080202;
    font-size: 16px;
}

.NaturalCause {
    color: #cfdbd0;
    font-weight: bold;
    font-size: 18px;
    text-align: left;
    margin: 20px 0;
    background-color: #0078D4;
    padding: 10px;
    border-radius: 20px;
    display: flexbox;
    max-width: fit-content;
}

.HumanCause {
    color: #cfdbd0;
    font-weight: bold;
    font-size: 18px;
    text-align: left;
    margin: 20px 0;
    background-color: #304112;
    padding: 10px;
    border-radius: 20px;
    display: flexbox;
    max-width: fit-content;
}

.Cause {
    color: #cfdbd0;
    font-weight: bold;
    font-size: 18px;
    text-align: left;
    margin: 20px auto;
    background-color: #0078D4;
    padding: 10px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 600px;
    height: 200px;
    box-sizing: border-box;
}

.NaturalCause {
    background-color: #0078D4;
}

.HumanCause {
    background-color: #0d2757;
}

.TechnologicalCause {
    background-color: #074b42;
}

.btn {
    background-color: #0078D4;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

@media (max-width: 768px) {
    .Cause {
        margin: 10px auto;
        padding: 10px;
        font-size: 14px;
        height: auto;
        max-width: 90%;
        text-align: center;
        flex-direction: column;
    }

    .NaturalCause, .HumanCause, .TechnologicalCause {
        margin: 10px auto;
        padding: 10px;
        font-size: 14px;
        max-width: 90%;
        text-align: center;
    }

    .btn {
        font-size: 14px;
        padding: 8px 15px;
    }
}

#recent-disasters {
    margin: 40px auto;
    padding: 20px;
    background-color: #f9f9f9a1;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    max-width: 800px;
}

.disaster-update {
    margin-bottom: 20px;
    padding: 15px;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: left;
}

.disaster-update h2 {
    font-size: 24px;
    margin-bottom: 10px;
    color: #007bff;
}

.disaster-update h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #333333;
}

.disaster-update p {
    font-size: 14px;
    color: #666666;
    margin: 5px 0;
}

.disaster-update a {
    display: inline-block;
    margin-top: 10px;
    font-size: 14px;
    color: #007bff;
    text-decoration: none;
    font-weight: bold;
}

.disaster-update a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    #recent-disasters {
        padding: 15px;
    }

    .disaster-update {
        padding: 10px;
    }

    .disaster-update h3 {
        font-size: 16px;
    }

    .disaster-update p {
        font-size: 13px;
    }

    .disaster-update a {
        font-size: 13px;
    }
}