/*
Theme Name: ITcontinuITy MSP
Theme URI: https://itcontinuity.co.uk
Description: Professional IT support and managed services theme for small businesses in Hampshire. Featuring interactive pricing calculator, local SEO optimization, and service showcase for IT support companies serving Aldershot, Farnborough, Fleet, Farnham and surrounding areas.
Author: ITcontinuITy
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: itcontinuity-msp
Tags: business, it-support, managed-services, local-business, hampshire, one-column, custom-colors, custom-menu, featured-images, responsive-layout
*/

/* Modern Reset & Variables */
:root {
    --primary: #0066cc;
    --primary-dark: #004999;
    --accent: #00cc66;
    --accent-dark: #00b359;
    --text: #2c3e50;
    --text-light: #6c757d;
    --bg: #ffffff;
    --bg-light: #f8f9fa;
    --border: #e9ecef;
    --shadow: 0 2px 8px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.15);
    --radius: 12px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--text);
    margin-bottom: 1rem;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p { margin-bottom: 1rem; }

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

a:hover { color: var(--primary-dark); }

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

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

/* Header */
.site-header {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
    padding: 1.5rem 0;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: -0.02em;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

.main-nav a {
    color: var(--text);
    font-weight: 600;
    font-size: 0.95rem;
    position: relative;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.main-nav a:hover::after,
.main-nav a.active::after {
    width: 100%;
}

.cta-button {
    background: var(--accent);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius);
    font-weight: 600;
    transition: var(--transition);
}

.cta-button:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero-content h1 {
    font-size: 3.5rem;
    color: white;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-content .subtitle {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    opacity: 0.95;
}

.hero-badges {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.hero-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.1rem;
}

.hero-badge::before {
    content: '✓';
    display: inline-block;
    width: 24px;
    height: 24px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.btn-primary, .btn-secondary {
    padding: 1rem 2rem;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 1.1rem;
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
}

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

.btn-primary:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,204,102,0.3);
}

.btn-secondary {
    background: transparent;
    color: white;
    border-color: white;
}

.btn-secondary:hover {
    background: white;
    color: var(--primary);
}

/* Services Grid - Modern Cards */
.services-section {
    padding: 6rem 0;
}

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

.section-header h2 {
    margin-bottom: 1rem;
}

.section-header .subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
}

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

.service-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2.5rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: var(--primary);
    transition: height 0.3s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.service-card:hover::before {
    height: 100%;
}

.service-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.service-card h3 {
    color: var(--text);
    margin-bottom: 1rem;
}

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

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

.service-features li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-light);
}

.service-features li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
}

.service-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.price-note {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Interactive Pricing Calculator */
.pricing-calculator {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 6rem 0;
}

.calculator-card {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: var(--shadow-lg);
    max-width: 900px;
    margin: 0 auto;
}

.calculator-header {
    text-align: center;
    margin-bottom: 3rem;
}

.calculator-header h2 {
    margin-bottom: 1rem;
}

.calculator-controls {
    margin-bottom: 3rem;
}

.control-group {
    margin-bottom: 2.5rem;
}

.control-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.control-label span:first-child {
    font-weight: 600;
    color: var(--text);
    font-size: 1.1rem;
}

/* Number Input Container */
.number-input-container {
    display: flex;
    align-items: center;
    gap: 1rem;
    max-width: 300px;
}

.number-input-container input[type="number"] {
    flex: 1;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    text-align: center;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    padding: 1rem;
    transition: var(--transition);
    -moz-appearance: textfield;
}

.number-input-container input[type="number"]::-webkit-outer-spin-button,
.number-input-container input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.number-input-container input[type="number"]:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

.qty-btn {
    width: 48px;
    height: 48px;
    border: 2px solid var(--primary);
    background: white;
    color: var(--primary);
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.qty-btn:hover {
    background: var(--primary);
    color: white;
    transform: scale(1.1);
}

.qty-btn:active {
    transform: scale(0.95);
}

.input-hint {
    display: block;
    color: var(--text-light);
    font-size: 0.9rem;
    margin-top: 0.5rem;
}


/* Service Toggles */
.service-toggles {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.toggle-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--bg-light);
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
}

.toggle-item:hover {
    background: #e3f2fd;
}

.toggle-switch {
    position: relative;
    width: 48px;
    height: 24px;
    background: var(--border);
    border-radius: 12px;
    transition: var(--transition);
}

.toggle-switch::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 18px;
    height: 18px;
    background: white;
    border-radius: 50%;
    transition: var(--transition);
}

.toggle-item.active .toggle-switch {
    background: var(--accent);
}

.toggle-item.active .toggle-switch::after {
    transform: translateX(24px);
}

.toggle-label {
    flex: 1;
}

.toggle-label strong {
    display: block;
    color: var(--text);
    margin-bottom: 0.25rem;
}

.toggle-label small {
    color: var(--text-light);
}

/* Pricing Summary */
.pricing-summary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    padding: 2.5rem;
    border-radius: var(--radius);
    margin-top: 2rem;
}

.summary-header {
    margin-bottom: 2rem;
}

.summary-header h3 {
    color: white;
    margin-bottom: 0.5rem;
}

.summary-items {
    margin-bottom: 2rem;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.summary-item:last-child {
    border-bottom: none;
}

.summary-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1.5rem;
    border-top: 2px solid rgba(255,255,255,0.2);
    margin-top: 1.5rem;
}

.summary-total .label {
    font-size: 1.25rem;
    font-weight: 600;
}

.summary-total .amount {
    font-size: 2.5rem;
    font-weight: 800;
}

.summary-note {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-top: 1rem;
}

.summary-actions {
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
}

.summary-actions .btn-primary {
    flex: 1;
    background: var(--accent);
    text-align: center;
}

/* Why Choose Section */
.why-choose-section {
    padding: 6rem 0;
    background: white;
}

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

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

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin: 0 auto 1.5rem;
}

.feature-item h3 {
    margin-bottom: 1rem;
}

.feature-item p {
    color: var(--text-light);
}

/* Comparison Table - Modern */
.comparison-section {
    padding: 6rem 0;
    background: var(--bg-light);
}

.comparison-table {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.comparison-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    border-bottom: 1px solid var(--border);
}

.comparison-row:last-child {
    border-bottom: none;
}

.comparison-row.header {
    background: var(--primary);
    color: white;
    font-weight: 700;
}

.comparison-cell {
    padding: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.comparison-cell:first-child {
    justify-content: flex-start;
}

.comparison-cell.good {
    background: #e8f5e9;
    color: #2e7d32;
    font-weight: 600;
}

.comparison-cell.bad {
    background: #ffebee;
    color: #c62828;
    font-weight: 600;
}

.check {
    color: var(--accent);
    font-size: 1.5rem;
    font-weight: bold;
}

.cross {
    color: #dc3545;
    font-size: 1.5rem;
}

/* Footer */
.site-footer {
    background: #1a1a1a;
    color: #999;
    padding: 4rem 0 2rem;
}

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

.footer-section h4 {
    color: white;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.75rem;
}

.footer-section a {
    color: #999;
}

.footer-section a:hover {
    color: white;
}

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

/* Mobile Responsive */
@media (max-width: 768px) {
    /* Container adjustments */
    .container {
        padding: 0 1rem;
    }
    
    /* Typography scaling */
    h1 { font-size: 1.75rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.25rem; }
    
    /* Header */
    .site-header {
        padding: 1rem 0;
    }
    
    .header-inner {
        flex-direction: column;
        gap: 1rem;
    }
    
    .main-nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem;
    }
    
    .main-nav ul li a {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
    
    /* Hero */
    .hero-content {
        padding: 2rem 0;
    }
    
    .hero-content h1 {
        font-size: 1.75rem;
        line-height: 1.3;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .hero-badges {
        flex-direction: column;
        gap: 0.75rem;
        align-items: stretch;
    }
    
    .badge {
        width: 100%;
        text-align: center;
        padding: 0.75rem 1rem;
    }
    
    /* Trust bar */
    .trust-bar {
        flex-direction: column;
        gap: 1rem;
        padding: 1.5rem 1rem;
    }
    
    .stat-item {
        width: 100%;
        text-align: center;
    }
    
    .stat-item div:first-child {
        font-size: 1.75rem !important;
    }
    
    /* Sections - REDUCED PADDING */
    section {
        padding: 2rem 0 !important;
    }
    
    .section-header {
        margin-bottom: 1.5rem !important;
    }
    
    .section-header h2 {
        margin-bottom: 0.5rem;
    }
    
    .section-header .subtitle {
        font-size: 0.95rem;
    }
    
    /* Grids */
    .services-grid,
    .features-grid,
    .areas-grid {
        grid-template-columns: 1fr !important;
        gap: 1rem;
    }
    
    /* Service cards - MORE COMPACT */
    .service-card {
        padding: 1.25rem;
    }
    
    .service-icon {
        font-size: 2rem;
        margin-bottom: 0.75rem;
    }
    
    .service-card h3 {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }
    
    .service-card p {
        font-size: 0.9rem;
        margin-bottom: 0.75rem;
    }
    
    /* Calculator - MORE COMPACT */
    .calculator-card {
        padding: 1.25rem;
    }
    
    .calculator-inputs {
        grid-template-columns: 1fr !important;
    }
    
    .number-input-container {
        max-width: 100%;
        margin-bottom: 1rem;
    }
    
    .input-controls button {
        min-width: 45px;
        height: 45px;
        font-size: 1.5rem;
    }
    
    .input-value {
        min-width: 70px;
        font-size: 1.5rem;
    }
    
    /* Contact section */
    #contact > .container > div {
        grid-template-columns: 1fr !important;
        gap: 1.5rem;
    }
    
    /* Areas section */
    .areas-section > div[style*="grid"] {
        grid-template-columns: 1fr !important;
    }
    
    /* FAQ - MORE COMPACT */
    .faq-item {
        padding: 1rem;
        margin-bottom: 0.75rem;
    }
    
    .faq-item h3 {
        font-size: 0.95rem;
    }
    
    .faq-item p {
        font-size: 0.875rem;
    }
    
    /* Buttons */
    .btn-primary, 
    .btn-secondary {
        width: 100%;
        padding: 0.875rem;
        font-size: 0.95rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        width: 100%;
        gap: 0.75rem;
    }
    
    .cta-buttons a {
        width: 100%;
        text-align: center;
    }
    
    /* How It Works - MORE COMPACT */
    section > .container > div[style*="grid-template-columns: repeat(auto-fit"] {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }
    
    section > .container > div[style*="grid-template-columns: repeat(auto-fit"] > div {
        padding: 0;
    }
    
    section > .container > div[style*="grid-template-columns: repeat(auto-fit"] > div > div:first-child {
        width: 60px !important;
        height: 60px !important;
        font-size: 1.5rem !important;
        margin-bottom: 1rem !important;
    }
    
    section > .container > div[style*="grid-template-columns: repeat(auto-fit"] h3 {
        font-size: 1rem !important;
        margin-bottom: 0.5rem !important;
    }
    
    section > .container > div[style*="grid-template-columns: repeat(auto-fit"] p {
        font-size: 0.875rem !important;
    }
    
    /* Setup fee section - MORE COMPACT */
    section[style*="background: linear-gradient(135deg, #fff3e0"] {
        padding: 2rem 0 !important;
    }
    
    section[style*="background: linear-gradient(135deg, #fff3e0"] h2 {
        font-size: 1.25rem;
    }
    
    section[style*="background: linear-gradient(135deg, #fff3e0"] > .container > div > div[style*="display: grid"] {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }
    
    /* Founder's message - MORE COMPACT */
    .testimonial-card {
        padding: 1.5rem 1.25rem !important;
    }
    
    .testimonial-card p {
        font-size: 0.95rem !important;
        margin-bottom: 1rem !important;
    }
    
    /* Value cards */
    div[style*="display: grid"][style*="minmax(280px"] {
        grid-template-columns: 1fr !important;
    }
    
    .value-card {
        padding: 1.25rem !important;
    }
    
    /* Service areas - MORE COMPACT */
    .area-card {
        padding: 1.25rem !important;
    }
    
    .area-card h3 {
        font-size: 1rem !important;
        margin-bottom: 0.5rem !important;
    }
    
    .area-card p {
        font-size: 0.875rem !important;
    }
    
    /* Footer - MORE COMPACT */
    .footer-content {
        grid-template-columns: 1fr !important;
        gap: 1.5rem;
        text-align: center;
    }
    
    .footer-column {
        margin: 0 auto;
    }
    
    .footer-column ul {
        text-align: center;
    }
    
    /* Live chat widget */
    #live-chat-widget button {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
}

/* Extra small devices */
@media (max-width: 480px) {
    /* Further reduce sizes */
    h1 { font-size: 1.5rem; }
    h2 { font-size: 1.25rem; }
    
    .hero-content h1 {
        font-size: 1.5rem;
    }
    
    section {
        padding: 2rem 0 !important;
    }
    
    .container {
        padding: 0 0.75rem;
    }
    
    .service-card,
    .calculator-card,
    .faq-item {
        padding: 1rem;
    }
    
    .btn-primary,
    .btn-secondary {
        padding: 0.875rem;
        font-size: 0.95rem;
    }
    
    .stat-item div:first-child {
        font-size: 1.75rem !important;
    }
}

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

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

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

/* Selection */
::selection {
    background: var(--primary);
    color: white;
}

/* Contact Form Styles */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

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

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.875rem;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
}

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

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

/* Contact Info Box */
.contact-info-box {
    background: white;
    padding: 2.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 3px solid var(--primary);
}

.contact-method {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border);
}

.contact-method:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.contact-icon {
    font-size: 2rem;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 12px;
    flex-shrink: 0;
}

.contact-method h4 {
    margin: 0 0 0.25rem 0;
    color: var(--text);
    font-size: 1.1rem;
}

.contact-method p {
    margin: 0 0 0.25rem 0;
    font-size: 1rem;
}

.contact-method p a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
}

.contact-method p a:hover {
    text-decoration: underline;
}

.contact-method small {
    color: var(--text-light);
    font-size: 0.875rem;
}

/* Mobile responsive for contact section */
@media (max-width: 768px) {
    #contact .container > div {
        grid-template-columns: 1fr !important;
    }
}

/* Testimonials */
.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* FAQ */
.faq-item {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: var(--radius);
    margin-bottom: 1.5rem;
    border-left: 4px solid var(--primary);
    transition: var(--transition);
}

.faq-item:hover {
    background: white;
    box-shadow: var(--shadow);
}

.faq-item h3 {
    font-size: 1.1rem;
}

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

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

.stat-item {
    animation-fill-mode: both;
}

/* Mobile Responsive Fixes */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-badges {
        flex-direction: column;
        gap: 1rem;
    }
    
    .stat-item {
        font-size: 0.9rem;
    }
    
    .stat-item div:first-child {
        font-size: 2rem !important;
    }
    
    .service-card {
        margin-bottom: 2rem;
    }
    
    .comparison-row {
        grid-template-columns: 1fr !important;
    }
    
    .comparison-cell {
        padding: 1rem !important;
        text-align: left !important;
    }
    
    .comparison-row.header .comparison-cell:not(:first-child) {
        display: none;
    }
    
    .comparison-cell::before {
        content: attr(data-label);
        font-weight: 600;
        display: inline-block;
        margin-right: 0.5rem;
    }
    
    .faq-item h3 {
        font-size: 1rem;
    }
    
    #contact .container > div {
        grid-template-columns: 1fr !important;
    }
    
    .areas-section div[style*="grid"] {
        grid-template-columns: 1fr !important;
    }
    
    .number-input-container {
        max-width: 100%;
    }
    
    .calculator-card {
        padding: 1.5rem;
    }
    
    #live-chat-widget button {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .hero-content h1 {
        font-size: 1.5rem;
    }
    
    section {
        padding: 3rem 0 !important;
    }
    
    .btn-primary, .btn-secondary {
        padding: 1rem 2rem;
        font-size: 0.95rem;
    }
}

/* Logo Styling */
.site-logo-image {
    height: 50px;
    width: auto;
    display: block;
    transition: var(--transition);
}

.site-logo-image:hover {
    opacity: 0.8;
}

@media (max-width: 768px) {
    .site-logo-image {
        height: 40px;
    }
}

@media (max-width: 480px) {
    .site-logo-image {
        height: 35px;
    }
}

/* Additional mobile fixes for specific sections */
@media (max-width: 768px) {
    /* How It Works - make it stack properly */
    section > .container > div[style*="grid-template-columns: repeat(auto-fit"] {
        grid-template-columns: 1fr !important;
        gap: 2.5rem !important;
    }
    
    /* Setup fee comparison */
    section[style*="linear-gradient(135deg, #fff3e0"] {
        padding: 3rem 0 !important;
    }
    
    section[style*="linear-gradient(135deg, #fff3e0"] .container > div {
        text-align: center;
    }
    
    section[style*="linear-gradient(135deg, #fff3e0"] h2 {
        font-size: 1.5rem;
    }
    
    section[style*="linear-gradient(135deg, #fff3e0"] > .container > div > div[style*="display: grid"] {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
        text-align: center;
    }
    
    section[style*="linear-gradient(135deg, #fff3e0"] > .container > div > div[style*="display: grid"] > div {
        font-size: 1.25rem !important;
    }
    
    section[style*="linear-gradient(135deg, #fff3e0"] > .container > div > div[style*="display: grid"] > div > div:first-child {
        font-size: 1.75rem !important;
    }
    
    /* Included items grid in setup section */
    section[style*="linear-gradient(135deg, #fff3e0"] div[style*="display: grid"][style*="minmax(200px"] {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }
    
    /* Founder's message */
    .testimonial-card {
        padding: 2rem 1.5rem !important;
    }
    
    .testimonial-card p {
        font-size: 1rem !important;
    }
    
    /* Value cards */
    div[style*="display: grid"][style*="minmax(280px"] {
        grid-template-columns: 1fr !important;
    }
    
    .value-card {
        padding: 1.5rem !important;
    }
    
    /* Service areas */
    .area-card {
        padding: 1.5rem !important;
    }
    
    .area-card h3 {
        font-size: 1.1rem !important;
    }
}

@media (max-width: 480px) {
    /* Extra small mobile adjustments */
    section[style*="linear-gradient(135deg, #fff3e0"] > .container > div > div[style*="display: grid"] > div > div:first-child {
        font-size: 1.5rem !important;
    }
    
    .testimonial-card {
        padding: 1.5rem 1rem !important;
    }
    
    .value-card,
    .area-card {
        padding: 1.25rem !important;
    }
}

/* Modern Comparison Cards */
.comparison-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 900px;
    margin: 3rem auto 0;
}

.comparison-card {
    background: white;
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.comparison-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.good-card {
    border: 3px solid var(--accent);
    background: linear-gradient(135deg, #f0fdf4 0%, white 100%);
}

.bad-card {
    border: 3px solid #e5e7eb;
    background: linear-gradient(135deg, #fef2f2 0%, white 100%);
}

.comparison-card .card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border);
}

.comparison-card .card-header .icon {
    font-size: 2rem;
    font-weight: bold;
}

.good-card .card-header .icon {
    color: var(--accent);
}

.bad-card .card-header .icon {
    color: #dc2626;
}

.comparison-card h3 {
    margin: 0;
    font-size: 1.3rem;
    color: var(--text);
}

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

.comparison-list li {
    padding: 0.75rem 0;
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--text);
    border-bottom: 1px solid var(--border);
}

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

.comparison-list strong {
    color: var(--primary);
}

.bad-card .comparison-list li {
    opacity: 0.8;
}

/* Mobile comparison cards */
@media (max-width: 768px) {
    .comparison-cards {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: 2rem;
    }
    
    .comparison-card {
        padding: 1.5rem;
    }
    
    .comparison-card .card-header {
        margin-bottom: 1rem;
    }
    
    .comparison-card h3 {
        font-size: 1.1rem;
    }
    
    .comparison-list li {
        padding: 0.625rem 0;
        font-size: 0.9rem;
    }
}

/* ===================================
   PRICING PAGE CALCULATOR STYLES
   =================================== */

.calculator-card {
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.calculator-header {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    padding: 2.5rem 2rem;
    text-align: center;
}

.calculator-header h2 {
    color: white;
    margin: 0 0 0.5rem 0;
    font-size: 2rem;
}

.calculator-header p {
    margin: 0;
    opacity: 0.95;
    font-size: 1.05rem;
}

.calculator-body {
    padding: 2.5rem 2rem;
}

.calculator-section-title {
    margin: 2rem 0 1.5rem 0;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--border);
}

.calculator-section-title:first-child {
    margin-top: 0;
}

.calculator-section-title h3 {
    margin: 0;
    color: var(--primary);
    font-size: 1.3rem;
}

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

.input-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.input-group label {
    font-weight: 600;
    color: var(--text);
    font-size: 1rem;
}

.input-group small {
    color: var(--text-light);
    font-size: 0.875rem;
    margin-top: -0.25rem;
}

.number-input-container {
    margin-top: 0.5rem;
}

.input-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    background: var(--bg-light);
    padding: 0.75rem;
    border-radius: var(--radius);
    border: 2px solid var(--border);
}

.input-controls button {
    width: 48px;
    height: 48px;
    border: none;
    background: var(--primary);
    color: white;
    font-size: 1.75rem;
    font-weight: 700;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.input-controls button:hover {
    background: var(--primary-dark);
    transform: scale(1.05);
}

.input-controls button:active {
    transform: scale(0.95);
}

.input-controls .input-value {
    width: 80px;
    text-align: center;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary);
    border: none;
    background: transparent;
    padding: 0.5rem;
}

.input-controls .input-value:focus {
    outline: none;
}

/* Service Toggles */
.service-toggles {
    display: grid;
    gap: 1rem;
    margin: 1.5rem 0;
}

.service-toggle {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    background: var(--bg-light);
    border: 2px solid var(--border);
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
}

.service-toggle:hover {
    border-color: var(--primary);
    background: white;
}

.service-toggle input[type="checkbox"] {
    width: 24px;
    height: 24px;
    cursor: pointer;
}

.service-toggle-card {
    flex: 1;
}

.service-toggle-name {
    display: block;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.25rem;
}

.service-toggle-desc {
    display: block;
    font-size: 0.875rem;
    color: var(--text-light);
}

/* Calculator Results */
.calculator-results {
    margin-top: 2.5rem;
    padding-top: 2.5rem;
    border-top: 3px solid var(--border);
}

.results-main {
    text-align: center;
    margin-bottom: 2rem;
}

.price-display {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.price-amount {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.price-period {
    font-size: 1.5rem;
    color: var(--text-light);
}

.price-label {
    font-size: 1.1rem;
    color: var(--text-light);
}

.results-breakdown {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: var(--radius);
    margin-bottom: 1.5rem;
}

.results-breakdown h4 {
    margin: 0 0 1rem 0;
    color: var(--text);
    font-size: 1.1rem;
}

#breakdownList {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.breakdown-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    background: white;
    border-radius: 6px;
}

.breakdown-item-name {
    color: var(--text);
    font-weight: 500;
}

.breakdown-item-price {
    color: var(--primary);
    font-weight: 700;
}

.results-summary {
    background: white;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border);
}

.summary-row:last-child {
    border-bottom: none;
}

.summary-row.total {
    margin-top: 0.5rem;
    padding-top: 1rem;
    border-top: 2px solid var(--primary);
    font-size: 1.1rem;
}

.summary-row strong {
    color: var(--primary);
    font-size: 1.1rem;
}

/* Prepay Option */
.prepay-option {
    background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
    padding: 2rem;
    border-radius: var(--radius);
    border: 2px solid var(--accent);
}

.prepay-option h4 {
    margin: 0 0 1rem 0;
    color: var(--text);
    font-size: 1.2rem;
}

.prepay-details {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.prepay-details p {
    margin: 0;
    color: var(--text);
}

.prepay-benefit {
    color: var(--accent);
    font-weight: 600;
}

.prepay-savings {
    margin-top: 0.5rem;
    padding: 1rem;
    background: white;
    border-radius: 6px;
    text-align: center;
    font-size: 1.1rem;
}

.prepay-savings strong {
    color: var(--accent);
    font-size: 1.3rem;
}

/* Calculator Footer */
.calculator-footer {
    text-align: center;
    padding: 2rem;
    background: var(--bg-light);
}

.btn-large {
    padding: 1.25rem 3rem;
    font-size: 1.1rem;
}

.calculator-note {
    margin-top: 1rem;
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Mobile Calculator Adjustments */
@media (max-width: 768px) {
    .calculator-header {
        padding: 2rem 1.5rem;
    }
    
    .calculator-header h2 {
        font-size: 1.5rem;
    }
    
    .calculator-body {
        padding: 1.5rem 1rem;
    }
    
    .calculator-inputs {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .input-controls button {
        width: 45px;
        height: 45px;
        font-size: 1.5rem;
    }
    
    .input-controls .input-value {
        width: 70px;
        font-size: 1.5rem;
    }
    
    .price-amount {
        font-size: 2.5rem;
    }
    
    .price-period {
        font-size: 1.2rem;
    }
    
    .calculator-footer {
        padding: 1.5rem 1rem;
    }
    
    .btn-large {
        width: 100%;
        padding: 1rem 2rem;
    }
}

/* ===================================
   ACTIVE PAGE HIGHLIGHTING
   =================================== */

/* Current page indicator */
.main-nav ul li a.current-page {
    position: relative;
    color: var(--primary);
    font-weight: 600;
}

.main-nav ul li a.current-page::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
}

/* Mobile current page indicator */
@media (max-width: 768px) {
    .main-nav ul li a.current-page::after {
        bottom: -4px;
        width: 5px;
        height: 5px;
    }
}

/* ===================================
   VOLUME DISCOUNT CARDS (MOBILE-FRIENDLY)
   =================================== */

.volume-discount-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    max-width: 900px;
    margin: 2.5rem auto 0;
}

.discount-card {
    text-align: center;
    padding: 1.75rem 1rem;
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.discount-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.discount-range {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 0.5rem;
    line-height: 1;
}

.discount-text {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.3;
}

/* Tablet: 2 columns */
@media (max-width: 768px) {
    .volume-discount-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        margin: 2rem auto 0;
    }
    
    .discount-card {
        padding: 1.5rem 0.75rem;
    }
    
    .discount-range {
        font-size: 1.75rem;
    }
    
    .discount-text {
        font-size: 0.875rem;
    }
}

/* Small mobile: Stack vertically with compact spacing */
@media (max-width: 480px) {
    .volume-discount-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
        margin: 1.5rem auto 0;
    }
    
    .discount-card {
        padding: 1.25rem 0.5rem;
    }
    
    .discount-range {
        font-size: 1.5rem;
        margin-bottom: 0.375rem;
    }
    
    .discount-text {
        font-size: 0.8rem;
    }
}

/* ===================================
   TRUST BAR MOBILE FIXES
   =================================== */

/* Better mobile layout for trust/stats bar */
@media (max-width: 768px) {
    /* Trust bar on homepage */
    section .stat-item {
        padding: 1.25rem 0.5rem;
    }
    
    section .stat-item > div:first-child {
        font-size: 2.25rem !important;
        margin-bottom: 0.375rem !important;
    }
    
    section .stat-item > div:nth-child(2) {
        font-size: 0.95rem !important;
        line-height: 1.3;
    }
    
    section .stat-item > div:nth-child(3) {
        font-size: 0.8rem !important;
        line-height: 1.3;
        padding: 0 0.25rem;
    }
}

/* Small mobile: Stack in 2 columns instead of 4 */
@media (max-width: 640px) {
    section > .container > div[style*="grid-template-columns: repeat(auto-fit, minmax(150px, 1fr))"] {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1.25rem !important;
    }
    
    section .stat-item {
        padding: 1.5rem 0.75rem;
    }
    
    section .stat-item > div:first-child {
        font-size: 2.5rem !important;
    }
    
    section .stat-item > div:nth-child(2) {
        font-size: 1rem !important;
    }
    
    section .stat-item > div:nth-child(3) {
        font-size: 0.85rem !important;
    }
}

/* Extra small mobile: Even more compact */
@media (max-width: 480px) {
    section > .container > div[style*="grid-template-columns: repeat(auto-fit, minmax(150px, 1fr))"] {
        gap: 1rem !important;
    }
    
    section .stat-item {
        padding: 1.25rem 0.5rem;
    }
    
    section .stat-item > div:first-child {
        font-size: 2rem !important;
    }
    
    section .stat-item > div:nth-child(2) {
        font-size: 0.9rem !important;
    }
    
    section .stat-item > div:nth-child(3) {
        font-size: 0.75rem !important;
    }
}

/* ===================================
   TRUST BAR MOBILE - TEXT ALIGNMENT FIX
   =================================== */

/* Force center alignment on mobile for trust bar stats */
@media (max-width: 768px) {
    section .stat-item > div {
        text-align: center !important;
        margin-left: auto !important;
        margin-right: auto !important;
        width: 100% !important;
    }
}

/* Extra enforcement for small mobile */
@media (max-width: 640px) {
    section .stat-item {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
    }
    
    section .stat-item > div {
        text-align: center !important;
        width: 100% !important;
        display: block !important;
    }
}

/* ===================================
   SETUP FEE SECTION MOBILE FIX
   =================================== */

/* Stack setup fee comparison vertically on mobile */
@media (max-width: 768px) {
    /* Target the setup fee comparison grid */
    section div[style*="grid-template-columns: 1fr auto 1fr"] {
        display: flex !important;
        flex-direction: column !important;
        gap: 1.5rem !important;
        text-align: center !important;
    }
    
    /* Center all text in setup fee section */
    section div[style*="grid-template-columns: 1fr auto 1fr"] > div {
        text-align: center !important;
    }
    
    /* Arrow stays centered */
    section div[style*="grid-template-columns: 1fr auto 1fr"] > div[style*="font-size: 3rem"] {
        transform: rotate(90deg);
        font-size: 2.5rem !important;
    }
}

/* Small mobile: Even more compact */
@media (max-width: 480px) {
    section div[style*="grid-template-columns: 1fr auto 1fr"] {
        gap: 1rem !important;
    }
    
    section div[style*="grid-template-columns: 1fr auto 1fr"] div[style*="font-size: 2rem"] {
        font-size: 1.75rem !important;
    }
    
    section div[style*="grid-template-columns: 1fr auto 1fr"] div[style*="font-size: 2.5rem"]:not([style*="color: var(--accent)"]) {
        font-size: 2rem !important;
    }
}
