/* Basic Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f4f4f4;
}

img {
    max-width: 100%;
    height: auto;
}

/* Container */
.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
}

/* Header */
header {
    background-color: #1a4d6f;
    color: white;
    padding: 20px 0;
    text-align: center;
}

header h1 {
    color: white;
    margin-bottom: 5px;
}

header p {
    color: #b8dce8;
    margin-bottom: 5px;
}

/* Navigation */
nav {
    margin-top: 5px;
}

nav a {
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    margin: 0 5px;
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
}

nav a:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

nav a.active {
    background-color: #ffc107;
    color: #1a4d6f;
}

/* Hero Section */
.hero {
    background-image: url('Images/Main_page_picture.jpeg');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 100px 20px;
    margin-bottom: 30px;
}

.hero h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: white;
}

.hero p {
    font-size: 1.2em;
    margin-bottom: 30px;
}

/* Page Title */
.page-title {
    background-color: #1a4d6f;
    color: white;
    text-align: center;
    padding: 40px 20px;
    margin-bottom: 30px;
}

.page-title h2 {
    color: white;
    margin-bottom: 10px;
}

.page-title p {
    color: #b8dce8;
}

/* Buttons */
.button {
    display: inline-block;
    background-color: #ffc107;
    color: #1a4d6f;
    padding: 15px 40px;
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
    border: none;
    cursor: pointer;
}

.button:hover {
    background-color: #ffca28;
}

/* Cards */
.card {
    background-color: white;
    padding: 20px;
    margin-bottom: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.card img {
    border-radius: 10px;
    margin-bottom: 15px;
}

.card h3 {
    color: #1a4d6f;
    margin-bottom: 15px;
}

/* Info Boxes */
.intro-box,
.weather-box,
.cta-box {
    background-color: white;
    padding: 30px;
    margin-bottom: 30px;
    border-radius: 10px;
    text-align: left;
}

.cta-box {
    background-color: #1a4d6f;
    color: white;
}

.cta-box h2 {
    color: white;
}

/* Info Cards */
.info-card {
    background-color: white;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 10px;
    border-left: 4px solid #ffc107;
}

.info-card h3 {
    color: #1a4d6f;
    margin-bottom: 10px;
}

.info-card img {
    margin: 15px 0;
    border-radius: 10px;
}

/* Important Box */
.important-box {
    background-color: #fff3cd;
    border: 2px solid #ffc107;
    padding: 20px;
    margin-bottom: 30px;
    border-radius: 10px;
}

.important-box h3 {
    color: #856404;
}

/* Emergency Cards */
.emergency-card {
    background-color: #ffe6e6;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 10px;
    border-left: 4px solid #dc3545;
}

.emergency-card h3 {
    color: #dc3545;
}

/* Lists */
ul {
    margin-left: 20px;
    margin-bottom: 15px;
}

li {
    margin-bottom: 8px;
}

/* Citations */
.citation {
    font-size: 0.85em;
    color: #666;
    font-style: italic;
    margin-top: 15px;
    padding-top: 10px;
    border-top: 1px solid #ddd;
}

.image-credit {
    font-size: 0.8em;
    color: #666;
    font-style: italic;
    margin-top: 5px;
    text-align: left;
}

/* Contact Form */
.contact-form {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 30px;
}

.contact-form label {
    display: block;
    margin-bottom: 5px;
    color: #1a4d6f;
    font-weight: bold;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-family: Arial, sans-serif;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: #1a4d6f;
    outline: none;
}

.contact-form textarea {
    resize: vertical;
}

/* Checkbox Groups - Works for all checkboxes */
.checkbox-group {
    margin-bottom: 20px;
}

.checkbox-group label {
    display: flex;
    align-items: center;
    font-weight: normal;
    margin-bottom: 10px;
    cursor: pointer;
}

.checkbox-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-right: 10px;
    margin-bottom: 0;
    cursor: pointer;
    flex-shrink: 0;
}

/* Small Text */
.small-text {
    font-size: 0.9em;
    color: #666;
    margin-bottom: 15px;
}

/* Footer */
footer {
    background-color: #1a4d6f;
    color: white;
    padding: 30px 0;
    text-align: center;
    margin-top: 50px;
}

footer h3,
footer h4 {
    color: white;
    margin-bottom: 10px;
}

footer p {
    color: #b8dce8;
    margin-bottom: 15px;
}

footer a {
    color: #b8dce8;
    text-decoration: none;
}

footer a:hover {
    color: white;
    text-decoration: underline;
}

/* Social Media Section in Footer */
.social-media {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 20px 0;
}

.social-media a {
    display: inline-block;
    transition: transform 0.3s ease;
}

.social-media a:hover {
    transform: scale(1.2);
}

.social-media img {
    width: 40px;
    height: 40px;
    background-color: white;
    padding: 8px;
    border-radius: 50%;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h2 {
        font-size: 1.8em;
    }
    
    nav a {
        display: block;
        margin: 5px 0;
    }
    
    .container {
        padding: 10px;
    }
}
/* References Page Styles */
.references-box {
    background-color: white;
    padding: 30px;
    margin-bottom: 30px;
    border-radius: 10px;
}

.references-box h2 {
    color: #1a4d6f;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 3px solid #ffc107;
}

.references-box h3 {
    color: #2c7ba0;
    margin-top: 20px;
    margin-bottom: 10px;
}

.reference-item {
    padding: 15px;
    margin-bottom: 15px;
    background-color: #f9f9f9;
    border-left: 4px solid #2c7ba0;
    border-radius: 5px;
}

.reference-item p {
    margin: 0;
    line-height: 1.8;
    color: #333;
}

/* Hanging indent for references (Harvard style) */
.reference-item p {
    padding-left: 30px;
    text-indent: -30px;
}