/* ===============================
   GLOBAL RESET & BASE
================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Segoe UI", Arial, sans-serif;
    background: #f4f8fb;
    color: #333;
    line-height: 1.6;
}

/* ===============================
   HEADER & NAVBAR
================================ */
header {
    background: #004080;
    color: #fff;
}

/* Full-width bar */
.navbar {
    width: 100%;
}

/* Centered nav content */
.navbar ul {
    max-width: 1200px;
    margin: 0 auto;
    padding: 12px 20px;
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 18px;
}

.navbar a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    padding: 6px 4px;
}

.navbar a:hover,
.navbar a.active {
    border-bottom: 2px solid #ffd700;
}

/* Mobile toggle */
.menu-toggle {
    display: none;
    font-size: 1.6rem;
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
}

/* ===============================
   BANNER
================================ */
.banner img {
    width: 100%;
    display: block;
}

/* ===============================
   MAIN CONTENT CONTAINER
================================ */
main {
    max-width: 1200px;
    margin: 30px auto;
    padding: 25px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* ===============================
   HEADINGS
================================ */
h1, h2, h3 {
    color: #003366;
    margin-bottom: 15px;
}

h2 {
    border-bottom: 2px solid #003366;
    padding-bottom: 5px;
}

/* ===============================
   INFO SECTIONS (INDEX)
================================ */
.info-wrapper {
    margin-top: 30px;
}

.info-row.horizontal {
    display: flex;
    gap: 20px;
    margin-bottom: 35px;
}

.info-row.vertical {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.info-block {
    flex: 1;
    padding: 22px;
    background: #f9f9f9;
    border-radius: 8px;
    border: 1px solid #ddd;
    text-align: center;
}

.info-block.full {
    text-align: left;
}

hr {
    margin: 45px 0;
    border: none;
    border-top: 2px solid #004080;
}

/* ===============================
   BUTTONS
================================ */
.btn,
.btn-blue,
button {
    display: inline-block;
    padding: 10px 18px;
    background: #004080;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    text-decoration: none;
    font-weight: bold;
}

.btn:hover,
.btn-blue:hover,
button:hover {
    background: #0066cc;
}

/* ===============================
   FORMS
================================ */
form {
    max-width: 650px;
    margin: 25px auto;
    padding: 25px;
    background: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

form label {
    font-weight: bold;
    margin-top: 10px;
    display: block;
}

form input,
form select,
form textarea {
    width: 100%;
    padding: 10px;
    margin: 8px 0 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

/* ===============================
   TABLES
================================ */
table,
.styled-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    background: #fff;
}

table th,
table td,
.styled-table th,
.styled-table td {
    padding: 12px;
    border: 1px solid #ddd;
}

table th,
.styled-table thead tr {
    background: #004080;
    color: #fff;
}

table tr:nth-child(even),
.styled-table tbody tr:nth-child(even) {
    background: #f4f4f4;
}

table tr:hover {
    background: #eef6ff;
}

/* ===============================
   SLIDESHOW
================================ */
.slideshow-container {
    position: relative;
    max-width: 100%;
}

.mySlides {
    display: none;
}

.mySlides img {
    width: 100%;
    border-radius: 6px;
}

.prev, .next {
    position: absolute;
    top: 50%;
    padding: 16px;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    background: rgba(0,0,0,0.6);
}

.next {
    right: 0;
}

/* ===============================
   TEAM / MEET THE TEAM
================================ */
.team-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 25px;
}

.team-member,
.executive-card {
    background: #fff;
    padding: 22px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.team-member img,
.executive-card img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 12px;
}

/* ===============================
   ABOUT PAGE (NEWSPAPER STYLE)
================================ */
.about-title {
    color: #004080;
    margin-bottom: 30px;
}

.about-news {
    display: flex;
    flex-direction: column;
    gap: 45px;
}

.news-block {
    display: flex;
    gap: 25px;
    align-items: flex-start;
}

.news-block.reverse {
    flex-direction: row-reverse;
}

.news-block img {
    width: 220px;
    border-radius: 6px;
    box-shadow: 0 3px 8px rgba(0,0,0,0.2);
}

.news-text {
    font-size: 14px;
    line-height: 1.8;
    text-align: justify;
}

/* Drop cap */
.drop-letter {
    float: left;
    font-size: 38px;
    line-height: 1;
    font-weight: bold;
    margin-right: 8px;
    color: #004080;
}

/* ===============================
   PARTNERS SECTION
================================ */
.partners {
    margin: 60px auto;
    text-align: center;
}

.partners h2 {
    color: #004080;
    margin-bottom: 25px;
}

.partners-logos {
    display: flex;
    justify-content: center;
    gap: 35px;
    flex-wrap: wrap;
}

.partners-logos img {
    width: 120px;
    filter: grayscale(100%);
    transition: 0.3s ease;
}

.partners-logos img:hover {
    filter: grayscale(0%);
    transform: scale(1.05);
}

/* ===============================
   FOOTER
================================ */
footer {
    text-align: center;
    padding: 20px;
    margin-top: 50px;
    background: #eee;
}

/* ===============================
   RESPONSIVE
================================ */
@media (max-width: 900px) {
    .info-row.horizontal {
        flex-direction: column;
    }

    .team-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .news-block,
    .news-block.reverse {
        flex-direction: column;
    }

    .news-block img {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 600px) {
    .navbar ul {
        display: none;
        flex-direction: column;
        align-items: center;
        background: #004080;
    }

    .navbar ul.show {
        display: flex;
    }

    .menu-toggle {
        display: block;
    }

    .team-container {
        grid-template-columns: 1fr;
    }
}
/* Admin tables visibility fix */
.table {
    background: #1f1f1f;
    color: #ffffff;
}

.table th {
    background: #004080;
    color: #ffffff;
    font-weight: bold;
}

.table td {
    color: #eaeaea;
}

.table tr:nth-child(even) {
    background: #2a2a2a;
}

.table tr:hover {
    background: #333333;
}
