/* CSS Document */

/* General Styles */
body {
    font-family: Arial, sans-serif;
    background: #f9f9f9;
    color: #333;
    margin: 0;
    padding: 0;
}

h1, h2, h3 {
    margin: 0;
    color: #004085;
}

p {
    line-height: 1.6;
    margin: 10px 0;
}

a {
    color: #004085;
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    color: #0056b3;
}

/* Header */
.main-header {
    background: #004085;
    color: white;
    padding: 20px 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.logo-container img {
    height: 60px;
    display: inline-block;
}

.nav-menu {
    margin-top: 15px;
    text-align: center;
}

.nav-menu ul {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.nav-menu li a {
    color: white;
    font-weight: bold;
    padding: 10px 15px;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.nav-menu li a:hover {
    background: rgba(255, 255, 255, 0.2);
}

.nav-menu li a.text-warning {
    background: #ffc107;
    color: #004085;
}

.footer {
    background: #333;
    color: white;
    padding: 40px 0;
    text-align: center;
}

.footer a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: #FFD700;
}

.footer i {
    transition: transform 0.3s ease;
}

.footer i:hover {
    transform: scale(1.2);
}

.footer h4 {
    margin-bottom: 10px;
    font-size: 1.2rem;
    color: #FFD700;
}

/* Containers and Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.hero {
    background: linear-gradient(to bottom, #FFF5F5, #f9f9f9);
    text-align: center;
    padding: 50px 20px;
    border-radius: 10px;
    margin-bottom: 30px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    background: white;
}

.card-body {
    padding: 20px;
}

.card-footer {
    text-align: center;
    padding: 15px;
    background: #f1f1f1;
}

.card-footer a {
    font-weight: bold;
}

.card-footer a:hover {
    text-decoration: underline;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 10px 20px;
    font-size: 0.9rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.btn-primary {
    background: #004085;
    color: white;
}

.btn-primary:hover {
    background: #003366;
}

.btn-warning {
    background: #ffc107;
    color: #004085;
}

.btn-warning:hover {
    background: #e0a800;
}

.btn-danger {
    background: #9F0808;
    color: white;
}

.btn-danger:hover {
    background: #7A0606;
}

/* Responsive Design */
@media (max-width: 768px) {
    .logo-container {
        flex-direction: column;
        text-align: center;
    }

    .nav-menu ul {
        flex-direction: column;
        gap: 10px;
    }

    .hero {
        padding: 30px 15px;
    }

    .footer {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .logo-container img {
        height: 50px;
    }

    .btn {
        padding: 8px 15px;
        font-size: 0.8rem;
    }
}
body {
	font-family: Arial, sans-serif;
	background: #f9f9f9;
	color: #333;
	margin: 0;
	padding: 0;
}
.hero {
	background: #FFF5F5;
	text-align: center;
	padding: 50px 20px;
	margin-bottom: 30px;
	border-radius: 10px;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.hero h2 {
	color: #9F0808;
	font-size: 2.5rem;
}
.hero p {
	font-size: 1.2rem;
	line-height: 1.6;
	margin-top: 20px;
}
.support-section {
	padding: 20px;
	margin: 20px auto;
	background: #ffffff;
	border-radius: 10px;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
.support-section h2 {
	font-size: 1.8rem;
	color: #9F0808;
	margin-bottom: 20px;
}
.support-section p {
	font-size: 1rem;
	margin-bottom: 20px;
}
.card {
	border: none;
	border-radius: 10px;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
.card-body i {
	font-size: 3rem;
	color: #9F0808;
}
.card-footer a {
	text-decoration: none;
	font-weight: bold;
}
.card-footer a:hover {
	text-decoration: underline;
}
.footer {
	background: #9F0808;
	color: white;
	text-align: center;
	padding: 20px;
	margin-top: 30px;
	font-size: 0.9rem;
	border-top: 5px solid #7A0606;
}
.footer a {
	color: #FFD700;
	text-decoration: none;
}
.footer a:hover {
	text-decoration: underline;
        }

 .img-fluid {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
#weather-alerts {
    font-size: 16px;
    line-height: 1.6;
    margin-top: 10px;
    word-break: break-word; /* Prevent long words from breaking awkwardly */
    white-space: normal; /* Stop stacking text vertically */
}

.alert-warning {
    background-color: #fff7e6; /* Softer yellow for alert box */
    color: #856404; /* Text color for contrast */
    border: 1px solid #ffeeba; /* Border for visibility */
    padding: 15px; /* Spacing inside the alert */
    border-radius: 5px; /* Rounded corners */
    text-align: left; /* Ensure left alignment for readability */
    display: block; /* Block layout for proper spacing */
    max-width: 100%; /* Prevent the alert from getting squished */
}
 #weather-alerts {
    font-size: 16px;
    line-height: 1.6;
    margin-top: 10px;
    word-break: break-word; /* Prevents long words from breaking awkwardly */
    white-space: normal; /* Ensures text flows naturally without stacking */
}

.alert-warning {
    background-color: #fff7e6; /* Softer yellow background */
    color: #856404; /* Readable text color */
    border: 1px solid #ffeeba; /* Light border for styling */
    padding: 15px; /* Spacing inside the alert */
    border-radius: 5px; /* Rounded corners for a polished look */
    max-width: 100%; /* Ensures the alert does not get squeezed */
    display: block; /* Properly lays out content inside the alert */
    text-align: left; /* Aligns text to the left for readability */
}
.col-lg-4, .col-md-6 {
    max-width: 100%;
    padding: 15px;
}