@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');

:root {
    --primary-red: #DC3545;
    --secondary-red: #A52A2A;
    --light-red-bg: #FFF0F0;
    --dark-text: #333333;
    --regular-text: #555555;
    --white: #ffffff;
    --green-icon: #28a745;
    --blue-icon: #007bff;
    --purple-icon: #6f42c1;
}

body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background: linear-gradient(135deg, #ffe0e0, #ffc0c0);
    color: var(--regular-text);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

.interactive-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    z-index: -1;
}


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

/* Navbar */
.navbar {
    background-color: var(--white);
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar .logo {
    font-size: 1.8em;
    font-weight: 700;
    color: var(--dark-text);
    text-decoration: none;
}

.navbar nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.navbar nav ul li {
    margin-left: 30px;
}

.navbar nav ul li a {
    color: var(--regular-text);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.navbar nav ul li a:hover {
    color: var(--primary-red);
}

.btn-quote {
    background-color: var(--primary-red);
    color: var(--white);
    padding: 10px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.2s ease;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
}

.btn-quote:hover {
    background-color: var(--secondary-red);
    transform: translateY(-2px);
}

.btn-quote .arrow {
    margin-left: 8px;
    font-size: 1.2em;
}

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

.section-gray {
    background-color: var(--light-red-bg); /* Using the defined light-red-bg variable */
}

/* Hero Section */
.hero-section {
    text-align: center;
    padding: 100px 0 150px 0; /* Adjusted padding-bottom to accommodate feature cards */
    background: transparent;
    position: relative;
    z-index: 1;
    min-height: 100vh; /* Make it full screen height */
    display: flex;
    flex-direction: column;
    justify-content: center; /* Vertically center content */
    align-items: center; /* Horizontally center content */
}

.hero-section h1 {
    font-size: 2.5em; /* Made h1 smaller as requested */
    color: var(--dark-text);
    margin-bottom: 20px;
    font-weight: 700;
}

.hero-section h1 span {
    color: var(--primary-red);
}

.hero-section p {
    font-size: 1.2em;
    color: var(--regular-text);
    max-width: 700px;
    margin: 0 auto 40px auto;
}

.hero-section .btn-quote {
    font-size: 1.1em;
    padding: 12px 30px;
    margin: 0 auto; /* Center the button */
}

.scroll-down-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.scroll-down-indicator.hidden {
    opacity: 0;
    pointer-events: none;
}

.mouse-icon {
    width: 30px;
    height: 50px;
    border: 2px solid var(--primary-red);
    border-radius: 15px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: 8px;
}

.mouse-wheel {
    width: 4px;
    height: 10px;
    background-color: var(--primary-red);
    border-radius: 2px;
    animation: scrollWheel 1.5s infinite;
}

@keyframes scrollWheel {
    0% {
        transform: translateY(0);
        opacity: 1;
    }
    50% {
        transform: translateY(10px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Scroll Reveal Effects */
.scroll-reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

/* Features Section */
.features-section {
    padding: 0; /* Remove padding as it's now part of hero */
    background-color: transparent; /* Remove background as it's now part of hero */
    margin-top: 50px; /* Add some space from the hero text */
}

.features-section .container {
    display: flex;
    justify-content: space-around;
    gap: 30px;
    flex-wrap: wrap;
}

.feature-card {
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    padding: 30px;
    text-align: center;
    flex: 1;
    min-width: 280px;
    max-width: 350px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.feature-card .icon {
    font-size: 2.5em;
    margin-bottom: 15px;
    color: var(--primary-red); /* Default icon color */
}

.feature-card:nth-child(1) .icon { color: var(--green-icon); }
.feature-card:nth-child(2) .icon { color: var(--blue-icon); }
.feature-card:nth-child(3) .icon { color: var(--purple-icon); }


.feature-card h3 {
    font-size: 1.5em;
    color: var(--dark-text);
    margin-bottom: 10px;
}

.feature-card p {
    color: var(--regular-text);
    font-size: 0.95em;
}

/* Footer */
footer {
    text-align: center;
    padding: 40px 20px;
    background-color: var(--dark-text);
    color: var(--light-red-bg);
    margin-top: 50px;
}

/* Industries Section */
.industries-section {
    padding: 80px 0;
    text-align: center;
}

.industries-section h2 {
    font-size: 2.5em;
    color: var(--dark-text);
    margin-bottom: 15px;
}

.industries-section .section-description {
    font-size: 1.1em;
    color: var(--regular-text);
    max-width: 800px;
    margin: 0 auto 50px auto;
}

.industry-cards {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
}

.industry-card {
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    padding: 30px;
    text-align: center;
    flex: 1;
    min-width: 250px;
    max-width: 280px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

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

.industry-card .icon {
    font-size: 2.5em;
    margin-bottom: 15px;
    color: var(--primary-red); /* Default icon color */
}

.industry-card h3 {
    font-size: 1.4em;
    color: var(--dark-text);
    margin-bottom: 10px;
}

.industry-card p {
    color: var(--regular-text);
    font-size: 0.9em;
    flex-grow: 1;
}

.industry-card .hours-saved {
    display: inline-block;
    background-color: #e6ffe6; /* Light green background */
    color: #28a745; /* Green text */
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85em;
    font-weight: 600;
    margin-top: 20px;
}

/* Process Automation Section */
.process-automation-section {
    padding: 80px 0;
    text-align: center;
}

.process-automation-section h2 {
    font-size: 2.5em;
    color: var(--dark-text);
    margin-bottom: 15px;
}

.process-automation-section .section-description {
    font-size: 1.1em;
    color: var(--regular-text);
    max-width: 800px;
    margin: 0 auto 50px auto;
}

.workflow-highlight {
    background-color: var(--light-red-bg);
    border: 1px solid var(--primary-red);
    border-radius: 8px;
    padding: 20px;
    max-width: 700px;
    margin: 40px auto;
    text-align: left;
}

.workflow-highlight h3 {
    color: var(--primary-red);
    margin-top: 0;
    font-size: 1.3em;
}

.workflow-highlight p {
    font-size: 0.95em;
    color: var(--regular-text);
}

.workflow-diagram {
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    padding: 30px;
    margin: 50px auto;
    max-width: 900px;
    text-align: left;
}

.workflow-diagram h3 {
    text-align: center;
    color: var(--dark-text);
    margin-top: 0;
    margin-bottom: 30px;
    font-size: 1.6em;
}

.react-flow-mock {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.react-flow-mock .node {
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.react-flow-mock .node.email-inbox {
    background-color: #fffbe6;
    border: 1px solid #fcd34d;
    color: #d97706;
}

.react-flow-mock .node.manual-review {
    background-color: #e0f2fe;
    border: 1px solid #38bdf8;
    color: #0284c7;
}

.react-flow-mock .node.manual-entry {
    background-color: #fee2e2;
    border: 1px solid #f87171;
    color: #ef4444;
}

.react-flow-mock .node.file-agnum,
.react-flow-mock .node.file-rivile,
.react-flow-mock .node.file-other {
    background-color: var(--white);
    border: 1px solid #d1d5db;
    color: #4b5563;
}

.react-flow-mock .node.auto-parse {
    background-color: #d1fae5;
    border: 1px solid #34d399;
    color: #059669;
}

.react-flow-mock .node.dashboard {
    background-color: #ede9fe;
    border: 1px solid #a78bfa;
    color: #7c3aed;
}

.react-flow-mock .node.export-click {
    background-color: #dcfce7;
    border: 1px solid #4ade80;
    color: #16a34a;
}

.react-flow-mock .arrow {
    font-size: 1.5em;
    color: #f97316;
    margin: 0 5px;
}

.react-flow-mock .arrow-split {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin: 0 5px;
}

.react-flow-mock .arrow-split .arrow-up,
.react-flow-mock .arrow-split .arrow-straight,
.react-flow-mock .arrow-split .arrow-down {
    font-size: 1.5em;
    color: #f97316;
    line-height: 1;
}

.react-flow-mock .node-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.react-flow-mock .arrow-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 0 5px;
}

.react-flow-mock .arrow-group .arrow {
    font-size: 1.5em;
    color: #f97316;
    line-height: 1;
}

.react-flow-mock .arrow-dashed {
    font-size: 1.5em;
    color: #f97316;
    margin: 0 5px;
    letter-spacing: 2px;
}

.react-flow-mock .arrow-split-dashed {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin: 0 5px;
}

.react-flow-mock .arrow-split-dashed .arrow-up-dashed,
.react-flow-mock .arrow-split-dashed .arrow-straight-dashed,
.react-flow-mock .arrow-split-dashed .arrow-down-dashed {
    font-size: 1.5em;
    color: #f97316;
    line-height: 1;
    letter-spacing: 2px;
}

/* Why Choose Us Section */
.why-choose-us-section {
    padding: 80px 0;
    text-align: center;
}

.why-choose-us-section h2 {
    font-size: 2.5em;
    color: var(--dark-text);
    margin-bottom: 15px;
}

.why-choose-us-section .section-description {
    font-size: 1.1em;
    color: var(--regular-text);
    max-width: 800px;
    margin: 0 auto 50px auto;
}

.reason-cards {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
}

.reason-card {
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    padding: 30px;
    text-align: left;
    flex: 1;
    min-width: 300px;
    max-width: 380px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.reason-card .icon {
    font-size: 2em;
    margin-bottom: 15px;
    color: var(--primary-red);
    background-color: var(--light-red-bg);
    padding: 10px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.reason-card h3 {
    font-size: 1.4em;
    color: var(--dark-text);
    margin-bottom: 10px;
}

.reason-card p {
    color: var(--regular-text);
    font-size: 0.95em;
}

footer p {
    margin: 0;
    font-size: 0.9em;
}

/* Case Studies Section */
.case-studies-section {
    padding: 80px 0;
    text-align: center;
}

.case-studies-section h2 {
    font-size: 2.5em;
    color: var(--dark-text);
    margin-bottom: 15px;
}

.case-studies-section .section-description {
    font-size: 1.1em;
    color: var(--regular-text);
    max-width: 800px;
    margin: 0 auto 50px auto;
}

.case-study-cards {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 40px;
}

.case-study-card {
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    padding: 30px;
    text-align: left;
    flex: 1;
    min-width: 300px;
    max-width: 380px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

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

.case-study-card h3 {
    font-size: 1.4em;
    color: var(--dark-text);
    margin-bottom: 10px;
}

.case-study-card p {
    color: var(--regular-text);
    font-size: 0.95em;
    flex-grow: 1;
    margin-bottom: 20px;
}

.btn-read-more {
    display: inline-block;
    color: var(--primary-red);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.btn-read-more:hover {
    color: var(--secondary-red);
}

.view-all-btn {
    margin-top: 20px;
}

/* Contact Section */
.contact-section {
    padding: 80px 0;
    text-align: center;
}

.contact-section h2 {
    font-size: 2.5em;
    color: var(--dark-text);
    margin-bottom: 15px;
}

.contact-section .section-description {
    font-size: 1.1em;
    color: var(--regular-text);
    max-width: 800px;
    margin: 0 auto 50px auto;
}

.contact-content {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
    text-align: left;
}

.contact-form, .contact-info {
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    padding: 40px;
    flex: 1;
    min-width: 300px;
    max-width: 500px;
}

.contact-form h3, .contact-info h3 {
    font-size: 1.8em;
    color: var(--dark-text);
    margin-top: 0;
    margin-bottom: 30px;
    text-align: center;
}

.contact-form .form-group {
    display: flex;
    flex-wrap: wrap; /* Allow items to wrap to the next line */
    gap: 20px; /* Spacing between fields on the same line */
    margin-bottom: 20px; /* Vertical spacing between form groups */
}

.contact-form .form-group input,
.contact-form .form-group textarea,
.contact-form .form-group select {
    flex: 1 1 calc(50% - 10px); /* Allow items to take roughly half width, accounting for gap */
    padding: 12px 15px;
    border: 1px solid #ced4da;
    border-radius: 5px;
    font-family: 'Poppins', sans-serif;
    font-size: 1em;
    color: var(--regular-text);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background-color: var(--white); /* Ensure background is white */
}

.contact-form .form-group input,
.contact-form .form-group textarea {
    /* Remove custom arrow for input and textarea */
    background-image: none;
    padding-right: 15px;
    -webkit-appearance: auto;
    -moz-appearance: auto;
    appearance: auto;
}

.contact-form .form-group select {
    -webkit-appearance: none; /* Remove default browser styling for select */
    -moz-appearance: none; /* Remove default browser styling for select */
    appearance: none; /* Remove default browser styling for select */
    background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23555555%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13.2-5.4H18.6c-5%200-9.3%201.8-13.2%205.4A17.6%2017.6%200%200%200%200%2082.2c0%204.8%201.8%209.3%205.4%2013.2l128%20128c3.9%203.9%208.4%205.4%2013.2%205.4s9.3-1.8%2013.2-5.4l128-128c3.9-3.9%205.4-8.4%205.4-13.2%200-4.8-1.8-9.3-5.4-13.2z%22%2F%3E%3C%2Fsvg%3E'); /* Custom arrow for select */
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 12px;
    padding-right: 35px; /* Make space for the custom arrow */
}

.contact-form .form-group input:focus,
.contact-form .form-group select:focus,
.contact-form .form-group textarea:focus {
    border-color: var(--primary-red);
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
    outline: none;
}

.contact-form .form-group textarea {
    resize: vertical; /* Enable vertical resizing */
    min-height: 100px;
}

.contact-form .form-group input::placeholder,
.contact-form .form-group textarea::placeholder,
.contact-form .form-group select:invalid {
    color: #888; /* Darker placeholder text */
    opacity: 1; /* Ensure full opacity */
}

.contact-form .btn-quote {
    width: 100%;
    justify-content: center;
    margin-top: 20px;
    align-items: center; /* Ensure arrow is vertically centered */
}

.contact-info p {
    margin-bottom: 30px;
    font-size: 1em;
    color: var(--regular-text);
}

.contact-info .info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

.contact-info .info-item .icon {
    font-size: 1.8em;
    color: var(--primary-red);
    margin-right: 15px;
    background-color: var(--light-red-bg);
    padding: 10px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.contact-info .info-item h4 {
    font-size: 1.2em;
    color: var(--dark-text);
    margin: 0 0 5px 0;
}

.contact-info .info-item p {
    margin: 0;
    font-size: 0.95em;
    color: var(--regular-text);
}

.contact-info .info-item p {
    margin: 0;
    font-size: 0.95em;
    color: var(--text-color);
}

.contact-info .info-item .small-text {
    font-size: 0.85em;
    color: #6c757d;
}

/* Extended Footer */
.footer-extended {
    background-color: var(--dark-text);
    color: var(--light-red-bg);
    padding: 60px 0 20px 0;
    margin-top: 0;
}

.footer-extended .footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-extended .footer-about h3 {
    color: var(--white);
    font-size: 1.8em;
    margin-bottom: 20px;
}

.footer-extended .footer-about p {
    font-size: 0.95em;
    line-height: 1.8;
    margin-bottom: 20px;
}

.footer-extended .social-links a {
    margin-right: 15px;
    display: inline-block;
}

.footer-extended .social-links img {
    width: 24px;
    height: 24px;
    /* filter: invert(100%); /* Make icons white */
    transition: transform 0.3s ease;
}

.footer-extended .social-links img:hover {
    transform: translateY(-3px);
}

.footer-extended .footer-links h3,
.footer-extended .footer-legal h3 {
    color: var(--white);
    font-size: 1.2em;
    margin-bottom: 20px;
}

.footer-extended .footer-links ul,
.footer-extended .footer-legal ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-extended .footer-links ul li,
.footer-extended .footer-legal ul li {
    margin-bottom: 10px;
}

.footer-extended .footer-links ul li a,
.footer-extended .footer-legal ul li a {
    color: var(--light-gray);
    text-decoration: none;
    font-size: 0.95em;
    transition: color 0.3s ease;
}

.footer-extended .footer-links ul li a:hover,
.footer-extended .footer-legal ul li a:hover {
    color: var(--primary-red);
}

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

.footer-extended .footer-bottom p {
    margin: 0;
    font-size: 0.85em;
    color: #adb5bd;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .navbar nav {
        display: none; /* Hide navigation on smaller screens */
    }

    .navbar .container {
        justify-content: space-between; /* Align logo left and button right */
    }

    .hero-section h1 {
        font-size: 2.8em;
    }

    .features-section .container,
    .industry-cards,
    .reason-cards,
    .case-study-cards,
    .contact-content {
        flex-direction: column;
        align-items: center;
    }

    .feature-card,
    .industry-card,
    .reason-card,
    .case-study-card,
    .contact-form,
    .contact-info {
        max-width: 90%;
        min-width: unset;
    }

    .workflow-diagram {
        max-width: 90%;
    }

    .react-flow-mock {
        flex-direction: column;
    }

    .react-flow-mock .arrow,
    .react-flow-mock .arrow-dashed {
        transform: rotate(90deg);
        margin: 10px 0;
    }

    .react-flow-mock .arrow-split,
    .react-flow-mock .arrow-split-dashed {
        flex-direction: row;
        gap: 10px;
        margin: 10px 0;
    }

    .react-flow-mock .arrow-split .arrow-up,
    .react-flow-mock .arrow-split .arrow-down,
    .react-flow-mock .arrow-split-dashed .arrow-up-dashed,
    .react-flow-mock .arrow-split-dashed .arrow-down-dashed {
        transform: rotate(90deg);
    }

    .footer-extended .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-extended .social-links {
        justify-content: center;
        display: flex;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 80px 0;
    }

    .hero-section h1 {
        font-size: 2.2em;
    }

    .hero-section p {
        font-size: 1em;
    }

    .features-section,
    .industries-section,
    .process-automation-section,
    .why-choose-us-section,
    .case-studies-section,
    .contact-section {
        padding: 60px 0;
    }

    .contact-form .form-group {
        gap: 15px;
    }

    .contact-form .form-group input,
    .contact-form .form-group select,
    .contact-form .form-group textarea {
        width: 100%; /* Full width on small screens */
    }
}

@media (max-width: 480px) {
    .navbar .logo {
        font-size: 1.5em;
    }

    .hero-section h1 {
        font-size: 1.8em;
    }

    .btn-quote {
        padding: 8px 20px;
        font-size: 0.9em;
    }

    .feature-card h3,
    .industry-card h3,
    .reason-card h3,
    .case-study-card h3,
    .contact-form h3,
    .contact-info h3 {
        font-size: 1.3em;
    }

    .contact-info .info-item .icon {
        font-size: 1.5em;
        padding: 8px;
    }
}

/* Pricing Section */
.pricing-section {
    padding: 80px 0;
    text-align: center;
}

.pricing-section h2 {
    font-size: 2.5em;
    color: var(--dark-text);
    margin-bottom: 15px;
}

.pricing-section .section-description {
    font-size: 1.1em;
    color: var(--regular-text);
    max-width: 800px;
    margin: 0 auto 30px auto; /* Reduced margin to make space for toggle */
}

.pricing-toggle {
    display: inline-flex;
    background-color: var(--light-red-bg);
    border-radius: 5px;
    margin-bottom: 40px;
    overflow: hidden;
}

.pricing-toggle .toggle-btn {
    padding: 10px 20px;
    border: none;
    background-color: transparent;
    color: var(--regular-text);
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.pricing-toggle .toggle-btn.active {
    background-color: var(--primary-red);
    color: var(--white);
}

.pricing-cards {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 40px;
}

.pricing-card {
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    padding: 30px;
    text-align: left;
    flex: 1;
    min-width: 300px;
    max-width: 380px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-top: 5px solid transparent; /* Default border */
}

.pricing-card.starter { border-top-color: #28a745; } /* Green */
.pricing-card.pro { border-top-color: #ffc107; } /* Yellow */
.pricing-card.premium { border-top-color: var(--primary-red); } /* Red */


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

.pricing-card .pricing-header {
    padding: 15px 20px;
    margin: -30px -30px 20px -30px; /* Adjust to cover the top of the card */
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    text-align: center;
    color: var(--white);
}

.pricing-card.starter .pricing-header { background-color: #28a745; } /* Green */
.pricing-card.pro .pricing-header { background-color: #ffc107; } /* Yellow */
.pricing-card.premium .pricing-header { background-color: var(--primary-red); } /* Red */

.pricing-card .pricing-header h3 {
    font-size: 1.6em;
    margin: 0;
    color: var(--white); /* Headline color should be white on colored background */
}

.pricing-card .plan-description {
    font-size: 0.9em;
    color: rgba(255, 255, 255, 0.8); /* Lighter text for description */
    margin-top: 5px;
    margin-bottom: 0;
}

.pricing-card ul {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
    flex-grow: 1;
}

.pricing-card .pricing-footer {
    text-align: center;
    margin-top: auto; /* Push footer to the bottom */
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.pricing-card .pricing-footer .price {
    font-size: 2.2em;
    font-weight: 700;
    color: var(--dark-text);
    margin-bottom: 10px;
}

.pricing-card .cost-breakdown,
.pricing-card .net-profit {
    font-size: 0.9em;
    color: #6c757d;
    margin-bottom: 5px;
}

.pricing-card .net-profit {
    font-weight: 600;
    color: var(--primary-red);
    margin-bottom: 20px; /* Space before button */
}

.btn-buy-now {
    background-color: var(--primary-red);
    color: var(--white);
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.2s ease;
    border: none;
    cursor: pointer;
    display: inline-block; /* Changed from flex to inline-block for centering */
    margin-top: 15px;
    width: 100%; /* Make button full width of card footer */
    box-sizing: border-box; /* Include padding in width */
}

.btn-buy-now:hover {
    background-color: var(--secondary-red);
    transform: translateY(-2px);
}

.pricing-card ul {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
    flex-grow: 1;
}

.pricing-card ul li {
    margin-bottom: 10px;
    color: var(--regular-text);
    font-size: 0.95em;
    position: relative;
    padding-left: 25px;
}

.pricing-card ul li::before {
    content: '✓';
    color: var(--primary-red);
    position: absolute;
    left: 0;
    font-weight: 600;
}

.pricing-card ul li.setup-cost {
    color: #dc3545; /* Red color for setup cost */
    font-weight: 600;
}

.pricing-card ul li.setup-cost::before {
    content: '⚙️'; /* Gear icon for setup cost */
    color: #dc3545;
}

.overline-text {
    text-decoration: line-through;
    opacity: 0.7;
}

.pricing-card .cost-breakdown,
.pricing-card .net-profit {
    font-size: 0.9em;
    color: #6c757d;
    margin-bottom: 5px;
}

.pricing-card .net-profit {
    font-weight: 600;
    color: var(--primary-blue);
}

/* Responsive adjustments for pricing section */
@media (max-width: 992px) {
    .pricing-cards {
        flex-direction: column;
        align-items: center;
    }

    .pricing-card {
        max-width: 90%;
    }
}

/* Plan Comparison Section */
.plan-comparison-section {
    padding: 80px 0;
    text-align: center;
}

.plan-comparison-section h2 {
    font-size: 3em;
    margin-bottom: 20px;
    color: #333;
}

.plan-comparison-section .section-description {
    font-size: 1.2em;
    color: #666;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.comparison-table-container {
    overflow-x: auto;
    margin-top: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 700px; /* Ensure table is wide enough for content */
    background-color: #fff;
}

.comparison-table th,
.comparison-table td {
    padding: 18px 15px;
    border: 1px solid #eee;
    text-align: left;
    font-size: 1em;
    color: #333;
}

.comparison-table th {
    background-color: #f8f8f8;
    font-weight: 600;
    color: var(--primary-red);
    text-transform: uppercase;
    font-size: 1.1em;
    text-align: center; /* Centering the header text */
}

.comparison-table tbody tr:nth-child(odd) {
    background-color: #fdfdfd;
}

.comparison-table tbody tr:hover {
    background-color: #f0f8ff;
}

.comparison-table td:first-child {
    font-weight: 500;
    color: #555;
}

.comparison-table .pricing-row td {
    font-weight: 700;
    background-color: #ffe0e0;
    color: var(--dark-text);
}

.comparison-table .pricing-row td:first-child {
    background-color: #ffc0c0;
}

.comparison-table td:not(:first-child) {
    text-align: center;
}

.comparison-table td .icon {
    font-size: 1.2em;
    vertical-align: middle;
    margin-right: 5px;
}

/* Automation CTA Box */
.automation-cta-box {
    background-color: var(--primary-red);
    color: var(--white);
    padding: 60px 20px;
    text-align: center;
    border-radius: 10px;
    margin: 60px auto;
    max-width: 1000px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.automation-cta-box h3 {
    font-size: 2.2em;
    margin-bottom: 25px;
    color: var(--white);
    max-width: 700px;
    line-height: 1.3;
}

.automation-cta-box .btn-quote {
    background-color: var(--white);
    color: var(--primary-red);
    padding: 15px 40px;
    font-size: 1.1em;
    border-radius: 8px;
    font-weight: 700;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
}

.automation-cta-box .btn-quote:hover {
    background-color: var(--light-red-bg);
    color: var(--secondary-red);
    transform: translateY(-3px);
}

/* Responsive adjustments for Automation CTA Box */
@media (max-width: 768px) {
    .automation-cta-box {
        padding: 40px 20px;
        margin: 40px auto;
    }

    .automation-cta-box h3 {
        font-size: 1.8em;
        margin-bottom: 20px;
    }

    .automation-cta-box .btn-quote {
        padding: 12px 30px;
        font-size: 1em;
    }
}

@media (max-width: 480px) {
    .automation-cta-box h3 {
        font-size: 1.5em;
    }
}

/* n8n Stats Section */
.n8n-stats-section {
    padding: 80px 0;
    text-align: center;
}

.n8n-stats-section h2 {
    font-size: 2.5em;
    color: var(--dark-text);
    margin-bottom: 15px;
}

.n8n-stats-section .section-description {
    font-size: 1.1em;
    color: var(--regular-text);
    max-width: 800px;
    margin: 0 auto 50px auto;
}

.stats-cards {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
}

.stat-card {
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    text-align: left;
    flex: 1;
    min-width: 250px; /* Reverting to original min-width */
    max-width: 100%;
    width: 100%;
    padding: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.stat-card .icon {
    font-size: 3em;
    margin-bottom: 15px;
    color: var(--primary-red); /* Default icon color */
}

.stat-card h3 {
    font-size: 2.5em;
    color: var(--dark-text);
    margin-bottom: 10px;
}

.stat-card p {
    color: var(--regular-text);
    font-size: 1em;
}

@media (max-width: 992px) {
    .stats-cards {
        align-items: center;
    }

    .stat-card {
        max-width: 90%;
    }
}


.text-dark-yellow {
    color: #DAA520 !important; /* Darker yellow */
    font-size: 0.8em; /* Make text smaller */
}

.text-dark-red {
    color: #8B0000; /* Darker red */
    font-size: 0.8em; /* Make text smaller */
}

/* Ownership CTA Box */
.ownership-cta-box {
    background-color: #f8f9fa; /* Light gray background */
    border: 1px solid #e2e6ea;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    margin: 40px auto;
    max-width: 800px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.ownership-cta-box p {
    font-size: 1.2em;
    color: var(--dark-text);
    margin-bottom: 20px;
    font-weight: 600;
}

.ownership-cta-box .btn-quote {
    background-color: var(--primary-red);
    color: var(--white);
    padding: 12px 30px;
    font-size: 1em;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.2s ease;
    border: none;
    cursor: pointer;
    display: inline-block;
}

.ownership-cta-box .btn-quote:hover {
    background-color: var(--secondary-red);
    transform: translateY(-2px);
}

/* Dashboard Specific Styles */
.dashboard-section {
    padding: 80px 0;
    background-color: var(--white);
}

.dashboard-container {
    padding: 40px 20px;
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.dashboard-container h2 {
    text-align: center;
    color: var(--dark-text);
    margin-bottom: 30px;
    font-size: 2.5em;
}

.dashboard-container p {
    text-align: center;
    font-size: 1.1em;
    color: var(--regular-text);
    margin-bottom: 40px;
}

.upload-section, .stats-section {
    background-color: var(--light-red-bg);
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.upload-section h3, .stats-section h3 {
    color: var(--primary-red);
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 1.8em;
    text-align: center;
}

.upload-section input[type="file"] {
    display: block;
    margin: 0 auto 20px auto;
    padding: 10px;
    border: 1px solid #ced4da;
    border-radius: 5px;
    background-color: var(--white);
    width: fit-content;
}

.upload-section button {
    display: block;
    margin: 0 auto;
    background-color: var(--primary-red);
    color: var(--white);
    padding: 10px 25px;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.upload-section button:hover {
    background-color: var(--secondary-red);
    transform: translateY(-2px);
}

.stats-section p {
    text-align: center;
    font-style: italic;
    color: var(--regular-text);
}
