.header {
    overflow: hidden;
    text-align: center;
    background-color: white;
}
.header img {
    width: 15%; /* Adjust as needed */
    height: auto; /* Maintain aspect ratio */
    object-fit: contain;
}

ul.topnav {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: whitesmoke;
    border: 1px solid #e7e7e7;
    position: sticky;
    top: 0;
    display: flex;
    z-index: 1000;
}

ul.topnav li {
    float: left;
}

ul.topnav li a {
    display: block;
    color: #92A8D1;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
}

ul.topnav li a:hover:not(.active) {
    background-color: #3274d6;
    color: white;
}

ul.topnav li.right {
    margin-left: auto;
}

@media screen and (max-width: 600px) {
    ul.topnav li.right,
    ul.topnav li {
        float: none;
    }
}

.search form input[type=text] {
    box-sizing: border-box;
    border: 2px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
    background-color: white;
    background-image: url('searchicon.png');
    background-position: 10px 10px;
    background-repeat: no-repeat;
    padding: 12px 20px 12px 40px;
}

.reset form[type=text] { background-color: #ffffff;
    padding: 20px; 
    border-radius: 8px; box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    width: 300px;
}

.reset form label {
   display: block; margin-bottom: 8px; font-size: 14px; color: #555555; }

.reset form input[type="email"] { width: 100%; padding: 10px; border: 1px solid #cccccc; border-radius: 5px; margin-bottom: 20px; font-size: 14px; }

.reset form button { width: 100%; padding: 10px; background-color: #3274d6; border: none; border-radius: 5px; color: #ffffff; font-size: 16px; cursor: pointer; }

.reset form button:hover { background-color: #2868c7; }

.reset form 
 .g-recaptcha { margin-bottom: 20px; }
 
.profile card {
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
  max-width: 300px;
  margin: auto;
  text-align: center;
  font-family: arial;
}

.profile title {
  color: grey;
  font-size: 18px;
}


body {
    background-color: white;
    font-family: Arial, sans-serif;
    line-height: 1.6;
    margin: 20px;
    color: #333;
}

h1 {
    color: black;
    font-family: Georgia, serif;
    font-size: 200%;
}

 h2 { text-align: center;
 color: #333333;
 margin-bottom: 20px;
     
 }


p {
    color: SlateGray;
    font-family: Georgia, serif;
    font-size: 100%;
}

   ul {
            margin: 10px 0 20px 20px;
        }
        
.button2 {
  display: inline-block;
  padding: 15px 25px;
  font-size: 18px;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  outline: none;
  color: #fff;
  background-color: dodgerblue;
  border: none;
  border-radius: 15px;
  box-shadow: 0 9px #999;
}

.button2:hover, a:hover {
  opacity: 0.7;
}

a:link {
    color: lightskyblue;
    background-color: transparent;
    text-decoration: none;
}

a:visited {
    color: lightskyblue;
    background-color: transparent;
    text-decoration: none;
}

a:hover {
    color: orange;
    background-color: transparent;
    text-decoration: underline;
}

a:active {
    color: green;
    background-color: transparent;
    text-decoration: underline;
}


.articles-container {
    position: relative;
    width: 100%;
    max-width: 1100px; /* Set container width */
    margin: auto;
    overflow: hidden; /* Ensures content stays within visible bounds */
}

.articles-slider {
    display: flex;
    flex-direction: row;
    gap: 10px; /* Space between cards */
    transition: transform 0.5s ease-in-out; /* Smooth transition for sliding */
}

.article-card {
    flex: 0 0 250px; /* Fixed width for each card */
    height: 550px;
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    padding: 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Ensures content stays organized */
}
.article-card img {
    width: 100%;
    height: auto;
    border-radius: 8px 8px 0 0;
}

.article-card h2 {
    font-size: 1.5rem;
    color: #004080;
    margin: 10px 0;
}

.article-card p {
    font-size: 1rem;
    color: #333;
    margin: 10px 0;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.article-card a {
    background-color: dodgerblue;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 4px;
    display: inline-block;
    text-align: center;
    margin-top: auto;
}

.prev, .next {
    position: absolute;
    top: 50%; /* Vertically centers the buttons */
    transform: translateY(-50%); /* Adjust for vertical centering */
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    cursor: pointer;
    padding: 10px;
    font-size: 18px;
    z-index: 1000;
}

.prev {
    left: 0px; /* Add padding to the left */
}

.next {
    right: 0px; /* Add padding to the right */
}

.prev:hover, .next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.prev:disabled, .next:disabled {
    background-color: rgba(0, 0, 0, 0.2);
    cursor: not-allowed;
}

        .important-note {
            background-color: #f9f9f9;
            padding: 10px;
            border-left: 4px solid #0275D8;
            margin: 20px 0;
        }

.footer {
    background-color: whitesmoke;
    text-align: center;
    padding: 10px;
}

.footer a {
    color: #92A8D1;
    text-decoration: none;
}

.footer a:hover {
    background-color: #3274d6;
    color: white;
}

.social-media-links a {
    margin: 0 10px;
    display: inline-block;
}
.social-media-links img {
    width: 24px;
    height: 24px;
}

.login {
  	width: 400px;
  	background-color: whitesmoke;
  	box-shadow: 0 0 9px 0 rgba(0, 0, 0, 0.3);
  	margin: 100px auto;
}
.login h1 {
  	text-align: center;
  	color: #5b6574;
  	font-size: 24px;
  	padding: 20px 0 20px 0;
  	border-bottom: 1px solid #dee0e4;
}
.login form {
  	display: flex;
  	flex-wrap: wrap;
  	justify-content: center;
  	padding-top: 20px;
}
.login form label {
  	display: flex;
  	justify-content: center;
  	align-items: center;
  	width: 50px;
  	height: 50px;
  	background-color: dodgerblue;
  	color: #ffffff;
}
.login form input[type="password"], .login form input[type="text"] {
  	width: 310px;
  	height: 50px;
  	border: 1px solid #dee0e4;
  	margin-bottom: 20px;
  	padding: 0 15px;
}
.login form input[type="submit"] {
  	width: 100%;
  	padding: 15px;
 	margin-top: 20px;
  	background-color: #3274d6;
  	border: 0;
  	cursor: pointer;
  	font-weight: bold;
  	color: #ffffff;
  	transition: background-color 0.2s;
}
.login form input[type="submit"]:hover {
	background-color: #2868c7;
  	transition: background-color 0.2s;
}

.responsive {
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}



