/**
 * -----------------------------------------------------------------------
 * @author     Lakshit Suthar
 * @copyright  (c) 2026 Lakshit Suthar. All rights reserved.
 * -----------------------------------------------------------------------
 *
 * AccTaxFin site styles. Loaded after the theme (style_update12.css and
 * responsive.css): shared tokens, the components the pages use, and the
 * fixes for what the theme got wrong (contrast, fixed heights, focus).
 * Replaces the inline style="" attributes the views used to carry.
 */

/* 1. Tokens ------------------------------------------------------------ */
:root {
    --c-sky: #6eb9e5;          /* theme accent (buttons, borders) */
    --c-blue: #5f7dbe;         /* headings */
    --c-blue-dark: #3f5c9e;    /* brand blue that passes AA on white */
    --c-navy: #223645;         /* headings, dark surfaces */
    --c-ink: #0f2a40;          /* text on the sky accent (6.8:1) */
    --c-text: #55667a;         /* body copy (5.6:1 on white) */
    --c-hero: #e1ecf0;         /* home hero background */
    --c-surface: #f4f9fc;      /* light sections */
    --c-line: #dfe7f1;         /* card borders */
    --c-field: #7d8fa6;        /* form field borders (3.2:1) */
    --c-error: #b42318;
    --c-error-bg: #fdecea;
    --c-success: #1d6b36;
    --c-success-bg: #e8f5ec;
    --radius: 6px;
    --shadow: 0 10px 28px rgba(34, 54, 69, .08);
    --section: clamp(60px, 8vw, 110px);
}

/* 2. Base and accessibility --------------------------------------------- */
body {
    color: var(--c-text);
    font-size: 16px;
    text-rendering: optimizeLegibility;
}

p,
.more-service-list li,
.card-body li {
    color: var(--c-text);
    font-size: 16px;
    line-height: 1.7;
}

a {
    color: var(--c-blue-dark);
}

a:hover,
a:focus {
    color: var(--c-navy);
}

img {
    height: auto;
}

.skip-link {
    position: absolute;
    left: 16px;
    top: -60px;
    z-index: 10000;
    padding: 12px 20px;
    background: var(--c-navy);
    color: #fff;
    font-weight: 600;
    border-radius: var(--radius);
    transition: top .2s;
}

.skip-link:focus {
    top: 12px;
    color: #fff;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
    outline: 3px solid var(--c-blue-dark);
    outline-offset: 2px;
}

main:focus {
    outline: none;
}

.section-pad {
    padding-top: var(--section);
    padding-bottom: var(--section);
}

.section-lead {
    max-width: 820px;
    margin: 0 auto 40px;
    text-align: center;
    font-size: 18px;
    color: var(--c-blue-dark);
}

/* Small label above a section heading (was an <h5> used only for its look). */
.eyebrow {
    margin-bottom: 10px;
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    font-weight: 500;
    color: var(--c-blue-dark);
}

/* Headings that used to be wrapped in <center>. */
.section-heading {
    text-align: center;
    margin-bottom: 30px;
}

/* 3. Buttons ----------------------------------------------------------- */
/* White on the sky accent was 2.2:1. Dark ink keeps the brand colour and reads at 6.8:1. */
.bt-btn,
a.bt-btn,
button.bt-btn {
    color: var(--c-ink);
    font-weight: 600;
}

.bt-btn:hover,
.bt-btn:focus,
a.bt-btn:hover,
a.bt-btn:focus {
    background: var(--c-navy);
    color: #fff;
}

.bt-btn[disabled],
.bt-btn[aria-busy="true"] {
    opacity: .7;
    cursor: progress;
}

/* 4. Header ------------------------------------------------------------ */
.top-bar a {
    color: var(--c-text);
}

.header-info span + span {
    margin-left: 20px;
}

.logo img {
    width: 250px;
    max-width: 100%;
}

/* Keyboard users get the Services dropdown too (the theme only opened it on hover). */
.header__menu ul li:focus-within > ul.submenu {
    opacity: 1;
    visibility: visible;
    top: 96%;
}

.header__menu ul li a[aria-current="page"] {
    color: var(--c-navy);
}

.mean-container a.meanmenu-reveal {
    min-width: 44px;
    min-height: 44px;
}

/* Below 992px meanmenu builds the phone menu from #mobile-menu. Until that
   script ran, the full desktop list showed and the header was ~275px tall; it
   then collapsed to ~85px and the whole page jumped (CLS 0.23 on every page,
   already on the old site). Hide the list from the first paint and reserve the
   bar's height. Only with JavaScript on, so the plain menu stays usable without it. */
@media (max-width: 991px) {
    .js .header__menu {
        display: none;
    }

    .js .header-menu-area .mobile-menu {
        min-height: 15px;
    }
}

/* 5. Home hero --------------------------------------------------------- */
.home-hero {
    background: var(--c-hero);
    padding: 90px 0;
}

.home-hero .hero-text-box {
    padding: 60px;
    box-shadow: var(--shadow);
}

.home-hero .hero-slider-caption .hero-title {
    font-size: 35px;
    line-height: 1.25;
    color: var(--c-blue);
    letter-spacing: 0;
    margin-bottom: 18px;
}

.home-hero .hero-text-box p {
    font-size: 17px;
    margin-bottom: 30px;
}

.hero-portrait {
    text-align: center;
}

.hero-portrait img {
    width: 100%;
    max-width: 380px;
    aspect-ratio: 489 / 627;
    box-shadow: var(--shadow);
}

.hero-portrait figcaption {
    margin-top: 12px;
    font-size: 15px;
    color: var(--c-navy);
    font-weight: 500;
}

/* 6. Inner page hero + breadcrumbs ------------------------------------- */
.page-hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 400px;
    padding: 110px 0 90px;
    background-color: var(--c-navy);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    text-align: center;
    color: #fff;
}

.page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, .7);
}

.page-hero > .container {
    position: relative;
    z-index: 1;
}

.page-hero h1 {
    color: #fff;
    font-size: 44px;
    line-height: 1.2;
    margin-bottom: 18px;
}

.page-hero .page-hero-lead {
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-size: 22px;
    font-weight: 500;
    margin-bottom: 12px;
}

.page-hero p {
    color: #e9eef3;
    font-size: 18px;
    max-width: 820px;
    margin: 0 auto;
}

.page-hero--light {
    min-height: 0;
    padding: 70px 0 60px;
    background-color: var(--c-surface);
    color: var(--c-navy);
}

.page-hero--light::before {
    display: none;
}

.page-hero--light h1 {
    color: var(--c-navy);
}

.page-hero--light p {
    color: var(--c-text);
}

.page-hero--accounting { background-image: url("../img/site/accounting-bookkeeping-services.webp"); }
.page-hero--payroll { background-image: url("../img/site/payroll-services.webp"); }
.page-hero--tax { background-image: url("../img/site/tax-planning-services.webp"); }
.page-hero--advisory { background-image: url("../img/site/business-advisory-services.webp"); }

.breadcrumbs ol {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    list-style: none;
    margin: 0 0 22px;
    padding: 0;
    font-size: 14px;
}

.breadcrumbs li {
    color: #dfe7ee;
}

.breadcrumbs li + li::before {
    content: "/";
    margin: 0 10px;
    opacity: .7;
}

.breadcrumbs a {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.breadcrumbs [aria-current="page"] {
    color: #fff;
    font-weight: 500;
}

.page-hero--light .breadcrumbs li,
.page-hero--light .breadcrumbs [aria-current="page"] {
    color: var(--c-text);
}

.page-hero--light .breadcrumbs a {
    color: var(--c-blue-dark);
}

/* 7. Service cards (home) ---------------------------------------------- */
/* The cards had fixed 300/340px heights: text overflowed at some widths and
   left big gaps at others. Equal heights now come from flexbox. */
.service-box-3 {
    width: 100%;
    background: #fff;
    box-shadow: var(--shadow);
}

.service-box-3 .service-content-box {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 0;
}

.service-box-3 .service-content {
    flex: 1 1 auto;
    padding: 36px 28px 24px;
}

.service-box-3 .service-content p {
    font-size: 15px;
}

.service-box-3 .service-link,
.service-box-3 a.service-link {
    color: var(--c-navy);
    font-weight: 600;
}

.service-box-3:hover .service-link,
.service-box-3 a.service-link:hover,
.service-box-3 a.service-link:focus {
    background: var(--c-sky);
    color: var(--c-ink);
}

/* 8. Lists and service details ----------------------------------------- */
.check-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.check-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 10px;
}

.check-list li::before {
    content: "\f00c";
    font-family: "Font Awesome 5 Pro";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 1px;
    font-size: 14px;
    color: var(--c-sky);
}

.detail-card {
    height: 100%;
    padding: 36px 32px;
    background: #fff;
    border: 1px solid var(--c-line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.detail-card h2,
.detail-card h3 {
    font-size: 22px;
    line-height: 1.3;
    color: var(--c-navy);
    margin-bottom: 20px;
}

.industry-list {
    columns: 2;
    column-gap: 30px;
}

.industry-list li {
    break-inside: avoid;
}

/* 9. Home accordion ---------------------------------------------------- */
.faq-right-box .btn-link {
    width: 100%;
    text-align: left;
    padding-right: 60px;
    color: var(--c-navy);
}

.faq-right-box .btn-link:focus {
    box-shadow: none;
}

.faq-right-box .card-body ul {
    padding-left: 18px;
    list-style: disc;
}

.faq-right-box .card-body li {
    font-size: 15px;
    margin-bottom: 6px;
}

/* 10. Testimonials ----------------------------------------------------- */
.review-area {
    background-image: url("../img/site/world-map-bg.webp");
    background-position: center;
    background-repeat: no-repeat;
}

.test-active .owl-stage {
    display: flex;
}

.test-active .owl-item {
    display: flex;
}

.review-box {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.review-box .members-text {
    flex: 1 1 auto;
}

.review-box .members-text p {
    font-size: 15px;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 20px;
}

.review-avatar {
    flex: 0 0 50px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--c-sky);
    color: var(--c-ink);
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}

.review-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.test-active .owl-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 30px;
}

.test-active .owl-dot {
    width: 32px;
    height: 32px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.test-active .owl-dot span {
    display: block;
    width: 12px;
    height: 12px;
    margin: 0 auto;
    border-radius: 50%;
    background: #b6c3d1;
    transition: background-color .2s, transform .2s;
}

.test-active .owl-dot.active span,
.test-active .owl-dot:hover span {
    background: var(--c-blue-dark);
    transform: scale(1.2);
}

.review-author h3 {
    font-size: 17px;
    margin: 0;
}

.review-author p {
    margin: 2px 0 0;
    font-size: 14px;
}

/* 11. About page ------------------------------------------------------- */
.about-intro {
    padding: 30px;
    background: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .08);
}

.about-intro p:last-child {
    margin-bottom: 0;
}

.about-subheading {
    text-align: center;
    color: var(--c-blue-dark);
    margin: 50px 0 25px;
}

.about-card {
    margin: 50px auto;
    padding: 40px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .1);
}

.about-card img {
    display: block;
    width: 100%;
    max-width: 600px;
    margin: 10px auto 30px;
    border-radius: var(--radius);
}

.about-card h2,
.about-card h3 {
    text-align: center;
}

.about-card h3 {
    color: var(--c-navy);
    font-size: 22px;
    margin: 40px 0 15px;
}

.feature-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.feature-list li {
    margin-bottom: 10px;
    padding: 12px 16px;
    background: #ecf0f1;
    border-radius: 5px;
    font-size: 16px;
    color: var(--c-navy);
}

.feature-list .fa,
.feature-list .fas,
.feature-list .far {
    width: 24px;
    margin-right: 8px;
    color: var(--c-blue-dark);
    text-align: center;
}

.team-member {
    padding: 30px 0;
    border-bottom: 1px solid var(--c-line);
}

.team-member:last-of-type {
    border-bottom: 0;
}

.team-member h3 {
    font-size: 22px;
    margin-bottom: 4px;
}

.team-member .team-role {
    color: var(--c-blue-dark);
    font-weight: 500;
    margin-bottom: 12px;
}

.team-photo {
    width: 100%;
    max-width: 220px;
    aspect-ratio: 200 / 270;
    object-fit: cover;
    margin-bottom: 15px;
    border-radius: var(--radius);
}

/* 12. Contact page ----------------------------------------------------- */
.contact-area .contact {
    height: calc(100% - 30px);
}

.contact-area .contact p {
    margin-bottom: 8px;
}

.form-alert {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    max-width: 760px;
    margin: 0 auto 30px;
    padding: 14px 18px;
    border-radius: var(--radius);
    font-size: 16px;
    text-align: left;
}

.form-alert--success {
    background: var(--c-success-bg);
    color: var(--c-success);
    border: 1px solid #b7dfc4;
}

.form-alert--error {
    background: var(--c-error-bg);
    color: var(--c-error);
    border: 1px solid #f3c2bd;
}

.form-note {
    text-align: center;
    margin-bottom: 25px;
    font-size: 15px;
}

.field-label {
    display: block;
    margin-bottom: 6px;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: var(--c-navy);
}

.field-label .req {
    color: var(--c-error);
    margin-left: 2px;
}

.contact-input input,
.contact-input select,
.contact-input textarea {
    display: block;
    width: 100%;
    border: 1px solid var(--c-field);
    border-radius: 4px;
    background-color: #fff;
    color: var(--c-navy);
    font-size: 16px; /* 16px stops iOS zooming into the field */
    transition: border-color .2s, box-shadow .2s;
}

.contact-input input,
.contact-input select {
    height: 58px;
    padding: 0 16px 0 52px;
}

.contact-input select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23223645' d='M1.4 0 6 4.6 10.6 0 12 1.4l-6 6-6-6z'/%3E%3C/svg%3E");
    background-position: right 18px center;
    background-repeat: no-repeat;
    padding-right: 44px;
    cursor: pointer;
}

.contact-input textarea {
    min-height: 180px;
    padding: 16px;
    resize: vertical;
}

/* The theme shows typed text and hints in spaced capitals ("NAME@EXAMPLE.COM"),
   which misrepresents what is being entered. Plain text here. */
.contact-form .contact-input input,
.contact-form .contact-input textarea {
    letter-spacing: normal;
    text-transform: none;
}

.contact-input input::placeholder,
.contact-input textarea::placeholder {
    color: #6b7b8f;
    letter-spacing: normal;
    text-transform: none;
}

.contact-input input:focus,
.contact-input select:focus,
.contact-input textarea:focus {
    border-color: var(--c-blue-dark);
    box-shadow: 0 0 0 3px rgba(63, 92, 158, .2);
    outline: none;
}

/* Icons sit inside the field; the label above moves them down. */
.contact-icon::before {
    top: 47px;
    left: 20px;
}

.contact-phone::before {
    content: "\f095";
}

.contact-subject::before {
    content: "\f249";
}

.contact-input .is-invalid {
    border-color: var(--c-error);
    background-color: #fffafa;
}

.field-error {
    display: block;
    margin-top: 6px;
    color: var(--c-error);
    font-size: 14px;
    line-height: 1.4;
}

.field-error::before {
    content: "\f06a";
    font-family: "Font Awesome 5 Pro";
    font-weight: 900;
    margin-right: 6px;
}

.recaptcha-field {
    min-height: 78px;
}

.recaptcha-field .g-recaptcha {
    display: inline-block;
}

.contact-btn .bt-btn {
    min-width: 240px;
}

/* 13. Resources -------------------------------------------------------- */
.resource-group {
    margin-bottom: 50px;
}

.resource-group h2 {
    font-size: 28px;
    margin-bottom: 8px;
}

.resource-group .resource-intro {
    margin-bottom: 25px;
}

.download-box {
    display: block;
    margin-bottom: 10px;
    padding: 16px 22px;
    border: 1px solid var(--c-line);
    border-radius: var(--radius);
    background: #fff;
    color: var(--c-navy);
    transition: border-color .2s, box-shadow .2s;
}

.download-box:hover,
.download-box:focus {
    border-color: var(--c-sky);
    box-shadow: var(--shadow);
    color: var(--c-navy);
}

.single-download-inner {
    display: flex;
    align-items: center;
    gap: 16px;
}

.single-download-inner img {
    flex: 0 0 auto;
}

.single-download-inner .fas {
    flex: 0 0 36px;
    font-size: 26px;
    text-align: center;
    color: var(--c-blue-dark);
}

.resource-note {
    font-size: 14px;
    color: var(--c-text);
}

/* 14. CTA + footer ----------------------------------------------------- */
.cta-area {
    background-color: var(--c-navy);
}

.cta-area .section-text h2 {
    color: #fff;
    font-size: 44px;
    line-height: 1.2;
}

.cta-area .section-text .cta-kicker {
    color: #b8c7d6;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.site-footer {
    background: var(--c-surface);
}

.footer-text p {
    color: var(--c-text);
}

.footer-contact h2 {
    color: var(--c-navy);
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
}

.footer-contact p {
    margin-bottom: 10px;
    color: #333;
}

.footer-contact .fas {
    width: 18px;
    margin-right: 8px;
    color: var(--c-blue-dark);
}

.footer-contact a {
    color: var(--c-blue-dark);
}

.footer-copyright p,
.footer-copyright a {
    color: var(--c-text);
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    min-height: 32px;
}

/* 15. Errors ----------------------------------------------------------- */
.error-page {
    padding: 120px 0;
    text-align: center;
}

.error-page .error-code {
    font-size: 96px;
    line-height: 1;
    color: var(--c-sky);
    font-weight: 700;
}

/* 16. Responsive ------------------------------------------------------- */
@media (max-width: 991px) {
    .home-hero {
        padding: 60px 0;
    }

    .home-hero .hero-text-box {
        padding: 40px;
        margin-bottom: 40px;
    }

    .hero-portrait img {
        max-width: 300px;
    }

    .page-hero h1,
    .cta-area .section-text h2 {
        font-size: 36px;
    }
}

@media (max-width: 767px) {
    .header-info span + span {
        margin-left: 0;
    }

    .home-hero .hero-text-box {
        padding: 30px 24px;
    }

    .home-hero .hero-slider-caption .hero-title {
        font-size: 30px;
    }

    .page-hero {
        min-height: 0;
        padding: 70px 0 60px;
    }

    .page-hero h1,
    .cta-area .section-text h2 {
        font-size: 30px;
    }

    .page-hero .page-hero-lead {
        font-size: 19px;
    }

    /* The theme's 35px h2 ran to five lines on phones. */
    .section-heading,
    .about-subheading,
    .section-title h2,
    .about-title h2 {
        font-size: 26px;
        line-height: 1.3;
    }

    .page-hero p {
        font-size: 16px;
    }

    .detail-card,
    .about-card {
        padding: 26px 20px;
    }

    .industry-list {
        columns: 1;
    }

    .faq-right-box .btn-link {
        padding: 16px 50px 16px 18px;
    }

    .faq-right-box .btn-link::before {
        right: 20px;
        top: 18px;
    }

    .faq-right-box .card-body {
        padding: 0 18px 18px;
    }

    .contact-btn .bt-btn {
        width: 100%;
        min-width: 0;
    }

    .footer-widget.pl-20 {
        padding-left: 0;
    }
}

@media (max-width: 400px) {
    .recaptcha-field .g-recaptcha {
        transform: scale(.9);
        transform-origin: 0 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        scroll-behavior: auto !important;
    }
}
