/* ========== Root & Global ========== */
:root {
    --navy: #0A1F44;
    --teal: #0097A7;
    --soft-bg: #F3F5F7;
    --slate: #4F5B66;
    --white: #FFFFFF;
    --gold: #E5B769;

    --radius-lg: 18px;
    --shadow-soft: 0 14px 35px rgba(10, 31, 68, 0.10);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Inter", sans-serif;
    background: var(--soft-bg);
    color: var(--slate);
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

.page-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

/* Container */
.container {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ========== Header & Navigation ========== */
header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 0;
    gap: 1.25rem;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

/* UPDATED: brand-logo for full-width logo instead of small circle */
.brand-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 75px;
}

.brand-logo img {
    height: 100px;
    width: auto;
    object-fit: contain;
}

/* Nav */
nav {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    font-size: 0.95rem;
}

.nav-links a {
    position: relative;
    font-weight: 500;
    color: var(--slate);
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 2px;
    background: var(--teal);
    border-radius: 999px;
    transition: width 0.18s ease-out;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-cta {
    display: inline-flex;
    padding: 0.5rem 0.9rem;
    border-radius: 999px;
    border: 1px solid rgba(0, 151, 167, 0.4);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--teal);
    background: rgba(0, 151, 167, 0.06);
}

/* Mobile nav toggle */
.nav-toggle {
    display: none;
    border: none;
    background: transparent;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    border-radius: 999px;
    background: var(--navy);
    margin: 3px 0;
}

/* ========== Sections & Layout ========== */
section {
    padding: 3rem 0;
}

@media (min-width: 900px) {
    section {
        padding: 4rem 0;
    }
}

.section-heading {
    font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 1.7rem;
    color: var(--navy);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.section-subtitle {
    font-size: 0.98rem;
    color: var(--slate);
    margin-bottom: 1.5rem;
    max-width: 40rem;
}

/* Cards / Panels */
.card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 1.75rem 1.5rem;
    box-shadow: var(--shadow-soft);
}

.card + .card {
    margin-top: 1.5rem;
}

.grid-2 {
    display: grid;
    gap: 1.8rem;
}

@media (min-width: 900px) {
    .grid-2 {
        grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
        align-items: start;
    }
}

/* Buttons */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 1.4rem;
    border-radius: 999px;
    border: none;
    background: linear-gradient(135deg, var(--teal), #18c2c9);
    color: var(--white);
    font-family: "Poppins", system-ui;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(0, 151, 167, 0.35);
    transition: transform 0.1s ease-out, box-shadow 0.1s ease-out, opacity 0.1s ease-out;
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 28px rgba(0, 151, 167, 0.4);
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 6px 16px rgba(0, 151, 167, 0.35);
    opacity: 0.95;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.2rem;
    border-radius: 999px;
    border: none;
    background: linear-gradient(135deg, var(--teal), #18c2c9);
    font-family: "Poppins", system-ui;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--white);
    cursor: pointer;
}

/* Buttons Row */
.btn-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.4rem;
}

/* ========== Hero (Home) ========== */
.hero {
    padding-top: 3rem;
}

.hero-inner {
    display: grid;
    gap: 2.5rem;
}

@media (min-width: 900px) {
    .hero-inner {
        grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
        align-items: center;
    }
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.2rem 0.7rem;
    border-radius: 999px;
    border: 1px solid rgba(10, 31, 68, 0.18);
    background: var(--white);
    font-size: 0.78rem;
    margin-bottom: 1rem;
}

.hero-title {
    font-family: "Poppins", system-ui;
    font-size: 2rem;
    line-height: 1.15;
    color: var(--navy);
    margin-bottom: 0.7rem;
}

.hero-title span.highlight {
    color: var(--teal);
}

.hero-subtitle {
    font-size: 1rem;
    color: var(--slate);
    max-width: 34rem;
    margin-bottom: 1rem;
}

.hero-list {
    list-style: none;
    margin-top: 0.6rem;
}

.hero-list li {
    padding-left: 1.2rem;
    position: relative;
    font-size: 0.92rem;
    margin-bottom: 0.25rem;
}

.hero-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    top: 0.1rem;
    color: var(--teal);
}

/* UPDATED: Hero side is now a neutral container for two cards */
.hero-side {
    background: transparent;
    padding: 0;
    box-shadow: none;
    border-radius: 0;
}

.hero-side .card + .card {
    margin-top: 1rem;
}

/* ========== Services Cards ========== */
.service-grid {
    display: grid;
    gap: 1.6rem;
}

@media (min-width: 900px) {
    .service-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.service-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 1.6rem 1.4rem;
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.service-card h3 {
    font-family: "Poppins", system-ui;
    font-size: 1.1rem;
    color: var(--navy);
    margin-bottom: 0.4rem;
}

.service-card p {
    font-size: 0.92rem;
    margin-bottom: 0.5rem;
}

.service-card ul {
    list-style: none;
    margin: 0.5rem 0 1rem;
}

.service-card li {
    font-size: 0.88rem;
    padding-left: 1rem;
    position: relative;
    margin-bottom: 0.25rem;
}

.service-card li::before {
    content: "–";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--teal);
}

.service-card .service-footer {
    margin-top: 0.75rem;
}

/* Process steps */
.process-steps {
    display: grid;
    gap: 1.1rem;
    margin-top: 1.4rem;
}

.process-step {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
}

.process-number {
    width: 26px;
    height: 26px;
    border-radius: 999px;
    border: 1px solid rgba(10, 31, 68, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--navy);
    background: #f8fafc;
    flex-shrink: 0;
}

.process-body h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 0.1rem;
}

.process-body p {
    font-size: 0.9rem;
}

/* ========== About Page ========== */
.about-text p {
    font-size: 0.95rem;
    margin-bottom: 0.8rem;
}

/* NEW: Profile circle */
.profile-circle {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 1.2rem auto;
    display: block;
}

/* Values */
.values-grid {
    display: grid;
    gap: 1rem;
    margin-top: 1.1rem;
}

@media (min-width: 700px) {
    .values-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.value-pill {
    background: var(--white);
    border-radius: 999px;
    padding: 0.6rem 0.9rem;
    text-align: center;
    font-size: 0.86rem;
    color: var(--navy);
    box-shadow: var(--shadow-soft);
}

/* QBO Certification Section */
.qbo-specialization {
    margin-top: 2.2rem;
}

.qbo-specialization h3 {
    font-family: "Poppins", system-ui;
    font-size: 1.3rem;
    color: var(--navy);
    margin-bottom: 0.4rem;
}

.qbo-specialization p {
    font-size: 0.94rem;
    margin-bottom: 0.5rem;
}

.qbo-certification {
    text-align: center;
    margin: 2.5rem 0 1rem;
}

.qbo-certification h3 {
    font-family: "Poppins", system-ui;
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 0.3rem;
}

.qbo-certification p {
    font-family: "Inter", system-ui;
    color: var(--slate);
    margin-bottom: 1.3rem;
    font-size: 0.95rem;
}

.badge-row {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

/* Services page badges */
.qbo-service-badges {
    display: flex;
    justify-content: center;
    gap: 1.25rem;
    margin: 0.75rem 0 1.5rem;
}

.powered-by {
    text-align: center;
    font-size: 0.9rem;
    color: var(--slate);
    margin-top: 0.4rem;
}

/* Testimonials */
.testimonial {
    font-size: 0.94rem;
    font-style: italic;
    margin-bottom: 0.5rem;
}

.testimonial-name {
    font-size: 0.86rem;
    color: var(--slate);
}

/* FAQ */
.faq-list {
    margin-top: 1rem;
}

.faq-item + .faq-item {
    margin-top: 1rem;
}

.faq-question {
    font-weight: 600;
    color: var(--navy);
    font-size: 0.98rem;
    margin-bottom: 0.2rem;
}

.faq-answer {
    font-size: 0.92rem;
}

/* ========== Contact Page ========== */
.contact-grid {
    display: grid;
    gap: 1.8rem;
}

@media (min-width: 900px) {
    .contact-grid {
        grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
        align-items: flex-start;
    }
}

form {
    display: grid;
    gap: 0.9rem;
}

.field-group {
    display: grid;
    gap: 0.35rem;
}

label {
    font-size: 0.86rem;
    font-weight: 600;
    color: var(--navy);
}

input,
textarea {
    border-radius: 10px;
    border: 1px solid rgba(15, 23, 42, 0.18);
    padding: 0.6rem 0.7rem;
    font-size: 0.94rem;
    font-family: inherit;
    outline: none;
    background: #f9fafb;
}

textarea {
    resize: vertical;
    min-height: 110px;
}

input:focus,
textarea:focus {
    border-color: var(--teal);
    box-shadow: 0 0 0 1px rgba(0, 151, 167, 0.35);
    background: var(--white);
}

.contact-info p {
    font-size: .94rem;
    margin-bottom: 0.45rem;
}

.contact-info strong {
    color: var(--navy);
}

/* Alerts for contact form */
.alert {
    border-radius: 12px;
    padding: 0.85rem 1rem;
    margin-bottom: 1.2rem;
    font-size: 0.9rem;
}

.alert-success {
    background: #ecfdf3;
    border: 1px solid #4ade80;
    color: #166534;
}

.alert-error {
    background: #fef2f2;
    border: 1px solid #fca5a5;
    color: #b91c1c;
}

/* Honeypot field */
.hp-field {
    position: absolute;
    left: -9999px;
    opacity: 0;
    height: 0;
    width: 0;
    overflow: hidden;
}

/* ========== Footer ========== */
footer {
    padding: 1.5rem 0 2rem;
    background: #0A1124;
    color: #e5e7eb;
    font-size: 0.82rem;
}

.footer-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: space-between;
    align-items: center;
}

/* ========== Responsive Nav ========== */
@media (max-width: 720px) {
    .nav-links {
        display: none;
        position: absolute;
        right: 1.5rem;
        top: 3rem;
        background: var(--white);
        border-radius: 14px;
        box-shadow: var(--shadow-soft);
        flex-direction: column;
        gap: 0.9rem;
        padding: 0.9rem 1rem;
        min-width: 180px;
    }

    .nav-links.open {
        display: flex;
    }

    .nav-cta {
        display: none;
    }

    .nav-toggle {
        display: inline-flex;
        flex-direction: column;
    }

    .hero {
        padding-top: 2.4rem;
    }

    .section-heading {
        font-size: 1.5rem;
    }
}