body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: #f4f8ff;
    color: #222;
}

/* HEADER */
header {
    background: linear-gradient(90deg, #003c8f, #0d6efd);
    color: white;
    padding: 20px;
    text-align: center;
}

nav ul {
    list-style: none;
    padding: 0;
    margin-top: 15px;
}

nav ul li {
    display: inline-block;
    margin: 10px;
}

nav ul li a {
    text-decoration: none;
    color: white;
    font-weight: bold;
    padding: 10px 16px;
    border-radius: 6px;
    transition: 0.3s;
}

nav ul li a:hover {
    background: rgba(255,255,255,0.2);
}

/* HERO SECTION */
.hero {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    padding: 60px 20px;
    background: white;
}

.hero img {
    width: 220px;
    border-radius: 50%;
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

.hero-text h2 {
    color: #0d6efd;
    font-size: 32px;
}

.intro {
    text-align: center;
    padding: 40px;
}

/* FOOTER */
footer {
    background: #003c8f;
    color: white;
    padding: 25px;
    text-align: center;
    margin-top: 50px;
}

footer a {
    color: #bcd6ff;
    text-decoration: none;
}
.hero-search {
    text-align: right;
}

#searchInput {
    padding: 10px;
    width: 240px;
    border-radius: 6px;
    border: 1px solid #ccc;
}

#searchResults {
    list-style: none;
    padding: 0;
    margin-top: 6px;
}

#searchResults li a {
    text-decoration: none;
    color: #0d6efd;
    font-size: 14px;
}
nav ul li a {
    position: relative;
}

nav ul li a.active::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 100%;
    height: 3px;
    background: red;
}
/* ARTICLE LAYOUT */
.article-container {
    width: 80%;
    max-width: 900px;
    margin: 40px auto;
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
}

/* ARTICLE CARD */
.article-card {
    background: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);

    /* NEW: equal height for all articles */
    min-height: 400px; /* adjust this value as needed */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

/* TITLE */
.article-card h1 {
    text-align: left;
    margin-bottom: 20px;
    color: #1a1a1a;
}

/* SUBHEADINGS */
.article-card h2 {
    margin-top: 25px;
    color: #003366;
}

/* PARAGRAPHS */
.article-card p {
    margin-bottom: 20px;
    color: #333;
    font-size: 16px;
}

/* LISTS */
.article-card ul {
    margin: 15px 0 15px 20px;
}

.article-card li {
    margin-bottom: 8px;
}

/* IMAGE STYLE */
.article-image {
    text-align: left;
    margin: 20px 0;
}

.article-image img {
    max-width: 100%;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}
/* CONSULT PAGE */
.consult-container {
    width: 85%;
    margin: 40px auto;
    display: flex;
    gap: 40px;
}

/* FORM */
.consult-form {
    flex: 1;
    background: #ffffff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.consult-form h2 {
    margin-bottom: 20px;
}

.consult-form input,
.consult-form select,
.consult-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 12px;
    border-radius: 6px;
    border: 1px solid #ccc;
}

.consult-form button {
    width: 100%;
    padding: 12px;
    background: #0d6efd;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}

.consult-form button:hover {
    background: #003c8f;
}

/* INFO SECTION */
.consult-info {
    flex: 1.5;
}

.consult-info h3 {
    margin-top: 20px;
    color: #003366;
}

.consult-info ul {
    margin-left: 20px;
}