/* style.css */
/* For the Glorious People's Cybersecurity Directorate */

/* General Styling */
body {
    font-family: 'Times New Roman', Times, serif;
    margin: 0;
    padding: 0;
    background-color: #f0f2f5;
    color: #212529;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Header & Banner */
.header {
    background-color: #024FA2;
    color: white;
    padding: 20px 0;
    text-align: center;
    border-bottom: 5px solid #024FA2; /* DPRK Blue */
}
.header h1 {
    margin: 0;
    font-size: 2.5em;
    font-weight: bold;
    text-shadow: 2px 2px 4px #000;
}
.header p {
    margin: 5px 0 0;
    font-size: 1.2em;
    font-style: italic;
}

/* Navigation Bar */
.navbar {
    background-color: #ED1C27;
    padding: 10px 0;
    text-align: center;
}
.navbar a {
    color: #f8f9fa;
    text-decoration: none;
    padding: 10px 20px;
    margin: 0 10px;
    font-size: 1.1em;
    font-weight: bold;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}
.navbar a:hover, .navbar a.active {
    background-color: #c9303c; /* A brighter red for hover/active */
}


/* Main Content Container */
.container {
    max-width: 960px;
    margin: 20px auto;
    padding: 0 20px;
    flex-grow: 1; /* Ensures footer stays at the bottom */
}

/* Section Styling */
.section {
    background-color: #fff;
    margin-bottom: 25px;
    padding: 25px;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}
.section h2 {
    color: #ED1C27; /* DPRK Red - This stays the same, it's good */
    border-bottom: 2px solid #024FA2; /* DPRK Blue */
    padding-bottom: 10px;
    margin-top: 0;
    font-size: 2em;
}

/* Specific item styling (for services, news, etc.) */
.item {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}
.item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}
.item h3 {
    margin: 0 0 5px 0;
    color: #000;
    font-size: 1.5em;
}
.item .meta {
    font-size: 0.9em;
    color: #6c757d;
    margin-bottom: 10px;
    font-style: italic;
}

/* Team Section Grid */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}
.team-member {
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    text-align: center;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
}
.team-member img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 4px solid #024FA2; /* Keep blue for contrast */
    object-fit: cover;
}
.team-member h4 {
    margin: 15px 0 5px;
    color: #ED1C27;
    font-size: 1.4em;
}
.team-member p.title {
    font-style: italic;
    color: #495057;
    margin: 0 0 10px;
    font-size: 1.1em;
}
.team-member p.bio {
    font-size: 1em;
    line-height: 1.5;
    text-align: left;
}


/* Footer */
.footer {
    text-align: center;
    padding: 20px;
    margin-top: 30px;
    background-color: #024FA2;
    color: #adb5bd;
}
.footer p {
    margin: 5px 0;
}

