:root {
    --navy: #0B1F3A;
    --gold: #C9A44C;
    --white: #F5F6F8;
    --command: #141A21;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Georgia, serif;
    background-color: var(--white);
    color: var(--navy);
}

header {
    background-color: var(--navy);
    color: var(--white);
    text-align: center;
    padding: 50px 20px;
    border-bottom: 5px solid var(--gold);
}


header h1 {
    letter-spacing: 4px;
    margin-bottom: 10px;
}

.emblem {
    width: 150px;
    max-width: 100%;
    display: block;
    margin: 0 auto 20px;
    background-color: white;
    padding: 10px;
    border-radius: 8px;
    border: 3px solid var(--gold);
}



nav {
    margin-top: 30px;
}

.nav-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}

.nav-links a {
    color: var(--white);
    text-decoration: none;
    font-weight: bold;
    letter-spacing: 1px;
    padding: 8px 12px;
    border: 1px solid transparent;
    transition: 0.3s ease;
}

.nav-links a:hover {
    color: var(--gold);
    border-bottom: 1px solid var(--gold);
}


main {
    max-width: 1000px;
    margin: 60px auto;
    padding: 30px;
    text-align: center;
}

button {
    background-color: var(--navy);
    color: var(--gold);
    border: 2px solid var(--gold);
    padding: 12px 24px;
    cursor: pointer;
    font-size: 16px;
}

button:hover {
    background-color: var(--gold);
    color: var(--navy);
}

footer {
    background-color: var(--navy);
    color: var(--gold);
    text-align: center;
    padding: 25px;
}


.about-section {
    margin-top: 80px;
    padding: 50px 30px;
    background-color: white;
    border-top: 5px solid var(--gold);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.about-section h2 {
    font-size: 32px;
    margin-bottom: 10px;
}

.section-subtitle {
    color: #777;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 12px;
    margin-bottom: 40px;
}

.motto-item {
    padding: 20px;
    margin-bottom: 15px;
    border-left: 4px solid var(--gold);
    background-color: #F5F6F8;
    text-align: left;
}

.motto-item h3 {
    color: var(--navy);
    margin-top: 0;
}

.motto-item p {
    line-height: 1.8;
}

.official-statement {
    font-weight: bold;
    font-style: italic;
    text-align: center;
    color: var(--navy);
    border-top: 1px solid var(--gold);
    padding-top: 20px;
    margin-top: 20px;
}

.national-motto {
    color: var(--gold);
    font-size: 16px;
    font-weight: bold;
    letter-spacing: 1.5px;
    line-height: 1.8;
    margin-top: 20px;
}


/* OFFICE OF THE PRESIDENT */

.president-main {
    max-width: 1100px;
    margin: 50px auto;
    padding: 20px;
    text-align: left;
}

.presidential-document {
    background: #ffffff;
    padding: 60px 70px;
    border: 1px solid #ddd;
    border-top: 6px solid var(--gold);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.document-heading {
    text-align: center;
    border-bottom: 2px solid var(--gold);
    padding-bottom: 30px;
    margin-bottom: 40px;
}

.document-office {
    font-weight: bold;
    letter-spacing: 3px;
    color: var(--navy);
}

.document-office span {
    display: block;
    font-size: 12px;
    margin-top: 8px;
}

.document-number {
    color: #8a702e;
    font-size: 12px;
    letter-spacing: 2px;
    margin-top: 30px;
}

.document-heading h2 {
    font-size: 36px;
    margin: 20px 0;
}

.document-date {
    font-style: italic;
    color: #666;
}

.address-content {
    font-size: 17px;
    line-height: 1.9;
}

.address-content p {
    margin-bottom: 24px;
}

.address-content h3 {
    margin-top: 55px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--gold);
    font-size: 24px;
}

.address-content blockquote {
    margin: 35px 20px;
    padding: 25px;
    background: #f5f6f8;
    border-left: 4px solid var(--gold);
    font-weight: bold;
    font-style: italic;
    text-align: center;
}

.salutation {
    font-weight: bold;
}

.closing-motto {
    text-align: center;
    font-weight: bold;
    color: var(--navy);
    line-height: 2.2;
    margin: 50px 0;
}

.presidential-signature {
    margin-top: 70px;
    text-align: right;
    border-top: 1px solid var(--gold);
    padding-top: 30px;
}

.presidential-signature p {
    margin: 5px 0;
}

.signature-name {
    font-family: Georgia, serif;
    font-size: 30px;
    font-style: italic;
    font-weight: bold;
}

.scripture {
    font-size: 12px;
    color: #8a702e;
    margin-top: 20px !important;
}

.document-end {
    margin-top: 60px;
    padding-top: 20px;
    border-top: 2px solid var(--gold);
    text-align: center;
    font-size: 11px;
    letter-spacing: 2px;
    color: #777;
}

.document-end span {
    display: block;
    margin-top: 10px;
}

/* Smaller screen adjustments */

@media (max-width: 700px) {
    .president-main {
        padding: 10px;
    }

    .presidential-document {
        padding: 30px 20px;
    }

    .document-heading h2 {
        font-size: 26px;
    }

    .address-content {
        font-size: 16px;
    }
}


/* SECRETARY OF STATE AND DEPARTMENT PAGES */

.nav-links a[aria-current="page"] {
    color: var(--gold);
    border-bottom: 2px solid var(--gold);
}

.department-main {
    max-width: 1000px;
    margin: 55px auto;
    padding: 20px;
    text-align: left;
}

.department-panel {
    background-color: white;
    padding: 50px;
    border-top: 5px solid var(--gold);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.department-panel>h2 {
    text-align: center;
    font-size: 32px;
}

.department-panel>.section-subtitle {
    text-align: center;
}

.department-panel>p {
    line-height: 1.8;
    text-align: center;
    margin-bottom: 35px;
}

.secretary-name {
    font-size: 23px;
    font-weight: bold;
    color: var(--navy);
}

.request-response {
    font-weight: bold;
    color: #8a702e;
    margin-top: 20px;
    line-height: 1.8;
}

@media (max-width: 700px) {
    .department-main {
        margin: 20px auto;
        padding: 10px;
    }

    .department-panel {
        padding: 25px 18px;
    }
}


/* DEPARTMENT OF ARMED FORCES */

.armed-forces-main .department-panel {
    border-top: 6px solid var(--gold);
}

.readiness-dashboard {
    margin: 30px 0;
    padding: 25px;
    background: var(--navy);
    color: white;
    border: 2px solid var(--gold);
}

.readiness-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 25px;
}

.readiness-heading h3 {
    margin: 0;
    color: white;
    font-size: 22px;
}

.readiness-live {
    color: #65e0a3;
    font-family: monospace;
    font-size: 12px;
    letter-spacing: 1px;
}

.readiness-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px;
}

.readiness-card {
    padding: 20px;
    background: #182d49;
    border: 1px solid #40536c;
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 0;
}

.readiness-card span {
    color: #b4c0d1;
    font-size: 12px;
    letter-spacing: 1px;
}

.readiness-card strong {
    color: var(--gold);
    font-size: 15px;
    overflow-wrap: anywhere;
}

.readiness-disclaimer {
    margin: 22px 0 0;
    color: #aebcd0;
    font-size: 11px;
    font-style: italic;
}

.readiness-report {
    margin-top: 25px;
    padding: 20px;
    background: #e9edf2;
    border-left: 4px solid var(--gold);
    color: var(--navy);
    line-height: 1.8;
}

.readiness-report[hidden] {
    display: none;
}

.readiness-report h4 {
    margin-top: 0;
    font-size: 18px;
}

@media (max-width: 650px) {
    .readiness-grid {
        grid-template-columns: 1fr;
    }

    .readiness-dashboard {
        padding: 18px;
    }
}

/* DEPARTMENT OF COMMUNICATIONS */

.communications-dashboard {
    margin: 30px 0;
    padding: 25px;
    background: var(--navy);
    color: white;
    border: 2px solid var(--gold);
}

.communications-dashboard-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 25px;
}

.communications-dashboard-heading h3 {
    color: white;
    margin: 0;
    font-size: 22px;
}

.communications-online {
    color: #65e0a3;
    font: bold 12px monospace;
}

.communications-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px;
}

.communications-status {
    background: #182d49;
    border: 1px solid #40536c;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.communications-status span {
    color: #b4c0d1;
    font-size: 12px;
    letter-spacing: 1px;
}

.communications-status strong {
    color: var(--gold);
    font-size: 15px;
}

.communications-disclaimer {
    font-size: 12px;
    font-style: italic;
    color: #8996a7;
    margin-top: 20px;
}

.communications-dashboard .communications-disclaimer {
    color: #b4c0d1;
}

.communications-output {
    background: #e9edf2;
    color: var(--navy);
    border-left: 4px solid var(--gold);
    padding: 22px;
    margin-top: 24px;
    line-height: 1.8;
}

.communications-output[hidden] {
    display: none;
}

.communications-output h4 {
    margin-top: 0;
}

.inquiry-label {
    display: block;
    font-weight: bold;
    margin: 25px 0 10px;
}

.inquiry-select {
    width: 100%;
    padding: 14px;
    margin-bottom: 18px;
    background: white;
    color: var(--navy);
    border: 1px solid #aab4c0;
    font-size: 15px;
}

.press-release {
    background: white;
    border: 1px solid #dce1e8;
    border-left: 4px solid var(--gold);
    padding: 22px;
    margin-top: 18px;
}

.press-release span {
    color: #80661e;
    font-size: 11px;
    letter-spacing: 1px;
    font-weight: bold;
}

.press-release h4 {
    color: var(--navy);
    margin: 12px 0;
    font-size: 19px;
}

.press-release p {
    line-height: 1.7;
    margin-bottom: 0;
}

@media (max-width: 650px) {
    .communications-grid {
        grid-template-columns: 1fr;
    }

    .communications-dashboard {
        padding: 18px;
    }
}

/* DEPARTMENT OF JUSTICE */

.justice-dashboard {
    margin: 30px 0;
    padding: 25px;
    background: var(--navy);
    color: white;
    border: 2px solid var(--gold);
}

.justice-dashboard-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 25px;
}

.justice-dashboard-heading h3 {
    margin: 0;
    color: white;
    font-size: 22px;
}

.justice-online {
    color: #65e0a3;
    font: bold 12px monospace;
}

.justice-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px;
}

.justice-status {
    background: #182d49;
    padding: 20px;
    border: 1px solid #40536c;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.justice-status span {
    color: #b4c0d1;
    font-size: 12px;
    letter-spacing: 1px;
}

.justice-status strong {
    color: var(--gold);
    font-size: 15px;
    overflow-wrap: anywhere;
}

.justice-disclaimer {
    color: #b4c0d1;
    font-size: 12px;
    font-style: italic;
    margin-top: 20px;
}

.justice-case-list {
    display: grid;
    gap: 12px;
    margin: 25px 0;
}

.justice-case {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    width: 100%;
    background: white;
    color: var(--navy);
    text-align: left;
    border: 1px solid #cfd6df;
    border-left: 4px solid var(--gold);
    padding: 18px;
}

.justice-case:hover {
    background: #e8edf3;
    color: var(--navy);
}

.justice-case span,
.justice-case small {
    font-family: monospace;
    font-size: 12px;
}

.justice-case strong {
    flex: 1;
    min-width: 180px;
}

.justice-case small {
    color: #846620;
    font-weight: bold;
}

.justice-label {
    display: block;
    font-weight: bold;
    margin: 20px 0 10px;
}

.justice-select {
    display: block;
    width: 100%;
    padding: 14px;
    background: white;
    color: var(--navy);
    border: 1px solid #aab4c0;
    font-size: 15px;
    margin-bottom: 18px;
}

.justice-output {
    margin-top: 24px;
    padding: 22px;
    background: #e9edf2;
    color: var(--navy);
    border-left: 4px solid var(--gold);
    line-height: 1.8;
}

.justice-output[hidden] {
    display: none;
}

.justice-output h4 {
    margin-top: 0;
    font-size: 18px;
}

@media (max-width: 650px) {
    .justice-grid {
        grid-template-columns: 1fr;
    }

    .justice-dashboard {
        padding: 18px;
    }
}


/* ======================================== */
/* DIRECTOR PROFILE - VISUAL COMMUNICATIONS  */
/* ======================================== */

.director-portrait {
    flex: 0 0 150px;
    text-align: center;
}

.director-headshot {
    width: 150px;
    height: 190px;
    object-fit: cover;
    object-position: center top;
    border: 2px solid #C9A44C;
    border-radius: 5px;
    display: block;
    margin: 0 auto;
}