/* ===================================
   ACCOSYNC - Finance Operations Partner
   Color Scheme: Black (#000000) & Yellow (#FFD700)
   Typography: Avenir Next
   =================================== */

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-black: #000000;
    --primary-yellow: #FFD700;
    --dark-yellow: #E6C200;
    --light-yellow: #FFF9E6;
    --gray-dark: #1a1a1a;
    --gray-medium: #333333;
    --gray-light: #666666;
    --gray-lighter: #999999;
    --white: #ffffff;
    --section-padding: 80px 0;
    --transition: all 0.3s ease;
}

body {
    font-family: 'Avenir Next', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--primary-black);
    background-color: var(--white);
    overflow-x: hidden;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
    font-weight: 700;
}

h2 {
    font-size: 2.5rem;
    font-weight: 600;
}

h3 {
    font-size: 1.75rem;
    font-weight: 600;
}

h4 {
    font-size: 1.25rem;
    font-weight: 600;
}

p {
    margin-bottom: 1rem;
    color: var(--gray-light);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* Navigation */
.navbar {
    background-color: var(--primary-black);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

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

.logo h1 {
    color: var(--white);
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin: 0;
}

.logo-underline {
    width: 60px;
    height: 3px;
    background-color: var(--primary-yellow);
    margin-top: 5px;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-menu li a {
    color: var(--white);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
    padding: 0.5rem 0;
    border-bottom: 2px solid transparent;
}

.nav-menu li a:hover {
    color: var(--primary-yellow);
    border-bottom: 2px solid var(--primary-yellow);
}

.btn-cta {
    background-color: var(--primary-yellow);
    color: var(--primary-black);
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    font-weight: 600;
    border: 2px solid var(--primary-yellow);
}

.btn-cta:hover {
    background-color: transparent;
    color: var(--primary-yellow);
    border-bottom: 2px solid var(--primary-yellow);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--white);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-black) 0%, var(--gray-dark) 100%);
    color: var(--white);
    padding: 100px 0;
    text-align: center;
}

.hero-content {
    max-width: 1000px;
    margin: 0 auto;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    letter-spacing: 3px;
    margin-bottom: 1rem;
}

.hero-underline {
    width: 100px;
    height: 4px;
    background-color: var(--primary-yellow);
    margin: 0 auto 2rem;
}

.hero-tagline {
    font-size: 2rem;
    font-weight: 500;
    color: var(--primary-yellow);
    margin-bottom: 1rem;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--gray-lighter);
    margin-bottom: 3rem;
}

.hero-services {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    margin-top: 3rem;
}

.hero-service-item {
    text-align: center;
    flex: 0 1 150px;
}

.icon-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: var(--primary-yellow);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    transition: var(--transition);
}

.icon-circle i {
    font-size: 2rem;
    color: var(--primary-black);
}

.hero-service-item:hover .icon-circle {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.3);
}

.hero-service-item p {
    font-size: 0.9rem;
    color: var(--white);
    line-height: 1.4;
}

/* Section Titles */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary-black);
}

.section-underline {
    width: 80px;
    height: 4px;
    background-color: var(--primary-yellow);
    margin: 0 auto 2rem;
}

.section-description {
    text-align: center;
    font-size: 1.2rem;
    color: var(--gray-light);
    max-width: 800px;
    margin: 0 auto 3rem;
}

/* Challenge Section */
.challenge-section {
    padding: var(--section-padding);
    background-color: var(--white);
}

.challenge-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

.challenge-visual h3 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--primary-black);
}

.chart-container {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    min-height: 400px;
    position: relative;
}

.chart-container canvas {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: calc(100% - 4rem) !important;
    height: calc(100% - 4rem) !important;
}

.challenge-points {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.challenge-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.challenge-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.challenge-icon.yellow {
    background-color: var(--primary-yellow);
}

.challenge-icon i {
    font-size: 1.5rem;
    color: var(--primary-black);
}

.challenge-content h4 {
    color: var(--primary-black);
    margin-bottom: 0.5rem;
}

.challenge-content p {
    color: var(--gray-light);
    font-size: 0.95rem;
}

/* Solution Section */
.solution-section {
    padding: var(--section-padding);
    background: linear-gradient(135deg, var(--gray-dark) 0%, var(--primary-black) 100%);
    color: var(--white);
}

.solution-section .section-title,
.solution-section .section-description {
    color: var(--white);
}

.solution-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.solution-card {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 2.5rem 2rem;
    border-radius: 8px;
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
}

.solution-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-yellow);
    background-color: rgba(255, 215, 0, 0.1);
}

.solution-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: var(--primary-yellow);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.solution-icon i {
    font-size: 2rem;
    color: var(--primary-black);
}

.solution-card h3 {
    color: var(--white);
    margin-bottom: 0.75rem;
}

.solution-subtitle {
    color: var(--gray-lighter);
    font-size: 0.95rem;
}

.operating-model {
    margin-top: 4rem;
    text-align: center;
    padding: 2rem;
    background-color: rgba(255, 215, 0, 0.1);
    border-radius: 8px;
    border: 2px solid var(--primary-yellow);
}

.operating-model h3 {
    color: var(--primary-yellow);
    margin-bottom: 1rem;
}

.operating-model p {
    color: var(--white);
    font-size: 1.1rem;
}

/* Service Detail Sections */
.service-detail {
    padding: var(--section-padding);
    background-color: var(--white);
}

.service-detail.alt-bg {
    background-color: #f8f8f8;
}

.service-process {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin: 3rem 0;
    flex-wrap: wrap;
}

.process-step {
    text-align: center;
    position: relative;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--primary-yellow);
    color: var(--primary-black);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    margin: 0 auto 1rem;
}

.step-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: var(--primary-black);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.step-icon i {
    font-size: 2rem;
    color: var(--primary-yellow);
}

.process-step h4 {
    color: var(--primary-black);
}

.process-arrow {
    font-size: 2rem;
    color: var(--primary-yellow);
    font-weight: 700;
}

.service-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.service-detail-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: var(--transition);
}

.service-detail-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.card-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.card-icon.yellow {
    background-color: var(--primary-yellow);
}

.card-icon i {
    font-size: 1.5rem;
    color: var(--primary-black);
}

.service-detail-card h4 {
    color: var(--primary-black);
    margin-bottom: 0.75rem;
}

.service-detail-card p {
    color: var(--gray-light);
    font-size: 0.95rem;
}

/* Deliverables Box */
.deliverables-box {
    background: linear-gradient(135deg, var(--gray-dark) 0%, var(--primary-black) 100%);
    color: var(--white);
    padding: 3rem;
    border-radius: 8px;
    margin-top: 3rem;
}

.deliverables-box h3 {
    color: var(--primary-yellow);
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.deliverables-box ul {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.deliverables-box li {
    padding: 0.75rem 1rem;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    border-left: 3px solid var(--primary-yellow);
    color: var(--white);
}

.close-target {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background-color: var(--primary-yellow);
    color: var(--primary-black);
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
}

.close-target i {
    font-size: 1.3rem;
}

/* MIS Reporting */
.mis-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.metric-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    text-align: center;
}

.metric-card.highlight {
    background: linear-gradient(135deg, var(--primary-black) 0%, var(--gray-dark) 100%);
    color: var(--white);
    border: 2px solid var(--primary-yellow);
}

.metric-card h4 {
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.metric-card.highlight h4 {
    color: var(--primary-yellow);
}

.metric-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-black);
    margin-bottom: 0.5rem;
}

.metric-card.highlight .metric-value {
    color: var(--white);
}

.metric-change {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.metric-change.positive {
    background-color: rgba(255, 215, 0, 0.2);
    color: var(--primary-yellow);
}

.metric-change.negative {
    background-color: rgba(255, 215, 0, 0.2);
    color: var(--primary-yellow);
}

.mis-content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin: 3rem 0;
}

.mis-kpis, .mis-controls {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.mis-kpis h3, .mis-controls h3 {
    color: var(--primary-black);
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 3px solid var(--primary-yellow);
}

.kpi-item, .control-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    align-items: flex-start;
}

.kpi-icon, .control-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--primary-yellow);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.kpi-icon i, .control-icon i {
    color: var(--primary-black);
}

.kpi-text, .control-text {
    flex: 1;
}

.kpi-text strong, .control-text strong {
    color: var(--primary-black);
}

.reporting-cadence {
    margin: 3rem 0;
}

.reporting-cadence h3 {
    text-align: center;
    color: var(--primary-black);
    margin-bottom: 2rem;
}

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

.cadence-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    text-align: center;
    transition: var(--transition);
}

.cadence-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    border: 2px solid var(--primary-yellow);
}

.cadence-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--primary-yellow);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.cadence-icon i {
    font-size: 1.5rem;
    color: var(--primary-black);
}

.cadence-card h4 {
    color: var(--primary-black);
    margin-bottom: 0.75rem;
}

.cadence-card p {
    color: var(--gray-light);
    font-size: 0.95rem;
}

.chart-visualization {
    margin: 3rem 0;
    padding: 2rem;
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    min-height: 400px;
}

.chart-visualization h4 {
    text-align: center;
    color: var(--primary-black);
    margin-bottom: 2rem;
}

.chart-visualization canvas {
    width: 100% !important;
    height: 350px !important;
}

.formats-note {
    text-align: center;
    padding: 2rem;
    background-color: rgba(255, 215, 0, 0.1);
    border-radius: 8px;
    border: 2px solid var(--primary-yellow);
    margin-top: 3rem;
}

.formats-note h4 {
    color: var(--primary-black);
    margin-bottom: 1rem;
}

.formats-note p {
    color: var(--gray-light);
    font-size: 1.1rem;
}

/* Financial Health */
.health-dashboard {
    display: grid;
    gap: 3rem;
    margin-top: 3rem;
}

.health-category h3 {
    color: var(--primary-black);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 3px solid var(--primary-yellow);
}

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

.health-metric {
    background-color: var(--white);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: var(--transition);
}

.health-metric:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    border: 2px solid var(--primary-yellow);
}

.metric-label {
    font-size: 0.85rem;
    color: var(--gray-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.metric-big {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-black);
    margin-bottom: 1rem;
}

.trend-line {
    height: 40px;
}

.sparkline {
    width: 100%;
    height: 40px;
}

.health-pack-box {
    background: linear-gradient(135deg, var(--primary-black) 0%, var(--gray-dark) 100%);
    color: var(--white);
    padding: 2.5rem;
    border-radius: 8px;
    margin-top: 3rem;
    text-align: center;
}

.health-pack-box h3 {
    color: var(--primary-yellow);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.pack-items {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.pack-items span {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    border: 2px solid var(--primary-yellow);
    color: var(--white);
    font-weight: 500;
}

.pack-items i {
    color: var(--primary-yellow);
}

/* Payroll Section */
.payroll-flow {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin: 3rem 0;
    flex-wrap: wrap;
}

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

.flow-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: var(--primary-yellow);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.flow-icon i {
    font-size: 2rem;
    color: var(--primary-black);
}

.flow-step h4 {
    color: var(--primary-black);
    font-weight: 600;
}

.flow-arrow {
    font-size: 2rem;
    color: var(--primary-yellow);
    font-weight: 700;
}

.payroll-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.payroll-section {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.payroll-section h3 {
    color: var(--primary-black);
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 3px solid var(--primary-yellow);
}

.payroll-list li {
    padding: 0.75rem 0;
    color: var(--gray-light);
    border-bottom: 1px solid #eee;
    padding-left: 1.5rem;
    position: relative;
}

.payroll-list li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--primary-yellow);
    font-size: 1.5rem;
    line-height: 1;
}

.payroll-list li:last-child {
    border-bottom: none;
}

.sla-box {
    background: linear-gradient(135deg, var(--primary-black) 0%, var(--gray-dark) 100%);
    color: var(--white);
    padding: 2.5rem;
    border-radius: 8px;
    margin-top: 3rem;
    text-align: center;
}

.sla-box h3 {
    color: var(--primary-yellow);
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.sla-box p {
    color: var(--white);
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Compliance Calendar */
.compliance-calendar {
    margin: 3rem 0;
}

.compliance-calendar h3 {
    text-align: center;
    color: var(--primary-black);
    margin-bottom: 2rem;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 1px;
    background-color: #ddd;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.calendar-header {
    background-color: var(--primary-black);
    color: var(--white);
    padding: 1rem;
    text-align: center;
    font-weight: 600;
    font-size: 0.9rem;
}

.calendar-day {
    background-color: var(--white);
    padding: 1.5rem 0.5rem;
    text-align: center;
    min-height: 80px;
    position: relative;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.calendar-day:hover {
    background-color: var(--light-yellow);
}

.calendar-day.gst-due {
    background-color: rgba(255, 215, 0, 0.2);
    border: 2px solid var(--primary-yellow);
}

.calendar-day.tds-due {
    background-color: rgba(255, 215, 0, 0.15);
    border: 2px solid var(--dark-yellow);
}

.calendar-day.pf-due {
    background-color: rgba(255, 215, 0, 0.18);
    border: 2px solid #D4AF37;
}

.due-badge {
    display: block;
    background-color: var(--primary-yellow);
    color: var(--primary-black);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
    margin-top: 0.5rem;
}

.calendar-legend {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.legend-dot {
    width: 20px;
    height: 20px;
    border-radius: 50%;
}

.legend-dot.gst {
    background-color: var(--primary-yellow);
}

.legend-dot.tds {
    background-color: var(--dark-yellow);
}

.legend-dot.pf {
    background-color: #D4AF37;
}

.compliance-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.compliance-section {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.compliance-section h3 {
    color: var(--primary-black);
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 3px solid var(--primary-yellow);
}

.compliance-list li {
    padding: 0.75rem 0;
    color: var(--gray-light);
    border-bottom: 1px solid #eee;
    padding-left: 1.5rem;
    position: relative;
}

.compliance-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-yellow);
    font-weight: 700;
}

.compliance-list li:last-child {
    border-bottom: none;
}

/* Pricing Section */
.pricing-section {
    padding: var(--section-padding);
    background-color: #f8f8f8;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.pricing-card {
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.pricing-card.featured {
    border: 3px solid var(--primary-yellow);
    transform: scale(1.05);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.popular-badge {
    position: absolute;
    top: 20px;
    right: -35px;
    background-color: var(--primary-yellow);
    color: var(--primary-black);
    padding: 0.5rem 3rem;
    font-weight: 700;
    font-size: 0.85rem;
    transform: rotate(45deg);
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.package-header {
    background: linear-gradient(135deg, var(--primary-black) 0%, var(--gray-dark) 100%);
    color: var(--white);
    padding: 2.5rem 2rem;
    text-align: center;
}

.package-header h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-yellow);
    margin-bottom: 0.5rem;
}

.package-subtitle {
    color: var(--gray-lighter);
    font-size: 1rem;
    margin: 0;
}

.package-features {
    padding: 2rem;
    flex: 1;
}

.package-features h4 {
    color: var(--primary-black);
    margin-bottom: 1rem;
    font-size: 1.1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-yellow);
}

.package-features ul {
    list-style: none;
    margin-bottom: 1.5rem;
}

.package-features ul li {
    padding: 0.75rem 0;
    color: var(--gray-light);
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    border-bottom: 1px solid #eee;
}

.package-features ul li:last-child {
    border-bottom: none;
}

.package-features ul li i {
    color: var(--primary-yellow);
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.excluded-title {
    color: var(--gray-light);
    margin-top: 1.5rem;
}

.excluded-list li {
    color: var(--gray-lighter);
}

.excluded-list li i {
    color: var(--gray-lighter);
}

.package-footer {
    padding: 2rem;
    text-align: center;
    border-top: 1px solid #eee;
}

.btn-package {
    display: inline-block;
    padding: 1rem 2.5rem;
    background-color: var(--primary-black);
    color: var(--white);
    border-radius: 4px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
    border: 2px solid var(--primary-black);
}

.btn-package:hover {
    background-color: var(--primary-yellow);
    color: var(--primary-black);
    border-color: var(--primary-yellow);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.btn-package.primary {
    background-color: var(--primary-yellow);
    color: var(--primary-black);
    border-color: var(--primary-yellow);
}

.btn-package.primary:hover {
    background-color: var(--primary-black);
    color: var(--white);
    border-color: var(--primary-black);
}

.pricing-note {
    margin-top: 3rem;
    text-align: center;
    padding: 2rem;
    background-color: rgba(255, 215, 0, 0.1);
    border-radius: 8px;
    border: 2px solid var(--primary-yellow);
}

.pricing-note p {
    color: var(--gray-light);
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin: 0;
}

.pricing-note i {
    color: var(--primary-yellow);
    font-size: 1.5rem;
}

/* Why Accosync Section */
.why-section {
    padding: var(--section-padding);
    background-color: var(--white);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.why-card {
    background-color: var(--white);
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: var(--transition);
    text-align: center;
}

.why-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
    border: 2px solid var(--primary-yellow);
}

.why-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: var(--primary-yellow);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.why-icon i {
    font-size: 2rem;
    color: var(--primary-black);
}

.why-card h3 {
    color: var(--primary-black);
    margin-bottom: 1rem;
}

.why-card p {
    color: var(--gray-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

.approach-note {
    text-align: center;
    margin-top: 3rem;
    padding: 2rem;
    background-color: rgba(255, 215, 0, 0.1);
    border-radius: 8px;
}

.approach-note p {
    color: var(--gray-light);
    font-size: 1.1rem;
    font-style: italic;
}

/* Impact Section */
.impact-section {
    padding: var(--section-padding);
    background-color: #f8f8f8;
}

.impact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

.impact-chart-container {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    min-height: 450px;
}

.impact-chart-container h3 {
    text-align: center;
    color: var(--primary-black);
    margin-bottom: 2rem;
}

.impact-chart-container canvas {
    width: 100% !important;
    height: 380px !important;
}

.chart-note {
    text-align: center;
    margin-top: 1rem;
    color: var(--gray-lighter);
    font-size: 0.85rem;
}

.impact-points {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.impact-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.impact-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--primary-yellow);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.impact-icon i {
    font-size: 1.5rem;
    color: var(--primary-black);
}

.impact-content h4 {
    color: var(--primary-black);
    margin-bottom: 0.5rem;
}

.impact-content p {
    color: var(--gray-light);
    font-size: 0.95rem;
}

/* Partner Section */
.partner-section {
    padding: var(--section-padding);
    background: linear-gradient(135deg, var(--gray-dark) 0%, var(--primary-black) 100%);
    color: var(--white);
}

.partner-section .section-title {
    color: var(--white);
}

.partner-plan {
    margin: 3rem 0;
    padding: 3rem;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border: 2px solid var(--primary-yellow);
}

.partner-plan h3 {
    color: var(--primary-yellow);
    font-size: 1.8rem;
    margin-bottom: 2rem;
    text-align: center;
}

.partner-plan h3 i {
    margin-right: 0.5rem;
}

.plan-steps {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.plan-step {
    text-align: center;
    flex: 0 1 150px;
}

.plan-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--primary-yellow);
    color: var(--primary-black);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.5rem;
    margin: 0 auto 1rem;
}

.plan-step h4 {
    color: var(--white);
    margin-bottom: 0.5rem;
}

.plan-step p {
    color: var(--gray-lighter);
    font-size: 0.9rem;
}

.what-you-get {
    margin: 3rem 0;
    padding: 3rem;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
}

.what-you-get h3 {
    color: var(--primary-yellow);
    font-size: 1.8rem;
    margin-bottom: 2rem;
    text-align: center;
}

.what-you-get h3 i {
    margin-right: 0.5rem;
}

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

.benefit-item {
    text-align: center;
    padding: 1.5rem;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    transition: var(--transition);
}

.benefit-item:hover {
    background-color: rgba(255, 215, 0, 0.1);
    transform: translateY(-5px);
}

.benefit-item i {
    font-size: 2.5rem;
    color: var(--primary-yellow);
    margin-bottom: 1rem;
}

.benefit-item p {
    color: var(--white);
    font-size: 0.95rem;
}

.cta-box {
    margin-top: 3rem;
    text-align: center;
    padding: 3rem;
    background-color: var(--primary-yellow);
    border-radius: 8px;
}

.cta-box h3 {
    color: var(--primary-black);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.cta-box p {
    color: var(--gray-medium);
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2.5rem;
    background-color: var(--primary-black);
    color: var(--white);
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
    border: 2px solid var(--primary-black);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--primary-black);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* Section Note */
.section-note {
    text-align: center;
    font-size: 0.95rem;
    color: var(--gray-lighter);
    font-style: italic;
    margin-top: -1rem;
    margin-bottom: 2rem;
}

/* Proposal Form Section */
.proposal-form-section {
    padding: var(--section-padding);
    background-color: #f8f8f8;
}

.form-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.proposal-form {
    background-color: var(--white);
    padding: 3rem;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: var(--primary-black);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.required {
    color: var(--primary-yellow);
    font-weight: 700;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid #ddd;
    border-radius: 4px;
    font-family: 'Avenir Next', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
    background-color: var(--white);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 3rem;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-yellow);
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.btn-submit {
    width: 100%;
    padding: 1rem 2rem;
    background-color: var(--primary-black);
    color: var(--white);
    border: 2px solid var(--primary-black);
    border-radius: 4px;
    font-family: 'Avenir Next', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.btn-submit:hover {
    background-color: var(--primary-yellow);
    color: var(--primary-black);
    border-color: var(--primary-yellow);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.form-message {
    margin-top: 1.5rem;
    padding: 1rem;
    border-radius: 4px;
    text-align: center;
    font-weight: 500;
    display: none;
}

.form-message.success {
    background-color: rgba(255, 215, 0, 0.2);
    color: var(--primary-black);
    border: 2px solid var(--primary-yellow);
    display: block;
}

.form-message.error {
    background-color: rgba(220, 53, 69, 0.1);
    color: #dc3545;
    border: 2px solid #dc3545;
    display: block;
}

.form-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.form-info h3 {
    color: var(--primary-black);
    margin-bottom: 1.5rem;
}

.info-steps {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-step {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.step-icon-small {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--primary-yellow);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.step-icon-small i {
    font-size: 1.5rem;
    color: var(--primary-black);
}

.step-content h4 {
    color: var(--primary-black);
    margin-bottom: 0.5rem;
}

.step-content p {
    color: var(--gray-light);
    font-size: 0.9rem;
}

.direct-contact {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    text-align: center;
}

.direct-contact h4 {
    color: var(--primary-black);
    margin-bottom: 1rem;
}

.direct-contact p {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0.5rem;
    color: var(--gray-light);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.direct-contact i {
    color: var(--primary-yellow);
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.direct-contact a {
    color: var(--primary-black);
    font-weight: 600;
    text-decoration: underline;
}

.direct-contact a:hover {
    color: var(--primary-yellow);
}

/* Footer */
.footer {
    background-color: var(--primary-black);
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-brand h3 {
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}

.footer-underline {
    width: 60px;
    height: 3px;
    background-color: var(--primary-yellow);
    margin-bottom: 1rem;
}

.footer-brand p {
    color: var(--gray-lighter);
    font-size: 0.95rem;
}

.footer-links h4,
.footer-services h4,
.footer-contact h4 {
    color: var(--primary-yellow);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-links ul,
.footer-services ul {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-links li a {
    color: var(--gray-lighter);
    transition: var(--transition);
}

.footer-links li a:hover {
    color: var(--primary-yellow);
    padding-left: 5px;
}

.footer-services li {
    color: var(--gray-lighter);
    font-size: 0.9rem;
}

.footer-contact p {
    color: var(--gray-lighter);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    line-height: 1.6;
}

.footer-contact i {
    color: var(--primary-yellow);
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--primary-yellow);
    transform: translateY(-3px);
}

.social-links a i {
    color: var(--white);
}

.social-links a:hover i {
    color: var(--primary-black);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
}

.footer-bottom p {
    color: var(--gray-lighter);
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 968px) {
    .challenge-grid,
    .mis-content-grid,
    .impact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-tagline {
        font-size: 1.5rem;
    }

    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--primary-black);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 2rem 0;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
    }

    .nav-menu.active {
        left: 0;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-services {
        gap: 2rem;
    }

    .form-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .proposal-form {
        padding: 2rem;
    }

    .service-process,
    .payroll-flow {
        flex-direction: column;
        align-items: center;
    }

    .process-arrow,
    .flow-arrow {
        transform: rotate(90deg);
    }

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    /* Fix chart containers for mobile */
    .chart-container {
        padding: 1rem;
        min-height: 350px;
        overflow: visible;
    }

    .chart-container canvas {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        transform: none !important;
        width: 100% !important;
        height: 300px !important;
    }

    .chart-visualization {
        min-height: 350px;
        padding: 1rem;
    }

    .chart-visualization canvas {
        width: 100% !important;
        height: 300px !important;
    }

    .impact-chart-container {
        min-height: 400px;
    }

    .impact-chart-container canvas {
        width: 100% !important;
        height: 340px !important;
    }

    /* Fix challenge section on mobile */
    .challenge-visual h3 {
        font-size: 1.1rem;
        padding: 0 0.5rem;
    }

    .challenge-item {
        flex-direction: row;
        align-items: flex-start;
    }

    .challenge-icon {
        width: 40px;
        height: 40px;
        min-width: 40px;
    }

    .challenge-icon i {
        font-size: 1.2rem;
    }

    /* Fix calendar for mobile */
    .calendar-grid {
        font-size: 0.75rem;
        gap: 0;
    }

    .calendar-header {
        padding: 0.5rem 0.25rem;
        font-size: 0.7rem;
    }

    .calendar-day {
        padding: 0.75rem 0.25rem;
        min-height: 60px;
        font-size: 0.85rem;
    }

    .due-badge {
        font-size: 0.55rem;
        padding: 0.2rem 0.3rem;
        margin-top: 0.25rem;
    }

    .calendar-legend {
        flex-direction: column;
        gap: 0.5rem;
        font-size: 0.85rem;
    }

    .legend-dot {
        width: 16px;
        height: 16px;
    }

    /* Fix impact chart section */
    .impact-chart-container {
        padding: 1rem;
    }

    .impact-chart-container h3 {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }

    /* Ensure all canvas charts are responsive */
    canvas {
        max-width: 100%;
        height: auto !important;
    }

    /* Fix metrics cards overflow */
    .mis-metrics,
    .health-metrics {
        gap: 1rem;
    }

    /* Pricing section mobile */
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .pricing-card.featured {
        transform: scale(1);
    }

    .pricing-card.featured:hover {
        transform: scale(1) translateY(-5px);
    }

    .popular-badge {
        font-size: 0.75rem;
        padding: 0.4rem 2.5rem;
    }

    .package-header {
        padding: 2rem 1.5rem;
    }

    .package-header h3 {
        font-size: 1.75rem;
    }

    .package-features {
        padding: 1.5rem;
    }

    .pricing-note {
        padding: 1.5rem;
    }

    .pricing-note p {
        flex-direction: column;
        text-align: center;
    }

    .metric-card {
        padding: 1.5rem 1rem;
    }

    .metric-value {
        font-size: 2rem;
    }

    /* Fix section padding on mobile */
    .challenge-section,
    .solution-section,
    .service-detail,
    .why-section,
    .impact-section,
    .partner-section,
    .proposal-form-section {
        padding: 60px 0;
    }

    .container {
        padding: 0 15px;
    }

    /* Fix overflow issues */
    body {
        overflow-x: hidden;
    }

    section {
        overflow-x: hidden;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-tagline {
        font-size: 1.2rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .icon-circle {
        width: 60px;
        height: 60px;
    }

    .icon-circle i {
        font-size: 1.5rem;
    }

    /* Extra small mobile fixes */
    .challenge-content h4 {
        font-size: 1rem;
    }

    .challenge-content p {
        font-size: 0.85rem;
    }

    /* Calendar adjustments for small screens */
    .calendar-day {
        padding: 0.5rem 0.15rem;
        min-height: 50px;
        font-size: 0.75rem;
    }

    .due-badge {
        font-size: 0.5rem;
        padding: 0.15rem 0.25rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 100%;
    }

    /* Fix chart titles */
    .chart-container h3,
    .impact-chart-container h3 {
        font-size: 0.95rem;
    }

    /* Reduce padding further */
    .chart-container {
        padding: 0.75rem;
    }

    .impact-chart-container {
        padding: 0.75rem;
    }

    /* Fix impact items */
    .impact-icon {
        width: 50px;
        height: 50px;
        min-width: 50px;
    }

    .impact-icon i {
        font-size: 1.3rem;
    }

    .impact-content h4 {
        font-size: 1rem;
    }

    .impact-content p {
        font-size: 0.85rem;
    }

    /* Fix metric cards */
    .metric-value {
        font-size: 1.75rem;
    }

    .metric-label {
        font-size: 0.75rem;
    }

    /* Ensure proper spacing */
    .section-padding {
        padding: 40px 0;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}