* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #f7f9fc;
    color: #081120;
    line-height: 1.6;
}

.site-header {
    background: #071120;
    color: white;
    padding: 22px 7%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    gap: 14px;
    align-items: center;
    font-size: 1.6rem;
    font-weight: 800;
}

.logo-icon {
    color: #d8b233;
    font-size: 1.6rem;
}

.logo span {
    color: #d8b233;
}

.logo small {
    display: block;
    font-size: .7rem;
    color: #cbd5e1;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-main {
    white-space: nowrap;
}

nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: 600;
}

.nav-btn {
    background: #d8b233;
    color: #071120 !important;
    padding: 14px 24px;
    border-radius: 12px;
}

.hero {
    min-height: 720px;

    background:
        linear-gradient(
            90deg,
            rgba(4,12,25,.95) 0%,
            rgba(5,18,38,.91) 45%,
            rgba(10,30,60,.85) 100%
        ),
        url('../images/hero-bg.jpg');

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    color: white;
    padding: 80px 7%;

    display: grid;
    grid-template-columns: 1.1fr .9fr;
    align-items: center;
    gap: 50px;
}

.eyebrow,
.section-label {
    color: #d8b233;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 800;
    font-size: .85rem;
    margin-bottom: 18px;
}

.hero h1 {
    font-size: clamp(3rem, 6vw, 5.3rem);
    line-height: 1.02;
    margin-bottom: 24px;
}

.hero h1 span {
    color: #d8b233;
}

.hero-text {
    max-width: 620px;
    color: #dce6f3;
    font-size: 1.2rem;
    margin-bottom: 34px;
}

.hero-buttons {
    display: flex;
    gap: 18px;
    margin-bottom: 32px;
}

.btn,
.quiz-btn {
    display: inline-block;
    text-decoration: none;
    font-weight: 800;
    padding: 15px 28px;
    border-radius: 12px;
}

.primary-btn,
.quiz-btn {
    background: #d8b233;
    color: #071120;
}

.secondary-btn {
    border: 2px solid #d8b233;
    color: white;
}

.trust-row {
    display: flex;
    gap: 24px;
    color: #e9eef7;
    font-size: .95rem;
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
}

.support-card {
    width: 420px;
    min-height: 430px;
    border-radius: 30px;
    background: linear-gradient(145deg, rgba(7,17,32,.82), rgba(7,17,32,.68));
    border: 1px solid rgba(216,178,51,.35);
    padding: 55px 42px;
    color: white;
    box-shadow: 0 30px 70px rgba(0,0,0,.35);
}

.support-icon {
    width: 72px;
    height: 72px;
    background: rgba(216,178,51,.15);
    border: 1px solid rgba(216,178,51,.45);
    border-radius: 20px;
    display: grid;
    place-items: center;
    font-size: 2rem;
    margin-bottom: 30px;
}

.support-card h3 {
    font-size: 2rem;
    color: #d8b233;
    margin-bottom: 18px;
}

.support-card p {
    color: #dce6f3;
    margin-bottom: 28px;
}

.mini-checks {
    display: grid;
    gap: 14px;
}

.mini-checks span {
    background: rgba(255,255,255,.07);
    padding: 13px 15px;
    border-radius: 12px;
}


.portrait-placeholder {
    width: 420px;
    height: 470px;
    border-radius: 30px;
    background: linear-gradient(145deg, rgba(255,255,255,.18), rgba(255,255,255,.04));
    border: 1px solid rgba(255,255,255,.16);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #d8b233;
    font-size: 2rem;
    font-weight: 800;
    text-align: center;
    box-shadow: 0 30px 70px rgba(0,0,0,.35);
}

.confidence-card {
    position: absolute;
    right: 20px;
    bottom: 55px;
    background: rgba(7,17,32,.92);
    border: 1px solid rgba(216,178,51,.65);
    padding: 18px 22px;
    border-radius: 16px;
    color: white;
    max-width: 230px;
    box-shadow: 0 15px 35px rgba(0,0,0,.35);
}

.confidence-card p {
    margin-top: 5px;
    color: #dce6f3;
}

.contact-address-section{
    margin-top:30px;
    padding:20px;
    border:1px solid #ddd;
    border-radius:12px;
    background:#f8f9fb;
}

.address-row{
    display:grid;
    grid-template-columns:
        repeat(3,1fr);

    gap:15px;
}

.form-group{
    display:flex;
    flex-direction:column;
    margin-bottom:15px;
}

.letter-section {
    background: white;
    padding: 70px 7%;
    text-align: center;
}

.letter-section h2,
.process-section h2,
.trust-section h2,
.cta-section h2 {
    font-size: 2.2rem;
    margin-bottom: 12px;
}

.dark {
    color: #475569;
}

.letter-grid {
    margin: 40px 0 26px;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 18px;
}

.letter-card {
    background: linear-gradient(
    145deg,
    rgba(242,246,250,.96),
    rgba(228,236,245,.92)
);
    color: #071120;
    text-decoration: none;
    padding: 34px 22px;
    border-radius: 22px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 12px 28px rgba(15,23,42,.06);
    transition: all .3s ease;
    position: relative;
    overflow: hidden;
}

.letter-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: #d8b233;
    transform: scaleX(0);
    transition: .3s;
}

.letter-card:hover::before {
    transform: scaleX(1);
}

.letter-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 22px 45px rgba(15,23,42,.14);
    border-color: #d8b233;
}

.letter-card h3 {
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.letter-card p {
    color: #475569;
    line-height: 1.5;
}

.letter-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 22px;
    border-radius: 50%;
    display: flex;
    place-items: center;
    font-size: 1.65rem;
    transition: .3s;
    align-items: center;
    color: #071120;
}

.letter-card:hover .letter-icon {
    transform: scale(1.1);
}

.green { background: #dcfce7; }
.orange { background: #ffedd5; }
.pink { background: #ffe4e6; }
.purple { background: #ede9fe; }
.blue { background: #dbeafe; }
.yellow { background: #fef3c7; }
.teal{background:#dff4f3; }

.process-section {
    background: #071120;
    color: white;
    text-align: center;
    padding: 65px 7% 75px;
}

.process-section p {
    color: #cbd5e1;
}

.process-grid {
    margin-top: 45px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
    position: relative;
}

.process-grid::before {
    content: "";
    position: absolute;
    top: 48px;
    left: 10%;
    width: 80%;
    height: 2px;
    background: linear-gradient(
        90deg,
        rgba(216,178,51,.1),
        rgba(216,178,51,.7),
        rgba(216,178,51,.1)
    );
    z-index: 0;
}

.process-step {
    position: relative;
    z-index: 2;
    padding: 25px;
    transition: .3s;
}

.process-step:hover {
    transform: translateY(-8px);
}

.process-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 24px;
    border: 2px solid #d8b233;
    background: #071120;
    color: #d8b233;
    display: grid;
    place-items: center;
    border-radius: 20px;
    font-weight: 800;
    font-size: 1.3rem;
    box-shadow: 0 0 25px rgba(216,178,51,.15);
    transition: .3s;
}

.process-step:hover .process-icon {
    background: #d8b233;
    color: #071120;
    transform: scale(1.08);
}

.process-step h3 {
    margin-bottom: 12px;
    font-size: 1.5rem;
}

.process-step p {
    color: #cbd5e1;
    line-height: 1.7;
}

.trust-section {
    padding: 70px 7%;
    background: #f7f9fc;
    display: grid;
    grid-template-columns: 1fr 1fr .7fr;
    gap: 35px;
    align-items: center;
}

.trust-section span {
    color: #d8b233;
}

.testimonial-carousel {
    position: relative;
    width: 100%;
    max-width: 400px;
    margin-left: 10px;

}

.testimonial-carousel .testimonial-card {
    display: none;

    background: white;
    padding: 22px 28px;

    border-radius: 22px;
    border-left: 5px solid #d8b233;

    box-shadow: 0 16px 38px rgba(15,23,42,.08);

    /* shorter cards */
    min-height: 155px;

    justify-content: space-between;
}

.testimonial-carousel .testimonial-card.active {
    display: block;
}

.testimonial-quote {
    color: #071120;
    line-height: 1.5;

    font-size: .96rem;

    margin-bottom: 14px;

    /* limits giant text blocks */
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.testimonial-card h4 {
    color: #071120;
    margin-bottom: 2px;
    font-size: 1rem;
}

.testimonial-card span {
    color: #64748b;
    font-size: .85rem;
    margin-bottom: 6px;
    display: block;
}

.testimonial-stars {
    color: #071120;
    letter-spacing: 2px;
    font-size: .9rem;
}

.testimonial-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);

    width: 38px;
    height: 38px;

    border-radius: 50%;
    border: none;

    background: #071120;
    color: white;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 2rem;
    font-weight: 700;
    line-height: 1;

    cursor: pointer;

    z-index: 5;
    padding: 0;
}

#prevTestimonial {
    left: -60px;
}

#nextTestimonial {
    right: -60px;
}
.testimonial-dots {
    margin-top: 14px;

    display: flex;
    justify-content: center;
    gap: 8px;
}

.testimonial-dot {
    width: 8px;
    height: 8px;

    border-radius: 50%;
    border: none;

    background: #cbd5e1;
    cursor: pointer;
}

.testimonial-dot.active {
    background: #d8b233;
}

.stats div {
    margin-bottom: 22px;
}

.stats strong {
    display: block;
    font-size: 2rem;
}

.stats span {
    color: #475569;
}

.cta-section {
    margin: 40px 7% 70px;
    background: #071120;
    color: white;
    padding: 50px;
    border-radius: 22px;
    display: flex;
    justify-content: space-between;
    gap: 30px;
    align-items: center;
}

.cta-buttons {
    display: flex;
    gap: 18px;
}

.floating-help {
    position: fixed;
    right: 20px;
    bottom: 18px;
    background: #09234a;
    color: white;
    text-decoration: none;
    padding: 12px 18px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,.25);
    font-weight: 700;
    z-index: 9999;
    font-size: .9rem;
    transition: .3s;
}

.floating-help:hover {
    transform: translateY(-3px);
    background: #0c3268;
}

footer {
    background: #071120;
    color: #cbd5e1;
    text-align: center;
    padding: 30px;
}

@media (max-width: 1000px) {
    nav {
        display:flex;
        flex-wrap:wrap;
        justify-content:center;
    }

    .hero,
    .trust-section,
    .cta-section {
        grid-template-columns: 1fr;
    }

    .letter-grid,
    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cta-section {
        display: block;
    }
}


/* AUDIT HELP QUIZ PAGE */

.quiz-hero {
    background: linear-gradient(90deg, #071120 0%, #09234a 100%);
    color: white;
    text-align: center;
    padding: 90px 7% 70px;
}

.quiz-hero h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    margin-bottom: 20px;
}

.quiz-hero p {
    color: #dce6f3;
    font-size: 1.15rem;
}

.quiz-section {
    background: #f7f9fc;
    padding: 70px 7%;
}

.quiz-card {
    max-width: 850px;
    margin: auto;
    background: white;
    padding: 45px;
    border-radius: 24px;
    box-shadow: 0 18px 45px rgba(15,23,42,.12);
}

.quiz-top {
    margin-bottom: 28px;
}

#stepText {
    font-weight: 800;
    color: #09234a;
}

.progress-bar {
    margin-top: 12px;
    height: 10px;
    background: #e2e8f0;
    border-radius: 999px;
    overflow: hidden;
}

#progressFill {
    height: 100%;
    width: 25%;
    background: #d8b233;
    transition: .3s ease;
}

#questionText {
    font-size: 2rem;
    margin-bottom: 28px;
    color: #071120;
}

.answer-buttons {
    display: grid;
    gap: 16px;
}

.answer-btn {
    border: 1px solid #d9e1ec;
    background: white;
    color: #071120;
    padding: 18px 20px;
    border-radius: 16px;
    text-align: left;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: .25s ease;
}

.answer-btn:hover {
    transform: translateX(8px);
    border-color: #d8b233;
    background: #fffaf0;
}

.quiz-actions {
    margin-top: 28px;
}

.quiz-control {
    border: none;
    background: #09234a;
    color: white;
    padding: 12px 22px;
    border-radius: 12px;
    font-weight: 800;
    cursor: pointer;
}

.quiz-result {
    background: #f8fafc;
    border-left: 5px solid #d8b233;
    padding: 30px;
    border-radius: 18px;
}

.quiz-result h3 {
    font-size: 1.8rem;
    color: #09234a;
    margin-bottom: 14px;
}

.quiz-result p {
    color: #475569;
    margin-bottom: 24px;
}

.result-secondary {
    border: 2px solid #09234a;
    color: #09234a;
    margin-left: 12px;
}

.hidden {
    display: none;
}

.quiz-disclaimer {
    max-width: 850px;
    margin: 25px auto 0;
    color: #64748b;
    font-size: .95rem;
    text-align: center;
}


/* CONTACT PAGE */

.contact-hero {
    background: linear-gradient(90deg, #071120 0%, #09234a 100%);
    color: white;
    text-align: center;
    padding: 90px 7% 70px;
}

.contact-hero h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    margin-bottom: 18px;
}

.contact-hero p {
    color: #dce6f3;
    font-size: 1.15rem;
}

.contact-section {
    background: #f7f9fc;
    padding: 75px 7%;
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 45px;
    align-items: start;
}

.contact-info h2 {
    font-size: 2.3rem;
    margin-bottom: 18px;
}

.contact-info p {
    color: #475569;
    margin-bottom: 25px;
}

.contact-info-card {
    background: #071120;
    color: white;
    padding: 30px;
    border-radius: 22px;
    box-shadow: 0 16px 35px rgba(15,23,42,.12);
}

.contact-info-card h3 {
    color: #d8b233;
    margin-bottom: 15px;
}

.contact-info-card ul {
    padding-left: 20px;
}

.contact-info-card li {
    margin-bottom: 10px;
    color: #dce6f3;
}

.contact-form {
    background: white;
    padding: 40px;
    border-radius: 24px;
    box-shadow: 0 18px 45px rgba(15,23,42,.12);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
}

.form-group {
    margin-bottom: 22px;
}

.form-group label {
    display: block;
    font-weight: 800;
    margin-bottom: 8px;
    color: #071120;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px 16px;
    border: 1px solid #d9e1ec;
    border-radius: 14px;
    font-size: 1rem;
    font-family: inherit;
    outline: none;
    transition: .25s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #d8b233;
    box-shadow: 0 0 0 4px rgba(216,178,51,.15);
}

.form-submit {
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

@media (max-width: 900px) {
    .contact-section {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}


/* CONTACT FORM SUCCESS + ERROR */

.form-success,
.form-error {
    padding: 18px 20px;
    border-radius: 14px;
    margin-bottom: 24px;
    font-weight: 700;
    animation: fadeUp .4s ease;
}

.form-success {
    background: #ecfdf3;
    border: 1px solid #16a34a;
    color: #166534;
}

.form-error {
    background: #fef2f2;
    border: 1px solid #dc2626;
    color: #991b1b;
}

/* FORM ANIMATION */

.contact-form {
    animation: fadeUp .5s ease;
}

.contact-info-card {
    animation: fadeUp .6s ease;
}

/* BUTTON HOVER */

.form-submit {
    transition: .3s ease;
}

.form-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(216,178,51,.28);
}


/* ADMIN AREA */

.admin-page {
    min-height: 100vh;
    display: flex;
    background: #f7f9fc;
}

.admin-sidebar {
    width: 220px;
    min-width: 220px;
    background: #071120;
    color: white;
    padding: 35px 25px;
}

.admin-sidebar h2 {
    color: #d8b233;
    margin-bottom: 30px;
}

.admin-sidebar a{

    display:block;

    color:#dce6f3;

    text-decoration:none;

    padding:14px 16px;

    border-radius:14px;

    margin-bottom:10px;

    font-weight:700;

    transition:.25s ease;
}

.admin-sidebar a:hover{

    background:
    rgba(216,178,51,.12);

    color:#d8b233;

    transform:translateX(4px);

}

.admin-sidebar a.active{

    background:#d8b233;

    color:#071120;

    box-shadow:
    0 10px 25px
    rgba(216,178,51,.28);

}

.admin-content {
    flex: 1;
    padding: 20px;
    overflow-x: hidden;
}

.admin-content h1 {
    font-size: 2.4rem;
    margin-bottom: 8px;
}



.admin-content h1::after {
    content: "";
    display: block;
    width: 70px;
    height: 4px;
    background: #d8b233;
    border-radius: 20px;
    margin-top: 12px;
}

.admin-subtitle {
    color: #475569;
    margin-top: 18px;
    margin-bottom: 30px;
}

.admin-card {
    width: 100%;
    overflow-x: hidden;
    background: white;
    border-radius: 24px;
    padding: 25px;
    box-shadow: 0 16px 40px rgba(15,23,42,.10);
    overflow-x: hidden;
    border-top:5px solid #d8b233;
}

.admin-content {
    flex: 1;
    padding: 30px;
    overflow-x: hidden;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

.admin-table th {
    background: #071120;
    color: white;
    text-align: left;
    padding: 16px;
    font-size: .9rem;
}

.admin-table td {
    padding: 15px 16px;
    border-bottom: 1px solid #e2e8f0;
    vertical-align: top;
}

.admin-table td,
.admin-table th {
    overflow-wrap: break-word;
    word-wrap: break-word;
    font-size: 14px;
}

.admin-table tr:hover {
    background: #f8fafc;
}

.admin-table th:nth-child(1),
.admin-table td:nth-child(1) {
    width: 90px;
}

.admin-table th:nth-child(2),
.admin-table td:nth-child(2) {
    width: 120px;
}

.admin-table th:nth-child(3),
.admin-table td:nth-child(3) {
    width: 120px;
}

.admin-table th:nth-child(4),
.admin-table td:nth-child(4) {
    width: 120px;
}

.admin-table th:nth-child(5),
.admin-table td:nth-child(5) {
    width: 70px;
}

.admin-table th:nth-child(6),
.admin-table td:nth-child(6) {
    width: 70px;
}

.admin-table th:nth-child(7),
.admin-table td:nth-child(7) {
    width: 120px;
}

.admin-table th:nth-child(8),
.admin-table td:nth-child(8) {
    width: 90px;
}

.admin-table th:nth-child(9),
.admin-table td:nth-child(9) {
    width: 120px;
}

@media (max-width: 900px) {
    .admin-page {
        grid-template-columns: 1fr;
    }

    .admin-sidebar {
        position: relative;
    }

    .dashboard-actions{

        flex-direction:column;

    }
}


/* PUBLIC MEDIA PAGE */

.media-hero {
    background: linear-gradient(90deg, #071120 0%, #09234a 100%);
    color: white;
    text-align: center;
    padding: 90px 7% 70px;
}

.media-hero h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    margin-bottom: 18px;
}

.media-hero p {
    color: #dce6f3;
    font-size: 1.15rem;
}

.media-section {
    background: #f7f9fc;
    padding: 70px 7%;
}

.media-section h2 {
    font-size: 2.5rem;
    color: #071120;
    margin-bottom: 30px;
}

.media-heading {
    margin-top: 60px;
}

.media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 420px));
    gap: 30px;
    align-items: start;
}

.media-card {
    min-height: 260px;
    background: white;
    padding: 32px;
    border-radius: 24px;
    box-shadow: 0 18px 45px rgba(15,23,42,.10);
    border-top: 5px solid #d8b233;

    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.media-card .btn {
    margin-top: auto;
}

.media-type {
    display: inline-block;
    background: #071120;
    color: #d8b233;
    padding: 8px 14px;
    border-radius: 999px;
    font-weight: 800;
    margin-bottom: 20px;
}

.media-card h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
    color: #071120;
}

.media-card p {
    color: #475569;
    margin-bottom: 25px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
}

.btn-primary {
    background: #d4af37;
    color: #001437;
    border: none;
    padding: 15px 24px;
    border-radius: 12px;
    font-weight: 800;
    cursor: pointer;
    transition: 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(212,175,55,0.3);
}

.success-message {
    background: #ecfdf3;
    border: 1px solid #16a34a;
    color: #166534;
    padding: 18px 20px;
    border-radius: 14px;
    margin-bottom: 24px;
    font-weight: 700;
}

/*Dashboard*/

.admin-content {
    flex: 1;
    padding: 50px;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin: 40px 0;
}

.dashboard-card {
    background: white;
    border-radius: 24px;
    padding: 35px;
    border-left: 5px solid #d8b233;
}

.dashboard-card h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: #071120;
}

.dashboard-card p {
    font-size: 3rem;
    font-weight: 700;
    color: #d8b233;
}


.dashboard-stats{
    display:grid;

    grid-template-columns:
    repeat(5,minmax(220px,1fr));

    gap:22px;

    margin:28px 0 28px;

}

.stat-card{
    min-height:135px;

    padding:26px;

    border-radius:22px;

    background:
    linear-gradient(
        145deg,
        rgba(255,255,255,.98),
        rgba(245,248,252,.94)
    );

    border-left:5px solid #d8b233;

    box-shadow:
    0 12px 30px rgba(15,23,42,.08);

    transition:.25s ease;
}

.stat-card:hover{
    transform:translateY(-4px);

    box-shadow:
    0 18px 40px rgba(15,23,42,.12);
}

.stat-card h3{
    font-size:1rem;
    color:#071120;
    margin-bottom:18px;
}

.stat-card p{
    font-size:2.4rem;
    font-weight:800;
    color:#d8b233;
}

/* NEW */

.new-stat{
    border-left-color:#d8b233;

    background:
    linear-gradient(
        145deg,
        #ffffff,
        #fffaf0
    );
}

/* ARCHIVED */

.archived-stat{
    border-left-color:#64748b;

    background:
    linear-gradient(
        145deg,
        #ffffff,
        #f5f7fa
    );
}

.dashboard-actions{
    display:flex;

    gap:15px;

    flex-wrap:wrap;

    margin-bottom:28px;
}

/* RESPONSIVE */

@media(max-width:1200px){

    .dashboard-stats{
        grid-template-columns:
        repeat(3,1fr);
    }

}

@media(max-width:800px){

    .dashboard-stats{
        grid-template-columns:1fr;
    }

    .dashboard-actions{
        flex-direction:column;
    }

}

.stat-card h3{
    font-size:1rem;
    margin-bottom:20px;
}


.stat-card p{
    font-size:2.3rem;
    font-weight:800;
    color:#d8b233;
}



.dashboard-section {
    margin-top: 18px;
}

.dashboard-actions{

    display:flex;

    gap:15px;

    flex-wrap:wrap;

    margin-bottom:25px;

}

.section-header h2 {
    font-size: 32px;
    color: #071120;
    margin-bottom: 20px;
}

.stat-link {
    text-decoration: none;
    color: inherit;
    transition: 0.3s ease;
}

.stat-link:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 45px rgba(15,23,42,.14);
}

/*contact admin*/
.delete-btn {
    background: #c62828;
    color: white;
    padding: 10px 18px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: 0.3s ease;
}

.delete-btn:hover {
    background: #8e1b1b;
}

/* MESSAGE MODAL */

.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    z-index: 9999;

    justify-content: center;
    align-items: center;
}

.message-modal {
    width: 90%;
    max-width: 650px;
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 30px 70px rgba(0,0,0,0.35);
}

.modal-header {
    background: #071120;
    color: white;
    padding: 22px 28px;

    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2 {
    font-size: 1.4rem;
}

.close-modal {
    background: transparent;
    border: none;
    color: white;
    font-size: 1.6rem;
    cursor: pointer;
}

.modal-body {
    padding: 30px;
}

.modal-body p {
    color: #475569;
    line-height: 1.8;
    white-space: pre-wrap;
}

.view-btn {
    background: #09234a;
    color: white;
    padding: 10px 18px;
    border-radius: 10px;
    border: none;
    font-weight: 700;
    cursor: pointer;
    margin-right: 8px;
    transition: 0.3s ease;
}

.view-btn:hover {
    background: #0c3268;
}

.view-btn,
.delete-btn {
    min-width: 72px;
    height: 38px;
    padding: 0 16px;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.admin-search-form {
    display: flex;
    gap: 12px;
    margin: 25px 0;
    max-width: 650px;
    align-items: center;
}

.admin-search-form input {
    flex: 1;
    padding: 14px 16px;
    border: 1px solid #d9e1ec;
    border-radius: 12px;
    font-size: 1rem;
}

.clear-search-btn {
    background: #e2e8f0;
    color: #071120;
    padding: 14px 20px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
}

.notes-btn {
    background: #d8b233;
    color: #071120;
    padding: 10px 18px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    margin-right: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 72px;
    height: 38px;
}

.notes-btn:hover {
    background: #c49f2c;
}

.note-card {
    margin-top: 25px;
}

.note-item {
    border-left: 5px solid #d8b233;
    background: #f8fafc;
    padding: 20px;
    border-radius: 14px;
    margin-bottom: 18px;
}

.note-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    color: #071120;
}

.note-meta span {
    color: #64748b;
    font-size: 0.9rem;
}

.status-form {
    margin-top: 18px;
    display: flex;
    gap: 12px;
    align-items: center;
}

.status-form select {
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid #d9e1ec;
    font-weight: 700;
}

.checkbox-group {
    display: flex;
    align-items: center;
}

.checkbox-group label {
    display: flex;
    gap: 10px;
    align-items: center;
    font-weight: 800;
}

.checkbox-group input {
    width: auto;
}

/*FOOTER*/
.site-footer {
    background: #071120;
    color: white;
    padding: 30px 20px;
    text-align: center;
    margin-top: 60px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.staff-portal-link {
    display: inline-block;
    margin-top: 12px;
    color: #94a3b8;
    font-size: 0.85rem;
    text-decoration: none;
    transition: 0.3s ease;
}

.staff-portal-link:hover {
    color: #d8b233;
}

.login-page {
    min-height: 100vh;
    background: #f4f7fb;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
}

.login-card {
    width: 100%;
    max-width: 620px;
    background: white;
    border-radius: 24px;
    padding: 60px;
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.14);
    border: 1px solid #d9e1ec;
    transform: translateY(-20px);
}

.login-card h1 {
    text-align: center;
    font-size: 48px;
    color: #071120;
    margin-bottom: 10px;
}

.login-card p {
    text-align: center;
    color: #64748b;
    margin-bottom: 30px;
}

.login-card .form-group {
    margin-bottom: 22px;
}

.login-card input {
    width: 100%;
    padding: 16px;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    font-size: 1rem;
}

.login-card .form-submit {
    width: 100%;
    margin-top: 10px;
}

.login-card a {
    color: #071120;
    font-weight: 700;
}

.login-card a:hover {
    color: #d8b233;
}



/* SERVICES PAGE */

.services-hero {
    position: relative;
    min-height: 510px;
    padding: 45px 7%;

    display: flex;
    align-items: center;
    justify-content: flex-start;

    color: white;
    text-align: left;
    overflow: hidden;

    
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.services-hero-content {
    width: 40%;
    max-width: 540px;
    min-height: 440px;
    position: relative;
    z-index: 2;

    background: rgba(3,10,22,.24);
    padding: 38px;

    border-radius: 28px;
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255,255,255,.08);
    box-shadow: 0 18px 50px rgba(0,0,0,.24);

    display: flex;
    flex-direction: column;
    justify-content: center;
}

.services-hero .section-label {
    color: #d8b233;
    letter-spacing: 3px;
    font-size: .95rem;
    font-weight: 800;
    margin-bottom: 22px;
}

.services-hero h1 {
    max-width: 760px;

    font-size: clamp(2.1rem, 3vw, 3.4rem);
    line-height: 1.12;

    font-weight: 300;
    letter-spacing: -1px;

    color: #ffffff;

    margin-bottom: 26px;

    text-wrap: balance;
}

.services-hero h1 {
    text-shadow:
        0 4px 18px rgba(0,0,0,.28);
}

.services-hero h1::after {
    content: "";
    display: block;
    width: 75px;
    height: 3px;
    background: #d8b233;
    border-radius: 20px;
    margin-top: 26px;
}

.services-hero p {
    color: #e4ebf5;
    max-width: 460px;
    font-size: 1.08rem;
    line-height: 1.8;
    margin-bottom: 34px;
    font-weight: 400;
}

.services-hero::before {
    content: "";
    position: absolute;
    inset: 0;

    background-image: url('../images/client-agreement.jpg');
    background-size: cover;
    background-position: 42% center;



    z-index: 0;
}

.services-hero::after {
    content: "";
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(3,10,22,.92) 0%,
            rgba(3,10,22,.86) 34%,
            rgba(3,10,22,.62) 58%,
            rgba(3,10,22,.28) 78%,
            rgba(3,10,22,.14) 100%
        );

    z-index: 1;
}

.services-hero-buttons {
    display: flex;
    justify-content: flex-start;
    gap: 18px;
    flex-wrap: nowrap;
    align-items: center;
}

.secondary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.services-hero-buttons .btn {
    min-width: 175px;
    text-align: center;
}

.services-hero-buttons .btn-outline {
    border: 1px solid rgba(216,178,51,.75);
    color: #f3d46a;
    background: transparent;
}

.services-hero-buttons .secondary-btn {
    border: 2px solid #d8b233;
    color: #f3d46a;
    background: transparent;
}

.services-hero-buttons .secondary-btn:hover {
    background: rgba(216,178,51,.12);
}

.services-hero-buttons .btn-outline:hover {
    background: rgba(216,178,51,.12);
    border-color: #d8b233;
}


.service-overview {
    background: white;
    padding: 70px 7%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 45px;
    align-items: center;
}

.service-overview h2 {
    font-size: 2.6rem;
    color: #071120;
}

.service-overview p {
    color: #475569;
    font-size: 1.08rem;
}

.featured-services {
    background: #f7f9fc;
    padding: 65px 7%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.featured-service-card {
    position: relative;
    overflow: hidden;
    background: #071120;
    color: white;
    padding: 36px;
    border-radius: 24px;
    border-top: 5px solid #d8b233;
    box-shadow: 0 18px 45px rgba(15,23,42,.15);
    transition: box-shadow .3s ease, border-color .3s ease;
}

.featured-service-card:hover {
    border-top-color: #f1c84c;
    box-shadow:
        0 0 0 1px rgba(216,178,51,.18),
        0 24px 55px rgba(15,23,42,.18);
}

.featured-service-card span {
    color: #d8b233;
    font-weight: 900;
    letter-spacing: 2px;
}

.featured-service-card h3 {
    font-size: 1.6rem;
    margin: 18px 0 12px;
}

.featured-service-card p {
    color: #dce6f3;
}


/* SERVICE AREAS FEATURED LAYOUT */

.services-detail-section {
    background: #f7f9fc;
    padding: 45px 5% 65px;
}

.services-detail-intro {
    max-width: 720px;
    margin-bottom: 30px;
}

.services-detail-intro .section-label {
    color: #b88715;
}

.services-detail-intro h2 {
    font-size: clamp(2.8rem, 5vw, 4.1rem);
    line-height: .9;
    color: #071120;
    margin-bottom: 18px;
    font-family: Georgia, 'Times New Roman', serif;
}

.services-detail-intro h2::after {
    content: "";
    display: block;
    width: 78px;
    height: 3px;
    background: #d8b233;
    margin-top: 18px;
}

.services-detail-intro p {
    color: #334155;
    max-width: 560px;
    line-height: 1.8;
}

/* FIXED CONTAINER GRID */

.services-detail-grid {
    max-width: 1180px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 210px;
    gap: 14px;
}

/* PLACEMENT */

.detail-service-card:nth-child(1) {
    grid-column: span 2;
}

.detail-service-card:nth-child(2),
.detail-service-card:nth-child(3),
.detail-service-card:nth-child(4),
.detail-service-card:nth-child(5),
.detail-service-card:nth-child(6),
.detail-service-card:nth-child(7),
.detail-service-card:nth-child(8) {
    grid-column: span 1;
}

/* CARDS */

.detail-service-card {
    background: white;
    border: 1px solid #dde4ee;
    border-left: 3px solid #d8b233;
    border-radius: 16px;
    padding: 24px 28px;
    height: 210px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 12px 30px rgba(15,23,42,.05);
}

.detail-service-card .service-icon {
    display: none !important;
}

.detail-service-card::before {
    content: "SERVICE";
    color: #b88715;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.detail-service-card h3 {
    font-family: Georgia, 'Times New Roman', serif;
    color: #071120;
    font-size: 1.35rem;
    line-height: 1.12;
    margin-bottom: 12px;
}

.detail-service-card h3::after {
    content: "";
    display: block;
    width: 42px;
    height: 2px;
    background: #d8b233;
    margin-top: 10px;
}

.detail-service-card p {
    color: #334155;
    font-size: .93rem;
    line-height: 1.55;
    margin-bottom: 10px;
}

.detail-service-card::after {
    content: "View Details →";
    color: #b88715;
    font-weight: 800;
    font-size: .9rem;
    margin-top: auto;
}

/* FEATURED CARD */

.detail-service-card:first-child {
    background:
        linear-gradient(
            90deg,
            rgba(7,17,32,.97),
            rgba(7,17,32,.84)
        ),
        url('../images/IRS Forms.jpg');
    background-size: cover;
    background-position: center;
    border-left: 7px solid #d8b233;
    color: white;
}

.detail-service-card:first-child::before {
    content: "FEATURED SERVICE";
    color: #d8b233;
}

.detail-service-card:first-child h3 {
    color: white;
    font-size: 2.35rem;
}

.detail-service-card:first-child h3::after {
    width: 72px;
    height: 3px;
}

.detail-service-card:first-child p {
    color: #e7eef8;
    max-width: 620px;
}

.detail-service-card:first-child::after {
    color: #d8b233;
}

/* MOBILE */

@media(max-width:1000px) {
    .services-detail-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: auto;
    }

    .detail-service-card,
    .detail-service-card:first-child {
        grid-column: span 1;
        height: auto;
        min-height: 220px;
    }
}

/* ABOUT PAGE */

.about-hero {
    background: radial-gradient(circle at 20% 20%, rgba(216,178,51,.22), transparent 30%),
                linear-gradient(90deg, #071120 0%, #09234a 100%);
    color: white;
    text-align: center;
    padding: 95px 7% 80px;
}

.about-hero h1 {
    font-size: clamp(2.7rem, 5vw, 4.8rem);
    margin-bottom: 22px;
}

.about-hero p {
    color: #dce6f3;
    max-width: 850px;
    margin: 0 auto;
    font-size: 1.15rem;
}

.about-intro-section {
    background: white;
    padding: 75px 7%;
    display: grid;
    grid-template-columns: 1.3fr .7fr;
    gap: 45px;
    align-items: start;
}

.about-intro-content {
    padding-top: 28px;
    max-width: 720px;
}


.about-intro-content h2 {
    font-size: 2.45rem;
    color: #071120;
    margin-bottom: 20px;
    line-height: 1.18;
}

.about-intro-content p {
    color: #475569;
    line-height: 1.8;
    margin-bottom: 16px;
}

.about-highlight-card {
    background: #f8fafc;
    border-radius: 24px;
    padding: 34px;
    border-top: 5px solid #d8b233;
    box-shadow: 0 18px 45px rgba(15,23,42,.08);
}

.about-highlight-card h3 {
    font-size: 1.6rem;
    color: #071120;
    margin-bottom: 18px;
}

.about-highlight-card ul {
    list-style: none;
    padding: 0;
}

.about-highlight-card li {
    padding: 12px 0;
    border-bottom: 1px solid #e2e8f0;
    color: #475569;
}

.about-highlight-card li::before {
    content: "✓ ";
    color: #d8b233;
    font-weight: 900;
}

.mission-section {
    background: #f7f9fc;
    padding: 70px 7%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.mission-card {
    background: #071120;
    color: white;
    padding: 36px;
    border-radius: 24px;
    box-shadow: 0 18px 45px rgba(15,23,42,.15);
}

.mission-card span {
    color: #d8b233;
    font-weight: 900;
    letter-spacing: 2px;
}

.mission-card h3 {
    font-size: 1.6rem;
    margin: 18px 0 12px;
}

.mission-card p {
    color: #dce6f3;
    line-height: 1.7;
}

.about-values-section {
    background: white;
    padding: 75px 7%;
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 45px;
    align-items: start;
}

.about-values-section h2 {
    font-size: 2.5rem;
    color: #071120;
    margin-bottom: 18px;
}

.about-values-section p {
    color: #475569;
    line-height: 1.8;
    margin-bottom: 16px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
}

.value-box {
    background: #f8fafc;
    border-radius: 20px;
    padding: 26px;
    border: 1px solid #e2e8f0;
}

.value-box h3 {
    color: #071120;
    margin-bottom: 10px;
}

.value-box p {
    margin: 0;
}

.about-cta-section {
    margin: 50px 7% 80px;
    background: #071120;
    color: white;
    padding: 50px;
    border-radius: 26px;
    display: flex;
    justify-content: space-between;
    gap: 30px;
    align-items: center;
    box-shadow: 0 18px 45px rgba(15,23,42,.14);
}

.about-cta-section h2 {
    font-size: 2.2rem;
    margin-bottom: 12px;
}

.about-cta-section p {
    color: #dce6f3;
}

@media (max-width: 900px) {
    .about-intro-section,
    .mission-section,
    .about-values-section,
    .about-cta-section {
        grid-template-columns: 1fr;
    }

    .about-cta-section {
        flex-direction: column;
        align-items: flex-start;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }
}

.accreditation-section {
    background: white;
    padding: 70px 7%;
    text-align: center;
}

.accreditation-section h2 {
    font-size: 2.4rem;
    color: #071120;
    margin-bottom: 14px;
}

.accreditation-section p {
    color: #475569;
    max-width: 760px;
    margin: 0 auto 35px;
}

.accreditation-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: 950px;
    margin: 0 auto;
}

.accreditation-logo {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    min-height: 120px;
    display: grid;
    place-items: center;
    color: #64748b;
    font-weight: 800;
}

@media (max-width: 900px) {
    .accreditation-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ABOUT PAGE UPDATED */

.about-hero {
    background: radial-gradient(circle at 20% 20%, rgba(216,178,51,.22), transparent 30%),
                linear-gradient(90deg, #071120 0%, #09234a 100%);
    color: white;
    text-align: center;
    padding: 95px 7% 80px;
}

.about-hero h1 {
    font-size: clamp(2.7rem, 5vw, 4.8rem);
    margin-bottom: 22px;
}

.about-hero p {
    color: #dce6f3;
    max-width: 850px;
    margin: 0 auto;
    font-size: 1.15rem;
}

.about-intro-section {
    position: relative;
    background:
        linear-gradient(
            to bottom,
            rgba(8,18,38,.05) 0%,
            #f7f9fc 14%
        );
    padding: 90px 7%;
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 55px;
    align-items: start;
}

.about-intro-content h2 {
    max-width: 760px;
    font-size: 2.55rem;
    font-weight: 800;
    line-height: 1.13;
    color: #071120;
    margin-bottom: 24px;
    padding: 0;
    background: none;
    border: none;
    box-shadow: none;
}

.about-intro-content h2::before {
    display: none;
}




.about-intro-content p {
    color: #475569;
    line-height: 1.8;
    margin-bottom: 16px;
}

.about-highlight-card {
    position: relative;
    overflow: hidden;

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,.98),
            rgba(245,248,252,.94)
        );

    border-radius: 24px;
    padding: 34px;

    border-top: 5px solid #d8b233;

    box-shadow:
        0 25px 55px rgba(15,23,42,.10);

    transition: .3s ease;
}

.about-highlight-card::before {
    content: "";

    position: absolute;

    top: -120px;
    right: -120px;

    width: 240px;
    height: 240px;

    background: rgba(216,178,51,.08);

    border-radius: 50%;

    filter: blur(40px);
}

.about-highlight-card:hover {
    transform: translateY(-4px);
}

.about-highlight-card h3 {
    font-size: 1.6rem;
    color: #071120;
    margin-bottom: 18px;
}

.about-highlight-card ul {
    list-style: none;
    padding: 0;
}

.about-highlight-card li {
    padding: 12px 0;
    border-bottom: 1px solid #e2e8f0;
    color: #475569;
}

.about-highlight-card li::before {
    content: "✓ ";
    color: #d8b233;
    font-weight: 900;
}

.mission-section {
    background: #f7f9fc;
    padding: 35px 7% 75px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.mission-card {
    background: #071120;
    color: white;
    padding: 36px;
    border-radius: 24px;
    border-top: 5px solid #d8b233;

    box-shadow: 0 18px 45px rgba(15,23,42,.15);

    transition:
        border-top-color .3s ease;
        box-shadow: .3s ease;
        
}

.mission-card:hover {
    transform: none;

    border-top-color: #f1c84c;

    box-shadow:
        0 0 0 1px rgba(216,178,51,.18),
        0 24px 55px rgba(15,23,42,.18);
}

.mission-card span {
    color: #d8b233;
    font-weight: 900;
    letter-spacing: 2px;
}

.mission-card h3 {
    font-size: 1.6rem;
    margin: 18px 0 12px;
}

.mission-card p {
    color: #dce6f3;
    line-height: 1.7;
}

/* ACCREDITATION SECTION */

.accreditation-section {

background:
linear-gradient(
180deg,
#ffffff 0%,
#fdfbf4 100%
);

padding:85px 7%;

text-align:center;

border-top:
1px solid #ecd37a;

border-bottom:
1px solid #ecd37a;

}

.accreditation-section h2 {
    font-size: 2.5rem;
    color: #071120;
    margin-bottom: 16px;
}

.accreditation-section p {
    color: #475569;
    max-width: 760px;
    margin: 0 auto 40px;
    font-size: 1.05rem;
}

.accreditation-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 950px;
    margin: 40px auto 0;
}

.accreditation-logo {

background:#fcfcfc;

border:2px solid #e5c04a;

border-radius:22px;

height:220px;

display:flex;

align-items:center;

justify-content:center;

padding:20px;

box-shadow:
0 12px 30px rgba(15,23,42,.06);

transition:.3s ease;

overflow:hidden;

}
.accreditation-logo:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(15,23,42,.12);
    border-color: #d8b233;
}

.accreditation-logo img{

width:100%;

height:100%;

object-fit:contain;

max-width:170px;

max-height:170px;

}

@media (max-width:900px){

.accreditation-grid{

grid-template-columns:
repeat(2,1fr);

}

}

@media (max-width:600px){

.accreditation-grid{

grid-template-columns:1fr;

}

}

/* ABOUT VALUES / APPROACH SECTION */

.about-values-section {
    background: #071120;
    padding: 90px 7%;
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 80px;
    align-items: start;
}

.about-values-section .section-label {
    color: #d8b233;
}

.about-values-section h2 {
    font-size: 2.6rem;
    color: white;
    margin-bottom: 20px;
}

.about-values-section p {
    color: #dce6f3;
    line-height: 1.8;
    margin-bottom: 18px;
}


.values-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.value-box {
    position: relative;
    background: rgba(255,255,255,0.03);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 24px;
    padding: 32px;

    transition:
        transform .28s ease,
        border-color .28s ease,
        box-shadow .28s ease,
        background .28s ease;
}

.value-box::before {
    content: "";
    position: absolute;
    top: 0;
    left: 28px;
    width: 65px;
    height: 3px;
    background: #d8b233;
    border-radius: 20px;
}

.value-box:hover {
    transform: translateY(-6px);
    border-color: rgba(216,178,51,.65);
    background: rgba(255,255,255,0.06);

    box-shadow:
        0 18px 40px rgba(0,0,0,.25),
        0 0 0 1px rgba(216,178,51,.18);
}

.value-box h3 {
    color: white;
    margin-bottom: 12px;
    font-size: 1.2rem;
}

.value-box p {
    margin: 0;
    color: #dce6f3;
}

.about-cta-section {
    margin: 45px 7% 80px;
    background: #071120;
    color: white;
    padding: 50px;
    border-radius: 26px;
    display: flex;
    justify-content: space-between;
    gap: 30px;
    align-items: flex-start;
    box-shadow: 0 18px 45px rgba(15,23,42,.14);
}

.about-cta-section h2 {
    font-size: 2.2rem;
    margin-bottom: 12px;
}

.about-cta-section p {
    color: #dce6f3;
}

.about-cta-section .btn {
    min-width: 185px;
    text-align: center;
    justify-content: center;
}

.cta-buttons {
    margin-top: 12px;
}

@media (max-width: 900px) {
    .about-intro-section,
    .mission-section,
    .about-values-section,
    .about-cta-section {
        grid-template-columns: 1fr;
    }

    .about-cta-section {
        flex-direction: column;
        align-items: flex-start;
    }

    .values-grid,
    .accreditation-grid {
        grid-template-columns: 1fr;
    }
}

/* IRS LETTERS FINAL POLISH */

/* IRS LETTERS HERO */

.letters-hero-new {
    position: relative;
    min-height: 560px;

    background:
        linear-gradient(
            90deg,
            rgba(7,17,32,.96) 0%,
            rgba(7,17,32,.90) 34%,
            rgba(7,17,32,.72) 100%
        ),
        url('../images/capital.png');

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    padding: 70px 7%;

    display: flex;
    grid-template-columns: .95fr 1.05fr;
    gap: 40px;
    justify-content: space-between;

    align-items: center;
    overflow: hidden;
}

.letters-hero-new::before {
    content: "";
    position: absolute;
    inset: 0;

    background:
        radial-gradient(
            circle at center,
            rgba(255,255,255,.08),
            transparent 34%
        );

    pointer-events: none;
}

/* LEFT CONTENT */

.letters-hero-content {
    position: relative;
    z-index: 2;
    max-width: 620px;
}

.letters-hero-content h1 {
    color: white;
    font-size: clamp(3.5rem, 6vw, 5.7rem);
    line-height: .95;
    margin-bottom: 28px;
}

.letters-hero-content .hero-text {
    color: #dce6f3;
    font-size: 1.08rem;
    line-height: 1.8;
    margin-bottom: 34px;
}

/* RIGHT SIDE */

.letters-hero-image-wrap {
    position: relative;

    display: flex;
    justify-content: center;
    align-items: center;

    min-height: 420px;
}

/* TAX DOCUMENT IMAGE */

.hero-image-card {
    width: 460px;

    max-width: 100%;

    border-radius: 30px;

    overflow: hidden;

    position: relative;

    box-shadow:
        0 24px 55px rgba(0,0,0,.24);

    transform: rotate(-2deg);

    background: transparent;
}

.hero-image-card img {
    width: 100%;

    height: 365px;

    object-fit: cover;

    display: block;

    filter:
        brightness(.98)
        contrast(1.02)
        grayscale(6%);
}

.hero-image-card::after {
    content: "";

    position: absolute;
    inset: 0;

    background:
        radial-gradient(
            circle at center,
            transparent 56%,
            rgba(7,17,32,.18) 82%,
            rgba(7,17,32,.38) 100%
        ),

        linear-gradient(
            to bottom,
            rgba(7,17,32,.12),
            transparent 16%,
            transparent 84%,
            rgba(7,17,32,.18)
        );

    pointer-events: none;
}

/* ENROLLED AGENT CARD */

.hero-side-card {
    position: relative;

    right: auto;
    top: au;
    transform: translateY(-50%);

    width: 260px;

    background: rgba(7,17,32,.92);

    border: 1px solid rgba(216,178,51,.55);

    border-radius: 24px;

    padding: 20px;

    box-shadow:
        0 18px 45px rgba(0,0,0,.34);

    backdrop-filter: blur(12px);

    z-index: 3;
}

.hero-badge {
    display: inline-block;

    color: #d8b233;

    font-size: .72rem;
    font-weight: 900;

    letter-spacing: 2px;

    margin-bottom: 16px;
}

.hero-side-card h3 {
    color: white;
    margin-bottom: 14px;
    font-size: 1.05rem;
    line-height: 1.35;
}

.hero-side-card ul {
    list-style: none;
    display: grid;
    gap: 11px;
}

.hero-side-card li {
    background: rgba(255,255,255,.05);

    color: #dce6f3;

    padding: 9px 12px;

    border-radius: 10px;

    font-size: .88rem;

    line-height: 1.4;
}

.hero-side-card li::before {
    content: "✓ ";
    color: #d8b233;
    font-weight: 900;
}

/* SECOND SECTION */


.directory-left h2 {
    font-size: 2.45rem;
    line-height: 1.12;

    color: #071120;

    margin-bottom: 22px;
}

.directory-left p {
    color: #475569;

    line-height: 1.8;
    max-width: 540px;
}

.notice-directory-section {
        background:
        radial-gradient(
            circle at top center,
            rgba(216,178,51,.08),
            transparent 30%
        ),
        linear-gradient(
            180deg,
            #eef3f9 0%,
            #dfe7f1 100%
        );

    padding: 52px 7% 42px;

    display: grid;
    grid-template-columns: 44% 56%;

    gap: 34px;

    align-items: center;

    border-top: 1px solid rgba(255,255,255,.08);
}

.directory-highlight {
    margin-top: 28px;

    background: rgba(255,255,255,.88);

    border-left: 5px solid #d8b233;

    padding: 20px 22px;

    border-radius: 16px;

    box-shadow:
        0 18px 40px rgba(15,23,42,.06);
}

/* NOTICE CARDS */

.directory-right{
    display:grid;

    grid-template-columns:
    repeat(2,minmax(320px,1fr));

    gap:18px;
}

.notice-row{

    background:
    rgba(255,255,255,.82);

    border:1px solid
    rgba(255,255,255,.85);

    border-radius:22px;

    padding:24px;

    display:grid;

    grid-template-columns:
    64px 1fr;

    gap:18px;

    align-items:start;

    min-height:160px;

    height:fit-content;

    box-shadow:
    0 12px 30px
    rgba(15,23,42,.08);
}

.notice-icon{

    width:56px;

    height:56px;

    background:#071120;

    border-radius:16px;

    display:flex;

    align-items:center;

    justify-content:center;

    color:#d8b233;

    font-size:1.2rem;
}

@media (max-width: 1000px) {
    .letters-hero-new,
    .notice-directory-section {
        grid-template-columns: 1fr;
    }

    .letters-hero-image-wrap {
        min-height: auto;
    }

    .hero-side-card {
        position: relative;
        right: auto;
        top: auto;
        transform: none;
        width: 100%;
        max-width: 420px;
        margin-top: -25px;
    }

    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .letters-bottom-cta {
        flex-direction: column;
        align-items: flex-start;
    }
}

.bottom-cta-content{
    display:flex;
    align-items:center;
    gap:28px;
}

.cta-icon{

    width:72px;
    height:72px;

    background:
    rgba(216,178,51,.12);

    border-radius:18px;

    display:flex;

    align-items:center;
    justify-content:center;

    color:#d8b233;

    font-size:1.8rem;

    flex-shrink:0;
}

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

    .notice-row {
        grid-template-columns: 1fr;
    }
}



/* WHAT TO DO FIRST SECTION */

.steps-section {
    background:
        linear-gradient(
            180deg,
            #081120 0%,
            #0b1b33 100%
        );

    color: white;
    padding: 75px 7%;
    text-align: center;
    position: relative;
    overflow: hidden;
    
}
.steps-section::before {
    content: "";
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(255,255,255,.015),
            transparent 30%,
            transparent 70%,
            rgba(255,255,255,.015)
        );

    pointer-events: none;
}

.steps-title {
    color: white;
    font-size: 2.9rem;
    margin-bottom: 18px;
    position: relative;
    z-index: 2;
}

.steps-section .section-label {
    color: #d8b233;
    margin-bottom: 14px;
    position: relative;
    z-index: 2;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
    margin-top: 50px;
    position: relative;
    z-index: 2;
}

.step-card {
    background: #f4f7fb;

    border-radius: 24px;

    padding: 28px 24px;

    min-height: 210px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;

    box-shadow:
        0 10px 24px rgba(0,0,0,.12);

    border: 1px solid #dbe3ee;

    transition: .3s ease;
}

.step-card:hover {
    transform: translateY(-8px);
    box-shadow:
        0 28px 60px rgba(0,0,0,.22);
}

.step-card span {
    width: 64px;
    height: 64px;

    background: #d8b233;
    color: #071120;

    display: grid;
    place-items: center;

    border-radius: 50%;

    font-size: 1.7rem;
    font-weight: 900;

    margin-bottom: 18px;

    box-shadow:
        0 12px 25px rgba(216,178,51,.35);
}

.step-card h3 {
    color: #071120;
    font-size: 1.1rem;
    margin-bottom: 18px;
    line-height: 1.25;
}

.step-card p {
    color: #475569;
    line-height: 1.6;
    font-size: .95rem;
}


/* NEED HELP SECTION */

.letters-bottom-cta{
    max-width:1180px;
    margin:40px auto 70px;
    padding:28px;
    background:white;
    border-radius:22px;
    box-shadow:0 14px 35px rgba(15,23,42,.08);

    display:grid;
    grid-template-columns:1fr auto;
    gap:24px;
    align-items:center;
}

.bottom-cta-content{
    display:flex;
    align-items:center;
    gap:28px;
}

.letters-bottom-cta h2{
    font-size:1.35rem;

    color:#071120;

    margin-bottom:8px;
}

.letters-bottom-cta p{
    color:#475569;

    margin:0;

    line-height:1.6;
}

.letters-bottom-cta .cta-buttons{
    margin:0;
}

.letters-bottom-cta .primary-btn{
    background:#071120;

    color:#d8b233;

    padding:16px 34px;

    border-radius:12px;
}

.letters-bottom-cta .secondary-btn{
    display:none;
}

@media(max-width:900px){

.letters-bottom-cta{
    grid-template-columns:1fr;

    text-align:center;
}

.letters-bottom-cta::before{
    margin:auto;
}

.letters-bottom-cta .cta-buttons{
    justify-content:center;
}
}

/* MOBILE */

@media (max-width: 1100px) {

    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .letters-bottom-cta {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 700px) {

    .steps-grid {
        grid-template-columns: 1fr;
    }

    .steps-title {
        font-size: 2.2rem;
    }

    .letters-bottom-cta h2 {
        font-size: 2.2rem;
    }

    .step-card {
        min-height: auto;
    }
}

/* FOOTER GAP FIX */

.letters-bottom-cta {
    margin-bottom: 0 !important;
}

footer,
.site-footer {
    margin-top: 0 !important;
    background: #071120 !important;
    color: #cbd5e1;
    padding: 28px 20px 36px;
    border-top: 1px solid rgba(216,178,51,.18);
}

/* FINAL BOTTOM SECTION CLEANUP */

.letters-bottom-cta {
    background: #eef3f9 !important;
    color: #071120 !important;
    padding: 55px 7% !important;
    border-top: 1px solid #dbe3ee !important;
    border-bottom: 1px solid #dbe3ee !important;
}

.letters-bottom-cta h2 {
    color: #071120 !important;
}

.letters-bottom-cta p {
    color: #334155 !important;
}

.letters-bottom-cta .secondary-btn {
    color: #071120 !important;
    background: white !important;
}

footer,
.site-footer {
    background: #071120 !important;
    padding: 24px 20px 30px !important;
}

/* HOMEPAGE HERO FLOATING MINI CARD FIX */

.hero-visual {
    position: relative;
}

.confidence-card {
    position: absolute;
    right: -35px;
    bottom: 65px;
    max-width: 220px;
    z-index: 5;
}

/* prevent it from covering text on smaller screens */
@media (max-width: 1200px) {
    .confidence-card {
        right: 10px;
        bottom: 25px;
        max-width: 190px;
    }
}

@media (max-width: 1000px) {
    .confidence-card {
        display: none;
    }
}

.about-hero {
    position: relative;
    overflow: hidden;

    min-height: 460px;

    color: white;
    text-align: left;

    padding: 70px 7% 60px;

    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    backdrop-filter: blur(1px);

    background:
        linear-gradient(
            90deg,
            rgba(4,12,25,.96) 0%,
            rgba(5,18,38,.92) 45%,
            rgba(10,30,60,.86) 100%
        ),
        url('../images/about-hero-bg.jpg');

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    transform: scaleX(-1);
}

.about-hero > * {
    position: relative;
    z-index: 2;
}

.about-hero h1 {
    max-width: 760px;
    font-size: clamp(2.9rem, 5vw, 5rem);
    line-height: 1.05;
    margin-bottom: 34px;
}

.about-hero p {
    color: #edf3fa;
    max-width: 760px;
    margin: 0;
    font-size: 1.15rem;
    line-height: 1.8;
}

.about-hero .eyebrow {
    color: #f3d46a;
    font-size: .95rem;
    letter-spacing: 3px;
    margin-bottom: 24px;
}

/* SERVICES PAGE HELP CHOICE FIX */

.help-choice-section{
    max-width:1180px;

    margin:50px auto 80px;

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:24px;

    padding:0 20px;
}

.choice-card{
    background:white;

    padding:36px;

    border-radius:24px;

    box-shadow:0 16px 40px rgba(15,23,42,.08);

    border-top:5px solid #d8b233;
}

.choice-card h2{
    font-size:2rem;

    color:#071120;

    margin:12px 0 18px;
}

.choice-card p{
    color:#475569;

    line-height:1.7;
}

.choice-card .btn{
    margin-top:24px;
}

.dark-choice{
    background:#071120;

    color:white;
}

.dark-choice h2,
.dark-choice p{
    color:white;
}

.light-choice{
    background:white;
}

@media(max-width:900px){

.help-choice-section{
    grid-template-columns:1fr;
}
}

.services-detail-grid {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
}

/* FINAL SERVICE CARD ALIGNMENT FIX */

.services-detail-grid {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
}

.detail-service-card::after {
    display: none;
    content: none;
}

.detail-service-card p {
    margin-bottom: 0;
}


/* CENTER ENTIRE HOW WE CAN HELP SECTION */

.services-detail-section{
    max-width:1200px;
    margin:0 auto;
    padding:0 20px;
}

/* FINAL HELP CHOICE ALIGNMENT */

.help-choice-section {
    max-width: 1180px;
    margin: 50px auto 80px;
    padding: 0 20px;

    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    align-items: stretch;
}

.choice-card {
    min-height: 345px;
    padding: 48px 52px;

    display: flex;
    flex-direction: column;
}

.choice-card h2 {
    margin-bottom: 24px;
}

.choice-card p:not(.section-label) {
    line-height: 1.75;
    margin-bottom: 30px;
}

.choice-card .btn {
    margin-top: auto;

    align-self: center;

    min-width: 230px;

    text-align: center;
}

/* make the light-card button match the dark-card button width */
.light-choice .btn {
    min-width: 230px;
}


/* IRS LETTERS HERO RESET - FINAL FIX */

.letters-hero-new {
    min-height: 560px !important;
    padding: 70px 7% !important;

    display: grid !important;
    grid-template-columns: 1.15fr .85fr !important;
    gap: 60px !important;

    align-items: center !important;
    justify-content: center !important;

    max-width: none !important;
    width: 100% !important;
    margin: 0 !important;

    background:
        linear-gradient(
            90deg,
            rgba(7,17,32,.96) 0%,
            rgba(7,17,32,.88) 45%,
            rgba(7,17,32,.68) 100%
        ),
        url('../images/capital.png') !important;

    background-size: cover !important;
    background-position: center !important;
}

.letters-hero-content {
    max-width: 680px !important;
    position: relative !important;
    z-index: 2 !important;
}

.letters-hero-content h1 {
    font-size: clamp(3.4rem, 5.8vw, 5.4rem) !important;
    line-height: .98 !important;
    margin-bottom: 28px !important;
}

.letters-hero-content .hero-text {
    font-size: 1.08rem !important;
    line-height: 1.8 !important;
    max-width: 560px !important;
    margin-bottom: 34px !important;
    color: #dce6f3 !important;
}

.hero-side-card {
    position: relative !important;
    right: auto !important;
    top: auto !important;
    transform: none !important;

    width: 360px !important;
    max-width: 100% !important;
    min-height: auto !important;

    margin: 0 auto !important;
    padding: 30px !important;
}

.hero-side-card li {
    padding: 12px 14px !important;
    font-size: .95rem !important;
}

/* IRS hero mobile */
@media (max-width: 900px) {
    .letters-hero-new {
        grid-template-columns: 1fr !important;
        text-align: center !important;
        gap: 35px !important;
    }

    .letters-hero-content,
    .letters-hero-content .hero-text {
        max-width: 100% !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .hero-buttons {
        justify-content: center !important;
        flex-wrap: wrap !important;
    }

    .hero-side-card {
        width: 100% !important;
        max-width: 420px !important;
    }
}

/* HOMEPAGE SERVICE CARD FINAL FIX */

.letter-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 18px;
    max-width: 1500px;
    margin: 40px auto 30px;
}

.letter-card {
    min-height: 330px;
    padding: 34px 18px;
    text-align: center;

    display: flex;
    flex-direction: column;
    align-items: center;

    border-radius: 22px;
}

.letter-icon {
    width: 82px;
    height: 82px;

    margin: 0 auto 24px;

    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 1.65rem;

    color: #334155;
}

.letter-icon i {
    display: block;
    line-height: 1;
    font-weight: 400;
}

.letter-card h3 {
    min-height: 58px;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 1.35rem;
    line-height: 1.35;
    margin-bottom: 14px;
}

.letter-card p {
    font-size: .98rem;
    line-height: 1.6;
}

/* softer icon colors */
.green i { color: #2f8f4e; }
.pink i { color: #8b4c5a; }
.orange i { color: #b87800; }
.purple i { color: #5f5478; }
.blue i { color: #3f77a8; }
.yellow i { color: #9b7a12; }

.teal {
    background: #dff4f3;
}

.teal i {
    color: #287c82;
}

/* tablet */
@media (max-width: 1200px) {
    .letter-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* phone */
@media (max-width: 700px) {
    .letter-grid {
        grid-template-columns: 1fr;
    }

    .letter-card {
        min-height: auto;
    }
}

/* CONTACT FILTER BUTTONS */

.dashboard-actions{

display:flex;

gap:12px;

flex-wrap:wrap;

margin-bottom:22px;

}

.dashboard-actions .btn-primary{

padding:10px 18px;

border-radius:999px;

}

/* STATUS */

.status-badge{

display:inline-block;

padding:7px 12px;

border-radius:999px;

background:#fff8e5;

color:#8f6a00;

font-weight:700;

font-size:.82rem;

}

/* ARCHIVED */

.archive-badge{

display:inline-block;

margin-left:8px;

padding:5px 10px;

border-radius:999px;

font-size:.75rem;

font-weight:700;

}

.archive-badge.archived{

background:#edf2f7;

color:#475569;

}

/* CONTACT BUTTON SPACING */

.notes-btn,
.archive-btn,
.unarchive-btn,
.view-btn{

margin-right:6px;

margin-bottom:4px;

display:inline-block;

}

/* CONTACT STATUS + ARCHIVE */

.status-badge{

display:inline-block;

padding:7px 12px;

border-radius:999px;

background:#fff8e5;

color:#8f6a00;

font-weight:700;

font-size:.82rem;

}

/* archived badge */

.archive-badge{

display:inline-block;

margin-left:8px;

padding:5px 10px;

border-radius:999px;

font-size:.75rem;

font-weight:700;

}

.archive-badge.archived{

background:#edf2f7;

color:#475569;

}

/* spacing */

.notes-btn,
.archive-btn,
.unarchive-btn,
.view-btn{

margin-right:6px;

margin-bottom:4px;

display:inline-block;

}

/* archive buttons */

.archive-btn{

background:#64748b;

color:white;

padding:10px 18px;

border-radius:10px;

text-decoration:none;

font-weight:700;

}

.archive-btn:hover{

background:#475569;

}

.unarchive-btn{

background:#16a34a;

color:white;

padding:10px 18px;

border-radius:10px;

text-decoration:none;

font-weight:700;

}

.unarchive-btn:hover{

background:#15803d;

}

.contacts-toolbar{
    max-width:100%;
    display:grid;
    grid-template-columns:1fr auto;
    gap:18px;
    align-items:center;
}

.contacts-toolbar .dashboard-actions{
    display:flex;
    gap:10px;
    flex-wrap:wrap;
    margin:0;
}

.contacts-toolbar input{
    min-width:260px;
}

.contacts-toolbar .btn-primary,
.contacts-toolbar .clear-search-btn{
    height:48px;
    border-radius:12px;
}

.archive-btn{
    background:#64748b;
}

.unarchive-btn{
    background:#09234a;
}

.status-badge{
    background:#fff8e5;
    color:#8f6a00;
}

.archive-badge.archived{
    background:#e2e8f0;
    color:#475569;
}


/* FILTER BUTTON ROW */

.contacts-toolbar .dashboard-actions{
    display:flex;
    flex-wrap:wrap;
    gap:12px;

    width:100%;

    margin:0;
}

/* SEARCH ROW */

.admin-search-form{

    display:flex;

    gap:12px;

    align-items:center;

    flex-wrap:wrap;

    max-width: 650px;

}

.admin-search-form input{

    width:420px;

    max-width:100%;

}

.admin-search-form button,
.clear-search-btn{

    width:auto;

    min-width:100px;

    height:48px;

}


.admin-footer-actions{

margin-top:30px;

display:flex;

justify-content:flex-start;
margin-bottom: 40px;

}

.btn-secondary{

display:inline-flex;

align-items:center;

padding:14px 24px;

border-radius:12px;

background:#cfd6df;

color:#04152b;

font-weight:700;

text-decoration:none;

transition:.3s;

}

.btn-secondary:hover{

background:#d8b233;

}

/* CONTACT NOTES FOOTER FIX */

.admin-footer-actions{

    margin-top:30px;

    margin-bottom:80px;

}

/* DARK BUTTON */

.back-contacts-btn{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    background:#071120;

    color:white;

    text-decoration:none;

    padding:14px 24px;

    border-radius:12px;

    font-weight:700;

    transition:.25s ease;

}

.back-contacts-btn:hover{

    background:#09234a;

    transform:translateY(-2px);

}

/* PREVENT FOOTER OVERLAP */

.admin-page{

    
    display:flex;
    background: #f7f9fc;

}

/* CONTACT NOTES PAGE EXTRA SPACE */

.admin-content{

    padding-bottom:40px;

}

/* BUTTON STYLE */

.dashboard-actions .btn-primary{

    padding:12px 22px;

    border-radius:14px;

}

html,
body{
    max-width:100%;
    overflow-x:hidden;
}

.admin-content{
    min-width:0;
    overflow-x:hidden;
}

.admin-card{
    max-width:100%;
    overflow-x:auto;
}

.admin-table{
    min-width:1050px;
}

.admin-footer-actions{
    margin-top:30px;
    margin-bottom:100px;
}

.back-contacts-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    background:#071120;
    color:white !important;
    text-decoration:none !important;
    padding:14px 24px;
    border-radius:12px;
    font-weight:800;
}

.back-contacts-btn:hover{
    background:#d8b233;
    color:#071120 !important;
}

/* CONTACT NOTES BOTTOM SPACING */

.admin-footer-actions{
    margin-top:20px;
    margin-bottom:25px;
}

.back-contacts-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;

    background:#071120;
    color:white !important;

    padding:14px 26px;
    border-radius:12px;

    text-decoration:none !important;
    font-weight:800;
}

.back-contacts-btn:hover{
    background:#d8b233;
    color:#071120 !important;
}

/* reduce extra space before footer */
.admin-page{
    min-height:auto;
}

/* reduce footer gap only after admin pages */
.admin-page + .site-footer{
    margin-top:0;
}

/* ADMIN USER TABLE RESPONSIVE */

.admin-table-wrapper{

    width:100%;

    overflow-x:auto;

}

.admin-table{

    width:100%;

    table-layout:fixed;

}

.admin-table th,
.admin-table td{

    word-wrap:break-word;

    overflow-wrap:break-word;

    white-space:normal;

    vertical-align:top;

    padding:14px;

}

/* responsive column widths */

.admin-table th:nth-child(1),
.admin-table td:nth-child(1){

width:10%;

}

.admin-table th:nth-child(2),
.admin-table td:nth-child(2){

width:14%;

}

.admin-table th:nth-child(3),
.admin-table td:nth-child(3){

width:18%;

}

.admin-table th:nth-child(4),
.admin-table td:nth-child(4){

width:18%;

}

.admin-table th:nth-child(5),
.admin-table td:nth-child(5){

width:8%;

}

.admin-table th:nth-child(6),
.admin-table td:nth-child(6){

width:8%;

}

.admin-table th:nth-child(7),
.admin-table td:nth-child(7){

width:10%;

}

.admin-table th:nth-child(8),
.admin-table td:nth-child(8){

width:8%;

}

.admin-table th:nth-child(9),
.admin-table td:nth-child(9){

width:8%;

}

/* FIX CONTACTS TABLE ONLY */

.contacts-table{
    width:100%;
    border-collapse:collapse;
    table-layout:auto;
}

.contacts-table thead tr,
.contacts-table tbody tr{
    height:auto !important;
}

.contacts-table th{
    height:auto !important;
    min-height:0 !important;
    padding:14px 16px !important;
    vertical-align:middle !important;
    white-space:normal;
}

.contacts-table td{
    height:auto !important;
    min-height:0 !important;
    padding:14px 16px !important;
    vertical-align:top;
    white-space:normal;
}

.contacts-table th,
.contacts-table td{
    overflow-wrap:break-word;
}

.admin-card{
    overflow-x:auto;
}

/* CONTACT NOTES PRINT */

.admin-footer-actions{

display:flex;

gap:15px;

flex-wrap:wrap;

margin-top:25px;

margin-bottom:25px;

}

.print-client-btn{

background:#d8b233;

color:#071120;

padding:14px 24px;

border:none;

border-radius:12px;

font-weight:800;

cursor:pointer;

}

.print-client-btn:hover{

background:#c49f2c;

}

@media print{

.site-header,
.admin-sidebar,
.admin-footer-actions,
.status-form,
textarea,
button,
.site-footer{

display:none !important;

}

body{

background:white;

}

.admin-card{

box-shadow:none;

border:none;

margin-bottom:20px;

page-break-inside:avoid;

}

}

@media print{

    .no-print,
    .site-header,
    .admin-sidebar,
    .admin-footer-actions,
    .status-form,
    button,
    .site-footer{
        display:none !important;
    }

}
.print-followup-notes{
    display:none;
}

@media print{
    .print-followup-notes{
        display:block !important;
        border:1px solid #ccc;
        padding:12px;
        min-height:80px;
        margin-top:8px;
        white-space:pre-wrap;
    }
}

@media print{

    .admin-content h1,
    .admin-subtitle{
        display:none !important;
    }

    .admin-content{
        padding:0 !important;
        margin:0 !important;
    }

    .admin-card{
        page-break-before:auto !important;
        page-break-after:auto !important;
        break-inside:avoid;
    }

}

.pdf-actions{
    display:flex;
    gap:12px;
    flex-wrap:wrap;
    margin-top:auto;
}

.download-btn{
    background:#071120;
    color:white;
    padding:15px 24px;
    border-radius:12px;
    text-decoration:none;
    font-weight:800;
}

.download-btn:hover{
    background:#09234a;
}

/* ==========================================
GLOBAL MOBILE RESPONSIVE FIXES
========================================== */

@media (max-width: 992px){

    /* NAV */

    .site-header{
        flex-wrap:wrap;
        gap:20px;
        padding:20px;
    }

    nav{
        width:100%;
        justify-content:center;
        flex-wrap:wrap;
        gap:18px;
    }

    /* HERO SECTIONS */

    .hero,
    .services-hero,
    .letters-hero-new,
    .trust-section,
    .contact-section,
    .about-intro-section,
    .about-values-section,
    .service-overview,
    .notice-directory-section{

        grid-template-columns:1fr !important;

        gap:40px;

        text-align:center;
    }

    .hero-text,
    .services-hero p,
    .directory-left p{
        max-width:100%;
        margin:auto;
    }

    .services-hero-content{
        width:100%;
        max-width:none;
        min-height:auto;
    }

    /* BUTTONS */

    .hero-buttons,
    .services-hero-buttons,
    .cta-buttons{

        justify-content:center;

        flex-wrap:wrap;
    }

    /* GRIDS */

    .letter-grid,
    .process-grid,
    .steps-grid,
    .mission-section,
    .featured-services,
    .directory-right,
    .dashboard-grid,
    .dashboard-stats{

        grid-template-columns:repeat(2,1fr);
    }

    /* SERVICE DETAIL */

    .services-detail-grid{
        grid-template-columns:1fr !important;
    }

    .detail-service-card:first-child{
        grid-column:span 1;
    }

    /* HERO IMAGE CARDS */

    .hero-image-card,
    .portrait-placeholder,
    .support-card{

        width:100%;
        max-width:500px;

        margin:auto;
    }

    .hero-side-card{
        position:relative;
        right:auto;
        top:auto;
        transform:none;

        width:100%;

        margin-top:20px;
    }

    /* CTA */

    .cta-section,
    .about-cta-section,
    .letters-bottom-cta{

        grid-template-columns:1fr;

        text-align:center;
    }

}


@media (max-width:768px){

    /* HEADINGS */

    h1{
        line-height:1.1;
    }

    .hero h1,
    .letters-hero-content h1,
    .services-hero h1{

        font-size:clamp(2.2rem,8vw,3rem);
    }

    /* ALL GRIDS SINGLE COLUMN */

    .letter-grid,
    .process-grid,
    .steps-grid,
    .mission-section,
    .featured-services,
    .directory-right,
    .dashboard-grid,
    .dashboard-stats,
    .accreditation-grid,
    .values-grid{

        grid-template-columns:1fr;
    }

    /* SERVICES CARDS */

    .detail-service-card{
        height:auto;
        min-height:220px;
    }

    /* FORMS */

    .form-row,
    .form-grid{
        grid-template-columns:1fr;
    }

    /* PADDING */

    section,
    .hero,
    .services-hero,
    .letters-hero-new,
    .about-hero,
    .contact-hero,
    .quiz-hero{

        padding-left:20px;
        padding-right:20px;
    }

    .letters-bottom-cta{
        grid-template-columns:1fr;
        text-align:center;
    }

    .bottom-cta-content{
        flex-direction:column;
    }

    .cta-buttons{
        justify-self:center;
    }

}

.dashboard-actions{

display:flex;

gap:15px;

margin:20px 0;

flex-wrap:wrap;

}

.contact-info{

display:flex;

flex-direction:column;

min-height:100%;

}

.contact-hours-card{

margin-top:auto;

margin-left:0;

margin-right:auto;

width:100%;

max-width:360px;

background:white;

padding:28px;

border-radius:22px;

border-top:5px solid #d8b233;

box-shadow:
0 12px 30px rgba(15,23,42,.08);

margin-top:35px;

}

.hours-logo{

text-align:center;

margin-bottom:18px;

}

.hours-logo img{

max-width:120px;

height:auto;

}



.contact-hours-card{

margin-top:55px;

/* width control */
width:85%;
max-width:320px;

/* center under What to Include */
margin-left:auto;
margin-right:auto;

background:white;

padding:30px;

border-radius:22px;

border-top:5px solid #d8b233;

box-shadow:
0 12px 30px rgba(15,23,42,.08);

}

.contact-hours-card h3{

margin-bottom:22px;

color:#071120;

font-size:1.6rem;

text-align:center;

}

.contact-hours-card p{

margin-bottom:14px;

color:#475569;

line-height:1.6;

}




/* RESPONSIVE CONTACT HOURS */

@media (max-width:900px){

.contact-hours-card{

margin-top:25px;

padding:24px;

}

.hours-logo img{

max-width:120px;

max-height:90px;

}

}

@media (max-width:768px){

.contact-hours-card{

padding:22px;

border-radius:18px;

}

.contact-hours-card h3{

font-size:1.3rem;

}

.contact-hours-card p{

font-size:.95rem;

}

}

@media (max-width:600px){

.contact-hours-card{

padding:20px;

margin-top:20px;

}

.hours-logo img{

max-width:100px;

max-height:80px;

}

}

/* ==========================================
FINAL RESPONSIVE CLEANUP FIXES
========================================== */

/* Contact page: fix bullet/list alignment on mobile */
.contact-info-card ul,
.contact-info ul {
    padding-left: 0;
    margin-left: 0;
    list-style-position: inside;
}

.contact-info-card li,
.contact-info li {
    padding-left: 0;
    margin-left: 0;
}

/* If the bullets still look awkward, use this cleaner custom version */
@media (max-width: 768px) {
    .contact-info-card ul,
    .contact-info ul {
        list-style: none;
        padding-left: 0;
    }

    .contact-info-card li,
    .contact-info li {
        position: relative;
        padding-left: 24px;
        margin-bottom: 12px;
    }

    .contact-info-card li::before,
    .contact-info li::before {
        content: "•";
        position: absolute;
        left: 0;
        color: #d8b233;
        font-weight: 900;
    }
}

/* Services page: keep the three blue featured boxes equal height */
.featured-services {
    align-items: stretch;
}

.featured-service-card {
    height: 100%;
    min-height: 245px;

    display: flex;
    flex-direction: column;
}

.featured-service-card p {
    flex-grow: 1;
}

/* Tablet: keep the blue boxes equal when wrapping */
@media (max-width: 1000px) {
    .featured-services {
        grid-template-columns: repeat(3, 1fr);
        align-items: stretch;
    }

    .featured-service-card {
        min-height: 260px;
    }
}

/* Smaller tablet: switch to one column cleanly */
@media (max-width: 800px) {
    .featured-services {
        grid-template-columns: 1fr;
    }

    .featured-service-card {
        min-height: auto;
    }
}

.contact-address-section{
    margin-top:30px;
    padding:20px;
    border-radius:12px;
    background:#f8f9fb;
}

.address-row{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:15px;
}

.form-group{
    display:flex;
    flex-direction:column;
    margin-bottom:15px;
}

.form-group input {
    width: 100%;
}


/* TABLETS */
@media (max-width:992px){

    .address-row{
        grid-template-columns:repeat(2,1fr);
    }

}

/* PHONES */
@media (max-width:768px){

    .address-row{
        grid-template-columns:1fr;
    }

    .contact-address-section{
        padding:15px;
    }

}

/* SMALL PHONES */
@media (max-width:480px){

    .contact-address-section{
        padding:12px;
    }

    input{
        width:100%;
        font-size:16px;
    }

}

.consent-box {
    margin-top: 18px;
}

.checkbox-line {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.95rem;
    line-height: 1.5;
    font-weight: 500;
}

.checkbox-line input[type="checkbox"] {
    width: auto;
    margin-top: 5px;
    flex-shrink: 0;
}

.checkbox-line span {
    display: block;
}

.consent-box .checkbox-line {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-weight: 700;
    line-height: 1.5;
}

.consent-box .checkbox-line input[type="checkbox"] {
    width: 18px !important;
    height: 18px;
    margin-top: 4px;
    flex: 0 0 18px;
}

.consent-box .checkbox-line span {
    display: block;
}

.consent-row {
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start !important;
    gap: 12px;
    margin: 20px 0;
}

.consent-row input[type="checkbox"] {
    width: 18px !important;
    height: 18px !important;
    min-width: 18px;
    margin-top: 5px;
    flex: 0 0 18px;
}

.consent-row label {
    display: inline-block !important;
    width: auto !important;
    margin: 0 !important;
    font-weight: 700;
    line-height: 1.5;
}

.consent-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 15px;
}

.consent-row input[type="checkbox"] {
    width: auto !important;
    min-width: 18px;
    max-width: 18px;
    height: 18px;
    padding: 0 !important;
    margin-top: 4px;
    flex-shrink: 0;
}

.consent-row label {
    display: inline;
    font-weight: 400;
    margin: 0;
    line-height: 1.5;
}

.crm-intake-form h3 {
    margin-top: 35px;
    padding-top: 20px;
    border-top: 1px solid #e5e7eb;
}

.crm-intake-form h3:first-of-type {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.crm-intake-form label {
    display: block;
    margin: 10px 0;
}

.crm-intake-form .btn-primary {
    margin-top: 30px;
    width: 100%;
    padding: 14px 18px;
    font-size: 1rem;
}

.contacts-filters {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.contacts-filters select {
    padding: 12px 16px;
    border-radius: 10px;
    border: 1px solid #d1d5db;
    min-width: 220px;
    font-size: 15px;
}

.notes-btn {
    white-space: nowrap;
}

.contact-name {
    white-space: nowrap;
    min-width: 140px;
}

.date-export-filter {
    display: flex;
    gap: 12px;
    align-items: center;
    margin: 15px 0;
    flex-wrap: wrap;
}

.date-export-filter input[type="date"] {
    padding: 10px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
}

.date-export-filter .btn-primary {
    margin: 0;
}

.crm-intake-form h3 {
    margin-top: 35px;
    padding-top: 20px;
    border-top: 1px solid #e5e7eb;
}

.crm-intake-form h3:first-of-type {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.admin-card h2 {
    margin-bottom: 20px;
}

.admin-card hr {
    margin: 35px 0;
}

.status-form,
.note-card,
.admin-footer-actions {
    margin-top: 30px;
}

.notes-section {
    margin-top: 35px;
    margin-bottom: 35px;
}

.admin-footer-actions {
    display: flex;
    gap: 16px;
    align-items: center;
    margin-top: 30px;
    margin-bottom: 40px;
}

.print-client-btn,
.back-contacts-btn {
    min-width: 180px;
    text-align: center;
}

.print-client-btn,
.back-contacts-btn,
.btn-primary,
.notes-btn,
.view-btn,
.delete-btn {

    min-width: 200px;
    height: 54px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    font-size: 1rem;
    font-weight: 700;

    border-radius: 12px;
    text-decoration: none;
}

.print-client-btn {
    background: #d8b233;
    color: #071120;
}

.back-contacts-btn {
    background: #071120;
    color: white;
}

/* ===================================
ADMIN BUTTON STANDARDS
=================================== */

.btn-primary,
.notes-btn,
.view-btn,
.archive-btn,
.unarchive-btn,
.print-client-btn,
.back-contacts-btn {

    min-width: 120px;
    height: 54px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 0 24px;

    border-radius: 12px;

    font-size: 1rem;
    font-weight: 700;

    text-decoration: none;
    cursor: pointer;
}

/* ===================================
ADMIN BUTTON STANDARDS save update export
=================================== */

.btn-primary,
.print-client-btn {

    background: #d4af37;
    color: #071120;
}

/* ===================================
ADMIN BUTTON STANDARDS nav/view
=================================== */
.view-btn,
.back-contacts-btn {

    background: #071120;
    color: #ffffff;
}

/* ===================================
ADMIN BUTTON STANDARDS archive
=================================== */

.archive-btn {

    background: #64748b;
    color: white;
}

/* ===================================
ADMIN BUTTON STANDARDS restore
=================================== */
.unarchive-btn {

    background: #16a34a;
    color: white;
}

/* ===================================
ADMIN BUTTON STANDARDS Notes
=================================== */
.notes-btn {

    background: #d4af37;
    color: #071120;
}

/* ===================================
ADMIN BUTTON STANDARDS contact actions (notes, view, archive)
=================================== */
.contact-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}

.contact-actions .archive-btn,
.contact-actions .unarchive-btn,
.contact-actions .view-btn {
    min-width: 90px;
    height: 44px;
    padding: 0 16px;
    font-size: 0.95rem;
    font-weight: 700;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

/* CONTACT ACTION BUTTONS */

.contact-actions{
    display:flex;
    flex-direction:column;
    gap:10px;
    align-items:center;
}

.contact-actions .archive-btn,
.contact-actions .unarchive-btn,
.contact-actions .view-btn{

    width:90px;
    height:50px;

    display:flex;
    align-items:center;
    justify-content:center;

    border-radius:12px;

    font-size:1rem;
    font-weight:700;

    text-decoration:none;
}

.contact-name{
    min-width:140px;
    white-space:normal;
    line-height:1.4;
}

.attachment-yes{
    color:#16a34a;
    font-weight:700;
}

.attachment-no{
    color:#94a3b8;
}

.contacts-table td {
    white-space: nowrap;
}

.contacts-table td:nth-child(5) {
    white-space: normal;
}

.admin-content{
    padding:25px;
}

.admin-card{
    padding:10px;
}

.contact-actions{
    width:110px;
}

/*Dashboard stats cleanup*/
.dashboard-stats{
    grid-template-columns: repeat(3, 1fr);
}

.chart-card {
    padding: 28px;
}

.chart-row {
    margin-bottom: 22px;
}

.chart-row:last-child {
    margin-bottom: 0;
}

.chart-label {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-weight: 700;
}

.chart-label span {
    color: #d8b233;
}

.chart-bar-bg {
    width: 100%;
    height: 16px;
    background: #e2e8f0;
    border-radius: 999px;
    overflow: hidden;
}

.chart-bar-fill {
    height: 100%;
    background: #d8b233;
    border-radius: 999px;
}

.admin-table .view-btn,
.admin-table .delete-btn {
    min-width: 60px;
    width: 60px;
    height: 34px;
    padding: 0;
    font-size: 12px;
}

.contact-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
}

.contact-actions a,
.contact-actions button {
    width: 90px;
    height: 38px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.contact-actions .archive-btn,
.contact-actions .unarchive-btn,
.contact-actions .view-btn,
.contact-actions .delete-btn {
    width: 90px !important;
    min-width: 90px !important;
    height: 38px !important;
    padding: 0 !important;
    font-size: 14px !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    margin: 0 !important;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #f7f9fc;
    color: #081120;
    line-height: 1.6;
}

.site-header {
    background: #071120;
    color: white;
    padding: 22px 7%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    gap: 14px;
    align-items: center;
    font-size: 1.6rem;
    font-weight: 800;
}

.logo-icon {
    color: #d8b233;
    font-size: 1.6rem;
}

.logo span {
    color: #d8b233;
}

.logo small {
    display: block;
    font-size: .7rem;
    color: #cbd5e1;
    letter-spacing: 2px;
    text-transform: uppercase;
}

nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: 600;
}

.nav-btn {
    background: #d8b233;
    color: #071120 !important;
    padding: 14px 24px;
    border-radius: 12px;
}

.hero {
    min-height: 720px;

    background:
        linear-gradient(
            90deg,
            rgba(4,12,25,.95) 0%,
            rgba(5,18,38,.91) 45%,
            rgba(10,30,60,.85) 100%
        ),
        url('../images/hero-bg.jpg');

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    color: white;
    padding: 80px 7%;

    display: grid;
    grid-template-columns: 1.1fr .9fr;
    align-items: center;
    gap: 50px;
}

.eyebrow,
.section-label {
    color: #d8b233;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 800;
    font-size: .85rem;
    margin-bottom: 18px;
}

.hero h1 {
    font-size: clamp(3rem, 6vw, 5.3rem);
    line-height: 1.02;
    margin-bottom: 24px;
}

.hero h1 span {
    color: #d8b233;
}

.hero-text {
    max-width: 620px;
    color: #dce6f3;
    font-size: 1.2rem;
    margin-bottom: 34px;
}

.hero-buttons {
    display: flex;
    gap: 18px;
    margin-bottom: 32px;
}

.btn,
.quiz-btn {
    display: inline-block;
    text-decoration: none;
    font-weight: 800;
    padding: 15px 28px;
    border-radius: 12px;
}

.primary-btn,
.quiz-btn {
    background: #d8b233;
    color: #071120;
}

.secondary-btn {
    border: 2px solid #d8b233;
    color: white;
}

.trust-row {
    display: flex;
    gap: 24px;
    color: #e9eef7;
    font-size: .95rem;
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
}

.support-card {
    width: 420px;
    min-height: 430px;
    border-radius: 30px;
    background: linear-gradient(145deg, rgba(7,17,32,.82), rgba(7,17,32,.68));
    border: 1px solid rgba(216,178,51,.35);
    padding: 55px 42px;
    color: white;
    box-shadow: 0 30px 70px rgba(0,0,0,.35);
}

.support-icon {
    width: 72px;
    height: 72px;
    background: rgba(216,178,51,.15);
    border: 1px solid rgba(216,178,51,.45);
    border-radius: 20px;
    display: grid;
    place-items: center;
    font-size: 2rem;
    margin-bottom: 30px;
}

.support-card h3 {
    font-size: 2rem;
    color: #d8b233;
    margin-bottom: 18px;
}

.support-card p {
    color: #dce6f3;
    margin-bottom: 28px;
}

.mini-checks {
    display: grid;
    gap: 14px;
}

.mini-checks span {
    background: rgba(255,255,255,.07);
    padding: 13px 15px;
    border-radius: 12px;
}


.portrait-placeholder {
    width: 420px;
    height: 470px;
    border-radius: 30px;
    background: linear-gradient(145deg, rgba(255,255,255,.18), rgba(255,255,255,.04));
    border: 1px solid rgba(255,255,255,.16);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #d8b233;
    font-size: 2rem;
    font-weight: 800;
    text-align: center;
    box-shadow: 0 30px 70px rgba(0,0,0,.35);
}

.confidence-card {
    position: absolute;
    right: 20px;
    bottom: 55px;
    background: rgba(7,17,32,.92);
    border: 1px solid rgba(216,178,51,.65);
    padding: 18px 22px;
    border-radius: 16px;
    color: white;
    max-width: 230px;
    box-shadow: 0 15px 35px rgba(0,0,0,.35);
}

.confidence-card p {
    margin-top: 5px;
    color: #dce6f3;
}

.contact-address-section{
    margin-top:30px;
    padding:20px;
    border:1px solid #ddd;
    border-radius:12px;
    background:#f8f9fb;
}

.address-row{
    display:grid;
    grid-template-columns:
        repeat(3,1fr);

    gap:15px;
}

.form-group{
    display:flex;
    flex-direction:column;
    margin-bottom:15px;
}

.letter-section {
    background: white;
    padding: 70px 7%;
    text-align: center;
}

.letter-section h2,
.process-section h2,
.trust-section h2,
.cta-section h2 {
    font-size: 2.2rem;
    margin-bottom: 12px;
}

.dark {
    color: #475569;
}

.letter-grid {
    margin: 40px 0 26px;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 18px;
}

.letter-card {
    background: linear-gradient(
    145deg,
    rgba(242,246,250,.96),
    rgba(228,236,245,.92)
);
    color: #071120;
    text-decoration: none;
    padding: 34px 22px;
    border-radius: 22px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 12px 28px rgba(15,23,42,.06);
    transition: all .3s ease;
    position: relative;
    overflow: hidden;
}

.letter-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: #d8b233;
    transform: scaleX(0);
    transition: .3s;
}

.letter-card:hover::before {
    transform: scaleX(1);
}

.letter-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 22px 45px rgba(15,23,42,.14);
    border-color: #d8b233;
}

.letter-card h3 {
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.letter-card p {
    color: #475569;
    line-height: 1.5;
}

.letter-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 22px;
    border-radius: 50%;
    display: flex;
    place-items: center;
    font-size: 1.65rem;
    transition: .3s;
    align-items: center;
    color: #071120;
}

.letter-card:hover .letter-icon {
    transform: scale(1.1);
}

.green { background: #dcfce7; }
.orange { background: #ffedd5; }
.pink { background: #ffe4e6; }
.purple { background: #ede9fe; }
.blue { background: #dbeafe; }
.yellow { background: #fef3c7; }
.teal{background:#dff4f3; }

.process-section {
    background: #071120;
    color: white;
    text-align: center;
    padding: 65px 7% 75px;
}

.process-section p {
    color: #cbd5e1;
}

.process-grid {
    margin-top: 45px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
    position: relative;
}

.process-grid::before {
    content: "";
    position: absolute;
    top: 48px;
    left: 10%;
    width: 80%;
    height: 2px;
    background: linear-gradient(
        90deg,
        rgba(216,178,51,.1),
        rgba(216,178,51,.7),
        rgba(216,178,51,.1)
    );
    z-index: 0;
}

.process-step {
    position: relative;
    z-index: 2;
    padding: 25px;
    transition: .3s;
}

.process-step:hover {
    transform: translateY(-8px);
}

.process-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 24px;
    border: 2px solid #d8b233;
    background: #071120;
    color: #d8b233;
    display: grid;
    place-items: center;
    border-radius: 20px;
    font-weight: 800;
    font-size: 1.3rem;
    box-shadow: 0 0 25px rgba(216,178,51,.15);
    transition: .3s;
}

.process-step:hover .process-icon {
    background: #d8b233;
    color: #071120;
    transform: scale(1.08);
}

.process-step h3 {
    margin-bottom: 12px;
    font-size: 1.5rem;
}

.process-step p {
    color: #cbd5e1;
    line-height: 1.7;
}

.trust-section {
    padding: 70px 7%;
    background: #f7f9fc;
    display: grid;
    grid-template-columns: 1fr 1fr .7fr;
    gap: 35px;
    align-items: center;
}

.trust-section span {
    color: #d8b233;
}

.testimonial-carousel {
    position: relative;
    width: 100%;
    max-width: 400px;
    margin-left: 10px;

}

.testimonial-carousel .testimonial-card {
    display: none;

    background: white;
    padding: 22px 28px;

    border-radius: 22px;
    border-left: 5px solid #d8b233;

    box-shadow: 0 16px 38px rgba(15,23,42,.08);

    /* shorter cards */
    min-height: 155px;

    justify-content: space-between;
}

.testimonial-carousel .testimonial-card.active {
    display: block;
}

.testimonial-quote {
    color: #071120;
    line-height: 1.5;

    font-size: .96rem;

    margin-bottom: 14px;

    /* limits giant text blocks */
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.testimonial-card h4 {
    color: #071120;
    margin-bottom: 2px;
    font-size: 1rem;
}

.testimonial-card span {
    color: #64748b;
    font-size: .85rem;
    margin-bottom: 6px;
    display: block;
}

.testimonial-stars {
    color: #071120;
    letter-spacing: 2px;
    font-size: .9rem;
}

.testimonial-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);

    width: 38px;
    height: 38px;

    border-radius: 50%;
    border: none;

    background: #071120;
    color: white;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 2rem;
    font-weight: 700;
    line-height: 1;

    cursor: pointer;

    z-index: 5;
    padding: 0;
}

#prevTestimonial {
    left: -60px;
}

#nextTestimonial {
    right: -60px;
}
.testimonial-dots {
    margin-top: 14px;

    display: flex;
    justify-content: center;
    gap: 8px;
}

.testimonial-dot {
    width: 8px;
    height: 8px;

    border-radius: 50%;
    border: none;

    background: #cbd5e1;
    cursor: pointer;
}

.testimonial-dot.active {
    background: #d8b233;
}

.stats div {
    margin-bottom: 22px;
}

.stats strong {
    display: block;
    font-size: 2rem;
}

.stats span {
    color: #475569;
}

.cta-section {
    margin: 40px 7% 70px;
    background: #071120;
    color: white;
    padding: 50px;
    border-radius: 22px;
    display: flex;
    justify-content: space-between;
    gap: 30px;
    align-items: center;
}

.cta-buttons {
    display: flex;
    gap: 18px;
}

.floating-help {
    position: fixed;
    right: 20px;
    bottom: 18px;
    background: #09234a;
    color: white;
    text-decoration: none;
    padding: 12px 18px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,.25);
    font-weight: 700;
    z-index: 9999;
    font-size: .9rem;
    transition: .3s;
}

.floating-help:hover {
    transform: translateY(-3px);
    background: #0c3268;
}

footer {
    background: #071120;
    color: #cbd5e1;
    text-align: center;
    padding: 30px;
}

@media (max-width: 1000px) {
    nav {
        display:flex;
        flex-wrap:wrap;
        justify-content:center;
    }

    .hero,
    .trust-section,
    .cta-section {
        grid-template-columns: 1fr;
    }

    .letter-grid,
    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cta-section {
        display: block;
    }
}


/* AUDIT HELP QUIZ PAGE */

.quiz-hero {
    background: linear-gradient(90deg, #071120 0%, #09234a 100%);
    color: white;
    text-align: center;
    padding: 90px 7% 70px;
}

.quiz-hero h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    margin-bottom: 20px;
}

.quiz-hero p {
    color: #dce6f3;
    font-size: 1.15rem;
}

.quiz-section {
    background: #f7f9fc;
    padding: 70px 7%;
}

.quiz-card {
    max-width: 850px;
    margin: auto;
    background: white;
    padding: 45px;
    border-radius: 24px;
    box-shadow: 0 18px 45px rgba(15,23,42,.12);
}

.quiz-top {
    margin-bottom: 28px;
}

#stepText {
    font-weight: 800;
    color: #09234a;
}

.progress-bar {
    margin-top: 12px;
    height: 10px;
    background: #e2e8f0;
    border-radius: 999px;
    overflow: hidden;
}

#progressFill {
    height: 100%;
    width: 25%;
    background: #d8b233;
    transition: .3s ease;
}

#questionText {
    font-size: 2rem;
    margin-bottom: 28px;
    color: #071120;
}

.answer-buttons {
    display: grid;
    gap: 16px;
}

.answer-btn {
    border: 1px solid #d9e1ec;
    background: white;
    color: #071120;
    padding: 18px 20px;
    border-radius: 16px;
    text-align: left;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: .25s ease;
}

.answer-btn:hover {
    transform: translateX(8px);
    border-color: #d8b233;
    background: #fffaf0;
}

.quiz-actions {
    margin-top: 28px;
}

.quiz-control {
    border: none;
    background: #09234a;
    color: white;
    padding: 12px 22px;
    border-radius: 12px;
    font-weight: 800;
    cursor: pointer;
}

.quiz-result {
    background: #f8fafc;
    border-left: 5px solid #d8b233;
    padding: 30px;
    border-radius: 18px;
}

.quiz-result h3 {
    font-size: 1.8rem;
    color: #09234a;
    margin-bottom: 14px;
}

.quiz-result p {
    color: #475569;
    margin-bottom: 24px;
}

.result-secondary {
    border: 2px solid #09234a;
    color: #09234a;
    margin-left: 12px;
}

.hidden {
    display: none;
}

.quiz-disclaimer {
    max-width: 850px;
    margin: 25px auto 0;
    color: #64748b;
    font-size: .95rem;
    text-align: center;
}


/* CONTACT PAGE */

.contact-hero {
    background: linear-gradient(90deg, #071120 0%, #09234a 100%);
    color: white;
    text-align: center;
    padding: 90px 7% 70px;
}

.contact-hero h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    margin-bottom: 18px;
}

.contact-hero p {
    color: #dce6f3;
    font-size: 1.15rem;
}

.contact-section {
    background: #f7f9fc;
    padding: 75px 7%;
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 45px;
    align-items: start;
}

.contact-info h2 {
    font-size: 2.3rem;
    margin-bottom: 18px;
}

.contact-info p {
    color: #475569;
    margin-bottom: 25px;
}

.contact-info-card {
    background: #071120;
    color: white;
    padding: 30px;
    border-radius: 22px;
    box-shadow: 0 16px 35px rgba(15,23,42,.12);
}

.contact-info-card h3 {
    color: #d8b233;
    margin-bottom: 15px;
}

.contact-info-card ul {
    padding-left: 20px;
}

.contact-info-card li {
    margin-bottom: 10px;
    color: #dce6f3;
}

.contact-form {
    background: white;
    padding: 40px;
    border-radius: 24px;
    box-shadow: 0 18px 45px rgba(15,23,42,.12);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
}

.form-group {
    margin-bottom: 22px;
}

.form-group label {
    display: block;
    font-weight: 800;
    margin-bottom: 8px;
    color: #071120;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px 16px;
    border: 1px solid #d9e1ec;
    border-radius: 14px;
    font-size: 1rem;
    font-family: inherit;
    outline: none;
    transition: .25s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #d8b233;
    box-shadow: 0 0 0 4px rgba(216,178,51,.15);
}

.form-submit {
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

@media (max-width: 900px) {
    .contact-section {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}


/* CONTACT FORM SUCCESS + ERROR */

.form-success,
.form-error {
    padding: 18px 20px;
    border-radius: 14px;
    margin-bottom: 24px;
    font-weight: 700;
    animation: fadeUp .4s ease;
}

.form-success {
    background: #ecfdf3;
    border: 1px solid #16a34a;
    color: #166534;
}

.form-error {
    background: #fef2f2;
    border: 1px solid #dc2626;
    color: #991b1b;
}

/* FORM ANIMATION */

.contact-form {
    animation: fadeUp .5s ease;
}

.contact-info-card {
    animation: fadeUp .6s ease;
}

/* BUTTON HOVER */

.form-submit {
    transition: .3s ease;
}

.form-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(216,178,51,.28);
}


/* ADMIN AREA */

.admin-page {
    min-height: 100vh;
    display: flex;
    background: #f7f9fc;
}

.admin-sidebar {
    width: 220px;
    min-width: 220px;
    background: #071120;
    color: white;
    padding: 35px 25px;
}

.admin-sidebar h2 {
    color: #d8b233;
    margin-bottom: 30px;
}

.admin-sidebar a{

    display:block;

    color:#dce6f3;

    text-decoration:none;

    padding:14px 16px;

    border-radius:14px;

    margin-bottom:10px;

    font-weight:700;

    transition:.25s ease;
}

.admin-sidebar a:hover{

    background:
    rgba(216,178,51,.12);

    color:#d8b233;

    transform:translateX(4px);

}

.admin-sidebar a.active{

    background:#d8b233;

    color:#071120;

    box-shadow:
    0 10px 25px
    rgba(216,178,51,.28);

}

.admin-content {
    flex: 1;
    padding: 20px;
    overflow-x: hidden;
}

.admin-content h1 {
    font-size: 2.4rem;
    margin-bottom: 8px;
}



.admin-content h1::after {
    content: "";
    display: block;
    width: 70px;
    height: 4px;
    background: #d8b233;
    border-radius: 20px;
    margin-top: 12px;
}

.admin-subtitle {
    color: #475569;
    margin-top: 18px;
    margin-bottom: 30px;
}

.admin-card {
    width: 100%;
    overflow-x: hidden;
    background: white;
    border-radius: 24px;
    padding: 25px;
    box-shadow: 0 16px 40px rgba(15,23,42,.10);
    overflow-x: hidden;
    border-top:5px solid #d8b233;
}

.admin-content {
    flex: 1;
    padding: 30px;
    overflow-x: hidden;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

.admin-table th {
    background: #071120;
    color: white;
    text-align: left;
    padding: 16px;
    font-size: .9rem;
}

.admin-table td {
    padding: 15px 16px;
    border-bottom: 1px solid #e2e8f0;
    vertical-align: top;
}

.admin-table td,
.admin-table th {
    overflow-wrap: break-word;
    word-wrap: break-word;
    font-size: 14px;
}

.admin-table tr:hover {
    background: #f8fafc;
}

.admin-table th:nth-child(1),
.admin-table td:nth-child(1) {
    width: 90px;
}

.admin-table th:nth-child(2),
.admin-table td:nth-child(2) {
    width: 120px;
}

.admin-table th:nth-child(3),
.admin-table td:nth-child(3) {
    width: 120px;
}

.admin-table th:nth-child(4),
.admin-table td:nth-child(4) {
    width: 120px;
}

.admin-table th:nth-child(5),
.admin-table td:nth-child(5) {
    width: 70px;
}

.admin-table th:nth-child(6),
.admin-table td:nth-child(6) {
    width: 70px;
}

.admin-table th:nth-child(7),
.admin-table td:nth-child(7) {
    width: 120px;
}

.admin-table th:nth-child(8),
.admin-table td:nth-child(8) {
    width: 90px;
}

.admin-table th:nth-child(9),
.admin-table td:nth-child(9) {
    width: 120px;
}

@media (max-width: 900px) {
    .admin-page {
        grid-template-columns: 1fr;
    }

    .admin-sidebar {
        position: relative;
    }

    .dashboard-actions{

        flex-direction:column;

    }
}


/* PUBLIC MEDIA PAGE */

.media-hero {
    background: linear-gradient(90deg, #071120 0%, #09234a 100%);
    color: white;
    text-align: center;
    padding: 90px 7% 70px;
}

.media-hero h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    margin-bottom: 18px;
}

.media-hero p {
    color: #dce6f3;
    font-size: 1.15rem;
}

.media-section {
    background: #f7f9fc;
    padding: 70px 7%;
}

.media-section h2 {
    font-size: 2.5rem;
    color: #071120;
    margin-bottom: 30px;
}

.media-heading {
    margin-top: 60px;
}

.media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 420px));
    gap: 30px;
    align-items: start;
}

.media-card {
    min-height: 260px;
    background: white;
    padding: 32px;
    border-radius: 24px;
    box-shadow: 0 18px 45px rgba(15,23,42,.10);
    border-top: 5px solid #d8b233;

    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.media-card .btn {
    margin-top: auto;
}

.media-type {
    display: inline-block;
    background: #071120;
    color: #d8b233;
    padding: 8px 14px;
    border-radius: 999px;
    font-weight: 800;
    margin-bottom: 20px;
}

.media-card h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
    color: #071120;
}

.media-card p {
    color: #475569;
    margin-bottom: 25px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
}

.btn-primary {
    background: #d4af37;
    color: #001437;
    border: none;
    padding: 15px 24px;
    border-radius: 12px;
    font-weight: 800;
    cursor: pointer;
    transition: 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(212,175,55,0.3);
}

.success-message {
    background: #ecfdf3;
    border: 1px solid #16a34a;
    color: #166534;
    padding: 18px 20px;
    border-radius: 14px;
    margin-bottom: 24px;
    font-weight: 700;
}

/*Dashboard*/

.admin-content {
    flex: 1;
    padding: 50px;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin: 40px 0;
}

.dashboard-card {
    background: white;
    border-radius: 24px;
    padding: 35px;
    border-left: 5px solid #d8b233;
}

.dashboard-card h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: #071120;
}

.dashboard-card p {
    font-size: 3rem;
    font-weight: 700;
    color: #d8b233;
}


.dashboard-stats{
    display:grid;

    grid-template-columns:
    repeat(5,minmax(220px,1fr));

    gap:22px;

    margin:28px 0 28px;

}

.stat-card{
    min-height:135px;

    padding:26px;

    border-radius:22px;

    background:
    linear-gradient(
        145deg,
        rgba(255,255,255,.98),
        rgba(245,248,252,.94)
    );

    border-left:5px solid #d8b233;

    box-shadow:
    0 12px 30px rgba(15,23,42,.08);

    transition:.25s ease;
}

.stat-card:hover{
    transform:translateY(-4px);

    box-shadow:
    0 18px 40px rgba(15,23,42,.12);
}

.stat-card h3{
    font-size:1rem;
    color:#071120;
    margin-bottom:18px;
}

.stat-card p{
    font-size:2.4rem;
    font-weight:800;
    color:#d8b233;
}

/* NEW */

.new-stat{
    border-left-color:#d8b233;

    background:
    linear-gradient(
        145deg,
        #ffffff,
        #fffaf0
    );
}

/* ARCHIVED */

.archived-stat{
    border-left-color:#64748b;

    background:
    linear-gradient(
        145deg,
        #ffffff,
        #f5f7fa
    );
}

.dashboard-actions{
    display:flex;

    gap:15px;

    flex-wrap:wrap;

    margin-bottom:28px;
}

/* RESPONSIVE */

@media(max-width:1200px){

    .dashboard-stats{
        grid-template-columns:
        repeat(3,1fr);
    }

}

@media(max-width:800px){

    .dashboard-stats{
        grid-template-columns:1fr;
    }

    .dashboard-actions{
        flex-direction:column;
    }

}

.stat-card h3{
    font-size:1rem;
    margin-bottom:20px;
}


.stat-card p{
    font-size:2.3rem;
    font-weight:800;
    color:#d8b233;
}



.dashboard-section {
    margin-top: 18px;
}

.dashboard-actions{

    display:flex;

    gap:15px;

    flex-wrap:wrap;

    margin-bottom:25px;

}

.section-header h2 {
    font-size: 32px;
    color: #071120;
    margin-bottom: 20px;
}

.stat-link {
    text-decoration: none;
    color: inherit;
    transition: 0.3s ease;
}

.stat-link:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 45px rgba(15,23,42,.14);
}

/*contact admin*/
.delete-btn {
    background: #c62828;
    color: white;
    padding: 10px 18px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: 0.3s ease;
}

.delete-btn:hover {
    background: #8e1b1b;
}

/* MESSAGE MODAL */

.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    z-index: 9999;

    justify-content: center;
    align-items: center;
}

.message-modal {
    width: 90%;
    max-width: 650px;
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 30px 70px rgba(0,0,0,0.35);
}

.modal-header {
    background: #071120;
    color: white;
    padding: 22px 28px;

    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2 {
    font-size: 1.4rem;
}

.close-modal {
    background: transparent;
    border: none;
    color: white;
    font-size: 1.6rem;
    cursor: pointer;
}

.modal-body {
    padding: 30px;
}

.modal-body p {
    color: #475569;
    line-height: 1.8;
    white-space: pre-wrap;
}

.view-btn {
    background: #09234a;
    color: white;
    padding: 10px 18px;
    border-radius: 10px;
    border: none;
    font-weight: 700;
    cursor: pointer;
    margin-right: 8px;
    transition: 0.3s ease;
}

.view-btn:hover {
    background: #0c3268;
}

.view-btn,
.delete-btn {
    min-width: 72px;
    height: 38px;
    padding: 0 16px;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.admin-search-form {
    display: flex;
    gap: 12px;
    margin: 25px 0;
    max-width: 650px;
    align-items: center;
}

.admin-search-form input {
    flex: 1;
    padding: 14px 16px;
    border: 1px solid #d9e1ec;
    border-radius: 12px;
    font-size: 1rem;
}

.clear-search-btn {
    background: #e2e8f0;
    color: #071120;
    padding: 14px 20px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
}

.notes-btn {
    background: #d8b233;
    color: #071120;
    padding: 10px 18px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    margin-right: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 72px;
    height: 38px;
}

.notes-btn:hover {
    background: #c49f2c;
}

.note-card {
    margin-top: 25px;
}

.note-item {
    border-left: 5px solid #d8b233;
    background: #f8fafc;
    padding: 20px;
    border-radius: 14px;
    margin-bottom: 18px;
}

.note-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    color: #071120;
}

.note-meta span {
    color: #64748b;
    font-size: 0.9rem;
}

.status-form {
    margin-top: 18px;
    display: flex;
    gap: 12px;
    align-items: center;
}

.status-form select {
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid #d9e1ec;
    font-weight: 700;
}

.checkbox-group {
    display: flex;
    align-items: center;
}

.checkbox-group label {
    display: flex;
    gap: 10px;
    align-items: center;
    font-weight: 800;
}

.checkbox-group input {
    width: auto;
}

/*FOOTER*/
.site-footer {
    background: #071120;
    color: white;
    padding: 30px 20px;
    text-align: center;
    margin-top: 60px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.staff-portal-link {
    display: inline-block;
    margin-top: 12px;
    color: #94a3b8;
    font-size: 0.85rem;
    text-decoration: none;
    transition: 0.3s ease;
}

.staff-portal-link:hover {
    color: #d8b233;
}

.login-page {
    min-height: 100vh;
    background: #f4f7fb;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
}

.login-card {
    width: 100%;
    max-width: 620px;
    background: white;
    border-radius: 24px;
    padding: 60px;
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.14);
    border: 1px solid #d9e1ec;
    transform: translateY(-20px);
}

.login-card h1 {
    text-align: center;
    font-size: 48px;
    color: #071120;
    margin-bottom: 10px;
}

.login-card p {
    text-align: center;
    color: #64748b;
    margin-bottom: 30px;
}

.login-card .form-group {
    margin-bottom: 22px;
}

.login-card input {
    width: 100%;
    padding: 16px;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    font-size: 1rem;
}

.login-card .form-submit {
    width: 100%;
    margin-top: 10px;
}

.login-card a {
    color: #071120;
    font-weight: 700;
}

.login-card a:hover {
    color: #d8b233;
}



/* SERVICES PAGE */

.services-hero {
    position: relative;
    min-height: 510px;
    padding: 45px 7%;

    display: flex;
    align-items: center;
    justify-content: flex-start;

    color: white;
    text-align: left;
    overflow: hidden;

    
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.services-hero-content {
    width: 40%;
    max-width: 540px;
    min-height: 440px;
    position: relative;
    z-index: 2;

    background: rgba(3,10,22,.24);
    padding: 38px;

    border-radius: 28px;
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255,255,255,.08);
    box-shadow: 0 18px 50px rgba(0,0,0,.24);

    display: flex;
    flex-direction: column;
    justify-content: center;
}

.services-hero .section-label {
    color: #d8b233;
    letter-spacing: 3px;
    font-size: .95rem;
    font-weight: 800;
    margin-bottom: 22px;
}

.services-hero h1 {
    max-width: 760px;

    font-size: clamp(2.1rem, 3vw, 3.4rem);
    line-height: 1.12;

    font-weight: 300;
    letter-spacing: -1px;

    color: #ffffff;

    margin-bottom: 26px;

    text-wrap: balance;
}

.services-hero h1 {
    text-shadow:
        0 4px 18px rgba(0,0,0,.28);
}

.services-hero h1::after {
    content: "";
    display: block;
    width: 75px;
    height: 3px;
    background: #d8b233;
    border-radius: 20px;
    margin-top: 26px;
}

.services-hero p {
    color: #e4ebf5;
    max-width: 460px;
    font-size: 1.08rem;
    line-height: 1.8;
    margin-bottom: 34px;
    font-weight: 400;
}

.services-hero::before {
    content: "";
    position: absolute;
    inset: 0;

    background-image: url('../images/client-agreement.jpg');
    background-size: cover;
    background-position: 42% center;



    z-index: 0;
}

.services-hero::after {
    content: "";
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(3,10,22,.92) 0%,
            rgba(3,10,22,.86) 34%,
            rgba(3,10,22,.62) 58%,
            rgba(3,10,22,.28) 78%,
            rgba(3,10,22,.14) 100%
        );

    z-index: 1;
}

.services-hero-buttons {
    display: flex;
    justify-content: flex-start;
    gap: 18px;
    flex-wrap: nowrap;
    align-items: center;
}

.secondary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.services-hero-buttons .btn {
    min-width: 175px;
    text-align: center;
}

.services-hero-buttons .btn-outline {
    border: 1px solid rgba(216,178,51,.75);
    color: #f3d46a;
    background: transparent;
}

.services-hero-buttons .secondary-btn {
    border: 2px solid #d8b233;
    color: #f3d46a;
    background: transparent;
}

.services-hero-buttons .secondary-btn:hover {
    background: rgba(216,178,51,.12);
}

.services-hero-buttons .btn-outline:hover {
    background: rgba(216,178,51,.12);
    border-color: #d8b233;
}


.service-overview {
    background: white;
    padding: 70px 7%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 45px;
    align-items: center;
}

.service-overview h2 {
    font-size: 2.6rem;
    color: #071120;
}

.service-overview p {
    color: #475569;
    font-size: 1.08rem;
}

.featured-services {
    background: #f7f9fc;
    padding: 65px 7%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.featured-service-card {
    position: relative;
    overflow: hidden;
    background: #071120;
    color: white;
    padding: 36px;
    border-radius: 24px;
    border-top: 5px solid #d8b233;
    box-shadow: 0 18px 45px rgba(15,23,42,.15);
    transition: box-shadow .3s ease, border-color .3s ease;
}

.featured-service-card:hover {
    border-top-color: #f1c84c;
    box-shadow:
        0 0 0 1px rgba(216,178,51,.18),
        0 24px 55px rgba(15,23,42,.18);
}

.featured-service-card span {
    color: #d8b233;
    font-weight: 900;
    letter-spacing: 2px;
}

.featured-service-card h3 {
    font-size: 1.6rem;
    margin: 18px 0 12px;
}

.featured-service-card p {
    color: #dce6f3;
}


/* SERVICE AREAS FEATURED LAYOUT */

.services-detail-section {
    background: #f7f9fc;
    padding: 45px 5% 65px;
}

.services-detail-intro {
    max-width: 720px;
    margin-bottom: 30px;
}

.services-detail-intro .section-label {
    color: #b88715;
}

.services-detail-intro h2 {
    font-size: clamp(2.8rem, 5vw, 4.1rem);
    line-height: .9;
    color: #071120;
    margin-bottom: 18px;
    font-family: Georgia, 'Times New Roman', serif;
}

.services-detail-intro h2::after {
    content: "";
    display: block;
    width: 78px;
    height: 3px;
    background: #d8b233;
    margin-top: 18px;
}

.services-detail-intro p {
    color: #334155;
    max-width: 560px;
    line-height: 1.8;
}

/* FIXED CONTAINER GRID */

.services-detail-grid {
    max-width: 1180px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 210px;
    gap: 14px;
}

/* PLACEMENT */

.detail-service-card:nth-child(1) {
    grid-column: span 2;
}

.detail-service-card:nth-child(2),
.detail-service-card:nth-child(3),
.detail-service-card:nth-child(4),
.detail-service-card:nth-child(5),
.detail-service-card:nth-child(6),
.detail-service-card:nth-child(7),
.detail-service-card:nth-child(8) {
    grid-column: span 1;
}

/* CARDS */

.detail-service-card {
    background: white;
    border: 1px solid #dde4ee;
    border-left: 3px solid #d8b233;
    border-radius: 16px;
    padding: 24px 28px;
    height: 210px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 12px 30px rgba(15,23,42,.05);
}

.detail-service-card .service-icon {
    display: none !important;
}

.detail-service-card::before {
    content: "SERVICE";
    color: #b88715;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.detail-service-card h3 {
    font-family: Georgia, 'Times New Roman', serif;
    color: #071120;
    font-size: 1.35rem;
    line-height: 1.12;
    margin-bottom: 12px;
}

.detail-service-card h3::after {
    content: "";
    display: block;
    width: 42px;
    height: 2px;
    background: #d8b233;
    margin-top: 10px;
}

.detail-service-card p {
    color: #334155;
    font-size: .93rem;
    line-height: 1.55;
    margin-bottom: 10px;
}

.detail-service-card::after {
    content: "View Details →";
    color: #b88715;
    font-weight: 800;
    font-size: .9rem;
    margin-top: auto;
}

/* FEATURED CARD */

.detail-service-card:first-child {
    background:
        linear-gradient(
            90deg,
            rgba(7,17,32,.97),
            rgba(7,17,32,.84)
        ),
        url('../images/IRS Forms.jpg');
    background-size: cover;
    background-position: center;
    border-left: 7px solid #d8b233;
    color: white;
}

.detail-service-card:first-child::before {
    content: "FEATURED SERVICE";
    color: #d8b233;
}

.detail-service-card:first-child h3 {
    color: white;
    font-size: 2.35rem;
}

.detail-service-card:first-child h3::after {
    width: 72px;
    height: 3px;
}

.detail-service-card:first-child p {
    color: #e7eef8;
    max-width: 620px;
}

.detail-service-card:first-child::after {
    color: #d8b233;
}

/* MOBILE */

@media(max-width:1000px) {
    .services-detail-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: auto;
    }

    .detail-service-card,
    .detail-service-card:first-child {
        grid-column: span 1;
        height: auto;
        min-height: 220px;
    }
}

/* ABOUT PAGE */

.about-hero {
    background: radial-gradient(circle at 20% 20%, rgba(216,178,51,.22), transparent 30%),
                linear-gradient(90deg, #071120 0%, #09234a 100%);
    color: white;
    text-align: center;
    padding: 95px 7% 80px;
}

.about-hero h1 {
    font-size: clamp(2.7rem, 5vw, 4.8rem);
    margin-bottom: 22px;
}

.about-hero p {
    color: #dce6f3;
    max-width: 850px;
    margin: 0 auto;
    font-size: 1.15rem;
}

.about-intro-section {
    background: white;
    padding: 75px 7%;
    display: grid;
    grid-template-columns: 1.3fr .7fr;
    gap: 45px;
    align-items: start;
}

.about-intro-content {
    padding-top: 28px;
    max-width: 720px;
}


.about-intro-content h2 {
    font-size: 2.45rem;
    color: #071120;
    margin-bottom: 20px;
    line-height: 1.18;
}

.about-intro-content p {
    color: #475569;
    line-height: 1.8;
    margin-bottom: 16px;
}

.about-highlight-card {
    background: #f8fafc;
    border-radius: 24px;
    padding: 34px;
    border-top: 5px solid #d8b233;
    box-shadow: 0 18px 45px rgba(15,23,42,.08);
}

.about-highlight-card h3 {
    font-size: 1.6rem;
    color: #071120;
    margin-bottom: 18px;
}

.about-highlight-card ul {
    list-style: none;
    padding: 0;
}

.about-highlight-card li {
    padding: 12px 0;
    border-bottom: 1px solid #e2e8f0;
    color: #475569;
}

.about-highlight-card li::before {
    content: "✓ ";
    color: #d8b233;
    font-weight: 900;
}

.mission-section {
    background: #f7f9fc;
    padding: 70px 7%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.mission-card {
    background: #071120;
    color: white;
    padding: 36px;
    border-radius: 24px;
    box-shadow: 0 18px 45px rgba(15,23,42,.15);
}

.mission-card span {
    color: #d8b233;
    font-weight: 900;
    letter-spacing: 2px;
}

.mission-card h3 {
    font-size: 1.6rem;
    margin: 18px 0 12px;
}

.mission-card p {
    color: #dce6f3;
    line-height: 1.7;
}

.about-values-section {
    background: white;
    padding: 75px 7%;
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 45px;
    align-items: start;
}

.about-values-section h2 {
    font-size: 2.5rem;
    color: #071120;
    margin-bottom: 18px;
}

.about-values-section p {
    color: #475569;
    line-height: 1.8;
    margin-bottom: 16px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
}

.value-box {
    background: #f8fafc;
    border-radius: 20px;
    padding: 26px;
    border: 1px solid #e2e8f0;
}

.value-box h3 {
    color: #071120;
    margin-bottom: 10px;
}

.value-box p {
    margin: 0;
}

.about-cta-section {
    margin: 50px 7% 80px;
    background: #071120;
    color: white;
    padding: 50px;
    border-radius: 26px;
    display: flex;
    justify-content: space-between;
    gap: 30px;
    align-items: center;
    box-shadow: 0 18px 45px rgba(15,23,42,.14);
}

.about-cta-section h2 {
    font-size: 2.2rem;
    margin-bottom: 12px;
}

.about-cta-section p {
    color: #dce6f3;
}

@media (max-width: 900px) {
    .about-intro-section,
    .mission-section,
    .about-values-section,
    .about-cta-section {
        grid-template-columns: 1fr;
    }

    .about-cta-section {
        flex-direction: column;
        align-items: flex-start;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }
}

.accreditation-section {
    background: white;
    padding: 70px 7%;
    text-align: center;
}

.accreditation-section h2 {
    font-size: 2.4rem;
    color: #071120;
    margin-bottom: 14px;
}

.accreditation-section p {
    color: #475569;
    max-width: 760px;
    margin: 0 auto 35px;
}

.accreditation-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: 950px;
    margin: 0 auto;
}

.accreditation-logo {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    min-height: 120px;
    display: grid;
    place-items: center;
    color: #64748b;
    font-weight: 800;
}

@media (max-width: 900px) {
    .accreditation-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ABOUT PAGE UPDATED */

.about-hero {
    background: radial-gradient(circle at 20% 20%, rgba(216,178,51,.22), transparent 30%),
                linear-gradient(90deg, #071120 0%, #09234a 100%);
    color: white;
    text-align: center;
    padding: 95px 7% 80px;
}

.about-hero h1 {
    font-size: clamp(2.7rem, 5vw, 4.8rem);
    margin-bottom: 22px;
}

.about-hero p {
    color: #dce6f3;
    max-width: 850px;
    margin: 0 auto;
    font-size: 1.15rem;
}

.about-intro-section {
    position: relative;
    background:
        linear-gradient(
            to bottom,
            rgba(8,18,38,.05) 0%,
            #f7f9fc 14%
        );
    padding: 90px 7%;
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 55px;
    align-items: start;
}

.about-intro-content h2 {
    max-width: 760px;
    font-size: 2.55rem;
    font-weight: 800;
    line-height: 1.13;
    color: #071120;
    margin-bottom: 24px;
    padding: 0;
    background: none;
    border: none;
    box-shadow: none;
}

.about-intro-content h2::before {
    display: none;
}




.about-intro-content p {
    color: #475569;
    line-height: 1.8;
    margin-bottom: 16px;
}

.about-highlight-card {
    position: relative;
    overflow: hidden;

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,.98),
            rgba(245,248,252,.94)
        );

    border-radius: 24px;
    padding: 34px;

    border-top: 5px solid #d8b233;

    box-shadow:
        0 25px 55px rgba(15,23,42,.10);

    transition: .3s ease;
}

.about-highlight-card::before {
    content: "";

    position: absolute;

    top: -120px;
    right: -120px;

    width: 240px;
    height: 240px;

    background: rgba(216,178,51,.08);

    border-radius: 50%;

    filter: blur(40px);
}

.about-highlight-card:hover {
    transform: translateY(-4px);
}

.about-highlight-card h3 {
    font-size: 1.6rem;
    color: #071120;
    margin-bottom: 18px;
}

.about-highlight-card ul {
    list-style: none;
    padding: 0;
}

.about-highlight-card li {
    padding: 12px 0;
    border-bottom: 1px solid #e2e8f0;
    color: #475569;
}

.about-highlight-card li::before {
    content: "✓ ";
    color: #d8b233;
    font-weight: 900;
}

.mission-section {
    background: #f7f9fc;
    padding: 35px 7% 75px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.mission-card {
    background: #071120;
    color: white;
    padding: 36px;
    border-radius: 24px;
    border-top: 5px solid #d8b233;

    box-shadow: 0 18px 45px rgba(15,23,42,.15);

    transition:
        border-top-color .3s ease;
        box-shadow: .3s ease;
        
}

.mission-card:hover {
    transform: none;

    border-top-color: #f1c84c;

    box-shadow:
        0 0 0 1px rgba(216,178,51,.18),
        0 24px 55px rgba(15,23,42,.18);
}

.mission-card span {
    color: #d8b233;
    font-weight: 900;
    letter-spacing: 2px;
}

.mission-card h3 {
    font-size: 1.6rem;
    margin: 18px 0 12px;
}

.mission-card p {
    color: #dce6f3;
    line-height: 1.7;
}

/* ACCREDITATION SECTION */

.accreditation-section {

background:
linear-gradient(
180deg,
#ffffff 0%,
#fdfbf4 100%
);

padding:85px 7%;

text-align:center;

border-top:
1px solid #ecd37a;

border-bottom:
1px solid #ecd37a;

}

.accreditation-section h2 {
    font-size: 2.5rem;
    color: #071120;
    margin-bottom: 16px;
}

.accreditation-section p {
    color: #475569;
    max-width: 760px;
    margin: 0 auto 40px;
    font-size: 1.05rem;
}

.accreditation-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 950px;
    margin: 40px auto 0;
}

.accreditation-logo {

background:#fcfcfc;

border:2px solid #e5c04a;

border-radius:22px;

height:220px;

display:flex;

align-items:center;

justify-content:center;

padding:20px;

box-shadow:
0 12px 30px rgba(15,23,42,.06);

transition:.3s ease;

overflow:hidden;

}
.accreditation-logo:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(15,23,42,.12);
    border-color: #d8b233;
}

.accreditation-logo img{

width:100%;

height:100%;

object-fit:contain;

max-width:170px;

max-height:170px;

}

@media (max-width:900px){

.accreditation-grid{

grid-template-columns:
repeat(2,1fr);

}

}

@media (max-width:600px){

.accreditation-grid{

grid-template-columns:1fr;

}

}

/* ABOUT VALUES / APPROACH SECTION */

.about-values-section {
    background: #071120;
    padding: 90px 7%;
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 80px;
    align-items: start;
}

.about-values-section .section-label {
    color: #d8b233;
}

.about-values-section h2 {
    font-size: 2.6rem;
    color: white;
    margin-bottom: 20px;
}

.about-values-section p {
    color: #dce6f3;
    line-height: 1.8;
    margin-bottom: 18px;
}


.values-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.value-box {
    position: relative;
    background: rgba(255,255,255,0.03);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 24px;
    padding: 32px;

    transition:
        transform .28s ease,
        border-color .28s ease,
        box-shadow .28s ease,
        background .28s ease;
}

.value-box::before {
    content: "";
    position: absolute;
    top: 0;
    left: 28px;
    width: 65px;
    height: 3px;
    background: #d8b233;
    border-radius: 20px;
}

.value-box:hover {
    transform: translateY(-6px);
    border-color: rgba(216,178,51,.65);
    background: rgba(255,255,255,0.06);

    box-shadow:
        0 18px 40px rgba(0,0,0,.25),
        0 0 0 1px rgba(216,178,51,.18);
}

.value-box h3 {
    color: white;
    margin-bottom: 12px;
    font-size: 1.2rem;
}

.value-box p {
    margin: 0;
    color: #dce6f3;
}

.about-cta-section {
    margin: 45px 7% 80px;
    background: #071120;
    color: white;
    padding: 50px;
    border-radius: 26px;
    display: flex;
    justify-content: space-between;
    gap: 30px;
    align-items: flex-start;
    box-shadow: 0 18px 45px rgba(15,23,42,.14);
}

.about-cta-section h2 {
    font-size: 2.2rem;
    margin-bottom: 12px;
}

.about-cta-section p {
    color: #dce6f3;
}

.about-cta-section .btn {
    min-width: 185px;
    text-align: center;
    justify-content: center;
}

.cta-buttons {
    margin-top: 12px;
}

@media (max-width: 900px) {
    .about-intro-section,
    .mission-section,
    .about-values-section,
    .about-cta-section {
        grid-template-columns: 1fr;
    }

    .about-cta-section {
        flex-direction: column;
        align-items: flex-start;
    }

    .values-grid,
    .accreditation-grid {
        grid-template-columns: 1fr;
    }
}

/* IRS LETTERS FINAL POLISH */

/* IRS LETTERS HERO */

.letters-hero-new {
    position: relative;
    min-height: 560px;

    background:
        linear-gradient(
            90deg,
            rgba(7,17,32,.96) 0%,
            rgba(7,17,32,.90) 34%,
            rgba(7,17,32,.72) 100%
        ),
        url('../images/capital.png');

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    padding: 70px 7%;

    display: flex;
    grid-template-columns: .95fr 1.05fr;
    gap: 40px;
    justify-content: space-between;

    align-items: center;
    overflow: hidden;
}

.letters-hero-new::before {
    content: "";
    position: absolute;
    inset: 0;

    background:
        radial-gradient(
            circle at center,
            rgba(255,255,255,.08),
            transparent 34%
        );

    pointer-events: none;
}

/* LEFT CONTENT */

.letters-hero-content {
    position: relative;
    z-index: 2;
    max-width: 620px;
}

.letters-hero-content h1 {
    color: white;
    font-size: clamp(3.5rem, 6vw, 5.7rem);
    line-height: .95;
    margin-bottom: 28px;
}

.letters-hero-content .hero-text {
    color: #dce6f3;
    font-size: 1.08rem;
    line-height: 1.8;
    margin-bottom: 34px;
}

/* RIGHT SIDE */

.letters-hero-image-wrap {
    position: relative;

    display: flex;
    justify-content: center;
    align-items: center;

    min-height: 420px;
}

/* TAX DOCUMENT IMAGE */

.hero-image-card {
    width: 460px;

    max-width: 100%;

    border-radius: 30px;

    overflow: hidden;

    position: relative;

    box-shadow:
        0 24px 55px rgba(0,0,0,.24);

    transform: rotate(-2deg);

    background: transparent;
}

.hero-image-card img {
    width: 100%;

    height: 365px;

    object-fit: cover;

    display: block;

    filter:
        brightness(.98)
        contrast(1.02)
        grayscale(6%);
}

.hero-image-card::after {
    content: "";

    position: absolute;
    inset: 0;

    background:
        radial-gradient(
            circle at center,
            transparent 56%,
            rgba(7,17,32,.18) 82%,
            rgba(7,17,32,.38) 100%
        ),

        linear-gradient(
            to bottom,
            rgba(7,17,32,.12),
            transparent 16%,
            transparent 84%,
            rgba(7,17,32,.18)
        );

    pointer-events: none;
}

/* ENROLLED AGENT CARD */

.hero-side-card {
    position: relative;

    right: auto;
    top: au;
    transform: translateY(-50%);

    width: 260px;

    background: rgba(7,17,32,.92);

    border: 1px solid rgba(216,178,51,.55);

    border-radius: 24px;

    padding: 20px;

    box-shadow:
        0 18px 45px rgba(0,0,0,.34);

    backdrop-filter: blur(12px);

    z-index: 3;
}

.hero-badge {
    display: inline-block;

    color: #d8b233;

    font-size: .72rem;
    font-weight: 900;

    letter-spacing: 2px;

    margin-bottom: 16px;
}

.hero-side-card h3 {
    color: white;
    margin-bottom: 14px;
    font-size: 1.05rem;
    line-height: 1.35;
}

.hero-side-card ul {
    list-style: none;
    display: grid;
    gap: 11px;
}

.hero-side-card li {
    background: rgba(255,255,255,.05);

    color: #dce6f3;

    padding: 9px 12px;

    border-radius: 10px;

    font-size: .88rem;

    line-height: 1.4;
}

.hero-side-card li::before {
    content: "✓ ";
    color: #d8b233;
    font-weight: 900;
}

/* SECOND SECTION */


.directory-left h2 {
    font-size: 2.45rem;
    line-height: 1.12;

    color: #071120;

    margin-bottom: 22px;
}

.directory-left p {
    color: #475569;

    line-height: 1.8;
    max-width: 540px;
}

.notice-directory-section {
        background:
        radial-gradient(
            circle at top center,
            rgba(216,178,51,.08),
            transparent 30%
        ),
        linear-gradient(
            180deg,
            #eef3f9 0%,
            #dfe7f1 100%
        );

    padding: 52px 7% 42px;

    display: grid;
    grid-template-columns: 44% 56%;

    gap: 34px;

    align-items: center;

    border-top: 1px solid rgba(255,255,255,.08);
}

.directory-highlight {
    margin-top: 28px;

    background: rgba(255,255,255,.88);

    border-left: 5px solid #d8b233;

    padding: 20px 22px;

    border-radius: 16px;

    box-shadow:
        0 18px 40px rgba(15,23,42,.06);
}

/* NOTICE CARDS */

.directory-right{
    display:grid;

    grid-template-columns:
    repeat(2,minmax(320px,1fr));

    gap:18px;
}

.notice-row{

    background:
    rgba(255,255,255,.82);

    border:1px solid
    rgba(255,255,255,.85);

    border-radius:22px;

    padding:24px;

    display:grid;

    grid-template-columns:
    64px 1fr;

    gap:18px;

    align-items:start;

    min-height:160px;

    height:160px;

    box-shadow:
    0 12px 30px
    rgba(15,23,42,.08);
}

.notice-icon{

    width:56px;

    height:56px;

    background:#071120;

    border-radius:16px;

    display:flex;

    align-items:center;

    justify-content:center;

    color:#d8b233;

    font-size:1.2rem;
}

@media (max-width: 1000px) {
    .letters-hero-new,
    .notice-directory-section {
        grid-template-columns: 1fr;
    }

    .letters-hero-image-wrap {
        min-height: auto;
    }

    .hero-side-card {
        position: relative;
        right: auto;
        top: auto;
        transform: none;
        width: 100%;
        max-width: 420px;
        margin-top: -25px;
    }

    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .letters-bottom-cta {
        flex-direction: column;
        align-items: flex-start;
    }
}

.bottom-cta-content{
    display:flex;
    align-items:center;
    gap:28px;
}

.cta-icon{

    width:72px;
    height:72px;

    background:
    rgba(216,178,51,.12);

    border-radius:18px;

    display:flex;

    align-items:center;
    justify-content:center;

    color:#d8b233;

    font-size:1.8rem;

    flex-shrink:0;
}

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

    .notice-row {
        grid-template-columns: 1fr;
    }
}



/* WHAT TO DO FIRST SECTION */

.steps-section {
    background:
        linear-gradient(
            180deg,
            #081120 0%,
            #0b1b33 100%
        );

    color: white;
    padding: 75px 7%;
    text-align: center;
    position: relative;
    overflow: hidden;
    
}
.steps-section::before {
    content: "";
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(255,255,255,.015),
            transparent 30%,
            transparent 70%,
            rgba(255,255,255,.015)
        );

    pointer-events: none;
}

.steps-title {
    color: white;
    font-size: 2.9rem;
    margin-bottom: 18px;
    position: relative;
    z-index: 2;
}

.steps-section .section-label {
    color: #d8b233;
    margin-bottom: 14px;
    position: relative;
    z-index: 2;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
    margin-top: 50px;
    position: relative;
    z-index: 2;
}

.step-card {
    background: #f4f7fb;

    border-radius: 24px;

    padding: 28px 24px;

    min-height: 210px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;

    box-shadow:
        0 10px 24px rgba(0,0,0,.12);

    border: 1px solid #dbe3ee;

    transition: .3s ease;
}

.step-card:hover {
    transform: translateY(-8px);
    box-shadow:
        0 28px 60px rgba(0,0,0,.22);
}

.step-card span {
    width: 64px;
    height: 64px;

    background: #d8b233;
    color: #071120;

    display: grid;
    place-items: center;

    border-radius: 50%;

    font-size: 1.7rem;
    font-weight: 900;

    margin-bottom: 18px;

    box-shadow:
        0 12px 25px rgba(216,178,51,.35);
}

.step-card h3 {
    color: #071120;
    font-size: 1.1rem;
    margin-bottom: 18px;
    line-height: 1.25;
}

.step-card p {
    color: #475569;
    line-height: 1.6;
    font-size: .95rem;
}


/* NEED HELP SECTION */

.letters-bottom-cta{
    max-width:1180px;
    margin:40px auto 70px;
    padding:28px;
    background:white;
    border-radius:22px;
    box-shadow:0 14px 35px rgba(15,23,42,.08);

    display:grid;
    grid-template-columns:1fr auto;
    gap:24px;
    align-items:center;
}

.bottom-cta-content{
    display:flex;
    align-items:center;
    gap:28px;
}

.letters-bottom-cta h2{
    font-size:1.35rem;

    color:#071120;

    margin-bottom:8px;
}

.letters-bottom-cta p{
    color:#475569;

    margin:0;

    line-height:1.6;
}

.letters-bottom-cta .cta-buttons{
    margin:0;
}

.letters-bottom-cta .primary-btn{
    background:#071120;

    color:#d8b233;

    padding:16px 34px;

    border-radius:12px;
}

.letters-bottom-cta .secondary-btn{
    display:none;
}

@media(max-width:900px){

.letters-bottom-cta{
    grid-template-columns:1fr;

    text-align:center;
}

.letters-bottom-cta::before{
    margin:auto;
}

.letters-bottom-cta .cta-buttons{
    justify-content:center;
}
}

/* MOBILE */

@media (max-width: 1100px) {

    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .letters-bottom-cta {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 700px) {

    .steps-grid {
        grid-template-columns: 1fr;
    }

    .steps-title {
        font-size: 2.2rem;
    }

    .letters-bottom-cta h2 {
        font-size: 2.2rem;
    }

    .step-card {
        min-height: auto;
    }
}

/* FOOTER GAP FIX */

.letters-bottom-cta {
    margin-bottom: 0 !important;
}

footer,
.site-footer {
    margin-top: 0 !important;
    background: #071120 !important;
    color: #cbd5e1;
    padding: 28px 20px 36px;
    border-top: 1px solid rgba(216,178,51,.18);
}

/* FINAL BOTTOM SECTION CLEANUP */

.letters-bottom-cta {
    background: #eef3f9 !important;
    color: #071120 !important;
    padding: 55px 7% !important;
    border-top: 1px solid #dbe3ee !important;
    border-bottom: 1px solid #dbe3ee !important;
}

.letters-bottom-cta h2 {
    color: #071120 !important;
}

.letters-bottom-cta p {
    color: #334155 !important;
}

.letters-bottom-cta .secondary-btn {
    color: #071120 !important;
    background: white !important;
}

footer,
.site-footer {
    background: #071120 !important;
    padding: 24px 20px 30px !important;
}

/* HOMEPAGE HERO FLOATING MINI CARD FIX */

.hero-visual {
    position: relative;
}

.confidence-card {
    position: absolute;
    right: -35px;
    bottom: 65px;
    max-width: 220px;
    z-index: 5;
}

/* prevent it from covering text on smaller screens */
@media (max-width: 1200px) {
    .confidence-card {
        right: 10px;
        bottom: 25px;
        max-width: 190px;
    }
}

@media (max-width: 1000px) {
    .confidence-card {
        display: none;
    }
}

.about-hero {
    position: relative;
    overflow: hidden;

    min-height: 460px;

    color: white;
    text-align: left;

    padding: 70px 7% 60px;

    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    backdrop-filter: blur(1px);

    background:
        linear-gradient(
            90deg,
            rgba(4,12,25,.96) 0%,
            rgba(5,18,38,.92) 45%,
            rgba(10,30,60,.86) 100%
        ),
        url('../images/about-hero-bg.jpg');

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    transform: scaleX(-1);
}

.about-hero > * {
    position: relative;
    z-index: 2;
}

.about-hero h1 {
    max-width: 760px;
    font-size: clamp(2.9rem, 5vw, 5rem);
    line-height: 1.05;
    margin-bottom: 34px;
}

.about-hero p {
    color: #edf3fa;
    max-width: 760px;
    margin: 0;
    font-size: 1.15rem;
    line-height: 1.8;
}

.about-hero .eyebrow {
    color: #f3d46a;
    font-size: .95rem;
    letter-spacing: 3px;
    margin-bottom: 24px;
}

/* SERVICES PAGE HELP CHOICE FIX */

.help-choice-section{
    max-width:1180px;

    margin:50px auto 80px;

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:24px;

    padding:0 20px;
}

.choice-card{
    background:white;

    padding:36px;

    border-radius:24px;

    box-shadow:0 16px 40px rgba(15,23,42,.08);

    border-top:5px solid #d8b233;
}

.choice-card h2{
    font-size:2rem;

    color:#071120;

    margin:12px 0 18px;
}

.choice-card p{
    color:#475569;

    line-height:1.7;
}

.choice-card .btn{
    margin-top:24px;
}

.dark-choice{
    background:#071120;

    color:white;
}

.dark-choice h2,
.dark-choice p{
    color:white;
}

.light-choice{
    background:white;
}

@media(max-width:900px){

.help-choice-section{
    grid-template-columns:1fr;
}
}

.services-detail-grid {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
}

/* FINAL SERVICE CARD ALIGNMENT FIX */

.services-detail-grid {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
}

.detail-service-card::after {
    display: none;
    content: none;
}

.detail-service-card p {
    margin-bottom: 0;
}


/* CENTER ENTIRE HOW WE CAN HELP SECTION */

.services-detail-section{
    max-width:1200px;
    margin:0 auto;
    padding:0 20px;
}

/* FINAL HELP CHOICE ALIGNMENT */

.help-choice-section {
    max-width: 1180px;
    margin: 55px auto 80px;
    padding: 0 20px;

    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 26px;
    align-items: stretch;
}

.choice-card {
    min-height: 345px;
    padding: 48px 52px;

    display: flex;
    flex-direction: column;
}

.choice-card h2 {
    margin-bottom: 24px;
}

.choice-card p:not(.section-label) {
    line-height: 1.75;
    margin-bottom: 30px;
}

.choice-card .btn {
    margin-top: auto;

    align-self: center;

    min-width: 230px;

    text-align: center;
}

/* make the light-card button match the dark-card button width */
.light-choice .btn {
    min-width: 230px;
}


/* IRS LETTERS HERO RESET - FINAL FIX */

.letters-hero-new {
    min-height: 560px !important;
    padding: 70px 7% !important;

    display: grid !important;
    grid-template-columns: 1.15fr .85fr !important;
    gap: 60px !important;

    align-items: center !important;
    justify-content: center !important;

    max-width: none !important;
    width: 100% !important;
    margin: 0 !important;

    background:
        linear-gradient(
            90deg,
            rgba(7,17,32,.96) 0%,
            rgba(7,17,32,.88) 45%,
            rgba(7,17,32,.68) 100%
        ),
        url('../images/capital.png') !important;

    background-size: cover !important;
    background-position: center !important;
}

.letters-hero-content {
    max-width: 680px !important;
    position: relative !important;
    z-index: 2 !important;
}

.letters-hero-content h1 {
    font-size: clamp(3.4rem, 5.8vw, 5.4rem) !important;
    line-height: .98 !important;
    margin-bottom: 28px !important;
}

.letters-hero-content .hero-text {
    font-size: 1.08rem !important;
    line-height: 1.8 !important;
    max-width: 560px !important;
    margin-bottom: 34px !important;
    color: #dce6f3 !important;
}

.hero-side-card {
    position: relative !important;
    right: auto !important;
    top: auto !important;
    transform: none !important;

    width: 360px !important;
    max-width: 100% !important;
    min-height: auto !important;

    margin: 0 auto !important;
    padding: 30px !important;
}

.hero-side-card li {
    padding: 12px 14px !important;
    font-size: .95rem !important;
}

/* IRS hero mobile */
@media (max-width: 900px) {
    .letters-hero-new {
        grid-template-columns: 1fr !important;
        text-align: center !important;
        gap: 35px !important;
    }

    .letters-hero-content,
    .letters-hero-content .hero-text {
        max-width: 100% !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .hero-buttons {
        justify-content: center !important;
        flex-wrap: wrap !important;
    }

    .hero-side-card {
        width: 100% !important;
        max-width: 420px !important;
    }
}

/* HOMEPAGE SERVICE CARD FINAL FIX */

.letter-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 18px;
    max-width: 1500px;
    margin: 40px auto 30px;
}

.letter-card {
    min-height: 330px;
    padding: 34px 18px;
    text-align: center;

    display: flex;
    flex-direction: column;
    align-items: center;

    border-radius: 22px;
}

.letter-icon {
    width: 82px;
    height: 82px;

    margin: 0 auto 24px;

    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 1.65rem;

    color: #334155;
}

.letter-icon i {
    display: block;
    line-height: 1;
    font-weight: 400;
}

.letter-card h3 {
    min-height: 58px;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 1.35rem;
    line-height: 1.35;
    margin-bottom: 14px;
}

.letter-card p {
    font-size: .98rem;
    line-height: 1.6;
}

/* softer icon colors */
.green i { color: #2f8f4e; }
.pink i { color: #8b4c5a; }
.orange i { color: #b87800; }
.purple i { color: #5f5478; }
.blue i { color: #3f77a8; }
.yellow i { color: #9b7a12; }

.teal {
    background: #dff4f3;
}

.teal i {
    color: #287c82;
}

/* tablet */
@media (max-width: 1200px) {
    .letter-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* phone */
@media (max-width: 700px) {
    .letter-grid {
        grid-template-columns: 1fr;
    }

    .letter-card {
        min-height: auto;
    }
}

/* CONTACT FILTER BUTTONS */

.dashboard-actions{

display:flex;

gap:12px;

flex-wrap:wrap;

margin-bottom:22px;

}

.dashboard-actions .btn-primary{

padding:10px 18px;

border-radius:999px;

}

/* STATUS */

.status-badge{

display:inline-block;

padding:7px 12px;

border-radius:999px;

background:#fff8e5;

color:#8f6a00;

font-weight:700;

font-size:.82rem;

}

/* ARCHIVED */

.archive-badge{

display:inline-block;

margin-left:8px;

padding:5px 10px;

border-radius:999px;

font-size:.75rem;

font-weight:700;

}

.archive-badge.archived{

background:#edf2f7;

color:#475569;

}

/* CONTACT BUTTON SPACING */

.notes-btn,
.archive-btn,
.unarchive-btn,
.view-btn{

margin-right:6px;

margin-bottom:4px;

display:inline-block;

}

/* CONTACT STATUS + ARCHIVE */

.status-badge{

display:inline-block;

padding:7px 12px;

border-radius:999px;

background:#fff8e5;

color:#8f6a00;

font-weight:700;

font-size:.82rem;

}

/* archived badge */

.archive-badge{

display:inline-block;

margin-left:8px;

padding:5px 10px;

border-radius:999px;

font-size:.75rem;

font-weight:700;

}

.archive-badge.archived{

background:#edf2f7;

color:#475569;

}

/* spacing */

.notes-btn,
.archive-btn,
.unarchive-btn,
.view-btn{

margin-right:6px;

margin-bottom:4px;

display:inline-block;

}

/* archive buttons */

.archive-btn{

background:#64748b;

color:white;

padding:10px 18px;

border-radius:10px;

text-decoration:none;

font-weight:700;

}

.archive-btn:hover{

background:#475569;

}

.unarchive-btn{

background:#16a34a;

color:white;

padding:10px 18px;

border-radius:10px;

text-decoration:none;

font-weight:700;

}

.unarchive-btn:hover{

background:#15803d;

}

.contacts-toolbar{
    max-width:100%;
    display:grid;
    grid-template-columns:1fr auto;
    gap:18px;
    align-items:center;
}

.contacts-toolbar .dashboard-actions{
    display:flex;
    gap:10px;
    flex-wrap:wrap;
    margin:0;
}

.contacts-toolbar input{
    min-width:260px;
}

.contacts-toolbar .btn-primary,
.contacts-toolbar .clear-search-btn{
    height:48px;
    border-radius:12px;
}

.archive-btn{
    background:#64748b;
}

.unarchive-btn{
    background:#09234a;
}

.status-badge{
    background:#fff8e5;
    color:#8f6a00;
}

.archive-badge.archived{
    background:#e2e8f0;
    color:#475569;
}


/* FILTER BUTTON ROW */

.contacts-toolbar .dashboard-actions{
    display:flex;
    flex-wrap:wrap;
    gap:12px;

    width:100%;

    margin:0;
}

/* SEARCH ROW */

.admin-search-form{

    display:flex;

    gap:12px;

    align-items:center;

    flex-wrap:wrap;

    max-width: 650px;

}

.admin-search-form input{

    width:420px;

    max-width:100%;

}

.admin-search-form button,
.clear-search-btn{

    width:auto;

    min-width:100px;

    height:48px;

}


.admin-footer-actions{

margin-top:30px;

display:flex;

justify-content:flex-start;
margin-bottom: 40px;

}

.btn-secondary{

display:inline-flex;

align-items:center;

padding:14px 24px;

border-radius:12px;

background:#cfd6df;

color:#04152b;

font-weight:700;

text-decoration:none;

transition:.3s;

}

.btn-secondary:hover{

background:#d8b233;

}

/* CONTACT NOTES FOOTER FIX */

.admin-footer-actions{

    margin-top:30px;

    margin-bottom:80px;

}

/* DARK BUTTON */

.back-contacts-btn{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    background:#071120;

    color:white;

    text-decoration:none;

    padding:14px 24px;

    border-radius:12px;

    font-weight:700;

    transition:.25s ease;

}

.back-contacts-btn:hover{

    background:#09234a;

    transform:translateY(-2px);

}

/* PREVENT FOOTER OVERLAP */

.admin-page{

    
    display:flex;
    background: #f7f9fc;

}

/* CONTACT NOTES PAGE EXTRA SPACE */

.admin-content{

    padding-bottom:40px;

}

/* BUTTON STYLE */

.dashboard-actions .btn-primary{

    padding:12px 22px;

    border-radius:14px;

}

html,
body{
    max-width:100%;
    overflow-x:hidden;
}

.admin-content{
    min-width:0;
    overflow-x:hidden;
}

.admin-card{
    max-width:100%;
    overflow-x:auto;
}

.admin-table{
    min-width:1050px;
}

.admin-footer-actions{
    margin-top:30px;
    margin-bottom:100px;
}

.back-contacts-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    background:#071120;
    color:white !important;
    text-decoration:none !important;
    padding:14px 24px;
    border-radius:12px;
    font-weight:800;
}

.back-contacts-btn:hover{
    background:#d8b233;
    color:#071120 !important;
}

/* CONTACT NOTES BOTTOM SPACING */

.admin-footer-actions{
    margin-top:20px;
    margin-bottom:25px;
}

.back-contacts-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;

    background:#071120;
    color:white !important;

    padding:14px 26px;
    border-radius:12px;

    text-decoration:none !important;
    font-weight:800;
}

.back-contacts-btn:hover{
    background:#d8b233;
    color:#071120 !important;
}

/* reduce extra space before footer */
.admin-page{
    min-height:auto;
}

/* reduce footer gap only after admin pages */
.admin-page + .site-footer{
    margin-top:0;
}

/* ADMIN USER TABLE RESPONSIVE */

.admin-table-wrapper{

    width:100%;

    overflow-x:auto;

}

.admin-table{

    width:100%;

    table-layout:fixed;

}

.admin-table th,
.admin-table td{

    word-wrap:break-word;

    overflow-wrap:break-word;

    white-space:normal;

    vertical-align:top;

    padding:14px;

}

/* responsive column widths */

.admin-table th:nth-child(1),
.admin-table td:nth-child(1){

width:10%;

}

.admin-table th:nth-child(2),
.admin-table td:nth-child(2){

width:14%;

}

.admin-table th:nth-child(3),
.admin-table td:nth-child(3){

width:18%;

}

.admin-table th:nth-child(4),
.admin-table td:nth-child(4){

width:18%;

}

.admin-table th:nth-child(5),
.admin-table td:nth-child(5){

width:8%;

}

.admin-table th:nth-child(6),
.admin-table td:nth-child(6){

width:8%;

}

.admin-table th:nth-child(7),
.admin-table td:nth-child(7){

width:10%;

}

.admin-table th:nth-child(8),
.admin-table td:nth-child(8){

width:8%;

}

.admin-table th:nth-child(9),
.admin-table td:nth-child(9){

width:8%;

}

/* FIX CONTACTS TABLE ONLY */

.contacts-table{
    width:100%;
    border-collapse:collapse;
    table-layout:auto;
}

.contacts-table thead tr,
.contacts-table tbody tr{
    height:auto !important;
}

.contacts-table th{
    height:auto !important;
    min-height:0 !important;
    padding:14px 16px !important;
    vertical-align:middle !important;
    white-space:normal;
}

.contacts-table td{
    height:auto !important;
    min-height:0 !important;
    padding:14px 16px !important;
    vertical-align:top;
    white-space:normal;
}

.contacts-table th,
.contacts-table td{
    overflow-wrap:break-word;
}

.admin-card{
    overflow-x:auto;
}

/* CONTACT NOTES PRINT */

.admin-footer-actions{

display:flex;

gap:15px;

flex-wrap:wrap;

margin-top:25px;

margin-bottom:25px;

}

.print-client-btn{

background:#d8b233;

color:#071120;

padding:14px 24px;

border:none;

border-radius:12px;

font-weight:800;

cursor:pointer;

}

.print-client-btn:hover{

background:#c49f2c;

}

@media print{

.site-header,
.admin-sidebar,
.admin-footer-actions,
.status-form,
textarea,
button,
.site-footer{

display:none !important;

}

body{

background:white;

}

.admin-card{

box-shadow:none;

border:none;

margin-bottom:20px;

page-break-inside:avoid;

}

}

@media print{

    .no-print,
    .site-header,
    .admin-sidebar,
    .admin-footer-actions,
    .status-form,
    button,
    .site-footer{
        display:none !important;
    }

}
.print-followup-notes{
    display:none;
}

@media print{
    .print-followup-notes{
        display:block !important;
        border:1px solid #ccc;
        padding:12px;
        min-height:80px;
        margin-top:8px;
        white-space:pre-wrap;
    }
}

@media print{

    .admin-content h1,
    .admin-subtitle{
        display:none !important;
    }

    .admin-content{
        padding:0 !important;
        margin:0 !important;
    }

    .admin-card{
        page-break-before:auto !important;
        page-break-after:auto !important;
        break-inside:avoid;
    }

}

.pdf-actions{
    display:flex;
    gap:12px;
    flex-wrap:wrap;
    margin-top:auto;
}

.download-btn{
    background:#071120;
    color:white;
    padding:15px 24px;
    border-radius:12px;
    text-decoration:none;
    font-weight:800;
}

.download-btn:hover{
    background:#09234a;
}

/* ==========================================
GLOBAL MOBILE RESPONSIVE FIXES
========================================== */

@media (max-width: 992px){

    /* NAV */

    .site-header{
        flex-wrap:wrap;
        gap:20px;
        padding:20px;
    }

    nav{
        width:100%;
        justify-content:center;
        flex-wrap:wrap;
        gap:18px;
    }

    /* HERO SECTIONS */

    .hero,
    .services-hero,
    .letters-hero-new,
    .trust-section,
    .contact-section,
    .about-intro-section,
    .about-values-section,
    .service-overview,
    .notice-directory-section{

        grid-template-columns:1fr !important;

        gap:40px;

        text-align:center;
    }

    .hero-text,
    .services-hero p,
    .directory-left p{
        max-width:100%;
        margin:auto;
    }

    .services-hero-content{
        width:100%;
        max-width:none;
        min-height:auto;
    }

    /* BUTTONS */

    .hero-buttons,
    .services-hero-buttons,
    .cta-buttons{

        justify-content:center;

        flex-wrap:wrap;
    }

    /* GRIDS */

    .letter-grid,
    .process-grid,
    .steps-grid,
    .mission-section,
    .featured-services,
    .directory-right,
    .dashboard-grid,
    .dashboard-stats{

        grid-template-columns:repeat(2,1fr);
    }

    /* SERVICE DETAIL */

    .services-detail-grid{
        grid-template-columns:1fr !important;
    }

    .detail-service-card:first-child{
        grid-column:span 1;
    }

    /* HERO IMAGE CARDS */

    .hero-image-card,
    .portrait-placeholder,
    .support-card{

        width:100%;
        max-width:500px;

        margin:auto;
    }

    .hero-side-card{
        position:relative;
        right:auto;
        top:auto;
        transform:none;

        width:100%;

        margin-top:20px;
    }

    /* CTA */

    .cta-section,
    .about-cta-section,
    .letters-bottom-cta{

        grid-template-columns:1fr;

        text-align:center;
    }

}


@media (max-width:768px){

    /* HEADINGS */

    h1{
        line-height:1.1;
    }

    .hero h1,
    .letters-hero-content h1,
    .services-hero h1{

        font-size:clamp(2.2rem,8vw,3rem);
    }

    /* ALL GRIDS SINGLE COLUMN */

    .letter-grid,
    .process-grid,
    .steps-grid,
    .mission-section,
    .featured-services,
    .directory-right,
    .dashboard-grid,
    .dashboard-stats,
    .accreditation-grid,
    .values-grid{

        grid-template-columns:1fr;
    }

    /* SERVICES CARDS */

    .detail-service-card{
        height:auto;
        min-height:220px;
    }

    /* FORMS */

    .form-row,
    .form-grid{
        grid-template-columns:1fr;
    }

    /* PADDING */

    section,
    .hero,
    .services-hero,
    .letters-hero-new,
    .about-hero,
    .contact-hero,
    .quiz-hero{

        padding-left:20px;
        padding-right:20px;
    }

    .letters-bottom-cta{
        grid-template-columns:1fr;
        text-align:center;
    }

    .bottom-cta-content{
        flex-direction:column;
    }

    .cta-buttons{
        justify-self:center;
    }

}

.dashboard-actions{

display:flex;

gap:15px;

margin:20px 0;

flex-wrap:wrap;

}

.contact-info{

display:flex;

flex-direction:column;

min-height:100%;

}

.contact-hours-card{

margin-top:auto;

margin-left:0;

margin-right:auto;

width:100%;

max-width:360px;

background:white;

padding:28px;

border-radius:22px;

border-top:5px solid #d8b233;

box-shadow:
0 12px 30px rgba(15,23,42,.08);

margin-top:35px;

}

.hours-logo{

text-align:center;

margin-bottom:18px;

}

.hours-logo img{

max-width:120px;

height:auto;

}



.contact-hours-card{

margin-top:55px;

/* width control */
width:85%;
max-width:320px;

/* center under What to Include */
margin-left:auto;
margin-right:auto;

background:white;

padding:30px;

border-radius:22px;

border-top:5px solid #d8b233;

box-shadow:
0 12px 30px rgba(15,23,42,.08);

}

.contact-hours-card h3{

margin-bottom:22px;

color:#071120;

font-size:1.6rem;

text-align:center;

}

.contact-hours-card p{

margin-bottom:14px;

color:#475569;

line-height:1.6;

}




/* RESPONSIVE CONTACT HOURS */

@media (max-width:900px){

.contact-hours-card{

margin-top:25px;

padding:24px;

}

.hours-logo img{

max-width:120px;

max-height:90px;

}

}

@media (max-width:768px){

.contact-hours-card{

padding:22px;

border-radius:18px;

}

.contact-hours-card h3{

font-size:1.3rem;

}

.contact-hours-card p{

font-size:.95rem;

}

}

@media (max-width:600px){

.contact-hours-card{

padding:20px;

margin-top:20px;

}

.hours-logo img{

max-width:100px;

max-height:80px;

}

}

/* ==========================================
FINAL RESPONSIVE CLEANUP FIXES
========================================== */

/* Contact page: fix bullet/list alignment on mobile */
.contact-info-card ul,
.contact-info ul {
    padding-left: 0;
    margin-left: 0;
    list-style-position: inside;
}

.contact-info-card li,
.contact-info li {
    padding-left: 0;
    margin-left: 0;
}

/* If the bullets still look awkward, use this cleaner custom version */
@media (max-width: 768px) {
    .contact-info-card ul,
    .contact-info ul {
        list-style: none;
        padding-left: 0;
    }

    .contact-info-card li,
    .contact-info li {
        position: relative;
        padding-left: 24px;
        margin-bottom: 12px;
    }

    .contact-info-card li::before,
    .contact-info li::before {
        content: "•";
        position: absolute;
        left: 0;
        color: #d8b233;
        font-weight: 900;
    }
}

/* Services page: keep the three blue featured boxes equal height */
.featured-services {
    align-items: stretch;
}

.featured-service-card {
    height: 100%;
    min-height: 245px;

    display: flex;
    flex-direction: column;
}

.featured-service-card p {
    flex-grow: 1;
}

/* Tablet: keep the blue boxes equal when wrapping */
@media (max-width: 1000px) {
    .featured-services {
        grid-template-columns: repeat(3, 1fr);
        align-items: stretch;
    }

    .featured-service-card {
        min-height: 260px;
    }
}

/* Smaller tablet: switch to one column cleanly */
@media (max-width: 800px) {
    .featured-services {
        grid-template-columns: 1fr;
    }

    .featured-service-card {
        min-height: auto;
    }
}

.contact-address-section{
    margin-top:30px;
    padding:20px;
    border-radius:12px;
    background:#f8f9fb;
}

.address-row{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:15px;
}

.form-group{
    display:flex;
    flex-direction:column;
    margin-bottom:15px;
}

.form-group input {
    width: 100%;
}


/* TABLETS */
@media (max-width:992px){

    .address-row{
        grid-template-columns:repeat(2,1fr);
    }

}

/* PHONES */
@media (max-width:768px){

    .address-row{
        grid-template-columns:1fr;
    }

    .contact-address-section{
        padding:15px;
    }

}

/* SMALL PHONES */
@media (max-width:480px){

    .contact-address-section{
        padding:12px;
    }

    input{
        width:100%;
        font-size:16px;
    }

}

.consent-box {
    margin-top: 18px;
}

.checkbox-line {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.95rem;
    line-height: 1.5;
    font-weight: 500;
}

.checkbox-line input[type="checkbox"] {
    width: auto;
    margin-top: 5px;
    flex-shrink: 0;
}

.checkbox-line span {
    display: block;
}

.consent-box .checkbox-line {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-weight: 700;
    line-height: 1.5;
}

.consent-box .checkbox-line input[type="checkbox"] {
    width: 18px !important;
    height: 18px;
    margin-top: 4px;
    flex: 0 0 18px;
}

.consent-box .checkbox-line span {
    display: block;
}

.consent-row {
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start !important;
    gap: 12px;
    margin: 20px 0;
}

.consent-row input[type="checkbox"] {
    width: 18px !important;
    height: 18px !important;
    min-width: 18px;
    margin-top: 5px;
    flex: 0 0 18px;
}

.consent-row label {
    display: inline-block !important;
    width: auto !important;
    margin: 0 !important;
    font-weight: 700;
    line-height: 1.5;
}

.consent-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 15px;
}

.consent-row input[type="checkbox"] {
    width: auto !important;
    min-width: 18px;
    max-width: 18px;
    height: 18px;
    padding: 0 !important;
    margin-top: 4px;
    flex-shrink: 0;
}

.consent-row label {
    display: inline;
    font-weight: 400;
    margin: 0;
    line-height: 1.5;
}

.crm-intake-form h3 {
    margin-top: 35px;
    padding-top: 20px;
    border-top: 1px solid #e5e7eb;
}

.crm-intake-form h3:first-of-type {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.crm-intake-form label {
    display: block;
    margin: 10px 0;
}

.crm-intake-form .btn-primary {
    margin-top: 30px;
    width: 100%;
    padding: 14px 18px;
    font-size: 1rem;
}

.contacts-filters {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.contacts-filters select {
    padding: 12px 16px;
    border-radius: 10px;
    border: 1px solid #d1d5db;
    min-width: 220px;
    font-size: 15px;
}

.notes-btn {
    white-space: nowrap;
}

.contact-name {
    white-space: nowrap;
    min-width: 140px;
}

.date-export-filter {
    display: flex;
    gap: 12px;
    align-items: center;
    margin: 15px 0;
    flex-wrap: wrap;
}

.date-export-filter input[type="date"] {
    padding: 10px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
}

.date-export-filter .btn-primary {
    margin: 0;
}

.crm-intake-form h3 {
    margin-top: 35px;
    padding-top: 20px;
    border-top: 1px solid #e5e7eb;
}

.crm-intake-form h3:first-of-type {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.admin-card h2 {
    margin-bottom: 20px;
}

.admin-card hr {
    margin: 35px 0;
}

.status-form,
.note-card,
.admin-footer-actions {
    margin-top: 30px;
}

.notes-section {
    margin-top: 35px;
    margin-bottom: 35px;
}

.admin-footer-actions {
    display: flex;
    gap: 16px;
    align-items: center;
    margin-top: 30px;
    margin-bottom: 40px;
}

.print-client-btn,
.back-contacts-btn {
    min-width: 180px;
    text-align: center;
}

.print-client-btn,
.back-contacts-btn,
.btn-primary,
.notes-btn,
.view-btn,
.delete-btn {

    min-width: 200px;
    height: 54px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    font-size: 1rem;
    font-weight: 700;

    border-radius: 12px;
    text-decoration: none;
}

.print-client-btn {
    background: #d8b233;
    color: #071120;
}

.back-contacts-btn {
    background: #071120;
    color: white;
}

/* ===================================
ADMIN BUTTON STANDARDS
=================================== */

.btn-primary,
.notes-btn,
.view-btn,
.archive-btn,
.unarchive-btn,
.print-client-btn,
.back-contacts-btn {

    min-width: 120px;
    height: 54px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 0 24px;

    border-radius: 12px;

    font-size: 1rem;
    font-weight: 700;

    text-decoration: none;
    cursor: pointer;
}

/* ===================================
ADMIN BUTTON STANDARDS save update export
=================================== */

.btn-primary,
.print-client-btn {

    background: #d4af37;
    color: #071120;
}

/* ===================================
ADMIN BUTTON STANDARDS nav/view
=================================== */
.view-btn,
.back-contacts-btn {

    background: #071120;
    color: #ffffff;
}

/* ===================================
ADMIN BUTTON STANDARDS archive
=================================== */

.archive-btn {

    background: #64748b;
    color: white;
}

/* ===================================
ADMIN BUTTON STANDARDS restore
=================================== */
.unarchive-btn {

    background: #16a34a;
    color: white;
}

/* ===================================
ADMIN BUTTON STANDARDS Notes
=================================== */
.notes-btn {

    background: #d4af37;
    color: #071120;
}

/* ===================================
ADMIN BUTTON STANDARDS contact actions (notes, view, archive)
=================================== */
.contact-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}

.contact-actions .archive-btn,
.contact-actions .unarchive-btn,
.contact-actions .view-btn {
    min-width: 90px;
    height: 44px;
    padding: 0 16px;
    font-size: 0.95rem;
    font-weight: 700;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

/* CONTACT ACTION BUTTONS */

.contact-actions{
    display:flex;
    flex-direction:column;
    gap:10px;
    align-items:center;
}

.contact-actions .archive-btn,
.contact-actions .unarchive-btn,
.contact-actions .view-btn{

    width:90px;
    height:50px;

    display:flex;
    align-items:center;
    justify-content:center;

    border-radius:12px;

    font-size:1rem;
    font-weight:700;

    text-decoration:none;
}

.contact-name{
    min-width:140px;
    white-space:normal;
    line-height:1.4;
}

.attachment-yes{
    color:#16a34a;
    font-weight:700;
}

.attachment-no{
    color:#94a3b8;
}

.contacts-table td {
    white-space: nowrap;
}

.contacts-table td:nth-child(5) {
    white-space: normal;
}

.admin-content{
    padding:25px;
}

.admin-card{
    padding:10px;
}

.contact-actions{
    width:110px;
}

/*Dashboard stats cleanup*/
.dashboard-stats{
    grid-template-columns: repeat(3, 1fr);
}

.chart-card {
    padding: 28px;
}

.chart-row {
    margin-bottom: 22px;
}

.chart-row:last-child {
    margin-bottom: 0;
}

.chart-label {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-weight: 700;
}

.chart-label span {
    color: #d8b233;
}

.chart-bar-bg {
    width: 100%;
    height: 16px;
    background: #e2e8f0;
    border-radius: 999px;
    overflow: hidden;
}

.chart-bar-fill {
    height: 100%;
    background: #d8b233;
    border-radius: 999px;
}

.admin-table .view-btn,
.admin-table .delete-btn {
    min-width: 60px;
    width: 60px;
    height: 34px;
    padding: 0;
    font-size: 12px;
}

.contact-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
}

.contact-actions a,
.contact-actions button {
    width: 90px;
    height: 38px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.contact-actions .archive-btn,
.contact-actions .unarchive-btn,
.contact-actions .view-btn,
.contact-actions .delete-btn {
    width: 90px !important;
    min-width: 90px !important;
    height: 38px !important;
    padding: 0 !important;
    font-size: 14px !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    margin: 0 !important;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #f7f9fc;
    color: #081120;
    line-height: 1.6;
}

.site-header {
    background: #071120;
    color: white;
    padding: 22px 7%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    gap: 14px;
    align-items: center;
    font-size: 1.6rem;
    font-weight: 800;
}

.logo-icon {
    color: #d8b233;
    font-size: 1.6rem;
}

.logo span {
    color: #d8b233;
}

.logo small {
    display: block;
    font-size: .7rem;
    color: #cbd5e1;
    letter-spacing: 2px;
    text-transform: uppercase;
}

nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: 600;
}

.nav-btn {
    background: #d8b233;
    color: #071120 !important;
    padding: 14px 24px;
    border-radius: 12px;
}

.hero {
    min-height: 720px;

    background:
        linear-gradient(
            90deg,
            rgba(4,12,25,.95) 0%,
            rgba(5,18,38,.91) 45%,
            rgba(10,30,60,.85) 100%
        ),
        url('../images/hero-bg.jpg');

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    color: white;
    padding: 80px 7%;

    display: grid;
    grid-template-columns: 1.1fr .9fr;
    align-items: center;
    gap: 50px;
}

.eyebrow,
.section-label {
    color: #d8b233;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 800;
    font-size: .85rem;
    margin-bottom: 18px;
}

.hero h1 {
    font-size: clamp(3rem, 6vw, 5.3rem);
    line-height: 1.02;
    margin-bottom: 24px;
}

.hero h1 span {
    color: #d8b233;
}

.hero-text {
    max-width: 620px;
    color: #dce6f3;
    font-size: 1.2rem;
    margin-bottom: 34px;
}

.hero-buttons {
    display: flex;
    gap: 18px;
    margin-bottom: 32px;
}

.btn,
.quiz-btn {
    display: inline-block;
    text-decoration: none;
    font-weight: 800;
    padding: 15px 28px;
    border-radius: 12px;
}

.primary-btn,
.quiz-btn {
    background: #d8b233;
    color: #071120;
}

.secondary-btn {
    border: 2px solid #d8b233;
    color: white;
}

.trust-row {
    display: flex;
    gap: 24px;
    color: #e9eef7;
    font-size: .95rem;
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
}

.support-card {
    width: 420px;
    min-height: 430px;
    border-radius: 30px;
    background: linear-gradient(145deg, rgba(7,17,32,.82), rgba(7,17,32,.68));
    border: 1px solid rgba(216,178,51,.35);
    padding: 55px 42px;
    color: white;
    box-shadow: 0 30px 70px rgba(0,0,0,.35);
}

.support-icon {
    width: 72px;
    height: 72px;
    background: rgba(216,178,51,.15);
    border: 1px solid rgba(216,178,51,.45);
    border-radius: 20px;
    display: grid;
    place-items: center;
    font-size: 2rem;
    margin-bottom: 30px;
}

.support-card h3 {
    font-size: 2rem;
    color: #d8b233;
    margin-bottom: 18px;
}

.support-card p {
    color: #dce6f3;
    margin-bottom: 28px;
}

.mini-checks {
    display: grid;
    gap: 14px;
}

.mini-checks span {
    background: rgba(255,255,255,.07);
    padding: 13px 15px;
    border-radius: 12px;
}


.portrait-placeholder {
    width: 420px;
    height: 470px;
    border-radius: 30px;
    background: linear-gradient(145deg, rgba(255,255,255,.18), rgba(255,255,255,.04));
    border: 1px solid rgba(255,255,255,.16);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #d8b233;
    font-size: 2rem;
    font-weight: 800;
    text-align: center;
    box-shadow: 0 30px 70px rgba(0,0,0,.35);
}

.confidence-card {
    position: absolute;
    right: 20px;
    bottom: 55px;
    background: rgba(7,17,32,.92);
    border: 1px solid rgba(216,178,51,.65);
    padding: 18px 22px;
    border-radius: 16px;
    color: white;
    max-width: 230px;
    box-shadow: 0 15px 35px rgba(0,0,0,.35);
}

.confidence-card p {
    margin-top: 5px;
    color: #dce6f3;
}

.contact-address-section{
    margin-top:30px;
    padding:20px;
    border:1px solid #ddd;
    border-radius:12px;
    background:#f8f9fb;
}

.address-row{
    display:grid;
    grid-template-columns:
        repeat(3,1fr);

    gap:15px;
}

.form-group{
    display:flex;
    flex-direction:column;
    margin-bottom:15px;
}

.letter-section {
    background: white;
    padding: 70px 7%;
    text-align: center;
}

.letter-section h2,
.process-section h2,
.trust-section h2,
.cta-section h2 {
    font-size: 2.2rem;
    margin-bottom: 12px;
}

.dark {
    color: #475569;
}

.letter-grid {
    margin: 40px 0 26px;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 18px;
}

.letter-card {
    background: linear-gradient(
    145deg,
    rgba(242,246,250,.96),
    rgba(228,236,245,.92)
);
    color: #071120;
    text-decoration: none;
    padding: 34px 22px;
    border-radius: 22px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 12px 28px rgba(15,23,42,.06);
    transition: all .3s ease;
    position: relative;
    overflow: hidden;
}

.letter-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: #d8b233;
    transform: scaleX(0);
    transition: .3s;
}

.letter-card:hover::before {
    transform: scaleX(1);
}

.letter-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 22px 45px rgba(15,23,42,.14);
    border-color: #d8b233;
}

.letter-card h3 {
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.letter-card p {
    color: #475569;
    line-height: 1.5;
}

.letter-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 22px;
    border-radius: 50%;
    display: flex;
    place-items: center;
    font-size: 1.65rem;
    transition: .3s;
    align-items: center;
    color: #071120;
}

.letter-card:hover .letter-icon {
    transform: scale(1.1);
}

.green { background: #dcfce7; }
.orange { background: #ffedd5; }
.pink { background: #ffe4e6; }
.purple { background: #ede9fe; }
.blue { background: #dbeafe; }
.yellow { background: #fef3c7; }
.teal{background:#dff4f3; }

.process-section {
    background: #071120;
    color: white;
    text-align: center;
    padding: 65px 7% 75px;
}

.process-section p {
    color: #cbd5e1;
}

.process-grid {
    margin-top: 45px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
    position: relative;
}

.process-grid::before {
    content: "";
    position: absolute;
    top: 48px;
    left: 10%;
    width: 80%;
    height: 2px;
    background: linear-gradient(
        90deg,
        rgba(216,178,51,.1),
        rgba(216,178,51,.7),
        rgba(216,178,51,.1)
    );
    z-index: 0;
}

.process-step {
    position: relative;
    z-index: 2;
    padding: 25px;
    transition: .3s;
}

.process-step:hover {
    transform: translateY(-8px);
}

.process-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 24px;
    border: 2px solid #d8b233;
    background: #071120;
    color: #d8b233;
    display: grid;
    place-items: center;
    border-radius: 20px;
    font-weight: 800;
    font-size: 1.3rem;
    box-shadow: 0 0 25px rgba(216,178,51,.15);
    transition: .3s;
}

.process-step:hover .process-icon {
    background: #d8b233;
    color: #071120;
    transform: scale(1.08);
}

.process-step h3 {
    margin-bottom: 12px;
    font-size: 1.5rem;
}

.process-step p {
    color: #cbd5e1;
    line-height: 1.7;
}

.trust-section {
    padding: 70px 7%;
    background: #f7f9fc;
    display: grid;
    grid-template-columns: 1fr 1fr .7fr;
    gap: 35px;
    align-items: center;
}

.trust-section span {
    color: #d8b233;
}

.testimonial-carousel {
    position: relative;
    width: 100%;
    max-width: 400px;
    margin-left: 10px;

}

.testimonial-carousel .testimonial-card {
    display: none;

    background: white;
    padding: 22px 28px;

    border-radius: 22px;
    border-left: 5px solid #d8b233;

    box-shadow: 0 16px 38px rgba(15,23,42,.08);

    /* shorter cards */
    min-height: 155px;

    justify-content: space-between;
}

.testimonial-carousel .testimonial-card.active {
    display: block;
}

.testimonial-quote {
    color: #071120;
    line-height: 1.5;

    font-size: .96rem;

    margin-bottom: 14px;

    /* limits giant text blocks */
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.testimonial-card h4 {
    color: #071120;
    margin-bottom: 2px;
    font-size: 1rem;
}

.testimonial-card span {
    color: #64748b;
    font-size: .85rem;
    margin-bottom: 6px;
    display: block;
}

.testimonial-stars {
    color: #071120;
    letter-spacing: 2px;
    font-size: .9rem;
}

.testimonial-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);

    width: 38px;
    height: 38px;

    border-radius: 50%;
    border: none;

    background: #071120;
    color: white;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 2rem;
    font-weight: 700;
    line-height: 1;

    cursor: pointer;

    z-index: 5;
    padding: 0;
}

#prevTestimonial {
    left: -60px;
}

#nextTestimonial {
    right: -60px;
}
.testimonial-dots {
    margin-top: 14px;

    display: flex;
    justify-content: center;
    gap: 8px;
}

.testimonial-dot {
    width: 8px;
    height: 8px;

    border-radius: 50%;
    border: none;

    background: #cbd5e1;
    cursor: pointer;
}

.testimonial-dot.active {
    background: #d8b233;
}

.stats div {
    margin-bottom: 22px;
}

.stats strong {
    display: block;
    font-size: 2rem;
}

.stats span {
    color: #475569;
}

.cta-section {
    margin: 40px 7% 70px;
    background: #071120;
    color: white;
    padding: 50px;
    border-radius: 22px;
    display: flex;
    justify-content: space-between;
    gap: 30px;
    align-items: center;
}

.cta-buttons {
    display: flex;
    gap: 18px;
}

.floating-help {
    position: fixed;
    right: 20px;
    bottom: 18px;
    background: #09234a;
    color: white;
    text-decoration: none;
    padding: 12px 18px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,.25);
    font-weight: 700;
    z-index: 9999;
    font-size: .9rem;
    transition: .3s;
}

.floating-help:hover {
    transform: translateY(-3px);
    background: #0c3268;
}

footer {
    background: #071120;
    color: #cbd5e1;
    text-align: center;
    padding: 30px;
}

@media (max-width: 1000px) {
    nav {
        display:flex;
        flex-wrap:wrap;
        justify-content:center;
    }

    .hero,
    .trust-section,
    .cta-section {
        grid-template-columns: 1fr;
    }

    .letter-grid,
    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cta-section {
        display: block;
    }
}


/* AUDIT HELP QUIZ PAGE */

.quiz-hero {
    background: linear-gradient(90deg, #071120 0%, #09234a 100%);
    color: white;
    text-align: center;
    padding: 90px 7% 70px;
}

.quiz-hero h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    margin-bottom: 20px;
}

.quiz-hero p {
    color: #dce6f3;
    font-size: 1.15rem;
}

.quiz-section {
    background: #f7f9fc;
    padding: 70px 7%;
}

.quiz-card {
    max-width: 850px;
    margin: auto;
    background: white;
    padding: 45px;
    border-radius: 24px;
    box-shadow: 0 18px 45px rgba(15,23,42,.12);
}

.quiz-top {
    margin-bottom: 28px;
}

#stepText {
    font-weight: 800;
    color: #09234a;
}

.progress-bar {
    margin-top: 12px;
    height: 10px;
    background: #e2e8f0;
    border-radius: 999px;
    overflow: hidden;
}

#progressFill {
    height: 100%;
    width: 25%;
    background: #d8b233;
    transition: .3s ease;
}

#questionText {
    font-size: 2rem;
    margin-bottom: 28px;
    color: #071120;
}

.answer-buttons {
    display: grid;
    gap: 16px;
}

.answer-btn {
    border: 1px solid #d9e1ec;
    background: white;
    color: #071120;
    padding: 18px 20px;
    border-radius: 16px;
    text-align: left;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: .25s ease;
}

.answer-btn:hover {
    transform: translateX(8px);
    border-color: #d8b233;
    background: #fffaf0;
}

.quiz-actions {
    margin-top: 28px;
}

.quiz-control {
    border: none;
    background: #09234a;
    color: white;
    padding: 12px 22px;
    border-radius: 12px;
    font-weight: 800;
    cursor: pointer;
}

.quiz-result {
    background: #f8fafc;
    border-left: 5px solid #d8b233;
    padding: 30px;
    border-radius: 18px;
}

.quiz-result h3 {
    font-size: 1.8rem;
    color: #09234a;
    margin-bottom: 14px;
}

.quiz-result p {
    color: #475569;
    margin-bottom: 24px;
}

.result-secondary {
    border: 2px solid #09234a;
    color: #09234a;
    margin-left: 12px;
}

.hidden {
    display: none;
}

.quiz-disclaimer {
    max-width: 850px;
    margin: 25px auto 0;
    color: #64748b;
    font-size: .95rem;
    text-align: center;
}


/* CONTACT PAGE */

.contact-hero {
    background: linear-gradient(90deg, #071120 0%, #09234a 100%);
    color: white;
    text-align: center;
    padding: 90px 7% 70px;
}

.contact-hero h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    margin-bottom: 18px;
}

.contact-hero p {
    color: #dce6f3;
    font-size: 1.15rem;
}

.contact-section {
    background: #f7f9fc;
    padding: 75px 7%;
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 45px;
    align-items: start;
}

.contact-info h2 {
    font-size: 2.3rem;
    margin-bottom: 18px;
}

.contact-info p {
    color: #475569;
    margin-bottom: 25px;
}

.contact-info-card {
    background: #071120;
    color: white;
    padding: 30px;
    border-radius: 22px;
    box-shadow: 0 16px 35px rgba(15,23,42,.12);
}

.contact-info-card h3 {
    color: #d8b233;
    margin-bottom: 15px;
}

.contact-info-card ul {
    padding-left: 20px;
}

.contact-info-card li {
    margin-bottom: 10px;
    color: #dce6f3;
}

.contact-form {
    background: white;
    padding: 40px;
    border-radius: 24px;
    box-shadow: 0 18px 45px rgba(15,23,42,.12);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
}

.form-group {
    margin-bottom: 22px;
}

.form-group label {
    display: block;
    font-weight: 800;
    margin-bottom: 8px;
    color: #071120;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px 16px;
    border: 1px solid #d9e1ec;
    border-radius: 14px;
    font-size: 1rem;
    font-family: inherit;
    outline: none;
    transition: .25s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #d8b233;
    box-shadow: 0 0 0 4px rgba(216,178,51,.15);
}

.form-submit {
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

@media (max-width: 900px) {
    .contact-section {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}


/* CONTACT FORM SUCCESS + ERROR */

.form-success,
.form-error {
    padding: 18px 20px;
    border-radius: 14px;
    margin-bottom: 24px;
    font-weight: 700;
    animation: fadeUp .4s ease;
}

.form-success {
    background: #ecfdf3;
    border: 1px solid #16a34a;
    color: #166534;
}

.form-error {
    background: #fef2f2;
    border: 1px solid #dc2626;
    color: #991b1b;
}

/* FORM ANIMATION */

.contact-form {
    animation: fadeUp .5s ease;
}

.contact-info-card {
    animation: fadeUp .6s ease;
}

/* BUTTON HOVER */

.form-submit {
    transition: .3s ease;
}

.form-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(216,178,51,.28);
}


/* ADMIN AREA */

.admin-page {
    min-height: 100vh;
    display: flex;
    background: #f7f9fc;
}

.admin-sidebar {
    width: 220px;
    min-width: 220px;
    background: #071120;
    color: white;
    padding: 35px 25px;
}

.admin-sidebar h2 {
    color: #d8b233;
    margin-bottom: 30px;
}

.admin-sidebar a{

    display:block;

    color:#dce6f3;

    text-decoration:none;

    padding:14px 16px;

    border-radius:14px;

    margin-bottom:10px;

    font-weight:700;

    transition:.25s ease;
}

.admin-sidebar a:hover{

    background:
    rgba(216,178,51,.12);

    color:#d8b233;

    transform:translateX(4px);

}

.admin-sidebar a.active{

    background:#d8b233;

    color:#071120;

    box-shadow:
    0 10px 25px
    rgba(216,178,51,.28);

}

.admin-content {
    flex: 1;
    padding: 20px;
    overflow-x: hidden;
}

.admin-content h1 {
    font-size: 2.4rem;
    margin-bottom: 8px;
}



.admin-content h1::after {
    content: "";
    display: block;
    width: 70px;
    height: 4px;
    background: #d8b233;
    border-radius: 20px;
    margin-top: 12px;
}

.admin-subtitle {
    color: #475569;
    margin-top: 18px;
    margin-bottom: 30px;
}

.admin-card {
    width: 100%;
    overflow-x: hidden;
    background: white;
    border-radius: 24px;
    padding: 25px;
    box-shadow: 0 16px 40px rgba(15,23,42,.10);
    overflow-x: hidden;
    border-top:5px solid #d8b233;
}

.admin-content {
    flex: 1;
    padding: 30px;
    overflow-x: hidden;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

.admin-table th {
    background: #071120;
    color: white;
    text-align: left;
    padding: 16px;
    font-size: .9rem;
}

.admin-table td {
    padding: 15px 16px;
    border-bottom: 1px solid #e2e8f0;
    vertical-align: top;
}

.admin-table td,
.admin-table th {
    overflow-wrap: break-word;
    word-wrap: break-word;
    font-size: 14px;
}

.admin-table tr:hover {
    background: #f8fafc;
}

.admin-table th:nth-child(1),
.admin-table td:nth-child(1) {
    width: 90px;
}

.admin-table th:nth-child(2),
.admin-table td:nth-child(2) {
    width: 120px;
}

.admin-table th:nth-child(3),
.admin-table td:nth-child(3) {
    width: 120px;
}

.admin-table th:nth-child(4),
.admin-table td:nth-child(4) {
    width: 120px;
}

.admin-table th:nth-child(5),
.admin-table td:nth-child(5) {
    width: 70px;
}

.admin-table th:nth-child(6),
.admin-table td:nth-child(6) {
    width: 70px;
}

.admin-table th:nth-child(7),
.admin-table td:nth-child(7) {
    width: 120px;
}

.admin-table th:nth-child(8),
.admin-table td:nth-child(8) {
    width: 90px;
}

.admin-table th:nth-child(9),
.admin-table td:nth-child(9) {
    width: 120px;
}

@media (max-width: 900px) {
    .admin-page {
        grid-template-columns: 1fr;
    }

    .admin-sidebar {
        position: relative;
    }

    .dashboard-actions{

        flex-direction:column;

    }
}


/* PUBLIC MEDIA PAGE */

.media-hero {
    background: linear-gradient(90deg, #071120 0%, #09234a 100%);
    color: white;
    text-align: center;
    padding: 90px 7% 70px;
}

.media-hero h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    margin-bottom: 18px;
}

.media-hero p {
    color: #dce6f3;
    font-size: 1.15rem;
}

.media-section {
    background: #f7f9fc;
    padding: 70px 7%;
}

.media-section h2 {
    font-size: 2.5rem;
    color: #071120;
    margin-bottom: 30px;
}

.media-heading {
    margin-top: 60px;
}

.media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 420px));
    gap: 30px;
    align-items: start;
}

.media-card {
    min-height: 260px;
    background: white;
    padding: 32px;
    border-radius: 24px;
    box-shadow: 0 18px 45px rgba(15,23,42,.10);
    border-top: 5px solid #d8b233;

    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.media-card .btn {
    margin-top: auto;
}

.media-type {
    display: inline-block;
    background: #071120;
    color: #d8b233;
    padding: 8px 14px;
    border-radius: 999px;
    font-weight: 800;
    margin-bottom: 20px;
}

.media-card h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
    color: #071120;
}

.media-card p {
    color: #475569;
    margin-bottom: 25px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
}

.btn-primary {
    background: #d4af37;
    color: #001437;
    border: none;
    padding: 15px 24px;
    border-radius: 12px;
    font-weight: 800;
    cursor: pointer;
    transition: 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(212,175,55,0.3);
}

.success-message {
    background: #ecfdf3;
    border: 1px solid #16a34a;
    color: #166534;
    padding: 18px 20px;
    border-radius: 14px;
    margin-bottom: 24px;
    font-weight: 700;
}

/*Dashboard*/

.admin-content {
    flex: 1;
    padding: 50px;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin: 40px 0;
}

.dashboard-card {
    background: white;
    border-radius: 24px;
    padding: 35px;
    border-left: 5px solid #d8b233;
}

.dashboard-card h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: #071120;
}

.dashboard-card p {
    font-size: 3rem;
    font-weight: 700;
    color: #d8b233;
}


.dashboard-stats{
    display:grid;

    grid-template-columns:
    repeat(5,minmax(220px,1fr));

    gap:22px;

    margin:28px 0 28px;

}

.stat-card{
    min-height:135px;

    padding:26px;

    border-radius:22px;

    background:
    linear-gradient(
        145deg,
        rgba(255,255,255,.98),
        rgba(245,248,252,.94)
    );

    border-left:5px solid #d8b233;

    box-shadow:
    0 12px 30px rgba(15,23,42,.08);

    transition:.25s ease;
}

.stat-card:hover{
    transform:translateY(-4px);

    box-shadow:
    0 18px 40px rgba(15,23,42,.12);
}

.stat-card h3{
    font-size:1rem;
    color:#071120;
    margin-bottom:18px;
}

.stat-card p{
    font-size:2.4rem;
    font-weight:800;
    color:#d8b233;
}

/* NEW */

.new-stat{
    border-left-color:#d8b233;

    background:
    linear-gradient(
        145deg,
        #ffffff,
        #fffaf0
    );
}

/* ARCHIVED */

.archived-stat{
    border-left-color:#64748b;

    background:
    linear-gradient(
        145deg,
        #ffffff,
        #f5f7fa
    );
}

.dashboard-actions{
    display:flex;

    gap:15px;

    flex-wrap:wrap;

    margin-bottom:28px;
}

/* RESPONSIVE */

@media(max-width:1200px){

    .dashboard-stats{
        grid-template-columns:
        repeat(3,1fr);
    }

}

@media(max-width:800px){

    .dashboard-stats{
        grid-template-columns:1fr;
    }

    .dashboard-actions{
        flex-direction:column;
    }

}

.stat-card h3{
    font-size:1rem;
    margin-bottom:20px;
}


.stat-card p{
    font-size:2.3rem;
    font-weight:800;
    color:#d8b233;
}



.dashboard-section {
    margin-top: 18px;
}

.dashboard-actions{

    display:flex;

    gap:15px;

    flex-wrap:wrap;

    margin-bottom:25px;

}

.section-header h2 {
    font-size: 32px;
    color: #071120;
    margin-bottom: 20px;
}

.stat-link {
    text-decoration: none;
    color: inherit;
    transition: 0.3s ease;
}

.stat-link:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 45px rgba(15,23,42,.14);
}

/*contact admin*/
.delete-btn {
    background: #c62828;
    color: white;
    padding: 10px 18px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: 0.3s ease;
}

.delete-btn:hover {
    background: #8e1b1b;
}

/* MESSAGE MODAL */

.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    z-index: 9999;

    justify-content: center;
    align-items: center;
}

.message-modal {
    width: 90%;
    max-width: 650px;
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 30px 70px rgba(0,0,0,0.35);
}

.modal-header {
    background: #071120;
    color: white;
    padding: 22px 28px;

    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2 {
    font-size: 1.4rem;
}

.close-modal {
    background: transparent;
    border: none;
    color: white;
    font-size: 1.6rem;
    cursor: pointer;
}

.modal-body {
    padding: 30px;
}

.modal-body p {
    color: #475569;
    line-height: 1.8;
    white-space: pre-wrap;
}

.view-btn {
    background: #09234a;
    color: white;
    padding: 10px 18px;
    border-radius: 10px;
    border: none;
    font-weight: 700;
    cursor: pointer;
    margin-right: 8px;
    transition: 0.3s ease;
}

.view-btn:hover {
    background: #0c3268;
}

.view-btn,
.delete-btn {
    min-width: 72px;
    height: 38px;
    padding: 0 16px;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.admin-search-form {
    display: flex;
    gap: 12px;
    margin: 25px 0;
    max-width: 650px;
    align-items: center;
}

.admin-search-form input {
    flex: 1;
    padding: 14px 16px;
    border: 1px solid #d9e1ec;
    border-radius: 12px;
    font-size: 1rem;
}

.clear-search-btn {
    background: #e2e8f0;
    color: #071120;
    padding: 14px 20px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
}

.notes-btn {
    background: #d8b233;
    color: #071120;
    padding: 10px 18px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    margin-right: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 72px;
    height: 38px;
}

.notes-btn:hover {
    background: #c49f2c;
}

.note-card {
    margin-top: 25px;
}

.note-item {
    border-left: 5px solid #d8b233;
    background: #f8fafc;
    padding: 20px;
    border-radius: 14px;
    margin-bottom: 18px;
}

.note-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    color: #071120;
}

.note-meta span {
    color: #64748b;
    font-size: 0.9rem;
}

.status-form {
    margin-top: 18px;
    display: flex;
    gap: 12px;
    align-items: center;
}

.status-form select {
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid #d9e1ec;
    font-weight: 700;
}

.checkbox-group {
    display: flex;
    align-items: center;
}

.checkbox-group label {
    display: flex;
    gap: 10px;
    align-items: center;
    font-weight: 800;
}

.checkbox-group input {
    width: auto;
}

/*FOOTER*/
.site-footer {
    background: #071120;
    color: white;
    padding: 30px 20px;
    text-align: center;
    margin-top: 60px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.staff-portal-link {
    display: inline-block;
    margin-top: 12px;
    color: #94a3b8;
    font-size: 0.85rem;
    text-decoration: none;
    transition: 0.3s ease;
}

.staff-portal-link:hover {
    color: #d8b233;
}

.login-page {
    min-height: 100vh;
    background: #f4f7fb;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
}

.login-card {
    width: 100%;
    max-width: 620px;
    background: white;
    border-radius: 24px;
    padding: 60px;
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.14);
    border: 1px solid #d9e1ec;
    transform: translateY(-20px);
}

.login-card h1 {
    text-align: center;
    font-size: 48px;
    color: #071120;
    margin-bottom: 10px;
}

.login-card p {
    text-align: center;
    color: #64748b;
    margin-bottom: 30px;
}

.login-card .form-group {
    margin-bottom: 22px;
}

.login-card input {
    width: 100%;
    padding: 16px;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    font-size: 1rem;
}

.login-card .form-submit {
    width: 100%;
    margin-top: 10px;
}

.login-card a {
    color: #071120;
    font-weight: 700;
}

.login-card a:hover {
    color: #d8b233;
}



/* SERVICES PAGE */

.services-hero {
    position: relative;
    min-height: 510px;
    padding: 45px 7%;

    display: flex;
    align-items: center;
    justify-content: flex-start;

    color: white;
    text-align: left;
    overflow: hidden;

    
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.services-hero-content {
    width: 40%;
    max-width: 540px;
    min-height: 440px;
    position: relative;
    z-index: 2;

    background: rgba(3,10,22,.24);
    padding: 38px;

    border-radius: 28px;
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255,255,255,.08);
    box-shadow: 0 18px 50px rgba(0,0,0,.24);

    display: flex;
    flex-direction: column;
    justify-content: center;
}

.services-hero .section-label {
    color: #d8b233;
    letter-spacing: 3px;
    font-size: .95rem;
    font-weight: 800;
    margin-bottom: 22px;
}

.services-hero h1 {
    max-width: 760px;

    font-size: clamp(2.1rem, 3vw, 3.4rem);
    line-height: 1.12;

    font-weight: 300;
    letter-spacing: -1px;

    color: #ffffff;

    margin-bottom: 26px;

    text-wrap: balance;
}

.services-hero h1 {
    text-shadow:
        0 4px 18px rgba(0,0,0,.28);
}

.services-hero h1::after {
    content: "";
    display: block;
    width: 75px;
    height: 3px;
    background: #d8b233;
    border-radius: 20px;
    margin-top: 26px;
}

.services-hero p {
    color: #e4ebf5;
    max-width: 460px;
    font-size: 1.08rem;
    line-height: 1.8;
    margin-bottom: 34px;
    font-weight: 400;
}

.services-hero::before {
    content: "";
    position: absolute;
    inset: 0;

    background-image: url('../images/client-agreement.jpg');
    background-size: cover;
    background-position: 42% center;



    z-index: 0;
}

.services-hero::after {
    content: "";
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(3,10,22,.92) 0%,
            rgba(3,10,22,.86) 34%,
            rgba(3,10,22,.62) 58%,
            rgba(3,10,22,.28) 78%,
            rgba(3,10,22,.14) 100%
        );

    z-index: 1;
}

.services-hero-buttons {
    display: flex;
    justify-content: flex-start;
    gap: 18px;
    flex-wrap: nowrap;
    align-items: center;
}

.secondary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.services-hero-buttons .btn {
    min-width: 175px;
    text-align: center;
}

.services-hero-buttons .btn-outline {
    border: 1px solid rgba(216,178,51,.75);
    color: #f3d46a;
    background: transparent;
}

.services-hero-buttons .secondary-btn {
    border: 2px solid #d8b233;
    color: #f3d46a;
    background: transparent;
}

.services-hero-buttons .secondary-btn:hover {
    background: rgba(216,178,51,.12);
}

.services-hero-buttons .btn-outline:hover {
    background: rgba(216,178,51,.12);
    border-color: #d8b233;
}


.service-overview {
    background: white;
    padding: 70px 7%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 45px;
    align-items: center;
}

.service-overview h2 {
    font-size: 2.6rem;
    color: #071120;
}

.service-overview p {
    color: #475569;
    font-size: 1.08rem;
}

.featured-services {
    background: #f7f9fc;
    padding: 65px 7%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.featured-service-card {
    position: relative;
    overflow: hidden;
    background: #071120;
    color: white;
    padding: 36px;
    border-radius: 24px;
    border-top: 5px solid #d8b233;
    box-shadow: 0 18px 45px rgba(15,23,42,.15);
    transition: box-shadow .3s ease, border-color .3s ease;
}

.featured-service-card:hover {
    border-top-color: #f1c84c;
    box-shadow:
        0 0 0 1px rgba(216,178,51,.18),
        0 24px 55px rgba(15,23,42,.18);
}

.featured-service-card span {
    color: #d8b233;
    font-weight: 900;
    letter-spacing: 2px;
}

.featured-service-card h3 {
    font-size: 1.6rem;
    margin: 18px 0 12px;
}

.featured-service-card p {
    color: #dce6f3;
}


/* SERVICE AREAS FEATURED LAYOUT */

.services-detail-section {
    background: #f7f9fc;
    padding: 45px 5% 65px;
}

.services-detail-intro {
    max-width: 720px;
    margin-bottom: 30px;
}

.services-detail-intro .section-label {
    color: #b88715;
}

.services-detail-intro h2 {
    font-size: clamp(2.8rem, 5vw, 4.1rem);
    line-height: .9;
    color: #071120;
    margin-bottom: 18px;
    font-family: Georgia, 'Times New Roman', serif;
}

.services-detail-intro h2::after {
    content: "";
    display: block;
    width: 78px;
    height: 3px;
    background: #d8b233;
    margin-top: 18px;
}

.services-detail-intro p {
    color: #334155;
    max-width: 560px;
    line-height: 1.8;
}

/* FIXED CONTAINER GRID */

.services-detail-grid {
    max-width: 1180px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 210px;
    gap: 14px;
}

/* PLACEMENT */

.detail-service-card:nth-child(1) {
    grid-column: span 2;
}

.detail-service-card:nth-child(2),
.detail-service-card:nth-child(3),
.detail-service-card:nth-child(4),
.detail-service-card:nth-child(5),
.detail-service-card:nth-child(6),
.detail-service-card:nth-child(7),
.detail-service-card:nth-child(8) {
    grid-column: span 1;
}

/* CARDS */

.detail-service-card {
    background: white;
    border: 1px solid #dde4ee;
    border-left: 3px solid #d8b233;
    border-radius: 16px;
    padding: 24px 28px;
    height: 210px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 12px 30px rgba(15,23,42,.05);
}

.detail-service-card .service-icon {
    display: none !important;
}

.detail-service-card::before {
    content: "SERVICE";
    color: #b88715;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.detail-service-card h3 {
    font-family: Georgia, 'Times New Roman', serif;
    color: #071120;
    font-size: 1.35rem;
    line-height: 1.12;
    margin-bottom: 12px;
}

.detail-service-card h3::after {
    content: "";
    display: block;
    width: 42px;
    height: 2px;
    background: #d8b233;
    margin-top: 10px;
}

.detail-service-card p {
    color: #334155;
    font-size: .93rem;
    line-height: 1.55;
    margin-bottom: 10px;
}

.detail-service-card::after {
    content: "View Details →";
    color: #b88715;
    font-weight: 800;
    font-size: .9rem;
    margin-top: auto;
}

/* FEATURED CARD */

.detail-service-card:first-child {
    background:
        linear-gradient(
            90deg,
            rgba(7,17,32,.97),
            rgba(7,17,32,.84)
        ),
        url('../images/IRS Forms.jpg');
    background-size: cover;
    background-position: center;
    border-left: 7px solid #d8b233;
    color: white;
}

.detail-service-card:first-child::before {
    content: "FEATURED SERVICE";
    color: #d8b233;
}

.detail-service-card:first-child h3 {
    color: white;
    font-size: 2.35rem;
}

.detail-service-card:first-child h3::after {
    width: 72px;
    height: 3px;
}

.detail-service-card:first-child p {
    color: #e7eef8;
    max-width: 620px;
}

.detail-service-card:first-child::after {
    color: #d8b233;
}

/* MOBILE */

@media(max-width:1000px) {
    .services-detail-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: auto;
    }

    .detail-service-card,
    .detail-service-card:first-child {
        grid-column: span 1;
        height: auto;
        min-height: 220px;
    }
}

/* ABOUT PAGE */

.about-hero {
    background: radial-gradient(circle at 20% 20%, rgba(216,178,51,.22), transparent 30%),
                linear-gradient(90deg, #071120 0%, #09234a 100%);
    color: white;
    text-align: center;
    padding: 95px 7% 80px;
}

.about-hero h1 {
    font-size: clamp(2.7rem, 5vw, 4.8rem);
    margin-bottom: 22px;
}

.about-hero p {
    color: #dce6f3;
    max-width: 850px;
    margin: 0 auto;
    font-size: 1.15rem;
}

.about-intro-section {
    background: white;
    padding: 75px 7%;
    display: grid;
    grid-template-columns: 1.3fr .7fr;
    gap: 45px;
    align-items: start;
}

.about-intro-content {
    padding-top: 28px;
    max-width: 720px;
}


.about-intro-content h2 {
    font-size: 2.45rem;
    color: #071120;
    margin-bottom: 20px;
    line-height: 1.18;
}

.about-intro-content p {
    color: #475569;
    line-height: 1.8;
    margin-bottom: 16px;
}

.about-highlight-card {
    background: #f8fafc;
    border-radius: 24px;
    padding: 34px;
    border-top: 5px solid #d8b233;
    box-shadow: 0 18px 45px rgba(15,23,42,.08);
}

.about-highlight-card h3 {
    font-size: 1.6rem;
    color: #071120;
    margin-bottom: 18px;
}

.about-highlight-card ul {
    list-style: none;
    padding: 0;
}

.about-highlight-card li {
    padding: 12px 0;
    border-bottom: 1px solid #e2e8f0;
    color: #475569;
}

.about-highlight-card li::before {
    content: "✓ ";
    color: #d8b233;
    font-weight: 900;
}

.mission-section {
    background: #f7f9fc;
    padding: 70px 7%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.mission-card {
    background: #071120;
    color: white;
    padding: 36px;
    border-radius: 24px;
    box-shadow: 0 18px 45px rgba(15,23,42,.15);
}

.mission-card span {
    color: #d8b233;
    font-weight: 900;
    letter-spacing: 2px;
}

.mission-card h3 {
    font-size: 1.6rem;
    margin: 18px 0 12px;
}

.mission-card p {
    color: #dce6f3;
    line-height: 1.7;
}

.about-values-section {
    background: white;
    padding: 75px 7%;
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 45px;
    align-items: start;
}

.about-values-section h2 {
    font-size: 2.5rem;
    color: #071120;
    margin-bottom: 18px;
}

.about-values-section p {
    color: #475569;
    line-height: 1.8;
    margin-bottom: 16px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
}

.value-box {
    background: #f8fafc;
    border-radius: 20px;
    padding: 26px;
    border: 1px solid #e2e8f0;
}

.value-box h3 {
    color: #071120;
    margin-bottom: 10px;
}

.value-box p {
    margin: 0;
}

.about-cta-section {
    margin: 50px 7% 80px;
    background: #071120;
    color: white;
    padding: 50px;
    border-radius: 26px;
    display: flex;
    justify-content: space-between;
    gap: 30px;
    align-items: center;
    box-shadow: 0 18px 45px rgba(15,23,42,.14);
}

.about-cta-section h2 {
    font-size: 2.2rem;
    margin-bottom: 12px;
}

.about-cta-section p {
    color: #dce6f3;
}

@media (max-width: 900px) {
    .about-intro-section,
    .mission-section,
    .about-values-section,
    .about-cta-section {
        grid-template-columns: 1fr;
    }

    .about-cta-section {
        flex-direction: column;
        align-items: flex-start;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }
}

.accreditation-section {
    background: white;
    padding: 70px 7%;
    text-align: center;
}

.accreditation-section h2 {
    font-size: 2.4rem;
    color: #071120;
    margin-bottom: 14px;
}

.accreditation-section p {
    color: #475569;
    max-width: 760px;
    margin: 0 auto 35px;
}

.accreditation-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: 950px;
    margin: 0 auto;
}

.accreditation-logo {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    min-height: 120px;
    display: grid;
    place-items: center;
    color: #64748b;
    font-weight: 800;
}

@media (max-width: 900px) {
    .accreditation-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ABOUT PAGE UPDATED */

.about-hero {
    background: radial-gradient(circle at 20% 20%, rgba(216,178,51,.22), transparent 30%),
                linear-gradient(90deg, #071120 0%, #09234a 100%);
    color: white;
    text-align: center;
    padding: 95px 7% 80px;
}

.about-hero h1 {
    font-size: clamp(2.7rem, 5vw, 4.8rem);
    margin-bottom: 22px;
}

.about-hero p {
    color: #dce6f3;
    max-width: 850px;
    margin: 0 auto;
    font-size: 1.15rem;
}

.about-intro-section {
    position: relative;
    background:
        linear-gradient(
            to bottom,
            rgba(8,18,38,.05) 0%,
            #f7f9fc 14%
        );
    padding: 90px 7%;
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 55px;
    align-items: start;
}

.about-intro-content h2 {
    max-width: 760px;
    font-size: 2.55rem;
    font-weight: 800;
    line-height: 1.13;
    color: #071120;
    margin-bottom: 24px;
    padding: 0;
    background: none;
    border: none;
    box-shadow: none;
}

.about-intro-content h2::before {
    display: none;
}




.about-intro-content p {
    color: #475569;
    line-height: 1.8;
    margin-bottom: 16px;
}

.about-highlight-card {
    position: relative;
    overflow: hidden;

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,.98),
            rgba(245,248,252,.94)
        );

    border-radius: 24px;
    padding: 34px;

    border-top: 5px solid #d8b233;

    box-shadow:
        0 25px 55px rgba(15,23,42,.10);

    transition: .3s ease;
}

.about-highlight-card::before {
    content: "";

    position: absolute;

    top: -120px;
    right: -120px;

    width: 240px;
    height: 240px;

    background: rgba(216,178,51,.08);

    border-radius: 50%;

    filter: blur(40px);
}

.about-highlight-card:hover {
    transform: translateY(-4px);
}

.about-highlight-card h3 {
    font-size: 1.6rem;
    color: #071120;
    margin-bottom: 18px;
}

.about-highlight-card ul {
    list-style: none;
    padding: 0;
}

.about-highlight-card li {
    padding: 12px 0;
    border-bottom: 1px solid #e2e8f0;
    color: #475569;
}

.about-highlight-card li::before {
    content: "✓ ";
    color: #d8b233;
    font-weight: 900;
}

.mission-section {
    background: #f7f9fc;
    padding: 35px 7% 75px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.mission-card {
    background: #071120;
    color: white;
    padding: 36px;
    border-radius: 24px;
    border-top: 5px solid #d8b233;

    box-shadow: 0 18px 45px rgba(15,23,42,.15);

    transition:
        border-top-color .3s ease;
        box-shadow: .3s ease;
        
}

.mission-card:hover {
    transform: none;

    border-top-color: #f1c84c;

    box-shadow:
        0 0 0 1px rgba(216,178,51,.18),
        0 24px 55px rgba(15,23,42,.18);
}

.mission-card span {
    color: #d8b233;
    font-weight: 900;
    letter-spacing: 2px;
}

.mission-card h3 {
    font-size: 1.6rem;
    margin: 18px 0 12px;
}

.mission-card p {
    color: #dce6f3;
    line-height: 1.7;
}

/* ACCREDITATION SECTION */

.accreditation-section {

background:
linear-gradient(
180deg,
#ffffff 0%,
#fdfbf4 100%
);

padding:85px 7%;

text-align:center;

border-top:
1px solid #ecd37a;

border-bottom:
1px solid #ecd37a;

}

.accreditation-section h2 {
    font-size: 2.5rem;
    color: #071120;
    margin-bottom: 16px;
}

.accreditation-section p {
    color: #475569;
    max-width: 760px;
    margin: 0 auto 40px;
    font-size: 1.05rem;
}

.accreditation-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 950px;
    margin: 40px auto 0;
}

.accreditation-logo {

background:#fcfcfc;

border:2px solid #e5c04a;

border-radius:22px;

height:220px;

display:flex;

align-items:center;

justify-content:center;

padding:20px;

box-shadow:
0 12px 30px rgba(15,23,42,.06);

transition:.3s ease;

overflow:hidden;

}
.accreditation-logo:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(15,23,42,.12);
    border-color: #d8b233;
}

.accreditation-logo img{

width:100%;

height:100%;

object-fit:contain;

max-width:170px;

max-height:170px;

}

@media (max-width:900px){

.accreditation-grid{

grid-template-columns:
repeat(2,1fr);

}

}

@media (max-width:600px){

.accreditation-grid{

grid-template-columns:1fr;

}

}

/* ABOUT VALUES / APPROACH SECTION */

.about-values-section {
    background: #071120;
    padding: 90px 7%;
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 80px;
    align-items: start;
}

.about-values-section .section-label {
    color: #d8b233;
}

.about-values-section h2 {
    font-size: 2.6rem;
    color: white;
    margin-bottom: 20px;
}

.about-values-section p {
    color: #dce6f3;
    line-height: 1.8;
    margin-bottom: 18px;
}


.values-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.value-box {
    position: relative;
    background: rgba(255,255,255,0.03);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 24px;
    padding: 32px;

    transition:
        transform .28s ease,
        border-color .28s ease,
        box-shadow .28s ease,
        background .28s ease;
}

.value-box::before {
    content: "";
    position: absolute;
    top: 0;
    left: 28px;
    width: 65px;
    height: 3px;
    background: #d8b233;
    border-radius: 20px;
}

.value-box:hover {
    transform: translateY(-6px);
    border-color: rgba(216,178,51,.65);
    background: rgba(255,255,255,0.06);

    box-shadow:
        0 18px 40px rgba(0,0,0,.25),
        0 0 0 1px rgba(216,178,51,.18);
}

.value-box h3 {
    color: white;
    margin-bottom: 12px;
    font-size: 1.2rem;
}

.value-box p {
    margin: 0;
    color: #dce6f3;
}

.about-cta-section {
    margin: 45px 7% 80px;
    background: #071120;
    color: white;
    padding: 50px;
    border-radius: 26px;
    display: flex;
    justify-content: space-between;
    gap: 30px;
    align-items: flex-start;
    box-shadow: 0 18px 45px rgba(15,23,42,.14);
}

.about-cta-section h2 {
    font-size: 2.2rem;
    margin-bottom: 12px;
}

.about-cta-section p {
    color: #dce6f3;
}

.about-cta-section .btn {
    min-width: 185px;
    text-align: center;
    justify-content: center;
}

.cta-buttons {
    margin-top: 12px;
}

@media (max-width: 900px) {
    .about-intro-section,
    .mission-section,
    .about-values-section,
    .about-cta-section {
        grid-template-columns: 1fr;
    }

    .about-cta-section {
        flex-direction: column;
        align-items: flex-start;
    }

    .values-grid,
    .accreditation-grid {
        grid-template-columns: 1fr;
    }
}

/* IRS LETTERS FINAL POLISH */

/* IRS LETTERS HERO */

.letters-hero-new {
    position: relative;
    min-height: 560px;

    background:
        linear-gradient(
            90deg,
            rgba(7,17,32,.96) 0%,
            rgba(7,17,32,.90) 34%,
            rgba(7,17,32,.72) 100%
        ),
        url('../images/capital.png');

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    padding: 70px 7%;

    display: flex;
    grid-template-columns: .95fr 1.05fr;
    gap: 40px;
    justify-content: space-between;

    align-items: center;
    overflow: hidden;
}

.letters-hero-new::before {
    content: "";
    position: absolute;
    inset: 0;

    background:
        radial-gradient(
            circle at center,
            rgba(255,255,255,.08),
            transparent 34%
        );

    pointer-events: none;
}

/* LEFT CONTENT */

.letters-hero-content {
    position: relative;
    z-index: 2;
    max-width: 620px;
}

.letters-hero-content h1 {
    color: white;
    font-size: clamp(3.5rem, 6vw, 5.7rem);
    line-height: .95;
    margin-bottom: 28px;
}

.letters-hero-content .hero-text {
    color: #dce6f3;
    font-size: 1.08rem;
    line-height: 1.8;
    margin-bottom: 34px;
}

/* RIGHT SIDE */

.letters-hero-image-wrap {
    position: relative;

    display: flex;
    justify-content: center;
    align-items: center;

    min-height: 420px;
}

/* TAX DOCUMENT IMAGE */

.hero-image-card {
    width: 460px;

    max-width: 100%;

    border-radius: 30px;

    overflow: hidden;

    position: relative;

    box-shadow:
        0 24px 55px rgba(0,0,0,.24);

    transform: rotate(-2deg);

    background: transparent;
}

.hero-image-card img {
    width: 100%;

    height: 365px;

    object-fit: cover;

    display: block;

    filter:
        brightness(.98)
        contrast(1.02)
        grayscale(6%);
}

.hero-image-card::after {
    content: "";

    position: absolute;
    inset: 0;

    background:
        radial-gradient(
            circle at center,
            transparent 56%,
            rgba(7,17,32,.18) 82%,
            rgba(7,17,32,.38) 100%
        ),

        linear-gradient(
            to bottom,
            rgba(7,17,32,.12),
            transparent 16%,
            transparent 84%,
            rgba(7,17,32,.18)
        );

    pointer-events: none;
}

/* ENROLLED AGENT CARD */

.hero-side-card {
    position: relative;

    right: auto;
    top: au;
    transform: translateY(-50%);

    width: 260px;

    background: rgba(7,17,32,.92);

    border: 1px solid rgba(216,178,51,.55);

    border-radius: 24px;

    padding: 20px;

    box-shadow:
        0 18px 45px rgba(0,0,0,.34);

    backdrop-filter: blur(12px);

    z-index: 3;
}

.hero-badge {
    display: inline-block;

    color: #d8b233;

    font-size: .72rem;
    font-weight: 900;

    letter-spacing: 2px;

    margin-bottom: 16px;
}

.hero-side-card h3 {
    color: white;
    margin-bottom: 14px;
    font-size: 1.05rem;
    line-height: 1.35;
}

.hero-side-card ul {
    list-style: none;
    display: grid;
    gap: 11px;
}

.hero-side-card li {
    background: rgba(255,255,255,.05);

    color: #dce6f3;

    padding: 9px 12px;

    border-radius: 10px;

    font-size: .88rem;

    line-height: 1.4;
}

.hero-side-card li::before {
    content: "✓ ";
    color: #d8b233;
    font-weight: 900;
}

/* SECOND SECTION */


.directory-left h2 {
    font-size: 2.45rem;
    line-height: 1.12;

    color: #071120;

    margin-bottom: 22px;
}

.directory-left p {
    color: #475569;

    line-height: 1.8;
    max-width: 540px;
}

.notice-directory-section {
        background:
        radial-gradient(
            circle at top center,
            rgba(216,178,51,.08),
            transparent 30%
        ),
        linear-gradient(
            180deg,
            #eef3f9 0%,
            #dfe7f1 100%
        );

    padding: 52px 7% 42px;

    display: grid;
    grid-template-columns: 44% 56%;

    gap: 34px;

    align-items: center;

    border-top: 1px solid rgba(255,255,255,.08);
}

.directory-highlight {
    margin-top: 28px;

    background: rgba(255,255,255,.88);

    border-left: 5px solid #d8b233;

    padding: 20px 22px;

    border-radius: 16px;

    box-shadow:
        0 18px 40px rgba(15,23,42,.06);
}

/* NOTICE CARDS */

.directory-right{
    display:grid;

    grid-template-columns:
    repeat(2,minmax(320px,1fr));

    gap:18px;
}

.notice-row{

    background:
    rgba(255,255,255,.82);

    border:1px solid
    rgba(255,255,255,.85);

    border-radius:22px;

    padding:24px;

    display:grid;

    grid-template-columns:
    64px 1fr;

    gap:18px;

    align-items:start;

    min-height:160px;

    height:160px;

    box-shadow:
    0 12px 30px
    rgba(15,23,42,.08);
}

.notice-icon{

    width:56px;

    height:56px;

    background:#071120;

    border-radius:16px;

    display:flex;

    align-items:center;

    justify-content:center;

    color:#d8b233;

    font-size:1.2rem;
}

@media (max-width: 1000px) {
    .letters-hero-new,
    .notice-directory-section {
        grid-template-columns: 1fr;
    }

    .letters-hero-image-wrap {
        min-height: auto;
    }

    .hero-side-card {
        position: relative;
        right: auto;
        top: auto;
        transform: none;
        width: 100%;
        max-width: 420px;
        margin-top: -25px;
    }

    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .letters-bottom-cta {
        flex-direction: column;
        align-items: flex-start;
    }
}

.bottom-cta-content{
    display:flex;
    align-items:center;
    gap:28px;
}

.cta-icon{

    width:72px;
    height:72px;

    background:
    rgba(216,178,51,.12);

    border-radius:18px;

    display:flex;

    align-items:center;
    justify-content:center;

    color:#d8b233;

    font-size:1.8rem;

    flex-shrink:0;
}

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

    .notice-row {
        grid-template-columns: 1fr;
    }
}



/* WHAT TO DO FIRST SECTION */

.steps-section {
    background:
        linear-gradient(
            180deg,
            #081120 0%,
            #0b1b33 100%
        );

    color: white;
    padding: 75px 7%;
    text-align: center;
    position: relative;
    overflow: hidden;
    
}
.steps-section::before {
    content: "";
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(255,255,255,.015),
            transparent 30%,
            transparent 70%,
            rgba(255,255,255,.015)
        );

    pointer-events: none;
}

.steps-title {
    color: white;
    font-size: 2.9rem;
    margin-bottom: 18px;
    position: relative;
    z-index: 2;
}

.steps-section .section-label {
    color: #d8b233;
    margin-bottom: 14px;
    position: relative;
    z-index: 2;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
    margin-top: 50px;
    position: relative;
    z-index: 2;
}

.step-card {
    background: #f4f7fb;

    border-radius: 24px;

    padding: 28px 24px;

    min-height: 210px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;

    box-shadow:
        0 10px 24px rgba(0,0,0,.12);

    border: 1px solid #dbe3ee;

    transition: .3s ease;
}

.step-card:hover {
    transform: translateY(-8px);
    box-shadow:
        0 28px 60px rgba(0,0,0,.22);
}

.step-card span {
    width: 64px;
    height: 64px;

    background: #d8b233;
    color: #071120;

    display: grid;
    place-items: center;

    border-radius: 50%;

    font-size: 1.7rem;
    font-weight: 900;

    margin-bottom: 18px;

    box-shadow:
        0 12px 25px rgba(216,178,51,.35);
}

.step-card h3 {
    color: #071120;
    font-size: 1.1rem;
    margin-bottom: 18px;
    line-height: 1.25;
}

.step-card p {
    color: #475569;
    line-height: 1.6;
    font-size: .95rem;
}


/* NEED HELP SECTION */

.letters-bottom-cta{
    max-width:1180px;
    margin:40px auto 70px;
    padding:28px;
    background:white;
    border-radius:22px;
    box-shadow:0 14px 35px rgba(15,23,42,.08);

    display:grid;
    grid-template-columns:1fr auto;
    gap:24px;
    align-items:center;
}

.bottom-cta-content{
    display:flex;
    align-items:center;
    gap:28px;
}

.letters-bottom-cta h2{
    font-size:1.35rem;

    color:#071120;

    margin-bottom:8px;
}

.letters-bottom-cta p{
    color:#475569;

    margin:0;

    line-height:1.6;
}

.letters-bottom-cta .cta-buttons{
    margin:0;
}

.letters-bottom-cta .primary-btn{
    background:#071120;

    color:#d8b233;

    padding:16px 34px;

    border-radius:12px;
}

.letters-bottom-cta .secondary-btn{
    display:none;
}

@media(max-width:900px){

.letters-bottom-cta{
    grid-template-columns:1fr;

    text-align:center;
}

.letters-bottom-cta::before{
    margin:auto;
}

.letters-bottom-cta .cta-buttons{
    justify-content:center;
}
}

/* MOBILE */

@media (max-width: 1100px) {

    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .letters-bottom-cta {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 700px) {

    .steps-grid {
        grid-template-columns: 1fr;
    }

    .steps-title {
        font-size: 2.2rem;
    }

    .letters-bottom-cta h2 {
        font-size: 2.2rem;
    }

    .step-card {
        min-height: auto;
    }
}

/* FOOTER GAP FIX */

.letters-bottom-cta {
    margin-bottom: 0 !important;
}

footer,
.site-footer {
    margin-top: 0 !important;
    background: #071120 !important;
    color: #cbd5e1;
    padding: 28px 20px 36px;
    border-top: 1px solid rgba(216,178,51,.18);
}

/* FINAL BOTTOM SECTION CLEANUP */

.letters-bottom-cta {
    background: #eef3f9 !important;
    color: #071120 !important;
    padding: 55px 7% !important;
    border-top: 1px solid #dbe3ee !important;
    border-bottom: 1px solid #dbe3ee !important;
}

.letters-bottom-cta h2 {
    color: #071120 !important;
}

.letters-bottom-cta p {
    color: #334155 !important;
}

.letters-bottom-cta .secondary-btn {
    color: #071120 !important;
    background: white !important;
}

footer,
.site-footer {
    background: #071120 !important;
    padding: 24px 20px 30px !important;
}

/* HOMEPAGE HERO FLOATING MINI CARD FIX */

.hero-visual {
    position: relative;
}

.confidence-card {
    position: absolute;
    right: -35px;
    bottom: 65px;
    max-width: 220px;
    z-index: 5;
}

/* prevent it from covering text on smaller screens */
@media (max-width: 1200px) {
    .confidence-card {
        right: 10px;
        bottom: 25px;
        max-width: 190px;
    }
}

@media (max-width: 1000px) {
    .confidence-card {
        display: none;
    }
}

.about-hero {
    position: relative;
    overflow: hidden;

    min-height: 460px;

    color: white;
    text-align: left;

    padding: 70px 7% 60px;

    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    backdrop-filter: blur(1px);

    background:
        linear-gradient(
            90deg,
            rgba(4,12,25,.96) 0%,
            rgba(5,18,38,.92) 45%,
            rgba(10,30,60,.86) 100%
        ),
        url('../images/about-hero-bg.jpg');

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    transform: scaleX(-1);
}

.about-hero > * {
    position: relative;
    z-index: 2;
}

.about-hero h1 {
    max-width: 760px;
    font-size: clamp(2.9rem, 5vw, 5rem);
    line-height: 1.05;
    margin-bottom: 34px;
}

.about-hero p {
    color: #edf3fa;
    max-width: 760px;
    margin: 0;
    font-size: 1.15rem;
    line-height: 1.8;
}

.about-hero .eyebrow {
    color: #f3d46a;
    font-size: .95rem;
    letter-spacing: 3px;
    margin-bottom: 24px;
}

/* SERVICES PAGE HELP CHOICE FIX */

.help-choice-section{
    max-width:1180px;

    margin:50px auto 80px;

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:24px;

    padding:0 20px;
}

.choice-card{
    background:white;

    padding:36px;

    border-radius:24px;

    box-shadow:0 16px 40px rgba(15,23,42,.08);

    border-top:5px solid #d8b233;
}

.choice-card h2{
    font-size:2rem;

    color:#071120;

    margin:12px 0 18px;
}

.choice-card p{
    color:#475569;

    line-height:1.7;
}

.choice-card .btn{
    margin-top:24px;
}

.dark-choice{
    background:#071120;

    color:white;
}

.dark-choice h2,
.dark-choice p{
    color:white;
}

.light-choice{
    background:white;
}

@media(max-width:900px){

.help-choice-section{
    grid-template-columns:1fr;
}
}

.services-detail-grid {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
}

/* FINAL SERVICE CARD ALIGNMENT FIX */

.services-detail-grid {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
}

.detail-service-card::after {
    display: none;
    content: none;
}

.detail-service-card p {
    margin-bottom: 0;
}


/* CENTER ENTIRE HOW WE CAN HELP SECTION */

.services-detail-section{
    max-width:1200px;
    margin:0 auto;
    padding:0 20px;
}

/* FINAL HELP CHOICE ALIGNMENT */

.help-choice-section {
    max-width: 1180px;
    margin: 55px auto 80px;
    padding: 0 20px;

    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 26px;
    align-items: stretch;
}

.choice-card {
    min-height: 345px;
    padding: 48px 52px;

    display: flex;
    flex-direction: column;
}

.choice-card h2 {
    margin-bottom: 24px;
}

.choice-card p:not(.section-label) {
    line-height: 1.75;
    margin-bottom: 30px;
}

.choice-card .btn {
    margin-top: auto;

    align-self: center;

    min-width: 230px;

    text-align: center;
}

/* make the light-card button match the dark-card button width */
.light-choice .btn {
    min-width: 230px;
}


/* IRS LETTERS HERO RESET - FINAL FIX */

.letters-hero-new {
    min-height: 560px !important;
    padding: 70px 7% !important;

    display: grid !important;
    grid-template-columns: 1.15fr .85fr !important;
    gap: 60px !important;

    align-items: center !important;
    justify-content: center !important;

    max-width: none !important;
    width: 100% !important;
    margin: 0 !important;

    background:
        linear-gradient(
            90deg,
            rgba(7,17,32,.96) 0%,
            rgba(7,17,32,.88) 45%,
            rgba(7,17,32,.68) 100%
        ),
        url('../images/capital.png') !important;

    background-size: cover !important;
    background-position: center !important;
}

.letters-hero-content {
    max-width: 680px !important;
    position: relative !important;
    z-index: 2 !important;
}

.letters-hero-content h1 {
    font-size: clamp(3.4rem, 5.8vw, 5.4rem) !important;
    line-height: .98 !important;
    margin-bottom: 28px !important;
}

.letters-hero-content .hero-text {
    font-size: 1.08rem !important;
    line-height: 1.8 !important;
    max-width: 560px !important;
    margin-bottom: 34px !important;
    color: #dce6f3 !important;
}

.hero-side-card {
    position: relative !important;
    right: auto !important;
    top: auto !important;
    transform: none !important;

    width: 360px !important;
    max-width: 100% !important;
    min-height: auto !important;

    margin: 0 auto !important;
    padding: 30px !important;
}

.hero-side-card li {
    padding: 12px 14px !important;
    font-size: .95rem !important;
}

/* IRS hero mobile */
@media (max-width: 900px) {
    .letters-hero-new {
        grid-template-columns: 1fr !important;
        text-align: center !important;
        gap: 35px !important;
    }

    .letters-hero-content,
    .letters-hero-content .hero-text {
        max-width: 100% !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .hero-buttons {
        justify-content: center !important;
        flex-wrap: wrap !important;
    }

    .hero-side-card {
        width: 100% !important;
        max-width: 420px !important;
    }
}

/* HOMEPAGE SERVICE CARD FINAL FIX */

.letter-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 18px;
    max-width: 1500px;
    margin: 40px auto 30px;
}

.letter-card {
    min-height: 330px;
    padding: 34px 18px;
    text-align: center;

    display: flex;
    flex-direction: column;
    align-items: center;

    border-radius: 22px;
}

.letter-icon {
    width: 82px;
    height: 82px;

    margin: 0 auto 24px;

    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 1.65rem;

    color: #334155;
}

.letter-icon i {
    display: block;
    line-height: 1;
    font-weight: 400;
}

.letter-card h3 {
    min-height: 58px;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 1.35rem;
    line-height: 1.35;
    margin-bottom: 14px;
}

.letter-card p {
    font-size: .98rem;
    line-height: 1.6;
}

/* softer icon colors */
.green i { color: #2f8f4e; }
.pink i { color: #8b4c5a; }
.orange i { color: #b87800; }
.purple i { color: #5f5478; }
.blue i { color: #3f77a8; }
.yellow i { color: #9b7a12; }

.teal {
    background: #dff4f3;
}

.teal i {
    color: #287c82;
}

/* tablet */
@media (max-width: 1200px) {
    .letter-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* phone */
@media (max-width: 700px) {
    .letter-grid {
        grid-template-columns: 1fr;
    }

    .letter-card {
        min-height: auto;
    }
}

/* CONTACT FILTER BUTTONS */

.dashboard-actions{

display:flex;

gap:12px;

flex-wrap:wrap;

margin-bottom:22px;

}

.dashboard-actions .btn-primary{

padding:10px 18px;

border-radius:999px;

}

/* STATUS */

.status-badge{

display:inline-block;

padding:7px 12px;

border-radius:999px;

background:#fff8e5;

color:#8f6a00;

font-weight:700;

font-size:.82rem;

}

/* ARCHIVED */

.archive-badge{

display:inline-block;

margin-left:8px;

padding:5px 10px;

border-radius:999px;

font-size:.75rem;

font-weight:700;

}

.archive-badge.archived{

background:#edf2f7;

color:#475569;

}

/* CONTACT BUTTON SPACING */

.notes-btn,
.archive-btn,
.unarchive-btn,
.view-btn{

margin-right:6px;

margin-bottom:4px;

display:inline-block;

}

/* CONTACT STATUS + ARCHIVE */

.status-badge{

display:inline-block;

padding:7px 12px;

border-radius:999px;

background:#fff8e5;

color:#8f6a00;

font-weight:700;

font-size:.82rem;

}

/* archived badge */

.archive-badge{

display:inline-block;

margin-left:8px;

padding:5px 10px;

border-radius:999px;

font-size:.75rem;

font-weight:700;

}

.archive-badge.archived{

background:#edf2f7;

color:#475569;

}

/* spacing */

.notes-btn,
.archive-btn,
.unarchive-btn,
.view-btn{

margin-right:6px;

margin-bottom:4px;

display:inline-block;

}

/* archive buttons */

.archive-btn{

background:#64748b;

color:white;

padding:10px 18px;

border-radius:10px;

text-decoration:none;

font-weight:700;

}

.archive-btn:hover{

background:#475569;

}

.unarchive-btn{

background:#16a34a;

color:white;

padding:10px 18px;

border-radius:10px;

text-decoration:none;

font-weight:700;

}

.unarchive-btn:hover{

background:#15803d;

}

.contacts-toolbar{
    max-width:100%;
    display:grid;
    grid-template-columns:1fr auto;
    gap:18px;
    align-items:center;
}

.contacts-toolbar .dashboard-actions{
    display:flex;
    gap:10px;
    flex-wrap:wrap;
    margin:0;
}

.contacts-toolbar input{
    min-width:260px;
}

.contacts-toolbar .btn-primary,
.contacts-toolbar .clear-search-btn{
    height:48px;
    border-radius:12px;
}

.archive-btn{
    background:#64748b;
}

.unarchive-btn{
    background:#09234a;
}

.status-badge{
    background:#fff8e5;
    color:#8f6a00;
}

.archive-badge.archived{
    background:#e2e8f0;
    color:#475569;
}


/* FILTER BUTTON ROW */

.contacts-toolbar .dashboard-actions{
    display:flex;
    flex-wrap:wrap;
    gap:12px;

    width:100%;

    margin:0;
}

/* SEARCH ROW */

.admin-search-form{

    display:flex;

    gap:12px;

    align-items:center;

    flex-wrap:wrap;

    max-width: 650px;

}

.admin-search-form input{

    width:420px;

    max-width:100%;

}

.admin-search-form button,
.clear-search-btn{

    width:auto;

    min-width:100px;

    height:48px;

}


.admin-footer-actions{

margin-top:30px;

display:flex;

justify-content:flex-start;
margin-bottom: 40px;

}

.btn-secondary{

display:inline-flex;

align-items:center;

padding:14px 24px;

border-radius:12px;

background:#cfd6df;

color:#04152b;

font-weight:700;

text-decoration:none;

transition:.3s;

}

.btn-secondary:hover{

background:#d8b233;

}

/* CONTACT NOTES FOOTER FIX */

.admin-footer-actions{

    margin-top:30px;

    margin-bottom:80px;

}

/* DARK BUTTON */

.back-contacts-btn{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    background:#071120;

    color:white;

    text-decoration:none;

    padding:14px 24px;

    border-radius:12px;

    font-weight:700;

    transition:.25s ease;

}

.back-contacts-btn:hover{

    background:#09234a;

    transform:translateY(-2px);

}

/* PREVENT FOOTER OVERLAP */

.admin-page{

    
    display:flex;
    background: #f7f9fc;

}

/* CONTACT NOTES PAGE EXTRA SPACE */

.admin-content{

    padding-bottom:40px;

}

/* BUTTON STYLE */

.dashboard-actions .btn-primary{

    padding:12px 22px;

    border-radius:14px;

}

html,
body{
    max-width:100%;
    overflow-x:hidden;
}

.admin-content{
    min-width:0;
    overflow-x:hidden;
}

.admin-card{
    max-width:100%;
    overflow-x:auto;
}

.admin-table{
    min-width:1050px;
}

.admin-footer-actions{
    margin-top:30px;
    margin-bottom:100px;
}

.back-contacts-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    background:#071120;
    color:white !important;
    text-decoration:none !important;
    padding:14px 24px;
    border-radius:12px;
    font-weight:800;
}

.back-contacts-btn:hover{
    background:#d8b233;
    color:#071120 !important;
}

/* CONTACT NOTES BOTTOM SPACING */

.admin-footer-actions{
    margin-top:20px;
    margin-bottom:25px;
}

.back-contacts-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;

    background:#071120;
    color:white !important;

    padding:14px 26px;
    border-radius:12px;

    text-decoration:none !important;
    font-weight:800;
}

.back-contacts-btn:hover{
    background:#d8b233;
    color:#071120 !important;
}

/* reduce extra space before footer */
.admin-page{
    min-height:auto;
}

/* reduce footer gap only after admin pages */
.admin-page + .site-footer{
    margin-top:0;
}

/* ADMIN USER TABLE RESPONSIVE */

.admin-table-wrapper{

    width:100%;

    overflow-x:auto;

}

.admin-table{

    width:100%;

    table-layout:fixed;

}

.admin-table th,
.admin-table td{

    word-wrap:break-word;

    overflow-wrap:break-word;

    white-space:normal;

    vertical-align:top;

    padding:14px;

}

/* responsive column widths */

.admin-table th:nth-child(1),
.admin-table td:nth-child(1){

width:10%;

}

.admin-table th:nth-child(2),
.admin-table td:nth-child(2){

width:14%;

}

.admin-table th:nth-child(3),
.admin-table td:nth-child(3){

width:18%;

}

.admin-table th:nth-child(4),
.admin-table td:nth-child(4){

width:18%;

}

.admin-table th:nth-child(5),
.admin-table td:nth-child(5){

width:8%;

}

.admin-table th:nth-child(6),
.admin-table td:nth-child(6){

width:8%;

}

.admin-table th:nth-child(7),
.admin-table td:nth-child(7){

width:10%;

}

.admin-table th:nth-child(8),
.admin-table td:nth-child(8){

width:8%;

}

.admin-table th:nth-child(9),
.admin-table td:nth-child(9){

width:8%;

}

/* FIX CONTACTS TABLE ONLY */

.contacts-table{
    width:100%;
    border-collapse:collapse;
    table-layout:auto;
}

.contacts-table thead tr,
.contacts-table tbody tr{
    height:auto !important;
}

.contacts-table th{
    height:auto !important;
    min-height:0 !important;
    padding:14px 16px !important;
    vertical-align:middle !important;
    white-space:normal;
}

.contacts-table td{
    height:auto !important;
    min-height:0 !important;
    padding:14px 16px !important;
    vertical-align:top;
    white-space:normal;
}

.contacts-table th,
.contacts-table td{
    overflow-wrap:break-word;
}

.admin-card{
    overflow-x:auto;
}

/* CONTACT NOTES PRINT */

.admin-footer-actions{

display:flex;

gap:15px;

flex-wrap:wrap;

margin-top:25px;

margin-bottom:25px;

}

.print-client-btn{

background:#d8b233;

color:#071120;

padding:14px 24px;

border:none;

border-radius:12px;

font-weight:800;

cursor:pointer;

}

.print-client-btn:hover{

background:#c49f2c;

}

@media print{

.site-header,
.admin-sidebar,
.admin-footer-actions,
.status-form,
textarea,
button,
.site-footer{

display:none !important;

}

body{

background:white;

}

.admin-card{

box-shadow:none;

border:none;

margin-bottom:20px;

page-break-inside:avoid;

}

}

@media print{

    .no-print,
    .site-header,
    .admin-sidebar,
    .admin-footer-actions,
    .status-form,
    button,
    .site-footer{
        display:none !important;
    }

}
.print-followup-notes{
    display:none;
}

@media print{
    .print-followup-notes{
        display:block !important;
        border:1px solid #ccc;
        padding:12px;
        min-height:80px;
        margin-top:8px;
        white-space:pre-wrap;
    }
}

@media print{

    .admin-content h1,
    .admin-subtitle{
        display:none !important;
    }

    .admin-content{
        padding:0 !important;
        margin:0 !important;
    }

    .admin-card{
        page-break-before:auto !important;
        page-break-after:auto !important;
        break-inside:avoid;
    }

}

.pdf-actions{
    display:flex;
    gap:12px;
    flex-wrap:wrap;
    margin-top:auto;
}

.download-btn{
    background:#071120;
    color:white;
    padding:15px 24px;
    border-radius:12px;
    text-decoration:none;
    font-weight:800;
}

.download-btn:hover{
    background:#09234a;
}

/* ==========================================
GLOBAL MOBILE RESPONSIVE FIXES
========================================== */

@media (max-width: 992px){

    /* NAV */

    .site-header{
        flex-wrap:wrap;
        gap:20px;
        padding:20px;
    }

    nav{
        width:100%;
        justify-content:center;
        flex-wrap:wrap;
        gap:18px;
    }

    /* HERO SECTIONS */

    .hero,
    .services-hero,
    .letters-hero-new,
    .trust-section,
    .contact-section,
    .about-intro-section,
    .about-values-section,
    .service-overview,
    .notice-directory-section{

        grid-template-columns:1fr !important;

        gap:40px;

        text-align:center;
    }

    .hero-text,
    .services-hero p,
    .directory-left p{
        max-width:100%;
        margin:auto;
    }

    .services-hero-content{
        width:100%;
        max-width:none;
        min-height:auto;
    }

    /* BUTTONS */

    .hero-buttons,
    .services-hero-buttons,
    .cta-buttons{

        justify-content:center;

        flex-wrap:wrap;
    }

    /* GRIDS */

    .letter-grid,
    .process-grid,
    .steps-grid,
    .mission-section,
    .featured-services,
    .directory-right,
    .dashboard-grid,
    .dashboard-stats{

        grid-template-columns:repeat(2,1fr);
    }

    /* SERVICE DETAIL */

    .services-detail-grid{
        grid-template-columns:1fr !important;
    }

    .detail-service-card:first-child{
        grid-column:span 1;
    }

    /* HERO IMAGE CARDS */

    .hero-image-card,
    .portrait-placeholder,
    .support-card{

        width:100%;
        max-width:500px;

        margin:auto;
    }

    .hero-side-card{
        position:relative;
        right:auto;
        top:auto;
        transform:none;

        width:100%;

        margin-top:20px;
    }

    /* CTA */

    .cta-section,
    .about-cta-section,
    .letters-bottom-cta{

        grid-template-columns:1fr;

        text-align:center;
    }

}


@media (max-width:768px){

    /* HEADINGS */

    h1{
        line-height:1.1;
    }

    .hero h1,
    .letters-hero-content h1,
    .services-hero h1{

        font-size:clamp(2.2rem,8vw,3rem);
    }

    /* ALL GRIDS SINGLE COLUMN */

    .letter-grid,
    .process-grid,
    .steps-grid,
    .mission-section,
    .featured-services,
    .directory-right,
    .dashboard-grid,
    .dashboard-stats,
    .accreditation-grid,
    .values-grid{

        grid-template-columns:1fr;
    }

    /* SERVICES CARDS */

    .detail-service-card{
        height:auto;
        min-height:220px;
    }

    /* FORMS */

    .form-row,
    .form-grid{
        grid-template-columns:1fr;
    }

    /* PADDING */

    section,
    .hero,
    .services-hero,
    .letters-hero-new,
    .about-hero,
    .contact-hero,
    .quiz-hero{

        padding-left:20px;
        padding-right:20px;
    }

    .letters-bottom-cta{
        grid-template-columns:1fr;
        text-align:center;
    }

    .bottom-cta-content{
        flex-direction:column;
    }

    .cta-buttons{
        justify-self:center;
    }

}

.dashboard-actions{

display:flex;

gap:15px;

margin:20px 0;

flex-wrap:wrap;

}

.contact-info{

display:flex;

flex-direction:column;

min-height:100%;

}

.contact-hours-card{

margin-top:auto;

margin-left:0;

margin-right:auto;

width:100%;

max-width:360px;

background:white;

padding:28px;

border-radius:22px;

border-top:5px solid #d8b233;

box-shadow:
0 12px 30px rgba(15,23,42,.08);

margin-top:35px;

}

.hours-logo{

text-align:center;

margin-bottom:18px;

}

.hours-logo img{

max-width:120px;

height:auto;

}



.contact-hours-card{

margin-top:55px;

/* width control */
width:85%;
max-width:320px;

/* center under What to Include */
margin-left:auto;
margin-right:auto;

background:white;

padding:30px;

border-radius:22px;

border-top:5px solid #d8b233;

box-shadow:
0 12px 30px rgba(15,23,42,.08);

}

.contact-hours-card h3{

margin-bottom:22px;

color:#071120;

font-size:1.6rem;

text-align:center;

}

.contact-hours-card p{

margin-bottom:14px;

color:#475569;

line-height:1.6;

}




/* RESPONSIVE CONTACT HOURS */

@media (max-width:900px){

.contact-hours-card{

margin-top:25px;

padding:24px;

}

.hours-logo img{

max-width:120px;

max-height:90px;

}

}

@media (max-width:768px){

.contact-hours-card{

padding:22px;

border-radius:18px;

}

.contact-hours-card h3{

font-size:1.3rem;

}

.contact-hours-card p{

font-size:.95rem;

}

}

@media (max-width:600px){

.contact-hours-card{

padding:20px;

margin-top:20px;

}

.hours-logo img{

max-width:100px;

max-height:80px;

}

}

/* ==========================================
FINAL RESPONSIVE CLEANUP FIXES
========================================== */

/* Contact page: fix bullet/list alignment on mobile */
.contact-info-card ul,
.contact-info ul {
    padding-left: 0;
    margin-left: 0;
    list-style-position: inside;
}

.contact-info-card li,
.contact-info li {
    padding-left: 0;
    margin-left: 0;
}

/* If the bullets still look awkward, use this cleaner custom version */
@media (max-width: 768px) {
    .contact-info-card ul,
    .contact-info ul {
        list-style: none;
        padding-left: 0;
    }

    .contact-info-card li,
    .contact-info li {
        position: relative;
        padding-left: 24px;
        margin-bottom: 12px;
    }

    .contact-info-card li::before,
    .contact-info li::before {
        content: "•";
        position: absolute;
        left: 0;
        color: #d8b233;
        font-weight: 900;
    }
}

/* Services page: keep the three blue featured boxes equal height */
.featured-services {
    align-items: stretch;
}

.featured-service-card {
    height: 100%;
    min-height: 245px;

    display: flex;
    flex-direction: column;
}

.featured-service-card p {
    flex-grow: 1;
}

/* Tablet: keep the blue boxes equal when wrapping */
@media (max-width: 1000px) {
    .featured-services {
        grid-template-columns: repeat(3, 1fr);
        align-items: stretch;
    }

    .featured-service-card {
        min-height: 260px;
    }
}

/* Smaller tablet: switch to one column cleanly */
@media (max-width: 800px) {
    .featured-services {
        grid-template-columns: 1fr;
    }

    .featured-service-card {
        min-height: auto;
    }
}

.contact-address-section{
    margin-top:30px;
    padding:20px;
    border-radius:12px;
    background:#f8f9fb;
}

.address-row{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:15px;
}

.form-group{
    display:flex;
    flex-direction:column;
    margin-bottom:15px;
}

.form-group input {
    width: 100%;
}


/* TABLETS */
@media (max-width:992px){

    .address-row{
        grid-template-columns:repeat(2,1fr);
    }

}

/* PHONES */
@media (max-width:768px){

    .address-row{
        grid-template-columns:1fr;
    }

    .contact-address-section{
        padding:15px;
    }

}

/* SMALL PHONES */
@media (max-width:480px){

    .contact-address-section{
        padding:12px;
    }

    input{
        width:100%;
        font-size:16px;
    }

}

.consent-box {
    margin-top: 18px;
}

.checkbox-line {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.95rem;
    line-height: 1.5;
    font-weight: 500;
}

.checkbox-line input[type="checkbox"] {
    width: auto;
    margin-top: 5px;
    flex-shrink: 0;
}

.checkbox-line span {
    display: block;
}

.consent-box .checkbox-line {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-weight: 700;
    line-height: 1.5;
}

.consent-box .checkbox-line input[type="checkbox"] {
    width: 18px !important;
    height: 18px;
    margin-top: 4px;
    flex: 0 0 18px;
}

.consent-box .checkbox-line span {
    display: block;
}

.consent-row {
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start !important;
    gap: 12px;
    margin: 20px 0;
}

.consent-row input[type="checkbox"] {
    width: 18px !important;
    height: 18px !important;
    min-width: 18px;
    margin-top: 5px;
    flex: 0 0 18px;
}

.consent-row label {
    display: inline-block !important;
    width: auto !important;
    margin: 0 !important;
    font-weight: 700;
    line-height: 1.5;
}

.consent-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 15px;
}

.consent-row input[type="checkbox"] {
    width: auto !important;
    min-width: 18px;
    max-width: 18px;
    height: 18px;
    padding: 0 !important;
    margin-top: 4px;
    flex-shrink: 0;
}

.consent-row label {
    display: inline;
    font-weight: 400;
    margin: 0;
    line-height: 1.5;
}

.crm-intake-form h3 {
    margin-top: 35px;
    padding-top: 20px;
    border-top: 1px solid #e5e7eb;
}

.crm-intake-form h3:first-of-type {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.crm-intake-form label {
    display: block;
    margin: 10px 0;
}

.crm-intake-form .btn-primary {
    margin-top: 30px;
    width: 100%;
    padding: 14px 18px;
    font-size: 1rem;
}

.contacts-filters {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.contacts-filters select {
    padding: 12px 16px;
    border-radius: 10px;
    border: 1px solid #d1d5db;
    min-width: 220px;
    font-size: 15px;
}

.notes-btn {
    white-space: nowrap;
}

.contact-name {
    white-space: nowrap;
    min-width: 140px;
}

.date-export-filter {
    display: flex;
    gap: 12px;
    align-items: center;
    margin: 15px 0;
    flex-wrap: wrap;
}

.date-export-filter input[type="date"] {
    padding: 10px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
}

.date-export-filter .btn-primary {
    margin: 0;
}

.crm-intake-form h3 {
    margin-top: 35px;
    padding-top: 20px;
    border-top: 1px solid #e5e7eb;
}

.crm-intake-form h3:first-of-type {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.admin-card h2 {
    margin-bottom: 20px;
}

.admin-card hr {
    margin: 35px 0;
}

.status-form,
.note-card,
.admin-footer-actions {
    margin-top: 30px;
}

.notes-section {
    margin-top: 35px;
    margin-bottom: 35px;
}

.admin-footer-actions {
    display: flex;
    gap: 16px;
    align-items: center;
    margin-top: 30px;
    margin-bottom: 40px;
}

.print-client-btn,
.back-contacts-btn {
    min-width: 180px;
    text-align: center;
}

.print-client-btn,
.back-contacts-btn,
.btn-primary,
.notes-btn,
.view-btn,
.delete-btn {

    min-width: 200px;
    height: 54px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    font-size: 1rem;
    font-weight: 700;

    border-radius: 12px;
    text-decoration: none;
}

.print-client-btn {
    background: #d8b233;
    color: #071120;
}

.back-contacts-btn {
    background: #071120;
    color: white;
}

/* ===================================
ADMIN BUTTON STANDARDS
=================================== */

.btn-primary,
.notes-btn,
.view-btn,
.archive-btn,
.unarchive-btn,
.print-client-btn,
.back-contacts-btn {

    min-width: 120px;
    height: 54px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 0 24px;

    border-radius: 12px;

    font-size: 1rem;
    font-weight: 700;

    text-decoration: none;
    cursor: pointer;
}

/* ===================================
ADMIN BUTTON STANDARDS save update export
=================================== */

.btn-primary,
.print-client-btn {

    background: #d4af37;
    color: #071120;
}

/* ===================================
ADMIN BUTTON STANDARDS nav/view
=================================== */
.view-btn,
.back-contacts-btn {

    background: #071120;
    color: #ffffff;
}

/* ===================================
ADMIN BUTTON STANDARDS archive
=================================== */

.archive-btn {

    background: #64748b;
    color: white;
}

/* ===================================
ADMIN BUTTON STANDARDS restore
=================================== */
.unarchive-btn {

    background: #16a34a;
    color: white;
}

/* ===================================
ADMIN BUTTON STANDARDS Notes
=================================== */
.notes-btn {

    background: #d4af37;
    color: #071120;
}

/* ===================================
ADMIN BUTTON STANDARDS contact actions (notes, view, archive)
=================================== */
.contact-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}

.contact-actions .archive-btn,
.contact-actions .unarchive-btn,
.contact-actions .view-btn {
    min-width: 90px;
    height: 44px;
    padding: 0 16px;
    font-size: 0.95rem;
    font-weight: 700;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

/* CONTACT ACTION BUTTONS */

.contact-actions{
    display:flex;
    flex-direction:column;
    gap:10px;
    align-items:center;
}

.contact-actions .archive-btn,
.contact-actions .unarchive-btn,
.contact-actions .view-btn{

    width:90px;
    height:50px;

    display:flex;
    align-items:center;
    justify-content:center;

    border-radius:12px;

    font-size:1rem;
    font-weight:700;

    text-decoration:none;
}

.contact-name{
    min-width:140px;
    white-space:normal;
    line-height:1.4;
}

.attachment-yes{
    color:#16a34a;
    font-weight:700;
}

.attachment-no{
    color:#94a3b8;
}

.contacts-table td {
    white-space: nowrap;
}

.contacts-table td:nth-child(5) {
    white-space: normal;
}

.admin-content{
    padding:25px;
}

.admin-card{
    padding:10px;
}

.contact-actions{
    width:110px;
}

/*Dashboard stats cleanup*/
.dashboard-stats{
    grid-template-columns: repeat(3, 1fr);
}

.chart-card {
    padding: 28px;
}

.chart-row {
    margin-bottom: 22px;
}

.chart-row:last-child {
    margin-bottom: 0;
}

.chart-label {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-weight: 700;
}

.chart-label span {
    color: #d8b233;
}

.chart-bar-bg {
    width: 100%;
    height: 16px;
    background: #e2e8f0;
    border-radius: 999px;
    overflow: hidden;
}

.chart-bar-fill {
    height: 100%;
    background: #d8b233;
    border-radius: 999px;
}

.admin-table .view-btn,
.admin-table .delete-btn {
    min-width: 60px;
    width: 60px;
    height: 34px;
    padding: 0;
    font-size: 12px;
}

.contact-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
}

.contact-actions a,
.contact-actions button {
    width: 90px;
    height: 38px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.contact-actions .archive-btn,
.contact-actions .unarchive-btn,
.contact-actions .view-btn,
.contact-actions .delete-btn {
    width: 90px !important;
    min-width: 90px !important;
    height: 38px !important;
    padding: 0 !important;
    font-size: 14px !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    margin: 0 !important;
}

@media (max-width:700px){

.notice-row{

    grid-template-columns:52px 1fr;

    gap:14px;

    padding:18px;

    min-height:auto;

    height:auto;

}

.notice-row h3{

    font-size:1.35rem;

    margin-bottom:8px;

}

.notice-row p{

    line-height:1.6;

}

.notice-icon{

    width:48px;
    height:48px;

    font-size:1rem;

}

}

.floating-help{
    padding:10px 14px;
    font-size:.8rem;
    right:10px;
    bottom:10px;
}

.trust-row span {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-align: center;
}

.trust-row i {
    color: #d8b233;
    font-size: 1rem;
    flex-shrink: 0;
}

@media (max-width: 700px) {
    .trust-row {
        display: grid;
        grid-template-columns: 1fr;
        gap: 12px;
        justify-items: center;
    }
}

@media (max-width: 700px) {

    .hero {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .hero-visual {
        width: 100%;
    }

    .support-card {
        width: 100%;
        max-width: 100%;
        min-height: auto;
        padding: 28px 22px;
    }

    .support-card h3 {
        font-size: 2rem;
        line-height: 1.2;
    }

    .support-icon {
        margin: 0 auto 24px;
    }
}

@media (max-width: 480px) {
    .floating-help {
        display: none;
    }
}

/* ---------- FINAL MOBILE SERVICES / CTA FIXES ---------- */

@media (max-width: 700px) {

    .services-detail-grid,
    .services-cta-grid,
    .cta-grid {
        grid-template-columns: 1fr !important;
        width: 100%;
        max-width: 100%;
    }

    .detail-service-card,
    .service-cta-card,
    .quick-review-card,
    .contact-cta-card {
        width: 100%;
        max-width: 100%;
        height: auto;
        min-height: auto;
        padding: 32px 26px;
        box-sizing: border-box;
    }

    .service-cta-card h2,
    .quick-review-card h2,
    .contact-cta-card h2 {
        font-size: 1.85rem;
        line-height: 1.25;
    }

    .service-cta-card .btn,
    .quick-review-card .btn,
    .contact-cta-card .btn {
        width: 100%;
        max-width: 260px;
        text-align: center;
    }
}

@media (max-width: 700px) {
    .trust-section {
        display: grid;
        grid-template-columns: 1fr;
        text-align: center;
        gap: 28px;
    }
    
    .testimonial-arrow {
        display: none !important;
    }

    .testimonial-carousel {
        max-width: 100%;
        margin: 0 auto;
    }
    
  

    .stats {
        text-align: center;
    }

    .stats div {
        margin-bottom: 26px;
    }

    .floating-help {
        display: none;
    }
}

/* SERVICES PAGE - HELP CHOICE MOBILE FIX */

@media (max-width: 700px) {
    .help-choice-section {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 24px;
        padding: 40px 7%;
        overflow: hidden;
    }

    .choice-card {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        box-sizing: border-box;
        padding: 36px 28px !important;
    }

    .choice-card h2,
    .choice-card p {
        max-width: 100%;
        overflow-wrap: break-word;
    }

    .choice-card .btn {
        width: 100%;
        max-width: 260px;
        min-width: 0;
        text-align: center;
    }
}
