/* FINAL CLEAN STYLE.CSS FOR BEFORE YOU SIGN ANYTHING */

body {
    background-image: url("images/assessment-bg.png");
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background-color: #f3ede2;
    color: #1f2f46;
}

header {
    background: #071b3a;
    color: white;
    text-align: center;
    padding: 20px;
}

nav {
    margin-top: 0;
}

nav a {
    color: white;
    text-decoration: none;
    margin: 0 18px;
    font-weight: bold;
    font-size: 17px;
}

nav a:hover {
    color: #c9a14a;
}

.button {
    display: inline-block;
    background: #9b762f;
    color: white;
    text-decoration: none;
    padding: 16px 30px;
    margin: 10px;
    border-radius: 6px;
    font-weight: bold;
}

.button:hover {
    opacity: .9;
}

footer {
    background: #071b3a;
    color: white;
    text-align: center;
    padding: 25px;
}

/* HOME PAGE */

.hero {
    max-width: 1200px;
    margin: 40px auto 0 auto;
    padding: 0 60px;
    box-sizing: border-box;
}

.hero img {
    width: 100%;
    max-height: 520px;
    object-fit: cover;
    object-position: center;
    display: block;
    border-radius: 8px;
}

.intro {
    max-width: 1000px;
    margin: 60px auto;
    padding: 0 20px;
    text-align: center;
}

.intro h2 {
    color: #071b3a;
    font-size: 46px;
    margin-bottom: 25px;
}

.intro p {
    font-size: 24px;
    line-height: 1.7;
    max-width: 900px;
    margin: 0 auto 30px auto;
}

.buttons {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
}

.credentials {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 70px auto;
    max-width: 1200px;
    padding: 0 40px;
    flex-wrap: wrap;
}

.credential {
    width: 240px;
    background: rgba(255,255,255,.92);
    border-top: 4px solid #9b762f;
    border-radius: 8px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,.10);
}

.credential h3 {
    color: #9b762f;
    font-size: 34px;
    margin: 0 0 10px 0;
}

.credential p {
    margin: 0;
    line-height: 1.4;
}

.risk-points {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    margin: 25px 0;
}

.risk-points span {
    background: #071b3a;
    color: white;
    padding: 10px 18px;
    border-radius: 6px;
    font-weight: bold;
}

/* GENERAL PAGE SECTIONS */

.page-header {
    max-width: 1000px;
    margin: 70px auto;
    padding: 0 40px;
    text-align: center;
    box-sizing: border-box;
}

.page-header h1 {
    color: #071b3a;
    font-size: 48px;
}

.page-header p {
    font-size: 22px;
    line-height: 1.7;
}

.authority {
    max-width: 900px;
    margin: 80px auto;
    padding: 0 40px;
    box-sizing: border-box;
}

.authority h2 {
    color: #071b3a;
    font-size: 40px;
    margin-bottom: 25px;
    text-align: center;
}

.authority p {
    font-size: 22px;
    line-height: 1.9;
    margin-bottom: 25px;
}

.risk-feature {
    max-width: 1100px;
    margin: 80px auto;
    padding: 40px 60px;
    text-align: center;
    background: rgba(255,255,255,.90);
    border-radius: 10px;
}

.risk-feature h2 {
    color: #071b3a;
    font-size: 40px;
    margin-bottom: 22px;
}

.risk-feature p {
    font-size: 23px;
    line-height: 1.7;
    margin-bottom: 25px;
}

/* ASSESSMENT QUESTIONS */

.assessment-question-page {
    max-width: 1100px;
    margin: 20px auto;
    padding: 30px 80px;
    background: rgba(255,255,255,.45);
    border-top: 6px solid #9b762f;
    border-bottom: 6px solid #9b762f;
    border-radius: 8px;
    box-shadow: 0 18px 50px rgba(0,0,0,.18);
    box-sizing: border-box;
}

.assessment-question-page.results-mode {
    max-width: 1280px !important;
    padding: 40px 55px !important;
}

.assessment-header {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 40px;
}

.assessment-section-tag {
    color: #9b762f;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 10px;
    font-size: 16px;
}

.assessment-question-page h2 {
    color: #071b3a;
    font-size: 30px;
    margin-bottom: 15px;
}

#assessmentInstructions {
    font-size: 28px;
    line-height: 1.45;
    font-weight: 600;
    color: #071b3a;
    margin: 18px 0 18px 0;
}

.progress-container {
    width: 100%;
    height: 14px;
    background: #ddd7cb;
    border-radius: 20px;
    margin-bottom: 18px;
    overflow: hidden;
}

.progress-bar {
    width: 20%;
    height: 100%;
    background: #9b762f;
}

#questionsContainer {
    max-width: 1000px;
    margin: 0 auto;
    padding: 10px 40px 20px 40px;
}

.question-card {
    margin-bottom: 44px;
}

.question-text {
    font-size: 28px;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 18px;
}

.answer-options {
    display: flex;
    gap: 18px;
    margin: 20px 0 35px 0;
    flex-wrap: wrap;
}

.answer-choice {
    cursor: pointer;
}

.answer-choice input {
    display: none;
}

.answer-choice span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 120px;
    height: 70px;
    background: white;
    border: 2px solid #222;
    border-radius: 14px;
    font-size: 26px;
    font-weight: 700;
}

.answer-yes {
    color: #1f8f3a;
}

.answer-no {
    color: #c62828;
}

.assessment-actions {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 40px;
    text-align: center;
}

.assessment-next-button {
    background: #9b762f;
    color: white;
    border: none;
    padding: 18px 40px;
    border-radius: 10px;
    font-size: 22px;
    font-weight: 700;
    cursor: pointer;
    margin-top: 10px;
}

.assessment-next-button:hover {
    opacity: .9;
}

/* RESULTS DASHBOARD */

.thermo-dashboard {
    max-width: 1200px !important;
    margin: 40px auto !important;
    padding: 50px 70px !important;
    box-sizing: border-box !important;
    background: rgba(255,255,255,.55) !important;
    border-radius: 14px !important;
    text-align: center !important;
}

.thermo-dashboard h1 {
    color: #071b3a !important;
    font-size: 48px !important;
    margin: 5px 0 15px 0 !important;
    letter-spacing: 3px !important;
    font-weight: 900 !important;
}

.thermo-divider {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 26px !important;
    margin: 8px auto 35px auto !important;
}

.thermo-divider-line {
    width: 300px !important;
    height: 3px !important;
    background: #9b762f !important;
    position: relative !important;
}

.thermo-divider-line.left::before,
.thermo-divider-line.right::after {
    content: "";
    width: 14px;
    height: 14px;
    background: #9b762f;
    position: absolute;
    top: -5.5px;
    transform: rotate(45deg);
}

.thermo-divider-line.left::before {
    left: -7px;
}

.thermo-divider-line.right::after {
    right: -7px;
}

.thermo-shield {
    width: 120px !important;
    max-width: 120px !important;
    height: auto !important;
    display: block !important;
    filter: drop-shadow(0 8px 8px rgba(0,0,0,.18)) !important;
}

.thermo-layout {
    display: grid !important;
    grid-template-columns: 430px 1fr 340px !important;
    gap: 40px !important;
    align-items: center !important;
}

.thermo-column {
    position: relative !important;
    height: 650px !important;
}

.thermometer {
    position: absolute !important;
    left: 220px !important;
    top: 20px !important;
    width: 120px !important;
    height: 570px !important;
    overflow: visible !important;
}

.thermometer::before {
    content: "";
    position: absolute;
    left: 10px;
    top: 0;
    width: 100px;
    height: 570px;
    background: #b38728;
    border-radius: 55px;
    z-index: 1;
    box-shadow: 0 12px 24px rgba(0,0,0,.22);
}

.thermo-fill {
    position: absolute !important;
    left: 24px !important;
    top: 14px !important;
    width: 72px !important;
    height: 542px !important;
    border-radius: 42px !important;
    background: linear-gradient(to top, #198f2d 0%, #67c93d 25%, #d8d100 45%, #ffad00 65%, #ff5f1f 82%, #c50018 100%) !important;
    z-index: 2 !important;
    box-shadow: inset 9px 0 15px rgba(255,255,255,.22), inset -9px 0 15px rgba(0,0,0,.18) !important;
}

.thermo-bulb,
.thermo-bulb::before,
.thermo-bulb::after {
    display: none !important;
}

.score-marker {
    position: absolute !important;
    left: 130px !important;
    bottom: 48px;
    width: 78px !important;
    height: 46px !important;
    background: #071b3a !important;
    color: white !important;
    border-radius: 8px !important;
    font-size: 28px !important;
    font-weight: 900 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transform: translateY(50%) !important;
    z-index: 50 !important;
    box-shadow: 0 6px 12px rgba(0,0,0,.25) !important;
}

.score-marker::before {
    content: "";
    position: absolute;
    left: -21px;
    top: 12px;
    border-top: 11px solid transparent;
    border-bottom: 11px solid transparent;
    border-right: 21px solid #071b3a;
}

.risk-label {
    position: absolute !important;
    left: 0 !important;
    width: 185px !important;
    text-align: right !important;
    font-size: 22px !important;
    font-weight: 900 !important;
    line-height: 1.15 !important;
}

.risk-label::after {
    content: "";
    position: absolute;
    right: -75px;
    top: 16px;
    width: 58px;
    height: 2px;
    background: currentColor;
}

.risk-label small {
    display: block;
    margin-top: 5px;
    font-size: 18px;
    color: #071b3a;
}

.critical-label { top: 40px !important; color: #7b1e1e !important; }
.high-label { top: 155px !important; color: #e53935 !important; }
.elevated-label { top: 270px !important; color: #f57c00 !important; }
.moderate-label { top: 385px !important; color: #b88d00 !important; }
.low-label { top: 505px !important; color: #2e7d32 !important; }

.scale-number {
    position: absolute !important;
    left: 365px !important;
    color: #071b3a !important;
    font-size: 22px !important;
    font-weight: 900 !important;
    z-index: 10 !important;
}

.n25 { top: 40px !important; }
.n20 { top: 155px !important; }
.n15 { top: 270px !important; }
.n10 { top: 385px !important; }
.n5 { top: 505px !important; }
.n0 { top: 610px !important; }

.thermo-results {
    text-align: center !important;
}

.thermo-score {
    color: #7b1e1e !important;
    font-size: 78px !important;
    font-weight: 900 !important;
    margin-bottom: 8px !important;
}

.thermo-score-label {
    color: #071b3a !important;
    font-size: 24px !important;
    font-weight: 900 !important;
    line-height: 1.3 !important;
    letter-spacing: 1px !important;
}

.thermo-gold-line {
    width: 390px !important;
    height: 2px !important;
    background: #9b762f !important;
    margin: 30px auto !important;
    position: relative !important;
}

.thermo-gold-line::after {
    content: "";
    width: 13px;
    height: 13px;
    border: 2px solid #9b762f;
    background: white;
    position: absolute;
    left: 50%;
    top: -6.5px;
    transform: translateX(-50%) rotate(45deg);
}

.thermo-risk-level {
    font-size: 58px !important;
    font-weight: 900 !important;
    margin-bottom: 20px !important;
    color: #7b1e1e;
}

.thermo-results p {
    color: #071b3a !important;
    font-size: 24px !important;
    line-height: 1.5 !important;
    max-width: 500px !important;
    margin: 0 auto 25px auto !important;
}

.thermo-button {
    font-size: 26px !important;
    padding: 18px 54px !important;
    box-shadow: 0 8px 15px rgba(0,0,0,.22) !important;
}

.risk-guide-panel {
    border: 2px solid #9b762f !important;
    border-radius: 10px !important;
    background: rgba(255,255,255,.78) !important;
    padding: 24px !important;
    text-align: left !important;
}

.risk-guide-panel h3 {
    text-align: center !important;
    color: #071b3a !important;
    font-size: 24px !important;
    margin: 0 0 18px 0 !important;
}

.risk-guide-item {
    display: grid !important;
    grid-template-columns: 26px 70px 1fr !important;
    gap: 14px !important;
    align-items: center !important;
    border-top: 1px solid #ddd7cb !important;
    padding: 18px 0 !important;
}

.risk-guide-item p {
    margin: 3px 0 0 0 !important;
    font-size: 16px !important;
}

.dot {
    width: 22px !important;
    height: 22px !important;
    border-radius: 50% !important;
}

.green { background: #2e7d32 !important; }
.yellow { background: #f6c400 !important; }
.orange { background: #f57c00 !important; }
.red { background: #e53935 !important; }
.darkred { background: #7b1e1e !important; }

.green-text { color: #2e7d32 !important; }
.yellow-text { color: #b88d00 !important; }
.orange-text { color: #f57c00 !important; }
.red-text { color: #e53935 !important; }
.darkred-text { color: #7b1e1e !important; }

/* SUCCESS SYSTEMS PAGE */

.program-cards {
    max-width: 1400px;
    margin: 80px auto;
    padding: 0 40px;
    display: flex;
    gap: 40px;
    justify-content: center;
    align-items: flex-start;
    box-sizing: border-box;
}

.program-card {
    text-align: center;
    flex: 1;
}

.program-card img {
    display: block;
    width: 100%;
    max-width: 350px;
    margin: 0 auto 25px auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,.15);
}

.program-card h2,
.program-card h3 {
    color: #071b3a;
    margin-top: 25px;
    margin-bottom: 10px;
}

.program-card p {
    font-size: 20px;
    line-height: 1.7;
    margin-bottom: 25px;
}

/* ABOUT PAUL PAGE */

.about-hero {
    max-width: 1200px;
    margin: 80px auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 60px;
    align-items: center;
    box-sizing: border-box;
}

.about-photo img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 15px 35px rgba(0,0,0,.18);
}

.about-intro h1 {
    color: #071b3a;
    font-size: 52px;
    margin-bottom: 10px;
}

.about-intro h2 {
    color: #9b762f;
    font-size: 26px;
    margin-bottom: 30px;
    font-weight: 600;
}

.about-intro p {
    font-size: 22px;
    line-height: 1.8;
    margin-bottom: 25px;
}

.retake-link {
    display: inline-block;
    margin-top: 15px;
    color: #071b3a;
    font-weight: 800;
}

/* MOBILE */

@media (max-width: 1000px) {
    nav a {
        display: inline-block;
        margin: 7px 10px;
    }

    .credentials,
    .program-cards {
        flex-direction: column;
        align-items: center;
    }

    .credential,
    .program-card {
        max-width: 420px;
        width: 100%;
    }

    .about-hero,
    .thermo-layout {
        grid-template-columns: 1fr !important;
        text-align: center;
    }

    .thermo-column {
        margin: 0 auto;
        width: 430px;
    }

    .thermo-divider-line {
        width: 130px !important;
    }

    .thermo-dashboard h1,
    .intro h2 {
        font-size: 40px !important;
    }

    .assessment-question-page {
        padding: 40px 25px;
        margin: 40px 20px;
    }
}
