:root {
    --primary: #2563eb;
    --primary-dark: #1e40af;
    --accent: #10b981;
    --warning: #f59e0b;
    --purple: #8b5cf6;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f9fafb;
    --bg-white: #ffffff;
    --border: #e5e7eb;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--bg-white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* NAVIGATION - Using default header styles from styles.css */
/* Removed custom navbar styles to use the default header design */
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 16px 0;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: 800;
    color: var(--primary);
}

.nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-links a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    transition: all 0.3s;
}

/* HERO */
.hero {
    padding: 80px 0;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.badge {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
}

.hero-text h1 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--text-dark);
}

.hero-text p {
    font-size: 20px;
    color: var(--text-light);
    margin-bottom: 32px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.btn-primary {
    padding: 16px 32px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    padding: 16px 32px;
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-secondary:hover {
    background: var(--primary);
    color: white;
}

.btn-primary.large,
.btn-secondary.large {
    padding: 18px 40px;
    font-size: 18px;
}

.trust-badges {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.trust-icon {
    color: var(--accent);
    font-size: 20px;
}

.hero-image {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* FEATURES */
.features-section {
    padding: 80px 0;
    background: var(--bg-white);
}

.section-title {
    font-size: 36px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 48px;
    color: var(--text-dark);
}

.section-subtitle {
    text-align: center;
    font-size: 18px;
    color: var(--text-light);
    margin-top: -32px;
    margin-bottom: 48px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.feature-card {
    background: var(--bg-light);
    padding: 32px;
    border-radius: 16px;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 16px;
    display: block;
}

.feature-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.7;
}

/* PRICING */
.pricing-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    max-width: 1100px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--bg-white);
    border: 2px solid var(--border);
    border-radius: 16px;
    padding: 40px 32px;
    transition: all 0.3s;
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.pricing-card.featured {
    border-color: var(--primary);
    border-width: 3px;
    transform: scale(1.05);
}

.pricing-card.featured:hover {
    transform: scale(1.08) translateY(-8px);
}

.popular-badge {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

.plan-header h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.price {
    display: flex;
    align-items: baseline;
    margin-bottom: 32px;
}

.currency {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-light);
}

.amount {
    font-size: 56px;
    font-weight: 800;
    color: var(--text-dark);
}

.period {
    font-size: 18px;
    color: var(--text-light);
    margin-left: 4px;
}

.plan-features {
    list-style: none;
    margin-bottom: 32px;
}

.plan-features li {
    padding: 12px 0;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid var(--border);
}

.plan-features li:last-child {
    border-bottom: none;
}

.check {
    color: var(--accent);
    font-weight: 700;
    font-size: 18px;
}

.cross {
    color: var(--text-light);
    font-size: 18px;
}

.btn-plan {
    width: 100%;
    padding: 14px;
    background: var(--bg-light);
    color: var(--text-dark);
    border: 2px solid var(--border);
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-plan:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.btn-plan.primary {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.btn-plan.primary:hover {
    background: var(--primary-dark);
}

/* HOW IT WORKS */
.how-it-works {
    padding: 80px 0;
    background: var(--bg-white);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
}

.step-card {
    text-align: center;
    padding: 32px 24px;
}

.step-number {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary), var(--purple));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 800;
    margin: 0 auto 20px;
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
}

.step-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.step-card p {
    color: var(--text-light);
    line-height: 1.7;
}

/* BENEFITS */
.benefits-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.benefit-item {
    text-align: center;
    padding: 32px 24px;
    background: var(--bg-white);
    border-radius: 16px;
    transition: all 0.3s;
}

.benefit-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.benefit-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.benefit-item h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.benefit-item p {
    color: var(--text-light);
    line-height: 1.7;
}

/* TESTIMONIALS */
.testimonials-section {
    padding: 80px 0;
    background: var(--bg-white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.testimonial-card {
    background: var(--bg-light);
    padding: 32px;
    border-radius: 16px;
    border-left: 4px solid var(--primary);
}

.stars {
    color: #fbbf24;
    font-size: 20px;
    margin-bottom: 16px;
}

.testimonial-card p {
    color: var(--text-dark);
    line-height: 1.7;
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author strong {
    display: block;
    color: var(--text-dark);
    font-weight: 700;
    margin-bottom: 4px;
}

.testimonial-author span {
    color: var(--text-light);
    font-size: 14px;
}

/* CTA */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--purple) 100%);
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 16px;
}

.cta-content p {
    font-size: 20px;
    opacity: 0.9;
    margin-bottom: 32px;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.cta-section .btn-primary {
    background: var(--accent);
}

.cta-section .btn-primary:hover {
    background: #059669;
}

.cta-section .btn-secondary {
    background: transparent;
    color: white;
    border-color: white;
}

.cta-section .btn-secondary:hover {
    background: white;
    color: var(--primary);
}

.cta-note {
    font-size: 14px;
    opacity: 0.9;
}

/* FAQ */
.faq-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.faq-grid {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-white);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 16px;
    cursor: pointer;
    transition: all 0.3s;
}

.faq-item:hover {
    box-shadow: var(--shadow);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.faq-question h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
}

.faq-icon {
    font-size: 24px;
    color: var(--primary);
    transition: transform 0.3s;
    flex-shrink: 0;
}

.faq-item.open .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    display: none;
    padding-top: 16px;
    margin-top: 16px;
    border-top: 1px solid var(--border);
}

.faq-item.open .faq-answer {
    display: block;
    animation: fadeIn 0.3s ease;
}

.faq-answer p {
    color: var(--text-light);
    line-height: 1.7;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* FOOTER */
.footer {
    background: var(--text-dark);
    color: white;
    padding: 60px 0 24px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 16px;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    margin-bottom: 16px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: var(--accent);
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: all 0.3s;
}

.social-links a:hover {
    background: var(--primary);
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
}

.footer-bottom p {
    margin-bottom: 8px;
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-bottom a:hover {
    color: var(--accent);
}

/* RESPONSIVE */
@media (max-width: 968px) {
    .hamburger {
        display: flex;
    }

    .nav-links {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--bg-white);
        width: 100%;
        padding: 20px;
        box-shadow: var(--shadow-lg);
        transition: left 0.3s;
    }

    .nav-links.active {
        left: 0;
    }

    .hero-content {
        grid-template-columns: 1fr;
    }

    .hero-text h1 {
        font-size: 36px;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .pricing-card.featured {
        transform: scale(1);
    }

    .cta-content h2 {
        font-size: 32px;
    }
}

@media (max-width: 640px) {
    .hero-text h1 {
        font-size: 28px;
    }

    .hero-text p {
        font-size: 16px;
    }

    .trust-badges {
        flex-direction: column;
        gap: 16px;
    }

    .features-grid,
    .benefits-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}


/* ============================================
   RESPONSIVE STYLES FOR BOOKKEEPING PAGE
   ============================================ */

/* Prevent horizontal scroll */
html, body {
    max-width: 100%;
    overflow-x: hidden !important;
}

/* Mobile First - Base styles */
@media (max-width: 768px) {
    /* Force all grid layouts to single column - More specific selectors */
    div[style*="display: grid"],
    div[style*="grid-template-columns"],
    div[style*="display: grid; grid-template-columns"],
    .pricing-section div[style],
    .why-choose-section div[style],
    .industries-section div[style] {
        display: flex !important;
        flex-direction: column !important;
        gap: 20px !important;
        grid-template-columns: 1fr !important;
    }
    
    /* Specific fix for pricing section white box */
    .pricing-section div[style*="background: white"],
    div[style*="background: white; border-radius"] {
        padding: 30px 20px !important;
        margin: 0 10px !important;
    }
    
    /* Hero section */
    section.hero,
    section[style*="min-height: 500px"] {
        min-height: 400px !important;
        padding: 40px 0 !important;
    }
    
    section.hero h1,
    section h1[style*="font-size: 72px"],
    h1[style*="font-size"] {
        font-size: 32px !important;
        line-height: 1.2 !important;
        letter-spacing: 1px !important;
    }
    
    section.hero p {
        font-size: 16px !important;
    }
    
    /* All section headings */
    h2[style*="font-size: 48px"],
    h2[style*="font-size"],
    section h2 {
        font-size: 28px !important;
        line-height: 1.3 !important;
        margin-bottom: 30px !important;
    }
    
    h3[style*="font-size: 36px"],
    h3[style*="font-size"],
    section h3 {
        font-size: 22px !important;
        line-height: 1.3 !important;
    }
    
    h4[style*="font-size"],
    section h4 {
        font-size: 18px !important;
    }
    
    /* All sections padding */
    section[style*="padding: 80px 0"],
    section[style*="padding: 60px 0"],
    .services-overview,
    .pricing-section,
    .why-choose-section,
    .how-it-works,
    .industries-section {
        padding: 40px 0 !important;
    }
    
    /* Container */
    .container {
        padding: 0 15px !important;
        max-width: 100% !important;
    }
    
    /* Images */
    img,
    img[style] {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        margin: 20px 0 !important;
    }
    
    /* Remove fixed widths and max-widths */
    div[style*="max-width: 1200px"],
    div[style*="max-width"],
    div[style*="width"] {
        max-width: 100% !important;
        width: 100% !important;
    }
    
    /* Text content */
    p[style], 
    li[style], 
    span[style],
    p, li, span {
        font-size: 15px !important;
        line-height: 1.6 !important;
    }
    
    /* Buttons and links */
    .btn, 
    button, 
    a.btn,
    a[style*="background"],
    button[style] {
        width: 100% !important;
        padding: 15px 20px !important;
        font-size: 16px !important;
        text-align: center !important;
        display: block !important;
        margin: 10px 0 !important;
    }
    
    /* Lists with custom styling */
    ul[style] {
        padding-left: 0 !important;
        margin: 20px 0 !important;
    }
    
    ul[style] li[style] {
        margin-bottom: 15px !important;
        padding-left: 25px !important;
    }
}

/* Extra small mobile */
@media (max-width: 480px) {
    section.hero h1,
    section h1[style*="font-size"] {
        font-size: 24px !important;
    }
    
    h2[style*="font-size"],
    section h2 {
        font-size: 24px !important;
    }
    
    h3[style*="font-size"],
    section h3 {
        font-size: 20px !important;
    }
    
    section {
        padding: 30px 0 !important;
    }
    
    .container {
        padding: 0 15px !important;
    }
    
    p, li, span {
        font-size: 14px !important;
    }
}

/* Tablet */
@media (min-width: 769px) and (max-width: 1024px) {
    div[style*="grid-template-columns: 1fr 1fr"] {
        display: flex !important;
        flex-direction: column !important;
        gap: 30px !important;
    }
    
    section.hero h1 {
        font-size: 48px !important;
    }
    
    h2[style*="font-size: 48px"] {
        font-size: 36px !important;
    }
}


/* Fix for circular elements on mobile */
@media (max-width: 768px) {
    /* Ensure back-to-top button stays circular */
    .back-to-top {
        width: 50px !important;
        height: 50px !important;
        border-radius: 50% !important;
        min-width: 50px !important;
        min-height: 50px !important;
        max-width: 50px !important;
        max-height: 50px !important;
    }
    
    /* Fix any stretched circular elements */
    [style*="border-radius: 50%"],
    [style*="border-radius:50%"] {
        aspect-ratio: 1 / 1 !important;
        min-width: auto !important;
        max-width: none !important;
    }
    
    /* Ensure icon circles maintain shape */
    div[style*="width: 60px"][style*="height: 60px"] {
        width: 60px !important;
        height: 60px !important;
        min-width: 60px !important;
        min-height: 60px !important;
        flex-shrink: 0 !important;
    }
}


/* Additional Mobile Fixes for Bookkeeping Page */
@media (max-width: 968px) {
    /* Ensure all inline grid styles are overridden */
    .pricing-section > .container > div[style],
    .why-choose-section > .container > div[style],
    .industries-section > .container > div[style] {
        display: block !important;
    }
    
    .pricing-section > .container > div[style] > div[style*="display: grid"],
    .why-choose-section > .container > div[style*="display: grid"],
    .industries-section > .container > div[style*="display: grid"] {
        display: block !important;
        grid-template-columns: 1fr !important;
    }
    
    /* Fix white box padding on mobile */
    div[style*="background: white"][style*="padding: 60px"] {
        padding: 25px 15px !important;
    }
    
    /* Ensure images don't overflow */
    div[style] > img {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
    }
    
    /* Fix gap spacing */
    div[style*="gap: 60px"] {
        gap: 25px !important;
    }
}

/* Force single column on all mobile devices */
@media screen and (max-width: 768px) {
    * [style*="grid-template-columns: 1fr 1fr"] {
        grid-template-columns: 1fr !important;
    }
    
    * [style*="display: grid"] {
        display: block !important;
    }
}


/* CRITICAL MOBILE FIXES - HIGHEST PRIORITY */
@media screen and (max-width: 768px) {
    /* Override ALL grid displays */
    body div[style*="display: grid"],
    body div[style*="grid-template-columns"],
    section div[style*="display: grid"],
    section div[style*="grid-template-columns"],
    .container div[style*="display: grid"],
    .container div[style*="grid-template-columns"] {
        display: block !important;
        grid-template-columns: 1fr !important;
        width: 100% !important;
    }
    
    /* Force all children to stack */
    body div[style*="display: grid"] > *,
    section div[style*="display: grid"] > *,
    .container div[style*="display: grid"] > * {
        width: 100% !important;
        max-width: 100% !important;
        margin-bottom: 20px !important;
    }
    
    /* Fix the white container boxes */
    body div[style*="background: white"],
    section div[style*="background: white"],
    .pricing-section div[style*="background: white"],
    .why-choose-section div[style*="background: white"] {
        padding: 20px !important;
        margin: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    
    /* Override all max-width constraints */
    body div[style*="max-width"],
    section div[style*="max-width"],
    .container div[style*="max-width"] {
        max-width: 100% !important;
    }
    
    /* Fix all images */
    body img,
    section img,
    div img,
    img[style] {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    /* Fix headings */
    body h1[style*="font-size"],
    section h1[style*="font-size"],
    h1[style] {
        font-size: 28px !important;
    }
    
    body h2[style*="font-size"],
    section h2[style*="font-size"],
    h2[style] {
        font-size: 24px !important;
    }
    
    body h3[style*="font-size"],
    section h3[style*="font-size"],
    h3[style] {
        font-size: 20px !important;
    }
    
    /* Fix padding on sections */
    body section[style*="padding"],
    section[style*="padding"] {
        padding: 30px 0 !important;
    }
    
    /* Fix gaps */
    body div[style*="gap"],
    section div[style*="gap"],
    div[style*="gap"] {
        gap: 20px !important;
    }
    
    /* Ensure container has proper padding */
    .container,
    body .container,
    section .container {
        padding-left: 15px !important;
        padding-right: 15px !important;
        width: 100% !important;
        max-width: 100% !important;
    }
}

/* Extra aggressive fix for very small screens */
@media screen and (max-width: 480px) {
    * [style*="display: grid"] {
        display: block !important;
    }
    
    * [style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
    }
    
    body, section, div, .container {
        overflow-x: hidden !important;
    }
    
    body div[style*="padding: 60px"] {
        padding: 15px !important;
    }
}


/* NUCLEAR OPTION - Override everything on mobile */
@media screen and (max-width: 768px) {
    /* Target the specific problematic sections */
    .pricing-section,
    .why-choose-section,
    .industries-section,
    section[style] {
        overflow-x: hidden !important;
    }
    
    .pricing-section *,
    .why-choose-section *,
    .industries-section * {
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    
    /* Force block display on all styled divs within sections */
    .pricing-section div[style],
    .why-choose-section div[style],
    .industries-section div[style] {
        display: block !important;
        width: 100% !important;
        float: none !important;
        position: relative !important;
    }
    
    /* Remove all grid properties */
    .pricing-section div[style*="grid"],
    .why-choose-section div[style*="grid"],
    .industries-section div[style*="grid"] {
        grid-template-columns: none !important;
        grid-template-rows: none !important;
        grid-gap: 0 !important;
        gap: 20px !important;
    }
    
    /* Ensure proper stacking */
    .pricing-section > .container > *,
    .why-choose-section > .container > *,
    .industries-section > .container > * {
        display: block !important;
        width: 100% !important;
    }
    
    /* Fix the nested grid inside white box */
    div[style*="background: white"] > div[style*="display: grid"] {
        display: block !important;
    }
    
    div[style*="background: white"] > div[style*="display: grid"] > div {
        width: 100% !important;
        margin-bottom: 25px !important;
    }
    
    /* Last child no margin */
    div[style*="background: white"] > div[style*="display: grid"] > div:last-child {
        margin-bottom: 0 !important;
    }
}

/* Prevent horizontal scroll */
@media screen and (max-width: 768px) {
    html {
        overflow-x: hidden !important;
    }
    
    body {
        overflow-x: hidden !important;
        width: 100% !important;
        max-width: 100vw !important;
    }
    
    * {
        max-width: 100% !important;
    }
    
    img, video, iframe {
        max-width: 100% !important;
        height: auto !important;
    }
}
