* {
    margin: 0;
  	padding: 0;
  	box-sizing: border-box;
}

html, body {
  	color-scheme: light;
  	-webkit-text-size-adjust: 100%;
}

body {
  	font-family: Arial, sans-serif;
  	background-color: #FAF9F6;
  	transition: background-color 0.5s, color 0.5s;
}

/* Dark Mode Styles */
.dark-mode {
  	background-color: #121212;
}

.dark-mode .site-header {
 	box-shadow: none;	
}

.dark-mode .hero h2 {
  	color: #33e476;
}

.dark-mode section p {
  	color: #FAF9F6;
}

.dark-mode section p b {
  	color: #53e7ff;
}

.dark-mode section p a {
  	color: #fbc02d;
}

.dark-mode section p span {
  	color: #fbc02d;
}

.dark-mode .topics-list .topic {
    background-color: #36454F;
    border-color: #444;
    box-shadow: 0 0.125rem 0.625rem rgba(255, 255, 255, 0.3);
}

.dark-mode .topics-list .topic h3 {
    color: #fbc02d;
}

.dark-mode section ul li {
    color: #FAF9F6;
}

.dark-mode section ul li b {
  	color: #53e7ff;
}

.dark-mode section .custom-bullets p {
  	color: #FAF9F6;
}

.dark-mode .blink {
  	color: #fee1a1;
}

/* Header */
.site-header {
  	display: flex;
  	height: 7rem;
  	width: 100%;
	box-shadow: 0 0.25rem 0.625rem rgba(0, 0, 0, 0.1);
}

/* Individual Color Bands */
.band {
  	display: flex;
  	align-items: center;
  	justify-content: center;
}

.navy-blue1, .navy-blue2 {
  	background-color: #0b1f75;
  	width: 30%;
}

.white {
  	background-color: #FAF9F6;
  	width: 40%;
}

.white img {
  	height: 5rem;
  	width: auto;
}

/* Hamburger Key */
.hamburger {
  	display: flex;
  	flex-direction: column;
  	cursor: pointer;
  	gap: 0.313rem;
}

.hamburger span {
  	width: 1.563rem;
  	height: 0.188rem;
  	background: #FAF9F6;
  	display: block;
}

/* Navbar */
.navbar {
  	background: #ccc;
  	display: flex;
	width: 100%;
  	justify-content: center;
	align-items: center;
}

/* Navigation Menu */
.nav-links {
  	top: 100%;
  	left: 0;
  	right: 0;
	align-items: center;
  	flex-direction: column;
  	list-style: none;
  	margin: 0;
	padding: 0.5rem;
  	display: none;
  	z-index: 1000;
}

.nav-links.show {
  	display: flex;
}

.nav-links li a {
    text-decoration: none;
    color: #212121;
    font-size: 1.25rem;
    font-weight: bold;
    padding: 0.5rem;
    display: block;
}

.nav-links li a:hover {
    color: #1434A4;
    text-decoration: underline;
}

/* Title Styling */
h1 {
    font-size: 1.5rem;
    font-weight: bold;
    color: #212121;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    margin-left: 0.5rem;
}

.one, .daily {
  	display: flex;
}

.line {
  	display: flex;
	color: #ED1C24;
}

/* Dark Mode Button */
#dark-mode-toggle {
  	background: none;
  	border: none;
  	font-weight: bold;
  	font-size: 2.5rem;
  	cursor: pointer;
}

/* Visitor Counter */
.visitor-counter {
    font-family: Arial, sans-serif;
    font-size: 1rem;
    color: #333;
}

.visitor-counter h4 {
    margin-bottom: 0.5rem;
    color: #1e90ff;
}

/* Update Box */
.update-box {
    display: flex;
	justify-content: center;
    align-items: center;
    position: sticky;
    top: 0;
    width: 100%;
    height: 5rem;
    background: #36454F;
    color: #FAF9F6;
    font-family: Arial, sans-serif;
    z-index: 1000;
    overflow: hidden;
}

.update-label {
    background: #D2042D;
    color: #FAF9F6;
    font-weight: bold;
    padding: 0 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.125rem;
    flex-shrink: 0;
    height: 100%;
    flex-direction: column;
    text-align: center;
	line-height: 1.5;
}

.update-message {
    flex: 1;
    padding: 1rem;
    font-size: 1.0625rem;
    font-weight: 500;
	color: #FFFF00;
    display: flex;
    align-items: center;
	line-height: 1.5;
    opacity: 0;
    transform: translateY(50%);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.update-message.show {
    opacity: 1;
    transform: translateY(0);
}

/* Section */
section {
  	padding: 2.5rem 10%;
	margin-top: 1rem;
}

/* Hero Section */
.hero h2 {
  	font-size: 2rem;
  	color: green;
  	margin-bottom: 1.25rem;
}

section p {
  	font-size: 1.125rem;
  	color: #212121;
	margin-bottom: 0.875rem;
	line-height: 1.5;
}

section p a {
  	color: #0437F2;
	text-decoration: none;
}

section p a:hover {
	text-decoration: underline;
}

section p span {
  	color: #0437F2;
}

/* Search Box */
.search-container {
  	display: flex;
	justify-content: center;
  	align-items: stretch;
  	max-width: 22rem;
	margin-top: 1.25rem;
  	margin-bottom: 2.5rem;
  	border: 0.0938rem solid #FF5733;
  	overflow: hidden;
  	transition: border-color 0.3s ease;
}

.search-container input {
  	flex: 1;
  	padding: 0.625rem;
  	border: none;
  	outline: none;
  	font-size: 1rem;
}

.search-container:focus-within {
  	border-color: #212121;
}

.search-container button {
  	background-color: #FF5733;
  	color: #FAF9F6;
    font-size: 1.25rem;
  	font-weight: bold;
    -webkit-text-stroke: 0.5px black;
    text-shadow: 
    0.5px 0.5px 0 black,
    -0.5px -0.5px 0 black,
    0.5px -0.5px 0 black,
    -0.5px 0.5px 0 black;
  	border: none;
  	padding: 1rem;
  	height: 100%;
  	cursor: pointer;
  	transition: 0.3s;
}

.search-container button:hover {
  	background-color: #0392d5;
}

.highlight {
    background-color: yellow;
	color: #212121 !important;
  	font-weight: bold;
  	padding: 0.1em;
}

/* Topic Cards */
.topics-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(13rem, 1fr));
    margin-top: 0.625rem;
    gap: 2.188rem;
}

.topic-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.topic {
    background-color: #F0F0F0;
    padding: 1.25rem;
    text-decoration: none;
    box-shadow: 0 0.125rem 0.375rem rgba(0, 0, 0, 0.5);
    border-radius: 0.5rem;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    text-align: center;
}

.topic-image {
    width: 100%;
    height: auto;
    border-radius: 0.5rem;
    object-fit: cover;
    margin-bottom: 0.75rem;
}

.topic:hover {
    transform: translateY(-0.625rem);
    box-shadow: 0 0.625rem 1.25rem rgba(0, 0, 0, 0.7);
}

.topic h3 {
    font-size: 1.5rem;
    color: #ED1C24;
}

/* Image Boxes */
.image-box {
  	width: 17.188rem;
  	border-radius: 0.625rem;
  	overflow: hidden;
  	text-align: center;
  	box-shadow: 0 0.25rem 0.25rem rgba(0,0,0,0.1);
  	margin: 1.25rem auto 2.25rem auto;
  	font-family: Arial, sans-serif;
  	background-position: center;
}

.image-box img {
  	width: 100%;
  	height: auto;
  	display: block;
}

.image-box .caption {
  	padding: 0.625rem;
  	background-color: #f8f8f8;
  	font-size: 1rem;
  	color: #212121;
}

/* Navigation Buttons */
.nav-button {
  	display: inline-block;
  	font-size: 1rem;
  	margin: 1.25rem 0 1.25rem 0.625rem;
  	padding: 0.625rem;
	font-weight: bold;
  	text-decoration: none;
  	border-radius: 0.5rem;
  	background-color: #f04e30;
  	color: #FAF9F6;
  	transition: background-color 0.3s ease;
}

.nav-button:hover {
  	background-color: #c63c25;
}

/* Lists */
section ul {
  	list-style-type: none;
}

section ul li {
  	text-decoration: none;
  	font-size: 1.125rem;
	margin: 0 0 1rem 1rem;
}

.category-filters {
  	display: flex;
  	flex-wrap: wrap;
  	gap: 0.5rem;
  	margin-bottom: 2rem;
}

.filter-tag {
  	padding: 0.5rem 1rem;
  	border: none;
  	background: #E0E0E0;
	color: #212121;
	font-size: 1rem;
  	border-radius: 1.5rem;
  	cursor: pointer;
  	font-weight: bold;
}

.filter-tag:hover {
    background: #D1D1D1;
	text-decoration: none;
}

.filter-tag.active {
  	background: #007bff;
  	color: #FAF9F6;
	text-decoration: none;
}

.fact-item {
  	margin-bottom: 1rem;
}

.custom-bullets {
  	list-style: none;
}

.custom-bullets p {
  	position: relative;
	padding-left: 2rem;
  	margin-bottom: 1rem;
	line-height: 1.5;
  	color: #212121;
}

.custom-bullets p::before {
  	content: "👉";
  	position: absolute;
  	left: -0.25rem;
  	top: 0;
  	transform: translateY(-10%);
  	font-size: 1.25rem;
}

.new-sticker {
  	background: #ff0000;
  	color: #fff !important;
  	font-size: 0.75rem;
  	font-weight: bold;
  	padding: 0.4rem;
  	border-radius: 0.25rem;
  	margin-left: 0.5rem;
}

/* Feedback Form Styling */
form {
  	max-width: 600px;
  	margin: 1rem auto;
  	padding: 2rem;
  	background-color: #0b1f75;
    border-color: #444;
	border-radius: 1rem;
  	font-family: 'Segoe UI', sans-serif;
  	color: #FAF9F6;
}

form label {
  	display: block;
  	margin: 1.5rem 0 0.75rem;
  	font-weight: 600;
  	font-size: 1.125rem;
}

form input[type="text"],
form input[type="email"],
form select,
form textarea,
form input[type="file"] {
  	width: 100%;
  	padding: 0.75rem;
  	border: 1px solid #ccc;
  	border-radius: 0.5rem;
  	font-size: 1rem;
  	background-color: #F9F9F9;
  	color: #212121;
  	transition: border 0.3s ease;
}

form input:focus,
form textarea:focus,
form select:focus {
  	border-color: black;
  	outline: none;
}

form textarea {
  	resize: vertical;
}

form button {
  	display: block;
  	width: 100%;
  	padding: 1rem;
  	margin-top: 3rem;
  	font-size: 1.0625rem;
  	background-color: #0b5ed7;
  	color: #FAF9F6;
  	border: none;
  	border-radius: 0.6rem;
  	cursor: pointer;
  	transition: background-color 0.3s ease;
}

form button:hover {
  	background-color: #D2042D;
}

/* Footer */
footer {
  	display: flex;
  	flex-direction: column;
  	background-color: #0b1f75;
  	text-align: center;
  	padding: 1.25rem;
}

footer p {
  	font-size: 1.125rem;
	color: #FAF9F6;
	line-height: 1.5;
}

.page-links {
  	margin: 0.5rem 0 1.25rem 0;
}

.page-links a {
  	color: #4ddf85;
  	font-size: 1.125rem;
	line-height: 1.5;
	margin: 0.5rem;
  	font-weight: bold;
  	text-decoration: none;
}

.page-links a:hover {
    color: #FDDA0D;
}

.page-links a.active {
    text-decoration: underline;
}

.page-links span {
  	color: #FAF9F6;
  	font-size: 1.125rem;
}

.social-links {
	display: flex;
	justify-content: center;
  	gap: 1rem;
}

.social-btn {
    display: inline-block;
    background: #D2042D;
    color: #FAF9F6;
    padding: 0.8rem 1rem;
    margin: 0 0 1.25rem 0;
    border-radius: 0.5rem;
  	font-size: 1.125rem;
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.social-btn:hover {
    background: #0b5ed7;
}

/* Media Queries */
@media screen and (max-width: 48rem) {
    section {
        padding: 1.5rem;
        margin-top: 1.5rem;
    }

    #dark-mode-toggle {
        font-size: 2.25rem;
    }
  
    .nav-links li a:hover {
        color: #212121;
        text-decoration: none;
    }

    .update-label {
        background: #D2042D;
    }

    .hero h2 {
        font-size: 1.75rem;
        margin-bottom: 1.125rem;
    }

    .search-container input {
        font-size: 1.0625rem;
    }

    .topic h3 {
        font-size: 1.3125rem;
    }
  
    .topic:hover {
        transform: none;
    	box-shadow: 0 0.125rem 0.375rem rgba(0, 0, 0, 0.5);
    }
  
    .page-links a:hover {
        color: #4ddf85;
    }
    
    .social-btn:hover {
        background: #D2042D;
    }
}