/* RESET */
html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* TOP BARS */
.top-light {
    width: 100%;
    height: 45px;
    background-color: #324A63;
}
.top-dark {
    width: 100%;
    height: 85px;
    background-color: #0F2037;
}

/* LOGO */
.fhp-logo {
    position: absolute;
    top: 0;
    left: 360px;
    height: 165px;
    z-index: 50;
}

/* FIRST NAV ROW */
.nav-row {
    position: absolute;
    top: 16px;
    left: 675px;
    display: flex;
    gap: 35px;
    z-index: 100;
}
.nav-link {
    color: white;
    font-family: "Segoe UI", Arial, sans-serif;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}

/* DROPDOWN */
.about-container { position: relative; display: inline-block; }
.dropdown-menu {
    display: none;
    position: absolute;
    width: 220px;
    background-color: #324A63;
    padding: 12px 0;
    z-index: 999;
}
.dropdown-menu a {
    display: block;
    padding: 10px 20px;
    color: white;
    text-decoration: none;
}
.dropdown-menu a:hover { background-color: #293b4f; }
.about-container:hover .dropdown-menu { display: block; }

/* DIRECTOR NAME */
.director-name {
    position: absolute;
    top: 15px;
    right: 425px;
    color: white;
    font-weight: 600;
    font-size: 13px;
    white-space: nowrap;
    z-index: 2000;
}

/* SECOND NAV ROW */
.subnav-row {
    position: absolute;
    top: 75px;
    left: 625px;
    display: flex;
    gap: 40px;
    z-index: 50;
}
.subnav-row a {
    color: white;
    font-size: 20px;
    font-weight: 700;
    text-decoration: none;
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 700;   /* ensures bold */
}



/* APPLY BUTTON */
.apply-btn {
    height: 55px;
    border-radius: 8px;
    cursor: pointer;
}
.apply-wrapper {
    position: absolute;
    top: 45px;
    right: 420px;
    display: flex;
    align-items: center;
    gap: 20px;
    z-index: 3000;
}
.nav-divider {
    width: 1px;
    height: 85px;
    background-color: #3c4a5a;
    opacity: 0.6;
}

/* HEADER BANNER */
.banner-img {
    width: 100%;
    height: 500px;      /* ← ONLY CHANGE */
    object-fit: cover;
}

/* TITLE OVER BANNER */
.banner-title {
    position: absolute;
    top: 230px;
    width: 100%;
    text-align: center;
    z-index: 50;
}
.banner-title h1 {
    font-size: 48px;
    font-weight: 800;
    color: #FFC300;
    margin: 0;
}
.banner-title h2 {
    font-size: 22px;
    font-weight: 500;
    color: white;
}

/* TWO COLUMN SECTION */
.two-col-section {
    display: flex;
    width: 100%;
    margin-top: -20px;     /* ← THIS IS THE ONLY THING THAT REMOVES THE GAP */
    padding-top: 0;
}
.two-col-section { font-family: "Merriweather", serif !important; }

.col {
    flex: 1;
    padding: 60px 0;
    text-align: center;
    background-color: #e5e5e5;
    border-right: 1px solid #ccc;
    position: relative;
}

.col:last-child {
    border-right: none;
}

.two-col-section a {
    text-decoration: none !important;
}

/* HOVER IMAGE OVERLAYS */
.hover-card .bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    background-size: cover;
    background-position: center;
    transition: opacity 0.4s ease;
}
.hover-card:hover .bg { opacity: 0.45; }
.hover-card:hover h3,
.hover-card:hover .col-link { color: white; }

.col h3 {
    font-family: "Merriweather", serif;
    font-size: 42px;
    color: #333;
    font-weight: 300;
}
.col-link {
    font-family: "Merriweather", serif;
    font-size: 20px;
    color: #FFC300;
    font-weight: 500;
}
/* FOOTER */
.footer-section {
    width: 100%;
    height: 200px;
    background-image: url('../assets/footer.png');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    background-color: #0F2037;
    margin-top: 40px;
}
.whyapply-img {
    width: 1150px;
    height: auto;
    display: block;
    margin: 40px auto 40px auto;   /* TOP margin added here */
}
/* Wrapper so clickable zones can sit on top */
.whyapply-wrapper {
    position: relative;
    width: fit-content;
    margin: 40px auto;
}

/* Existing image rules remain unchanged */
.whyapply-img {
    width: 1150px;
    height: auto;
    display: block;
}

/* CLICKABLE AREA: Learn More button */
.learnmore-zone {
    position: absolute;
    left: 60px;      /* adjust as needed */
    top: 225px;       /* adjust as needed */
    width: 260px;     /* size of the yellow button */
    height: 70px;

    cursor: pointer;
    background: rgba(255,255,255,0); /* invisible click zone */
    z-index: 10;
}

/* CLICKABLE AREA: Black Trooper panel */
.trooper-zone {
    position: absolute;
    right: 10px;    /* adjust to match your image */
    top: 0px;
    width: 475px;
    height: 500px;

    cursor: pointer;
    background: rgba(255,255,255,0); /* invisible click zone */
    z-index: 10;
}

.whyapply-title {
    position: relative;   /* allows you to move the text */
    text-align: center;
    font-size: 50px;
    font-weight: 300;
    font-family: "Segoe UI", Arial, sans-serif;
    color: #333;
    margin-top: 40px;

    /* You control these */
    top: 0px;    /* move text up/down */
    left: -460px;   /* move text left/right */
}

.language-img {
    position: relative;   /* allows free movement */
    width: 180px;         /* adjust size */
    height: auto;
    margin-top: 30px;     /* move down */
    margin-left: 975px;   /* move right */

    /* You can fully control placement: */
    /* margin-top: ###px; */
    /* margin-left: ###px; */
}

.trooper-img {
    position: relative;   /* lets you move it freely */
    width: 350px;         /* adjust size */
    height: auto;

    margin-top: -65px;    /* move UP (-) or DOWN (+) */
    margin-left: 1190px;   /* move LEFT (<) or RIGHT (>) */
}

.page-title-wrapper {
    position: relative;   /* allows the label to move independently */
    width: fit-content;   /* prevents stretching */
    margin: 0 auto;       /* keeps the title centered */
}

.page-top-label {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 15px;          /* slightly larger to match reference */
    letter-spacing: 2px;      /* matches the long stretched look */
    text-transform: uppercase;
    color: #0F2D52;           /* strong blue like your screenshot */

    position: absolute;
    top: 0px;               /* adjust freely */
    left: -458px;               /* adjust freely */

    white-space: nowrap;      /* ← prevents wrapping 100% */
    width: auto;              /* ← ensures single-line sizing */
    display: inline-block;    /* ← forces single-row layout */

    margin: 0;
}

    /* PAGE-SPECIFIC: Move only the Streamline title */
.streamline-title {
    position: relative;
    top: 20px;      /* Move DOWN (increase number to go farther) */
}

    /* APPLY PAGE CUSTOM CONTENT */
.apply-content {
    position: relative;
    width: 100%;
    min-height: 400px;
    padding: 40px;
}

/* Editable image */
.apply-img {
    position: absolute;
    top: -100px;          /* move up/down */
    left: 365px;         /* move left/right */
    width: 300px;       /* change size */
    height: auto;
}

/* Editable text block */
.apply-text {
    position: absolute;
    top: -375px;          /* move up/down */
    left: 375px;        /* move left/right */
    max-width: 600px;   /* width limit */
    font-family: "Segoe UI", Arial, sans-serif;
    font-size: 17px;
    line-height: 1.4;

}
/* WHY APPLY PAGE CUSTOM CONTENT */
.whyapply-content {
    position: relative;
    width: 100%;
    min-height: 500px;
    padding: 40px;
}

/* Movable, editable text block */
.whyapply-text {
    position: absolute;
    top: -350px;         /* move up/down */
    left: 275px;        /* move left/right */
    max-width: 900px;  /* widen or narrow text */
    font-size: 18px;
    line-height: 1.5;
    font-family: "Segoe UI", Arial, sans-serif;
}
/* REQUIREMENTS PAGE CUSTOM CONTENT */
.requirements-content {
    position: relative;
    width: 100%;
    min-height: 500px;
    padding: 40px;
}

/* Movable, editable text block */
.requirements-text {
    position: absolute;
    top: -350px;         /* move up/down */
    left: 225px;        /* move left/right */
    max-width: 900px;  /* width of the text block */
    font-size: 18px;
    line-height: 1.5;
    font-family: "Segoe UI", Arial, sans-serif;
}
/* CAREER PAGE CONTENT */
.career-content {
    width: 100%;
    padding: 40px 0;
    display: flex;
    justify-content: center;
}

.career-text {
    width: 900px;                /* same width as your other pages */
    font-size: 18px;
    line-height: 1.5;
    font-family: "Segoe UI", Arial, sans-serif;
}

.career-text p {
    margin-bottom: 18px;
}

.career-text hr {
    margin: 35px 0;
}

/* FINAL CAREER PAGE POSITION ADJUSTMENTS */
.career-content {
    margin-top: -400px;   /* move UP */
}

.career-text {
    margin-left: -550px;  /* move LEFT */
}

/* STREAMLINE PAGE CUSTOM CONTENT */
.streamline-content {
    position: relative;
    width: 100%;
    min-height: 500px;   /* THIS is what makes the text appear */
    padding: 40px;
    z-index: 1;          /* ensures it sits above background items */
}

/* Movable text block (same controls as Why Apply / Requirements) */
.streamline-text {
    position: absolute;
    top: 25px;     /* move UP/DOWN */
    left: 250px;     /* move LEFT/RIGHT */
    max-width: 900px;
    font-size: 18px;
    line-height: 1.5;
    font-family: "Segoe UI", Arial, sans-serif;
}

/* STREAMLINE PAGE — Trooper Image Position Override */
.streamline-content .trooper-img {
    margin-top: -10px;      /* adjust UP/DOWN */
    margin-left: 1100px;   /* adjust LEFT/RIGHT */
}

/* PAGE-SPECIFIC: Policy Manual Label */
.policy-label {
    position: relative;
    top: 40px;          /* adjust position */
    left: -455px;           /* adjust position */
    font-size: 20px;     /* <<< MAKE TEXT LARGER */
    font-weight: 700;    /* make it bold, same style */
    letter-spacing: 2px; /* optional, keeps the stretched look */
}

/* UNIFORM STRUCTURE PAGE IMAGES */

/* Top image (uniform.png) */
.uniform-img {
    position: relative;
    top: -40px;      /* adjust UP/DOWN */
    left: 150px;     /* adjust LEFT/RIGHT */
    width: 80%;      
    max-width: 1700px;
    display: block;
    z-index: 2;
}

/* Bottom image (numbers.png) */
.numbers-img {
    position: relative;
    top: -20px;      /* adjust UP/DOWN */
    left: 155px;     /* adjust LEFT/RIGHT */
    width: 95%;
    max-width: 1700px;
    display: block;
    z-index: 2;
}

/* Container for tooltip positioning */
.notes-container {
    position: relative;
    display: inline-block;
}
/* Invisible hotspot */
.note-hotspot {
    position: absolute;
    width: 120px;      /* adjust for your “See Notes” cell size */
    height: 35px;
    cursor: pointer;
}

/* Tooltip default */
.note-hotspot::after {
    content: attr(data-note);
    position: absolute;
    top: 40px;          /* tooltip appears below hotspot */
    left: 0;
    background: #0F2037;
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
    z-index: 50;
}

/* Tooltip on hover */
.note-hotspot:hover::after {
    opacity: 1;
}

.uniform-title {
    position: relative;
    top: 0px;           /* identical vertical offset as Policy Manual */
    left: -460px;        /* identical horizontal alignment */
    font-size: 50px;     /* same size as Policy Manual */
    font-weight: 300;    /* same thin weight. */
    font-family: "Segoe UI", Arial, sans-serif;
}

/* FHP AUXILIARY PAGE CUSTOM TEXT */
.aux-text {
    position: absolute;     /* allows full manual movement */
    top: 415px;             /* move UP/DOWN */
    left: 315px;            /* move LEFT/RIGHT */

    max-width: 900px;       /* width of text block */
    font-family: "Segoe UI", Arial, sans-serif;
    font-size: 18px;        /* match screenshot */
    line-height: 1.5;       /* match screenshot spacing */
    color: #333;            /* exact color from your sample */
}

/* FHP AUX PAGE — Moveable Clickable Image */
.aux-img {
    position: absolute;     /* fully movable */
    top: 560px;             /* adjust up/down */
    left: 310px;            /* adjust left/right */

    width: 250px;           /* resize the image */
    height: auto;

    cursor: pointer;
    z-index: 10;            /* sits above backgrounds */
}

/* FAQ CONTAINER */
.faq-container {
    width: 900px;
    margin: 50px auto;
    font-family: "Segoe UI", Arial, sans-serif;
}

/* FAQ ITEM */
.faq-item {
    border-bottom: 1px solid #dcdcdc;
    padding: 10px 0;
}

/* QUESTION BUTTON */
.faq-question {
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    padding: 15px 0;
    font-size: 20px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 15px;
    color: #333;
}

/* ARROW */
.faq-question .arrow {
    display: inline-block;
    font-size: 26px;
    color: #666;
    transition: transform 0.2s ease;
}

/* Q LABEL */
.faq-question .q-label {
    font-size: 26px;
    font-weight: 500;
    color: #333;
    margin-right: 5px;
}

/* ANSWER BOX */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease-out, padding 0.25s ease-out;
    padding: 0 0;
}

.faq-answer p {
    font-size: 17px;
    line-height: 1.5;
    color: #444;
    margin: 15px 0;
}

/* WHEN ACTIVE */
.faq-item.active .faq-answer {
    max-height: 500px;    /* enough space for long answers */
    padding: 10px 0;
}

.faq-item.active .arrow {
    transform: rotate(90deg);
    color: #444;
}

/* Movable FAQ block */
.faq-wrapper {
    position: relative;     /* keeps FAQ in page flow */
    width: 900px;

    /* Move visually WITHOUT breaking layout */
    transform: translate(200px, -400px);  
}

/* Inside FAQ styling (same as before) */
.faq-container {
    width: 100%;
    font-family: "Segoe UI", Arial, sans-serif;
}

.faq-item {
    border-bottom: 1px solid #dcdcdc;
    padding: 10px 0;
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    padding: 15px 0;
    font-size: 20px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 15px;
    color: #333;
}

.faq-question .arrow {
    font-size: 26px;
    color: #666;
    transition: transform 0.2s ease;
}

.faq-question .q-label {
    font-size: 26px;
    font-weight: 500;
    color: #333;
    margin-right: 5px;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease-out, padding 0.25s ease-out;
    padding: 0;
}

.faq-answer p {
    font-size: 17px;
    line-height: 1.5;
    color: #444;
    margin: 15px 0;
}

.faq-item.active .faq-answer {
    max-height: 2000px;
    padding: 10px 0;
}

.faq-item.active .arrow {
    transform: rotate(90deg);
    color: #444;
}

.academy-simple {
    width: 900px;
    margin: 60px auto;
    font-family: "Segoe UI", Arial, sans-serif;
    font-size: 18px;
    line-height: 1.6;
    color: #333;

    /* movement controls */
    position: relative;
    top: -380px;     /* move DOWN (+) or UP (-) */
    left: -275px;  /* move LEFT (-) or RIGHT (+) */
    margin-bottom: -300px;   /* ← THIS removes the giant white space */
}

.academy-simple h2 {
    font-size: 32px;
    font-weight: 300;
    margin-bottom: 20px;
    text-align: center;
}

/* ====== 3-COLUMN ACADEMY IMAGES ====== */

.academy-images-row {
    width: 100%;
    display: flex;
    justify-content: center;   /* centers the 3 images */
    gap: 40px;                 /* space between images */
    margin-top: -25px;
    position: relative;
}

.academy-img-col {
    width: 300px;       /* you can adjust */
    height: auto;
    border-radius: 6px;
    position: relative; /* allows individual movement */
}

/* === INDIVIDUAL MOVEMENT CONTROLS === */

#acad-img1 { top: -30px; left: -240px; }
#acad-img2 { top: -30px; left: -230px; }
#acad-img3 { top: -30px; left: -220px; }

/*
   Movement guide:
   top: -20px = move UP
   top: +20px = move DOWN
   left: -20px = move LEFT
   left: +20px = move RIGHT
*/

/* ==========================
   CLEAN UNIFORM STRUCTURE CSS
   ========================== */

.uniform-container {
    width: 95%;
    max-width: 1800px;
    margin: 160px auto;
    font-family: "Segoe UI", Arial, sans-serif;
}

.uniform-title-row {
    text-align: center;
    color: rgb(252, 251, 251);
    background-color: #2A3D52;
    padding: 20px 0;
    font-size: 32px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 40px;
}

.uniform-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 25px;
    margin-bottom: 50px;
}

.uniform-block {
    background-color: #1E2A38;
    padding: 15px;
    border-radius: 6px;
    text-align: center;
    color: rgb(250, 249, 249);
}

.uniform-block-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
}

/* 🔥 IMAGE SIZE — EDIT HERE ONLY */
.uniform-img-sample {
    width: auto;
    height: 260px;     /* ← CHANGE THIS TO RESIZE ALL IMAGES */
    object-fit: contain;
    display: block;
    margin: 0 auto 20px;
}

.uniform-table {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    width: 100%;
    margin-top: 10px;
}

.uniform-item {
    width: 140px;
    height: 42px;
    background: #b8b7b7;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
}
/* Popup background overlay */
.notes-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.55);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 99999;
}

/* The popup box */
.notes-popup {
    background: #1E2A38;
    color: white;
    padding: 20px 25px;
    border-radius: 8px;
    width: 350px;
    max-width: 90%;
    font-size: 16px;
    line-height: 1.4;
    position: relative;
    box-shadow: 0 0 20px rgba(0,0,0,0.4);
}

/* Close button (X) */
.notes-close {
    position: absolute;
    top: 8px;
    right: 12px;
    font-size: 22px;
    cursor: pointer;
    color: #FFC300;
    font-weight: bold;
}
.notes-click {
    cursor: pointer !important;
    color: #FFC300;      /* optional: makes it look like a link */
    text-decoration: underline;   /* optional: link style */
}

/* === IMPORTANT DOCUMENTS PAGE TITLE POSITIONING === */
.important-docs-page .page-title-wrapper {
    position: relative !important;
    left: 40px;   /* move LEFT (-) or RIGHT (+) */
    top: 0px;       /* move UP (-) or DOWN (+) */
}
/* Important Documents page – gold clickable links */
.important-doc-links a {
    color: #FFC300;               /* gold */
    font-weight: 600;
    text-decoration: none;
}

.important-doc-links a:hover {
    color: #ffdd55;               /* brighter gold hover */
    text-decoration: underline;
}

.important-doc-links li {
    margin-bottom: 10px;
}
/* Important docs section styling */
.important-doc-section {
    margin-top: 20px;
}

.important-header {
    font-weight: 700;
    font-size: 18px;
    margin: 25px 0 8px 0;
    color: #000;
}

.important-doc-links {
    list-style-type: none;
    padding-left: 0;
    margin-top: 0;
}

.important-doc-links li {
    margin-bottom: 6px;
}

.important-doc-links a {
    color: #FFC300;     /* gold */
    text-decoration: none;
    font-weight: 500;
}

.important-doc-links a:hover {
    text-decoration: underline;
}
/* FIX NAV POSITION AFTER ADDING SUBDIVISIONS */
.nav-row {
    left: 660px !important;   /* move nav left so all items fit */
}
/* ===== SUBDIVISION PAGE POSITIONING ===== */
.subdivision-title-wrapper .page-top-label {
    top: 40px !important;      /* move SUBDIVISIONS label */
    left: -455px !important;   /* move LEFT/RIGHT */
}

.subdivision-title-wrapper .whyapply-title {
    top: 120px !important;     /* move big title UP/DOWN */
    left: -455px !important;   /* move LEFT/RIGHT */
}
/* Move SUBDIVISION title block together */
.page-title-wrapper {
    position: relative !important;
    left: 300px !important;   /* adjust this number to move left/right */
    top: 20px !important;     /* optional: move block up/down */
}
/* ===========================
   SUBDIVISION PAGE — CLEAN CSS
   =========================== */

/* Shared base styles */
.subdivision-images-row {
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 40px;
    position: relative;
}

.subdivision-img {
    width: 300px;
    height: auto;
    border-radius: 6px;
    position: relative;
}

/* ===========================
   BCII ONLY — Image Positions
   =========================== */
.bcii-images {
    position: relative !important;
    margin-top: 20px !important;   /* vertical position tweak */
    left: 0px !important;          /* ←→ MOVE ROW LEFT/RIGHT */
}

.bcii-images .subdivision-img {
    position: relative !important;
    top: -400px !important;           /* ↑↓ MOVE IMAGES UP/DOWN */
    left: -275px !important;          /* ←→ MOVE EACH IMAGE */
}


/* ============================
   FINAL PAGE-SPECIFIC TITLE FIX
   ============================ */

/* Reset global forced movement */
.page-title-wrapper {
    left: 0 !important;
    top: 0 !important;
}

/* BCII title */
.bcii-title {
    position: relative !important;
    left: 290px !important;   /* adjust */
    top: 0px !important;       
}

/* THI title */
.thi-title {
    position: relative !important;
    left: 90px !important;   /* adjust */
    top: 0px !important;
}
/* ======================
   FIX BCII IMAGE POSITION
   ====================== */

.bcii-images {
    position: relative !important;
    margin-top: -400px !important;   /* move ALL images upward */
}

.bcii-images .subdivision-img {
    position: relative !important;
    top: 0px !important;        /* fine-tune vertical movement per image row */
    left: -275px !important;       /* fine-tune left/right ONLY if needed */
}
/* ======================
   FIX THI IMAGE POSITION
   ====================== */

.thi-images {
    position: relative !important;
    margin-top: -200px !important;   /* move ALL THI images upward */
}

.thi-images .subdivision-img {
    position: relative !important;
    top: 0px !important;       /* fine-tune individual vertical movement */
    left: -285px !important;      /* fine-tune horizontal movement */
}

/* ======================
   CVE PAGE — TITLE + LABEL MOVE TOGETHER
   ====================== */

.cve-title {
    position: relative !important;
    left: 220px !important;   /* move LEFT/RIGHT */
    top: 0px !important;     /* move UP/DOWN */
}

/* CVE images row */
.cve-images {
    position: relative !important;
    margin-top: -350px !important;  /* move all 3 images UP/DOWN */
}

.cve-images .subdivision-img {
    position: relative !important;
    top: 0px !important;            /* fine-tune individual UP/DOWN */
    left: -285px !important;        /* fine-tune individual LEFT/RIGHT */
}
.site-disclaimer {
    width: 100%;
    text-align: center;
    font-family: "Segoe UI", Arial, sans-serif;
    font-size: 15px;
    font-weight: 500;
    color: #888;
    margin-top: 50px;
    margin-bottom: 10px;
    padding: 10px 0;
    line-height: 1.5;
}
/* ======================
   CIU PAGE — TITLE + LABEL MOVE TOGETHER
   ====================== */

.ciu-title {
    position: relative !important;
    left: 40px !important;   /* move LEFT/RIGHT */
    top: 0px !important;     /* move UP/DOWN */
}

/* CIU images row */
.ciu-images {
    position: relative !important;
    margin-top: -350px !important;  /* move all 3 images UP/DOWN */
}

.ciu-images .subdivision-img {
    position: relative !important;
    top: -125px !important;            /* fine-tune individual UP/DOWN */
    left: -285px !important;        /* fine-tune individual LEFT/RIGHT */
}
/* ======================
   FTO PAGE — TITLE + LABEL MOVE TOGETHER
   ====================== */

.fto-title {
    position: relative !important;
    left: 20px !important;   /* move LEFT/RIGHT */
    top: 0px !important;     /* move UP/DOWN */
}

/* FTO images row */
.fto-images {
    position: relative !important;
    margin-top: -350px !important;  /* move all 3 images UP/DOWN */
}

.fto-images .subdivision-img {
    position: relative !important;
    top: -150px !important;            /* fine-tune individual UP/DOWN */
    left: -285px !important;        /* fine-tune individual LEFT/RIGHT */
}
/* ======================
   SRT PAGE — TITLE + LABEL MOVE TOGETHER
   ====================== */

.srt-title {
    position: relative !important;
    left: 0px !important;   /* move LEFT/RIGHT */
    top: 0px !important;     /* move UP/DOWN */
}

/* SRT images row */
.srt-images {
    position: relative !important;
    margin-top: -350px !important;  /* move all 3 images UP/DOWN */
}

.srt-images .subdivision-img {
    position: relative !important;
    top: -200px !important;            /* fine-tune individual UP/DOWN */
    left: -300px !important;        /* fine-tune individual LEFT/RIGHT */
}
/* ======================
   AIR PAGE — TITLE + LABEL MOVE TOGETHER
   ====================== */

.air-title {
    position: relative !important;
    left: 170px !important;   /* move LEFT/RIGHT */
    top: 0px !important;     /* move UP/DOWN */
}

/* AIR images row */
.air-images {
    position: relative !important;
    margin-top: -350px !important;  /* move all 3 images UP/DOWN */
}

.air-images .subdivision-img {
    height: 180px !important;   /* ← shorter image height */
    position: relative !important;
    top: -250px !important;            /* fine-tune individual UP/DOWN */
    left: -300px !important;        /* fine-tune individual LEFT/RIGHT */
}
/* ======================
   DRE PAGE — TITLE + LABEL MOVE TOGETHER
   ====================== */

.dre-title {
    position: relative !important;
    left: 10px !important;   /* move LEFT/RIGHT */
    top: 0px !important;     /* move UP/DOWN */
}

/* DRE images row */
.dre-images {
    position: relative !important;
    margin-top: -350px !important;  /* move all 3 images UP/DOWN */
}

.dre-images .subdivision-img {
    position: relative !important;
    top: -200px !important;            /* fine-tune individual UP/DOWN */
    left: -300px !important;        /* fine-tune individual LEFT/RIGHT */
}

/* ============================================
   RESPONSIVE DESIGN - MOBILE FIRST APPROACH
   ============================================ */

/* Mobile Navigation Toggle Button */
.mobile-menu-toggle {
    display: none;
    position: fixed;
    top: 10px;
    right: 15px;
    z-index: 10000;
    background: #0F2037;
    color: white;
    border: none;
    padding: 10px 15px;
    font-size: 24px;
    cursor: pointer;
    border-radius: 4px;
}

.mobile-menu-toggle:hover {
    background: #324A63;
}

/* Mobile Navigation Menu */
.mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #0F2037;
    z-index: 9999;
    overflow-y: auto;
    padding-top: 60px;
}

.mobile-nav.active {
    display: block;
}

.mobile-nav-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    color: white;
    font-size: 32px;
    cursor: pointer;
    z-index: 10001;
}

.mobile-nav a {
    display: block;
    color: white;
    padding: 15px 20px;
    text-decoration: none;
    border-bottom: 1px solid #324A63;
    font-size: 16px;
}

.mobile-nav a:hover {
    background: #324A63;
}

.mobile-dropdown {
    display: block;
    width: 100%;
}

.mobile-dropdown-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    color: white;
    padding: 15px 20px;
    border-bottom: 1px solid #324A63;
    font-size: 16px;
    background: none;
    border-left: none;
    border-right: none;
    border-top: none;
    width: 100%;
    text-align: left;
}

.mobile-dropdown-toggle:hover {
    background: #324A63;
}

.mobile-dropdown-toggle::after {
    content: '›';
    font-size: 20px;
    transition: transform 0.3s;
}

.mobile-dropdown-toggle.active::after {
    transform: rotate(90deg);
}

.mobile-dropdown-menu {
    display: none;
    background: #1a2a3a;
    padding-left: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.mobile-dropdown.active .mobile-dropdown-menu {
    display: block;
    max-height: 1000px;
}

.mobile-dropdown-menu a {
    padding-left: 40px;
    font-size: 14px;
    display: block;
}

/* Ensure body doesn't scroll when mobile menu is open */
body.menu-open {
    overflow: hidden;
}

/* Improve mobile menu visibility */
.mobile-nav {
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
}

/* Better touch targets for mobile */
@media screen and (max-width: 768px) {
    .mobile-nav a,
    .mobile-dropdown-toggle {
        min-height: 48px;
        display: flex;
        align-items: center;
    }
    
    /* Ensure all clickable elements are touch-friendly */
    .apply-btn,
    .col,
    .faq-question {
        min-height: 44px;
    }
}

/* Medium screens - prevent clipping */
@media screen and (max-width: 1400px) and (min-width: 1201px) {
    .apply-wrapper {
        right: 280px !important;
    }
    
    .director-name {
        right: 20px !important;
        max-width: 250px !important;
    }
}

/* Prevent clipping on smaller desktop screens */
@media screen and (max-width: 1300px) and (min-width: 1201px) {
    .apply-wrapper {
        right: 200px !important;
    }
    
    .director-name {
        right: 20px !important;
        max-width: 170px !important;
        font-size: 10px !important;
    }
    
    .nav-row {
        left: 180px !important;
        gap: 15px !important;
    }
}

/* Tablet and Mobile Breakpoints */
@media screen and (max-width: 1200px) {
    /* Adjust header elements */
    .fhp-logo {
        left: 20px !important;
        height: 120px !important;
    }
    
    .nav-row {
        left: 200px !important;
        gap: 20px !important;
        font-size: 12px !important;
    }
    
    .nav-link {
        font-size: 12px !important;
    }
    
    .director-name {
        right: 20px !important;
        font-size: 11px !important;
        max-width: 200px !important;
        white-space: normal !important;
        top: 10px !important;
    }
    
    .apply-wrapper {
        right: 20px !important;
        top: 50px !important;
        flex-direction: column !important;
        gap: 10px !important;
        z-index: 3000 !important;
    }
    
    .apply-btn {
        height: 45px !important;
        width: auto !important;
        max-width: 150px !important;
    }
    
    .nav-divider {
        display: none !important;
    }
    
    /* Ensure navbar doesn't overlap apply button */
    .nav-row {
        max-width: calc(100% - 200px) !important;
        overflow: visible !important;
    }
    
    /* Add spacing to prevent clipping */
    .top-dark {
        min-height: 85px !important;
    }
    
    .subnav-row {
        left: 200px !important;
        gap: 20px !important;
        font-size: 16px !important;
        top: 70px !important;
    }
    
    /* Adjust banner */
    .banner-title h1 {
        font-size: 36px !important;
    }
    
    .banner-title h2 {
        font-size: 18px !important;
    }
    
    /* Adjust images */
    .whyapply-img {
        width: 100% !important;
        max-width: 1150px;
        padding: 0 20px;
    }
    
    .whyapply-wrapper {
        margin: 20px auto !important;
    }
    
    /* Adjust text blocks */
    .whyapply-text,
    .requirements-text,
    .apply-text,
    .streamline-text {
        position: relative !important;
        left: 0 !important;
        top: 0 !important;
        max-width: 90% !important;
        margin: 20px auto !important;
        padding: 0 20px !important;
    }
    
    .apply-content,
    .whyapply-content,
    .requirements-content,
    .streamline-content {
        padding: 20px !important;
    }
    
    .apply-img {
        position: relative !important;
        left: 0 !important;
        top: 0 !important;
        width: 100% !important;
        max-width: 300px !important;
        margin: 20px auto !important;
        display: block !important;
    }
    
    /* Adjust language and trooper images */
    .language-img,
    .trooper-img {
        position: relative !important;
        margin: 20px auto !important;
        margin-left: auto !important;
        margin-right: auto !important;
        display: block !important;
        width: 150px !important;
    }
    
    .trooper-img {
        width: 250px !important;
    }
    
    /* Adjust page titles */
    .whyapply-title,
    .page-top-label {
        position: relative !important;
        left: 0 !important;
        top: 0 !important;
        text-align: center !important;
        margin: 20px 0 !important;
    }
    
    /* Adjust FAQ */
    .faq-wrapper {
        transform: none !important;
        width: 90% !important;
        margin: 20px auto !important;
    }
    
    /* Adjust academy content */
    .academy-simple {
        position: relative !important;
        left: 0 !important;
        top: 0 !important;
        width: 90% !important;
        margin: 20px auto !important;
    }
    
    .academy-images-row {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    
    .academy-img-col {
        width: 90% !important;
        max-width: 300px;
    }
    
    #acad-img1, #acad-img2, #acad-img3 {
        position: relative !important;
        left: 0 !important;
        top: 0 !important;
    }
    
    /* Adjust subdivision images */
    .subdivision-images-row {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    
    .subdivision-img {
        width: 90% !important;
        max-width: 300px;
        position: relative !important;
        left: 0 !important;
        top: 0 !important;
        margin: 0 !important;
    }
    
    .bcii-images,
    .thi-images,
    .cve-images,
    .ciu-images,
    .fto-images,
    .srt-images,
    .air-images,
    .dre-images {
        margin-top: 20px !important;
    }
    
    /* Adjust uniform structure */
    .uniform-container {
        width: 95% !important;
        margin: 20px auto !important;
    }
    
    .uniform-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px !important;
    }
    
    .uniform-img,
    .numbers-img {
        position: relative !important;
        left: 0 !important;
        top: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 20px 0 !important;
    }
    
    /* Adjust career content */
    .career-content {
        margin-top: 0 !important;
    }
    
    .career-text {
        width: 90% !important;
        margin: 20px auto !important;
        margin-left: auto !important;
        padding: 0 20px !important;
    }
    
    /* Adjust roster for tablet */
    .roster-container {
        width: 100% !important;
        margin: 20px 0 !important;
        padding: 0 15px !important;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .roster-table {
        min-width: 1000px !important;
        font-size: 12px !important;
        table-layout: auto !important;
    }
    
    .roster-table th,
    .roster-table td {
        padding: 10px 8px !important;
        white-space: nowrap !important;
    }
    
    /* Adjust clickable zones */
    .learnmore-zone,
    .trooper-zone {
        display: none;
    }
}

/* Mobile Breakpoint */
@media screen and (max-width: 768px) {
    /* Hide desktop navigation */
    .nav-row,
    .subnav-row,
    .director-name,
    .apply-wrapper {
        display: none !important;
    }
    
    /* Show mobile menu button */
    .mobile-menu-toggle {
        display: block;
    }
    
    /* Adjust top bars */
    .top-light {
        height: 35px;
    }
    
    .top-dark {
        height: 60px;
    }
    
    /* Adjust logo */
    .fhp-logo {
        height: 80px !important;
        left: 10px !important;
        top: 5px !important;
    }
    
    /* Adjust banner */
    .banner-img {
        height: 300px !important;
    }
    
    .banner-title {
        top: 150px !important;
    }
    
    .banner-title h1 {
        font-size: 28px !important;
    }
    
    .banner-title h2 {
        font-size: 14px !important;
    }
    
    /* Stack two column section */
    .two-col-section {
        flex-direction: column;
    }
    
    .col {
        border-right: none;
        border-bottom: 1px solid #ccc;
        padding: 40px 20px !important;
    }
    
    .col h3 {
        font-size: 32px !important;
    }
    
    .col-link {
        font-size: 18px !important;
    }
    
    /* Adjust page titles */
    .whyapply-title {
        font-size: 36px !important;
        margin: 20px 0 !important;
    }
    
    .page-top-label {
        font-size: 12px !important;
        letter-spacing: 1px !important;
    }
    
    /* Adjust images */
    .whyapply-img {
        width: 100% !important;
        padding: 0 10px;
    }
    
    .language-img {
        width: 120px !important;
    }
    
    .trooper-img {
        width: 200px !important;
    }
    
    /* Adjust text content */
    .whyapply-text,
    .requirements-text,
    .apply-text,
    .streamline-text,
    .career-text,
    .academy-simple {
        font-size: 16px !important;
        padding: 0 15px !important;
    }
    
    /* Adjust FAQ */
    .faq-container {
        width: 100% !important;
    }
    
    .faq-question {
        font-size: 16px !important;
        padding: 12px 0 !important;
    }
    
    .faq-question .q-label,
    .faq-question .arrow {
        font-size: 20px !important;
    }
    
    .faq-answer p {
        font-size: 15px !important;
    }
    
    /* Adjust uniform grid */
    .uniform-grid {
        grid-template-columns: 1fr !important;
    }
    
    .uniform-title-row {
        font-size: 24px !important;
        padding: 15px 0 !important;
    }
    
    /* Adjust roster table - make scrollable */
    .roster-container {
        width: 100% !important;
        margin: 20px 0 !important;
        padding: 0 10px !important;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        position: relative;
        /* Add visual scroll hint */
        box-shadow: inset -10px 0 10px -10px rgba(0,0,0,0.3);
    }
    
    /* Scrollbar styling for better visibility */
    .roster-container::-webkit-scrollbar {
        height: 8px;
    }
    
    .roster-container::-webkit-scrollbar-track {
        background: #1a2a3a;
        border-radius: 4px;
    }
    
    .roster-container::-webkit-scrollbar-thumb {
        background: #FFC300;
        border-radius: 4px;
    }
    
    .roster-container::-webkit-scrollbar-thumb:hover {
        background: #ffd633;
    }
    
    .roster-table {
        min-width: 900px !important;
        width: auto !important;
        font-size: 11px !important;
        table-layout: auto !important;
    }
    
    .roster-table th,
    .roster-table td {
        padding: 8px 6px !important;
        font-size: 11px !important;
        white-space: nowrap !important;
        min-width: 60px !important;
    }
    
    /* Adjust column widths for mobile */
    .roster-table th:nth-child(1),
    .roster-table td:nth-child(1) { min-width: 50px !important; }
    
    .roster-table th:nth-child(2),
    .roster-table td:nth-child(2) { min-width: 100px !important; }
    
    .roster-table th:nth-child(3),
    .roster-table td:nth-child(3) { min-width: 50px !important; }
    
    .roster-table th:nth-child(4),
    .roster-table td:nth-child(4) { min-width: 80px !important; }
    
    .roster-table th:nth-child(5),
    .roster-table td:nth-child(5) { min-width: 80px !important; }
    
    .roster-table th:nth-child(6),
    .roster-table td:nth-child(6) { min-width: 60px !important; }
    
    .roster-table th:nth-child(7),
    .roster-table td:nth-child(7) { min-width: 60px !important; }
    
    .roster-table th:nth-child(8),
    .roster-table td:nth-child(8) { min-width: 120px !important; }
    
    .roster-table th:nth-child(9),
    .roster-table td:nth-child(9) { min-width: 80px !important; }
    
    .roster-table th:nth-child(10),
    .roster-table td:nth-child(10) { min-width: 60px !important; }
    
    .roster-category {
        font-size: 24px !important;
        padding: 0 10px !important;
    }
    
    /* Adjust subdivision titles */
    .bcii-title,
    .thi-title,
    .cve-title,
    .ciu-title,
    .fto-title,
    .srt-title,
    .air-title,
    .dre-title {
        left: 0 !important;
        text-align: center !important;
    }
    
    /* Adjust academy images */
    .academy-images-row {
        padding: 0 10px;
    }
    
    .academy-img-col {
        width: 100% !important;
    }
    
    /* Adjust subdivision images */
    .subdivision-images-row {
        padding: 0 10px;
    }
    
    .subdivision-img {
        width: 100% !important;
    }
    
    /* Adjust footer */
    .footer-section {
        height: 150px !important;
    }
    
    .site-disclaimer {
        font-size: 13px !important;
        padding: 0 15px !important;
    }
    
    /* Adjust aux page */
    .aux-text {
        position: relative !important;
        left: 0 !important;
        top: 0 !important;
        max-width: 90% !important;
        margin: 20px auto !important;
        padding: 0 15px !important;
    }
    
    .aux-img {
        position: relative !important;
        left: 0 !important;
        top: 0 !important;
        width: 90% !important;
        max-width: 250px !important;
        margin: 20px auto !important;
        display: block !important;
    }
    
    /* Adjust important documents */
    .important-docs-page .page-title-wrapper {
        left: 0 !important;
    }
    
    /* Adjust policy manual */
    .policy-label {
        position: relative !important;
        left: 0 !important;
        top: 0 !important;
        text-align: center !important;
        margin: 20px 0 !important;
    }
    
    /* Adjust uniform title */
    .uniform-title {
        position: relative !important;
        left: 0 !important;
        top: 0 !important;
        text-align: center !important;
        margin: 20px 0 !important;
    }
}

/* Small Mobile Breakpoint */
@media screen and (max-width: 480px) {
    .banner-title h1 {
        font-size: 24px !important;
    }
    
    .banner-title h2 {
        font-size: 12px !important;
    }
    
    .col h3 {
        font-size: 28px !important;
    }
    
    .whyapply-title {
        font-size: 32px !important;
    }
    
    .roster-table {
        font-size: 10px !important;
        min-width: 900px !important;
    }
    
    .roster-table th,
    .roster-table td {
        padding: 6px 4px !important;
        font-size: 10px !important;
    }
    
    .uniform-title-row {
        font-size: 20px !important;
    }
    
    .roster-category {
        font-size: 20px !important;
    }
    
    /* Staff page responsive */
    .staff-wrapper {
        margin-top: 80px !important;
    }
    
    .staff-section {
        padding: 20px 15px !important;
    }
    
    .staff-section h1 {
        font-size: 32px !important;
    }
    
    .staff-section h2 {
        font-size: 22px !important;
    }
    
    .staff-card {
        flex-direction: column !important;
        text-align: center !important;
        padding: 20px 0 !important;
    }
    
    .staff-photo {
        width: 140px !important;
        height: 140px !important;
        margin: 0 auto 15px !important;
    }
    
    .staff-info {
        align-items: center !important;
    }
    
    /* Fleet page responsive */
    .fleet-container {
        margin: 80px auto 40px auto !important;
        padding: 0 15px !important;
    }
    
    .fleet-section-title {
        font-size: 22px !important;
        padding: 10px 0 !important;
    }
    
    .fleet-row {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
    
    .fleet-container {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .fleet-table {
        min-width: 500px;
        font-size: 13px !important;
    }
    
    .fleet-table th,
    .fleet-table td {
        padding: 8px !important;
        font-size: 12px !important;
    }
    
    /* Plate info responsive */
    .plate-info {
        flex-direction: column !important;
        gap: 10px !important;
        padding: 15px 10px !important;
        font-size: 14px !important;
    }
    
    .plate-header {
        font-size: 20px !important;
        padding: 12px 0 !important;
    }
    
    .plate-img {
        height: 25px !important;
    }
}
/* ===== Law Enforcement Dashboard ===== */

.le-dashboard {
    display: flex;
    min-height: 100vh;
    background: linear-gradient(180deg, #081727, #020a14);
}

/* Sidebar */
.le-sidebar {
    width: 240px;
    background: linear-gradient(180deg, #0b2a4a, #061b31);
    padding: 20px;
    color: white;
}

.le-sidebar-header {
    margin-bottom: 30px;
}

.le-sidebar-header strong {
    display: block;
    font-size: 18px;
}

.le-sidebar-header span {
    font-size: 12px;
    opacity: 0.8;
}

.le-nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.le-nav-item {
    background: none;
    border: 1px solid transparent;
    color: white;
    padding: 10px 14px;
    text-align: left;
    border-radius: 8px;
    cursor: pointer;
}

.le-nav-item:hover {
    background: rgba(255,255,255,0.08);
}

.le-nav-item.active {
    border-color: #f0b44c;
    box-shadow: inset 0 0 0 1px #f0b44c;
}

/* Content */
.le-content {
    flex: 1;
    padding: 30px 40px;
    color: white;
}

.le-page {
    display: none;
}

.le-page.active {
    display: block;
}

.le-subtext {
    opacity: 0.7;
    margin-bottom: 25px;
}

/* Panels */
.le-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.le-panel {
    background: linear-gradient(180deg, #0b2a4a, #071a2f);
    border-radius: 14px;
    padding: 20px;
    min-height: 160px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.35);
}
/* ===== KPI STAT BUBBLES ===== */

.kpi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin: 30px 0 40px;
}

.kpi-card {
    background: linear-gradient(180deg, #0e2f55, #071a2f);
    border-radius: 18px;
    padding: 22px 24px;
    position: relative;
    box-shadow:
        0 10px 25px rgba(0, 0, 0, 0.45),
        inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.kpi-card::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 18px;
    pointer-events: none;
    box-shadow: inset 0 0 0 1px rgba(240, 180, 76, 0.15);
}

.kpi-label {
    display: block;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    opacity: 0.8;
    margin-bottom: 6px;
}

.kpi-value {
    font-size: 36px;
    font-weight: 800;
    color: #f0b44c;
    line-height: 1;
}
.dashboard-card {
    background: linear-gradient(180deg, #0b2a4a, #071a2f);
    border-radius: 18px;
    padding: 22px;
    min-height: 220px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.4);
}
/* ===== Dashboard Page Background Fix ===== */
.dashboard-page {
    background: linear-gradient(180deg, #081727, #020a14);
}
.chart-container {
    position: relative;
    height: 200px;
    margin-top: 10px;
}
/* ============================
   Trooper Performance Table
============================ */

.trooper-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 18px;
  font-size: 14px;
  color: #e8f0ff;
}

.trooper-table thead {
  background: linear-gradient(180deg, #0f2a4d, #091c33);
  position: sticky;
  top: 0;
  z-index: 2;
}

.trooper-table th {
  text-align: left;
  padding: 12px 14px;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.5px;
  color: #bcd6ff;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.trooper-table td {
  padding: 10px 14px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  white-space: nowrap;
}

/* Alternate row shading */
.trooper-table tbody tr:nth-child(even) {
  background-color: rgba(255,255,255,0.03);
}

/* Hover highlight */
.trooper-table tbody tr:hover {
  background-color: rgba(78,161,255,0.12);
  cursor: pointer;
}

/* Numeric columns aligned right */
.trooper-table td:nth-child(n+4),
.trooper-table th:nth-child(n+4) {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

/* Callsign emphasis */
.trooper-table td:first-child {
  font-weight: 600;
  color: #ffd166;
}

/* Rank styling */
.trooper-table td:nth-child(3) {
  color: #9fc5ff;
  font-size: 13px;
}

/* Scroll container */
#officers {
  max-height: calc(100vh - 180px);
  overflow-y: auto;
  padding-right: 8px;
}

/* Scrollbar (optional but clean) */
#officers::-webkit-scrollbar {
  width: 8px;
}
#officers::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.15);
  border-radius: 6px;
}
/* Rank group separator */
.trooper-table tr.rank-separator td {
  border-top: 2px solid rgba(255, 209, 102, 0.35);
  padding-top: 14px;
}
.top-troopers-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 10px;
}

.top-trooper {
  background: rgba(0,0,0,0.18);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  padding: 12px 14px;
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 12px;
}

.top-trooper-rank {
  font-weight: 800;
  font-size: 18px;
  line-height: 1;
  display: flex;
  align-items: flex-start;
}

.top-trooper-rank.gold { color: #f4c430; }
.top-trooper-rank.silver { color: #c9d2dd; }
.top-trooper-rank.bronze { color: #c98b5a; }

.top-trooper-title {
  font-weight: 800;
  color: #ffffff;
}

.top-trooper-sub {
  margin-top: 2px;
  font-size: 12px;
  color: rgba(255,255,255,0.75);
}

.top-trooper-stats {
  margin-top: 8px;
  font-size: 12px;
  color: rgba(255,255,255,0.85);
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.top-trooper-stats span b {
  color: #ffffff;
}
/* Performance Dashboard Disclaimer */
.performance-disclaimer {
  margin-top: 40px;
  padding: 18px 24px;
  text-align: center;
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255,255,255,0.7);
  background: linear-gradient(
    to bottom,
    rgba(10, 30, 55, 0.85),
    rgba(5, 15, 30, 0.85)
  );
  border-radius: 12px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.05);
}
/* Performance Dashboard local footer */
.performance-footer {
  width: 100%;
  margin-top: 60px;
}

.performance-footer img {
  width: 100%;
  display: block;
}
/* ===== Arrests per Trooper (District Analysis) ===== */

.metric-split {
  height: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  text-align: center;
}

.metric-split > div {
  padding: 22px 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06);
}

.metric-big {
  font-size: 3.4rem;
  font-weight: 800;
  color: #f4c430;
  line-height: 1;
}

.metric-sub {
  margin-top: 8px;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.75;
}
.banner-img {
  width: 100%;
  height: 420px;              /* ← THIS is the key */
  object-fit: cover;          /* crops instead of stretching */
  display: block;
}
.banner-rotator {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
}

.banner-rotator .banner-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.banner-rotator .banner-img.active {
    opacity: 1;
}
/* =========================
   FHP CALENDAR
   ========================= */

.fhp-calendar {
    max-width: 1100px;
    margin: 40px auto;
    background: #0F2037;
    border-radius: 12px;
    padding: 25px;
    color: white;
    box-shadow: 0 0 25px rgba(0,0,0,0.4);
    font-family: "Segoe UI", Arial, sans-serif;
}

/* HEADER */
.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.cal-title {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #FFC300;
}

.cal-nav {
    background: none;
    border: none;
    color: #FFC300;
    font-size: 32px;
    cursor: pointer;
    padding: 5px 15px;
    transition: transform 0.2s ease;
}

.cal-nav:hover {
    transform: scale(1.2);
}

/* DAY LABELS */
.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    margin-bottom: 10px;
}

.calendar-days div {
    text-align: center;
    font-weight: 700;
    padding: 10px 0;
    color: #cfd8e3;
    border-bottom: 1px solid #324A63;
}

/* GRID */
.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 10px;
}

/* DATE CELL */
.calendar-cell {
    background: #1b2f4a;
    min-height: 110px;
    border-radius: 8px;
    padding: 8px;
    position: relative;
    transition: background 0.2s ease, transform 0.2s ease;
}

.calendar-cell:hover {
    background: #263e5f;
    transform: translateY(-3px);
}

/* DATE NUMBER */
.calendar-date {
    font-size: 16px;
    font-weight: 700;
    color: #FFC300;
}

/* TODAY */
.calendar-cell.today {
    outline: 2px solid #FFC300;
}

/* OUTSIDE MONTH */
.calendar-cell.inactive {
    opacity: 0.35;
}
/* CALENDAR EVENT */
.calendar-event {
    margin-top: 6px;
    padding: 6px;
    background: #FFC300;
    color: #0F2037;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.calendar-event:hover {
    transform: scale(1.05);
}
/* =========================
   EVENT MODAL – READABILITY PASS
   ========================= */

.event-modal-box {
    background: linear-gradient(180deg, #0F2037, #0b1a2c);
    color: #e6edf5;
    padding: 28px;
    border-radius: 14px;
    width: 460px;
    max-width: 92%;
    position: relative;
    box-shadow: 0 20px 40px rgba(0,0,0,0.65);
}

/* TITLE */
#eventTitle {
    color: #FFC300;
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 14px;
    line-height: 1.25;
}

/* META (HOST + TIME) */
.event-meta {
    background: rgba(255, 255, 255, 0.06);
    border-left: 4px solid #FFC300;
    padding: 10px 14px;
    margin-bottom: 16px;
    border-radius: 6px;
}

#eventHost,
#eventTime {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    color: #f5f7fa;
}

#eventHost {
    margin-bottom: 4px;
}

/* DESCRIPTION */
#eventDescription {
    font-size: 15px;
    line-height: 1.6;
    color: #dbe3ee;
    margin-bottom: 22px;
}

/* SECTION HEADERS */
.event-modal-box h3 {
    margin-top: 20px;
    margin-bottom: 10px;
    font-size: 16px;
    color: #FFC300;
    letter-spacing: 0.5px;
}

/* RSVP LIST */
#rsvpList {
    list-style: none;
    padding: 0;
    margin-bottom: 18px;
}

#rsvpList li {
    padding: 6px 10px;
    background: rgba(255,255,255,0.05);
    border-radius: 6px;
    margin-bottom: 6px;
    font-size: 14px;
}

/* INPUTS */
.event-modal-box input {
    width: 100%;
    margin: 6px 0;
    padding: 10px;
    border-radius: 8px;
    border: none;
    font-size: 14px;
}

/* BUTTON */
.event-modal-box button {
    width: 100%;
    padding: 12px;
    background: linear-gradient(90deg, #FFC300, #ffb700);
    color: #0F2037;
    font-weight: 800;
    letter-spacing: 0.5px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    margin-top: 6px;
}

/* CLOSE BUTTON */
.event-close {
    position: absolute;
    top: 12px;
    right: 16px;
    font-size: 22px;
    cursor: pointer;
    color: #FFC300;
}
/* ==========================
   CALENDAR EVENT MODAL
========================== */

.event-modal {
    position: fixed;
    inset: 0;
    background: rgba(6, 15, 25, 0.85);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 99999;
}

.event-modal-box {
    background: linear-gradient(180deg, #0b2a4a, #071a2f);
    color: #ffffff;
    width: 520px;
    max-width: 92%;
    border-radius: 14px;
    padding: 28px 32px;
    box-shadow: 0 25px 60px rgba(0,0,0,0.6);
    position: relative;
}

/* Close button */
.event-close {
    position: absolute;
    top: 14px;
    right: 18px;
    font-size: 26px;
    color: #f0b44c;
    cursor: pointer;
}

/* Title */
#eventTitle {
    color: #f0b44c;
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 12px;
}

/* Meta info */
.event-meta p {
    margin: 6px 0;
    font-size: 14px;
    opacity: 0.85;
}

/* RSVP list */
#rsvpList {
    margin: 10px 0 18px;
    padding-left: 18px;
}

/* Inputs */
.event-modal input {
    width: 100%;
    padding: 12px;
    margin-bottom: 12px;
    border-radius: 8px;
    border: none;
    font-size: 14px;
}

/* RSVP button */
.event-modal button {
    width: 100%;
    padding: 12px;
    background: #f0b44c;
    color: #000;
    font-weight: 700;
    border-radius: 8px;
    border: none;
    cursor: pointer;
}

.event-modal button:hover {
    background: #ffd166;
}
/* RSVP BUTTON WRAPPER */
.rsvp-button-wrap {
    display: flex;
    justify-content: center;
    margin-top: 14px;
}

/* RSVP BUTTON REFINED */
.event-modal button {
    width: 220px;        /* smaller width */
    padding: 10px 0;
    font-size: 14px;
    border-radius: 10px;
}
/* RSVP REMOVE BUTTON */
.rsvp-remove-btn {
    background: none;
    border: none;
    color: #FFC300;
    cursor: pointer;
    font-weight: 600;
}
/* RSVP REMOVE BUTTON (override modal button styles) */
.rsvp-remove-btn {
    width: auto !important;
    padding: 4px 10px !important;
    background: transparent !important;
    color: #FFC300 !important;
    font-size: 13px;
    font-weight: 600;
    border: none !important;
    border-radius: 6px;
    cursor: pointer;
    white-space: nowrap;
}

.rsvp-remove-btn:hover {
    text-decoration: underline;
}
/* HOLIDAY DAY CELL */
.calendar-cell.holiday {
    border: 2px solid #FFC300;
    background: linear-gradient(180deg, #142b4a, #0f2037);
}

/* HOLIDAY LABEL */
.holiday-label {
    font-size: 11px;
    font-weight: 700;
    color: #FFC300;
    margin-top: 4px;
    line-height: 1.2;
}