:root {
    --primary-color: #4a5d4e;
    --secondary-color: #f9f7f2;
    --accent-color: #8da491;
    --text-color: #2c2c2c;
    --text-light: #555;
    --white: #ffffff;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    --transition: all 0.3s ease;
}

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

:focus-visible {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

html {
    overflow-y: scroll;
    -webkit-overflow-scrolling: touch;
}

body {
    background-color: var(--secondary-color);
    color: var(--text-color);
    font-family: var(--font-body);
    line-height: 1.6;
    margin: 0;
    padding: 0;
    position: relative;
    width: 100%;
    overflow-x: hidden;
    padding-top: 105px;
    /* Offset for fixed header */
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: 80px 0;
}

/* Top Bar */
.top-bar {
    background: var(--primary-color);
    color: var(--white);
    padding: 0.5rem 0;
    font-size: 0.85rem;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1200;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-contact {
    display: flex;
    gap: 2rem;
}

.top-contact a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.top-socials {
    display: flex;
    gap: 1.2rem;
}

.top-socials a {
    color: var(--white);
    transition: var(--transition);
    font-size: 1rem;
}

.top-socials a:hover {
    color: var(--accent-color);
}

/* Header & Nav */
.site-header {
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 38px;
    /* Height of top-bar */
    left: 0;
    z-index: 1100;
    background: rgba(249, 247, 242, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

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

.logo {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 700;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--accent-color);
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary-color);
    background: none;
    border: none;
    padding: 0.5rem;
    z-index: 1001;
    -webkit-tap-highlight-color: transparent;
}

/* Hero */
.hero {
    height: 80vh;
    display: flex;
    align-items: center;
    background: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.2)),
        url('hero-bg.jpg') center/cover;
}

.hero-content {
    max-width: 650px;
    background: rgba(255, 255, 255, 0.9);
    padding: 3.5rem;
    border-left: 5px solid var(--accent-color);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.hero-subtitle {
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.85rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
    display: block;
}

h1 {
    font-family: var(--font-heading);
    font-size: 3rem;
    line-height: 1.2;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.hero-content p {
    margin-bottom: 2rem;
}

/* Grid Layouts */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: flex-start;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    box-shadow: 10px 10px 0 var(--accent-color);
    display: block;
    margin-right: 15px;
    margin-bottom: 15px;
}

h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

/* About Tabs Expansion */
.about-tabs {
    margin-top: 3rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.about-tab.span-2 {
    grid-column: span 2;
}

@media (max-width: 600px) {
    .about-tab.span-2 {
        grid-column: span 1;
    }
}

.about-tab h2 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--primary-color);
    border-bottom: 1px solid var(--accent-color);
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.about-tab ul {
    list-style: none;
    font-size: 0.9rem;
}

.about-tab li {
    margin-bottom: 0.6rem;
    position: relative;
    padding-left: 1.2rem;
}

.about-tab li::before {
    content: "•";
    color: var(--accent-color);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Services */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--white);
    padding: 3rem 2rem;
    text-align: center;
    transition: var(--transition);
    border-bottom: 3px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    border-bottom-color: var(--accent-color);
}

.service-card i {
    color: var(--accent-color);
    margin-bottom: 1.5rem;
}

/* Pricing */
.pricing-banner {
    background: #f0f2ef;
    padding: 60px 0;
}

.pricing-card {
    display: flex;
    justify-content: space-around;
    background: var(--white);
    padding: 2.5rem;
    border-radius: 4px;
    flex-wrap: wrap;
    gap: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.pricing-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.pricing-item i {
    font-size: 1.8rem;
    color: var(--accent-color);
}

.pricing-item strong {
    display: block;
    font-size: 0.8rem;
    color: var(--text-light);
    text-transform: uppercase;
}

.pricing-item span {
    font-size: 1.2rem;
    color: var(--primary-color);
    font-weight: 600;
}

/* Contact Section (Dark) */
.contact-section {
    background: var(--primary-color);
    color: var(--white);
}

.contact-section h2 {
    color: var(--white);
}

.contact-section .contact-item i {
    color: var(--white);
}

.contact-section .contact-item a {
    color: var(--white);
}

/* Contact Info (General) */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-item i {
    color: var(--accent-color);
}

.contact-item a {
    color: inherit;
    text-decoration: none;
}

/* Registration Box Upgrade */
.registration-box {
    margin-bottom: 3rem;
    width: 100%;
}

.registration-box p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.registration-btn {
    background: var(--accent-color) !important;
    display: flex !important;
    align-items: center;
    gap: 0.8rem;
    justify-content: center;
    color: white !important;
}

/* Contact Form */
.contact-form-container {
    background: rgba(0, 0, 0, 0.05);
    padding: 2.5rem;
    border-radius: 4px;
    width: 100%;
}

.contact-section .contact-form-container {
    background: rgba(255, 255, 255, 0.08);
}

input,
textarea {
    width: 100%;
    padding: 1rem;
    margin-bottom: 1rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    display: block;
}

/* Helplines */
.helplines {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #eee;
}

.contact-section .helplines {
    border-top-color: rgba(255, 255, 255, 0.1);
}

.helplines h3 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.helplines ul {
    list-style: none;
    padding: 0;
}

.helplines li {
    margin-bottom: 0.6rem;
    font-size: 0.95rem;
}

.helplines a {
    color: var(--primary-color);
    font-weight: 600;
}

.contact-section .helplines a {
    color: var(--white);
}

/* Utility */
.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-align: center;
}

.cta-button:hover {
    background: var(--accent-color);
}

.secondary-link {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid var(--accent-color);
}

.external-link {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: var(--accent-color);
}

/* Articles */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.article-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.article-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.article-image {
    width: 100%;
    height: 220px;
    background-color: #e8ede9;
    background-size: cover;
    background-position: center;
    position: relative;
}

.article-image i {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--accent-color);
    opacity: 0.5;
}

.article-info {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.article-tag {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent-color);
    font-weight: 700;
    margin-bottom: 0.8rem;
    display: block;
}

.article-info h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.article-info p {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.read-more {
    margin-top: auto;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.read-more::after {
    content: '→';
    transition: var(--transition);
}

.article-card:hover .read-more::after {
    transform: translateX(5px);
}

.articles-placeholder {
    padding: 80px 20px;
    text-align: center;
    border: 2px dashed #ddd;
    border-radius: 10px;
    background: var(--white);
}

.placeholder-content i {
    color: #ddd;
    margin-bottom: 1.5rem;
}

/* Animations */
.animate {
    opacity: 0;
    transform: translateY(20px);
    transition: 0.8s ease;
}

.animate-active {
    opacity: 1;
    transform: translateY(0);
}

footer {
    padding: 3rem 0;
    background: #3a4a3e;
    color: rgba(255, 255, 255, 0.6);
    text-align: center;
    font-size: 0.9rem;
}

/* Floating Contact Button */
.floating-contact {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 999;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background-color: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    padding: 0.85rem 1.5rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 20px rgba(74, 93, 78, 0.45);
    transition: var(--transition);
}

.floating-contact:hover {
    background-color: var(--accent-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(74, 93, 78, 0.5);
}

/* Mobile menu overlay */
.nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 998;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.nav-overlay.active {
    display: block;
    opacity: 1;
}

/* Audit Step 2 Utility Classes */
.page-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.section-padding {
    padding-top: 50px;
}

.section-padding-large {
    padding: 100px 2rem;
}

.min-h-60 {
    min-height: 60vh;
}

.mb-1 {
    margin-bottom: 1rem;
}

.mb-2 {
    margin-bottom: 2rem;
}

.mb-4 {
    margin-bottom: 4rem;
}

.mt-1 {
    margin-top: 1rem;
}

.text-small {
    font-size: 0.9rem;
}

.form-status-box {
    margin-top: 1rem;
    text-align: center;
    display: none;
    padding: 1rem;
    border-radius: 4px;
}

.w-full {
    width: 100%;
}

.flex-center {
    align-items: center;
}

.text-right {
    text-align: right;
}

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

.accent-bg {
    background: var(--accent-color);
    color: white;
}



.text-dim {
    color: rgba(255, 255, 255, 0.8);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@media (max-width: 968px) {
    .menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .nav-links {
        display: flex;
        /* Always flex but hidden via transform/visibility */
        visibility: hidden;
        position: fixed;
        top: 0;
        right: 0;
        width: 280px;
        height: 100vh;
        background: var(--secondary-color);
        flex-direction: column;
        padding: 5rem 2rem 2rem;
        gap: 0;
        z-index: 999;
        box-shadow: -5px 0 30px rgba(0, 0, 0, 0.15);
        transform: translateX(100%);
        transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.35s;
    }

    .nav-links.active {
        visibility: visible;
        transform: translateX(0);
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links a {
        display: block;
        padding: 1rem 0;
        font-size: 1rem;
        border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    }

    .nav-links a:hover,
    .nav-links a.active {
        color: var(--accent-color);
        padding-left: 0.5rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .about-image img {
        box-shadow: 8px 8px 0 var(--accent-color);
        margin-bottom: 20px;
    }

    .hero-content {
        padding: 2rem;
    }

    h1 {
        font-size: 2.2rem;
    }

    .pricing-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .floating-contact span {
        display: none;
    }

    .floating-contact {
        padding: 1rem;
        border-radius: 50%;
        width: 52px;
        height: 52px;
        justify-content: center;
    }

    .top-contact {
        flex-direction: column;
        gap: 0.3rem;
    }

    .top-bar {
        font-size: 0.75rem;
    }

    .site-header {
        top: 54px;
        /* Mobile height of top-bar */
    }

    body {
        padding-top: 120px;
        /* Mobile offset */
    }

    h2 {
        font-size: 2rem;
    }

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

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

    .container {
        padding: 0 1.5rem;
    }

    section {
        padding: 60px 0;
    }
}