/* --- Font Import --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@700;800&display=swap');

/* --- CSS Variables --- */
:root {
    /* Futuristic White/Grey Palette */
    --primary-color: #05aa16; /* Keep a strong accent color */
    --primary-hover: #028a10;
    --background-color: #ffffff;
    --surface-color: #f8f9fa;
    --surface-color-translucent: rgba(255, 255, 255, 0.6);
    --border-color: #dee2e6;
    --border-color-light: #f1f3f5;
    --text-heading-color: #212529;
    --text-color: #495057;
    --text-muted-color: #868e96;
    --error-color: #ef4444;

    --font-body: 'Inter', sans-serif;
    --font-heading: 'Plus Jakarta Sans', sans-serif;

    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.07), 0 4px 6px -4px rgba(0, 0, 0, 0.07);
    --shadow-lg: 0 20px 25px -5px rgba(33, 37, 41, 0.1), 0 8px 10px -6px rgba(33, 37, 41, 0.1);
}

/* --- Basic Reset & Body --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* --- General Layout & Typography --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 800;
    color: var(--text-heading-color);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); line-height: 1.1; }
h2 { font-size: clamp(2rem, 4vw, 2.75rem); line-height: 1.2; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.25rem; }

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.2s ease-in-out;
}

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

p {
    margin-bottom: 1rem;
    color: var(--text-muted-color);
}

/* --- Futuristic Header (Glassmorphism) --- */
.main-header {
    background-color: var(--surface-color);
    border-bottom: 1px solid var(--border-color-light);
    padding: 0 1.5rem;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: background-color 0.3s, border-color 0.3s;
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
    padding-top: 0;
    padding-bottom: 0;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-heading-color) !important; /* Ensure text color is consistent */
    flex-shrink: 0; /* Prevent logo from shrinking */
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-img {
    height: 32px; /* Adjust size as needed */
    width: auto;
    border-radius: 6px; /* Optional: if you want slightly rounded corners on the logo */
}

/* Set the color for the text part of the logo */
.logo span {
    color: #324d35;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

#main-nav ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: nowrap; /* Ensure nav items stay on a single line */
}

#main-nav a {
    padding: 0.5rem 0;
    color: var(--text-muted-color);
    font-weight: 400; /* Use normal font weight */
    position: relative;
}

/* --- Header Navigation Link Styling --- */
/* This ensures the desktop navigation links are not bold and have the correct color. */
.main-header #main-nav ul li a {
    color: #0A0A0A;
    font-weight: lighter;
}

/* This targets the mobile menu links specifically. */
@media (max-width: 991px) {
    .main-header #main-nav.is-active ul li a {
        color: #0A0A0A;
        font-weight: lighter;
    }
}

#main-nav a:hover {
    color: var(--text-heading-color);
}

/* Underline effect for nav links */
#main-nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

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

#main-nav a.active {
    color: var(--text-heading-color);
}

/* Dropdown Menu */
.has-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--surface-color);
    border: 1px solid var(--border-color-light);
    border-radius: 12px;
    padding: 0.75rem;
    min-width: 220px;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
    z-index: 1001;
}

.has-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: block;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    white-space: nowrap;
}

.dropdown-menu a:hover {
    background-color: var(--surface-color);
    color: var(--primary-color);
}

/* Special CTA link in nav */
.nav-cta {
    background-color: rgba(5, 170, 22, 0.1);
    color: var(--primary-color) !important;
    padding: 0.5rem 1rem !important;
    border-radius: 50px;
    font-weight: 600 !important;
}

.nav-cta:hover {
    background-color: rgba(5, 170, 22, 0.2);
    color: var(--primary-hover) !important;
}

.desktop-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.nav-toggle {
    display: none; /* Hidden by default, shown on mobile */
}
/* --- Footer --- */
.main-footer {
    background-color: var(--surface-color);
    color: var(--text-muted-color);
    padding: 4rem 1.5rem 2rem;
    margin-top: 4rem;
    border-top: 1px solid var(--border-color-light);
}

.main-footer a {
    color: var(--text-color);
    transition: color 0.2s ease;
}
.main-footer a:hover {
    color: var(--primary-color);
}

.main-footer .footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 3rem;
    margin-bottom: 2rem;
}

.main-footer .footer-about {
    flex: 2;
    min-width: 250px; /* Prevent it from getting too squished */
    margin-right: 2rem;
}

.main-footer .footer-about .footer-logo {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 1rem;
    /* Inherits display:flex from the .logo class */
}
.main-footer .footer-about .footer-logo {
    display: flex;
    align-items: center;
}

.main-footer .footer-about p {
    max-width: 350px;
    margin-bottom: 1.5rem;
}

.main-footer .social-links {
    display: flex;
    gap: 1rem;
}

.main-footer .social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--background-color);
    border: 1px solid var(--border-color-light);
    border-radius: 50%;
    color: var(--text-muted-color);
    transition: all 0.2s ease;
}

.main-footer .social-links a:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.main-footer .footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    flex: 3;
    justify-content: space-between;
}

.main-footer .footer-column h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-heading-color);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.main-footer .footer-column ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.main-footer .footer-copyright {
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-muted-color);
    border-top: 1px solid var(--border-color-light);
    padding-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.main-footer .footer-legal-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}
/* --- Interactive Buttons --- */
.button-primary {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
    box-shadow: var(--shadow-sm);
}

.button-primary:hover {
    background-color: var(--primary-hover);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.button-secondary {
    display: inline-block;
    background-color: #324d35;
    color: #ffffff;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-weight: 600;
    border: 1px solid transparent;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.button-secondary:hover {
    background-color: #2a402c; /* A slightly darker shade of the green */
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}
.button-primary.large, .button-secondary.large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.text-primary {
    color: var(--primary-color);
}

.button-danger {
    background-color: var(--error-color);
    color: white;
}

/* --- Modern Forms --- */
form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    background-color: var(--background-color);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border-color-light);
    box-shadow: var(--shadow-md);
}

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

label {
    font-weight: 600;
    color: var(--text-heading-color);
    margin-bottom: 0.5rem;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="tel"],
input[type="number"],
textarea,
select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 1rem;
    background-color: var(--background-color);
    color: var(--text-color);
    transition: border-color 0.2s, box-shadow 0.2s;
}

input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(5, 170, 22, 0.1);
}

textarea {
    resize: vertical;
}

/* --- Dashboard & App-specific styles --- */
.app-header { /* Use a specific class for dashboard headers */
    border-bottom: 1px solid var(--border-color-light);
    padding-bottom: 1.5rem;
    margin-bottom: 2.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.transaction-item, .service-item {
    background-color: var(--surface-color);
    padding: 1.25rem;
    border: 1px solid var(--border-color-light);
    border-radius: 10px;
    margin-bottom: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: transform 0.2s, box-shadow 0.2s;
}

.transaction-item:hover, .service-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

/* --- Homepage Specific Styles --- */
main {
    padding-top: 70px; /* Offset for fixed header */
}

.hero {
    text-align: center;
    padding: 6rem 1.5rem 8rem;
    background: radial-gradient(ellipse at 50% -20%, var(--surface-color), transparent 70%);
}

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

.hero-tag {
    display: inline-block;
    margin-bottom: 1rem;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    background-color: rgba(5, 170, 22, 0.1);
    color: var(--primary-color);
    font-weight: 600;
}

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

.hero h1 {
    margin-left: auto;
    margin-right: auto;
}

.hero p {
    max-width: 600px;
    margin: 1.5rem auto 2.5rem auto;
    font-size: 1.15rem;
}

.hero-search {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
    border: 1px solid var(--border-color-light);
    border-radius: 50px;
    background-color: var(--background-color);
    padding: 0.5rem;
    box-shadow: var(--shadow-md);
}

.hero-search input {
    flex-grow: 1;
    border: none;
    background: transparent;
    padding: 0 1.25rem;
    color: var(--text-heading-color);
    font-size: 1rem;
}

.hero-search input:focus {
    outline: none;
}

.featured-listings {
    padding: 5rem 1.5rem;
}

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

/* 4. Why Choose Us Section */
.why-choose-us {
    padding: 5rem 1.5rem;
    background-color: var(--surface-color);
}

/* --- Mobile Navigation --- */
@media (max-width: 991px) {
    .main-header .container {
        justify-content: space-between;
    }

    .nav-toggle {
        display: block;
        background: none;
        border: none;
        cursor: pointer;
        width: 30px;
        height: 30px;
        position: relative;
        z-index: 1002;
    }

    .nav-toggle-icon,
    .nav-toggle-icon::before,
    .nav-toggle-icon::after {
        content: '';
        position: absolute;
        width: 24px;
        height: 2px;
        background-color: var(--text-heading-color);
        border-radius: 2px;
        transition: transform 0.3s ease, top 0.3s ease, opacity 0.3s ease;
        left: 3px;
    }

    .nav-toggle-icon {
        background-color: transparent; /* Hide the middle line */
        top: 14px; /* Center the container for pseudo-elements */
    }

    .nav-toggle-icon::before { top: -4px; } /* Position the top line */
    .nav-toggle-icon::after { top: 4px; }  /* Position the bottom line */

    .nav-toggle.is-active .nav-toggle-icon {
        background-color: transparent; /* Middle line disappears */
    }
    .nav-toggle.is-active .nav-toggle-icon::before {
        transform: rotate(45deg);
        top: 0;
    }
    .nav-toggle.is-active .nav-toggle-icon::after {
        transform: rotate(-45deg);
        top: 0;
    }

    #main-nav {
        display: none; /* Hide nav by default on mobile */
        transform: translateX(100%); /* Start off-screen */
    }

    /* The slide-out panel itself */
    #main-nav.is-active {
        display: flex; /* Override desktop styles and make it visible */
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        width: 85%;
        max-width: 320px;
        background-color: var(--background-color);
        z-index: 1001;
        padding: 6rem 2rem 2rem;
        box-shadow: var(--shadow-lg);
        transform: translateX(100%);
        flex-direction: column;
        transform: translateX(0);
    }

    /* The list of links inside the active mobile menu */
    #main-nav.is-active ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
        width: 100%;
    }

    #main-nav.is-active a {
        font-size: 1.2rem;
        font-weight: 600;
    }

    .header-actions {
        display: none; /* Hide desktop CTA on mobile */
    }

    .nav-overlay {
        position: fixed;
        inset: 0;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 1000;
        opacity: 0;
        transition: opacity 0.3s ease-in-out;
        pointer-events: none;
    }

    .nav-overlay.is-active {
        opacity: 1;
        pointer-events: auto;
    }
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    text-align: center;
}

.feature-card {
    background-color: var(--background-color);
    padding: 2.5rem;
    border-radius: 16px;
    border: 1px solid var(--border-color-light);
    box-shadow: var(--shadow-sm);
}

.feature-card h3 {
    font-size: 1.5rem;
}

/* 5. Platform Stats Section */
.platform-stats {
    background-color: var(--primary-color);
    color: white;
    padding: 4rem 1.5rem;
}

.platform-stats .container {
    display: flex;
    justify-content: space-around;
    text-align: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.platform-stats h3 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    color: white;
    margin-bottom: 0.5rem;
}

.platform-stats p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

/* 6. Become a Helpa CTA Section */
.cta-section {
    padding: 6rem 1.5rem;
    text-align: center;
    background-color: var(--surface-color);
}

.cta-section .container {
    max-width: 800px;
}

.cta-section h2 {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
}

.cta-section p {
    font-size: 1.15rem;
    margin-bottom: 2.5rem;
}

/* Form helper text for real-time validation */
.form-text-feedback {
    font-size: 0.875rem;
    margin-top: 0.5rem;
    min-height: 1.2em; /* Reserve space to prevent layout shifts */
    color: var(--text-muted-color);
    transition: color 0.2s ease-in-out;
}

/* Specific styles for email feedback */
#email-feedback.error {
    color: var(--error-color);
}

/* 8. Safety & Trust Section */
.safety-trust {
    padding: 6rem 1.5rem;
    background: var(--background-color);
}

.safety-trust .container {
    max-width: 800px;
    text-align: center;
}

.safety-trust h2 {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
}

.safety-trust p {
    font-size: 1.15rem;
    margin-bottom: 2rem;
}

/* 9. Our Promise Section */
.our-promise {
    padding: 5rem 1.5rem;
    background-color: var(--surface-color);
    text-align: center;
}

.our-promise .container {
    max-width: 800px;
}

.our-promise h2 {
    color: var(--text-muted-color);
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.our-promise p {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    color: var(--text-heading-color);
    line-height: 1.3;
}

/* 10. FAQ Snippet */
.faq-snippet {
    padding: 5rem 1.5rem;
}

.faq-snippet .container {
    max-width: 900px;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background-color: var(--surface-color);
    border: 1px solid var(--border-color-light);
    border-radius: 12px;
    overflow: hidden;
}

.faq-item summary {
    padding: 1.5rem;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    list-style: none; /* Remove default marker */
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-heading-color);
}

.faq-item summary::-webkit-details-marker {
    display: none; /* Hide for Chrome/Safari */
}

.faq-item summary::after {
    content: '+';
    font-size: 1.5rem;
    transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
    transform: rotate(45deg);
}

.faq-item p {
    padding: 0 1.5rem 1.5rem;
    margin: 0;
}

.faq-link {
    text-align: center;
    margin-top: 3rem;
}

.page-header {
    padding: 4rem 1.5rem;
    text-align: center;
    background-color: var(--surface-color);
}

.page-header h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
}

.page-header p {
    font-size: 1.15rem;
    max-width: 600px;
    margin: 1rem auto 0;
}

.content-section {
    max-width: 900px;
}

/* --- Pricing Page Styles --- */
.pricing-section {
    padding: 5rem 1.5rem;
}

.pricing-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .pricing-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.pricing-card {
    background-color: var(--background-color);
    border: 1px solid var(--border-color-light);
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pricing-card.featured {
    border-color: var(--primary-color);
    transform: scale(1.05);
}

.pricing-header, .pricing-body, .pricing-footer {
    padding: 2rem;
}

.pricing-header {
    text-align: center;
    border-bottom: 1px solid var(--border-color-light);
}
.pricing-header .price {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--text-heading-color);
    margin: 1rem 0 0.5rem;
}
.pricing-header .price-desc {
    color: var(--text-muted-color);
    margin: 0;
}

.pricing-body ul {
    list-style: '✓  ';
    padding-left: 1.5rem;
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.pricing-footer {
    margin-top: auto;
    text-align: center;
}

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

.how-it-works {
    padding: 5rem 1.5rem;
}

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

.step-card {
    background-color: #324d35;
    color: #f8f9fa; /* Light text for paragraphs */
    padding: 2.5rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.step-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 30px -10px rgba(50, 77, 53, 0.4);
}
.step-card h3 {
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    color: #ffffff; /* White for headings */
}
.step-card p {
    color: #dee2e6; /* Lighter grey for paragraphs */
}

.step-icon {
    position: relative;
    display: inline-block;
    width: 80px;
    height: 80px;
    background: linear-gradient(145deg, var(--primary-color), var(--primary-hover));
    color: white;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
}
.step-icon svg {
    width: 40px;
    height: 40px;
}
.step-number {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 32px;
    height: 32px;
    background-color: var(--surface-color);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    border: 2px solid #324d35; /* Match new card background */
}

.categories {
    padding: 5rem 1.5rem;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
}

.category-card {
    background-color: var(--background-color);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text-heading-color);
    border: 1px solid var(--border-color-light);
    transition: transform 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

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

/* --- Service/Listing Cards --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.service-card {
    background-color: var(--background-color);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color-light);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: block;
    box-shadow: var(--shadow-sm);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}
 
.service-card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.service-card-content {
    padding: 1.5rem;
}

.service-card-content h3 {
    font-size: 1.25rem;
    color: var(--text-heading-color);
}

.service-card-provider {
    font-size: 0.9rem;
    color: var(--text-muted-color);
    margin-bottom: 1rem;
}

.service-card-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-color);
}

/* --- Service Detail Page --- */
.service-detail-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

@media (min-width: 768px) {
    .service-detail-layout {
        grid-template-columns: 1fr 1fr;
    }
}

.service-gallery .service-image {
    width: 100%;
    border-radius: 12px;
    margin-bottom: 1rem;
}

.service-info .service-price {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

/* --- Testimonials Section --- */
.testimonials {
    padding: 5rem 1.5rem;
    background-color: var(--surface-color);
    overflow: hidden;
}

.testimonial-slider-wrapper {
    overflow: hidden;
}

#testimonial-container {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.testimonial-slide {
    flex: 0 0 100%;
    padding: 0 1rem;
}

.testimonial-card {
    background-color: var(--background-color);
    padding: 2.5rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: var(--shadow-md);
}

.testimonial-card p {
    font-size: 1.15rem;
    color: var(--text-heading-color);
    font-style: italic;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    font-weight: 600;
    color: var(--text-heading-color);
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 2rem;
}

.testimonial-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--border-color);
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
}
.testimonial-dot.active {
    background-color: var(--primary-color);
    transform: scale(1.2);
}

/* --- Auth Pages (Login/Register) --- */
.auth-container {
    max-width: 480px;
    margin: 5rem auto;
    text-align: center;
}

.auth-container h1 {
    margin-bottom: 2rem;
}

.auth-container p {
    margin-top: 2rem;
}

.auth-container form {
    text-align: left;
    box-shadow: none;
}

.app-layout-header {
    position: static; /* Override the fixed position for app pages */
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background-color: var(--surface-color);
}

.app-layout-footer {
    margin-top: auto; /* Push footer to the bottom in a flex container */
    background-color: var(--surface-color);
}

/* Additional styles for the new design */
:root { --primary-color: #05aa16; --primary-hover: #028a10; } /* Amber/Gold Theme */
.hero { padding: 4rem 1.5rem; }
.hero .container { display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: center; }
@media (min-width: 992px) { 
    .hero { 
        position: relative; 
        overflow: hidden; /* Needed for animation container */
        z-index: 1; /* Ensure hero content is above the animation */
    }
    .hero { padding: 5rem 1.5rem; }
    .hero .container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
        justify-items: center; /* Center grid items horizontally */
    }
}
.hero-content h1 { font-size: clamp(2.8rem, 6vw, 4.5rem); letter-spacing: -0.04em; }
.hero-content .sub-headline { font-size: 1.25rem; color: var(--text-muted-color); max-width: 550px; margin: 1.5rem auto 2.5rem; }

.hero-actions { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 2rem; }
@media (min-width: 768px) {
    .hero-actions {
        flex-direction: row;
        align-items: center;
        justify-content: center; /* Center buttons */
    }
}
.trust-bar { 
    background-color: var(--surface-color); 
    padding: 1.5rem 0; 
    border-top: 1px solid var(--border-color); 
    border-bottom: 1px solid var(--border-color);
    overflow: hidden;
}
.trust-bar-wrapper {
    display: flex;
    flex-wrap: nowrap;
    gap: 1.5rem;
    animation: trust-scroll 20s linear infinite;
}
@keyframes trust-scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}
.trust-bar:hover .trust-bar-wrapper {
    animation-play-state: paused;
}
.carousel-section {
    background-color: var(--surface-color);
    padding-top: 4rem;
    padding-bottom: 4rem;
}
.smartphone-frame {
    position: relative;
    width: 300px; /* A bit wider than the image for the frame */
    flex-shrink: 0; /* Prevent frames from shrinking in the flex container */
    background-color: #333; /* Dark grey frame */
    padding: 12px;
    border-radius: 40px; /* Rounded corners for the phone body */
    box-shadow: 0 15px 30px -10px rgba(0,0,0,0.3), inset 0 2px 2px rgba(255,255,255,0.1);
}
.hero-visual {
    overflow: hidden; /* Hide the overflowing carousel items */
    padding-top: 50px; /* Add space for mockups that are moved up */
}
.screens-wrapper .smartphone-frame:nth-child(odd) {
    margin-bottom: 50px; /* Pull every other phone up */
}

.smartphone-frame:hover .screens-wrapper {
    animation-play-state: paused; /* Pause animation on hover */
}
.screen-logo {
    position: absolute;
    top: 30px; /* Adjust vertical position */
    left: 30px; /* Adjust horizontal position */
    z-index: 10;
}
.screen-logo img {
    width: 40px; /* Adjust logo size */
    height: 40px;
}
.smartphone-screen {
    background-color: #FFFFFF;
    color: #0A0A0A;
    border-radius: 28px; /* Match inner radius */
    padding: 20px;
    min-height: 530px; /* Approximate height of a phone screen */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center; /* Center content horizontally */
    text-align: center;
    /* Added for horizontal arrangement */
    position: relative; /* For positioning the logo inside */
}
.testimonial-headshot {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1.5rem;
    border: 3px solid #f0f0f0;
}
.screen-text {
    font-size: 16px;
    line-height: 1.6;
}

/* Side buttons */
.smartphone-frame::before,
.smartphone-frame::after {
    content: '';
    position: absolute;
    background-color: #444; /* Slightly lighter for buttons */
    border-radius: 4px;
}
/* Volume buttons */
.smartphone-frame::before {
    left: -4px;
    top: 100px;
    width: 4px;
    height: 60px;
}
/* Power button */
.smartphone-frame::after {
    right: -4px;
    top: 120px;
    width: 4px;
    height: 35px;
}
.trust-item { display: flex; align-items: center; gap: 0.75rem; font-weight: 500; color: var(--text-muted-color); }
.trust-item {
    border: 1px solid var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: 9999px; /* Pill shape */
    transition: background-color 0.3s, color 0.3s;
    white-space: nowrap; /* Prevent text from wrapping */
    flex-shrink: 0; /* Prevent items from shrinking */
}
.trust-item svg { width: 20px; height: 20px; color: var(--primary-color); transition: color 0.3s; }
.trust-item:hover { background-color: var(--primary-color); color: white; }
.trust-item:hover svg { color: white; }
.dual-value-prop { 
    background-color: #324d35; 
    color: #f8f9fa; /* Light text color for readability on dark background */
}
.dual-value-prop h2, .dual-value-prop .value-block h4 {
    color: #fff; /* White for main headings */
}
.dual-value-prop p { color: #dee2e6; } /* Lighter grey for paragraphs */
.dual-value-prop .container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center; /* Vertically align items */
}
@media (min-width: 992px) {
    .dual-value-prop .container {
        grid-template-columns: 1fr 1fr; /* Create a 2-column grid on desktop */
        gap: 2rem;
    }
    .dual-value-prop .section-header, .dual-value-prop .section-header {
        grid-column: 1 / -1; /* Make the header span all columns */
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

.value-block { 
    background-color: #05aa16; /* Brand primary color */
    padding: 3rem; border-radius: 16px; 
    border: 1px solid transparent; 
}
.dual-value-prop .value-block h4 {
    color: #ffffff;
}
.dual-value-prop .value-block p, .dual-value-prop .value-block li {
    color: rgba(255, 255, 255, 0.9);
}
.dual-value-prop .value-block .value-block-icon {
    background-color: rgba(255, 255, 255, 0.15);
    color: #ffffff;
}
.value-block h4 { font-size: 1.1rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--primary-color); }
.final-cta { background: linear-gradient(145deg, var(--primary-color), var(--primary-hover)); color: #0A0A0A; text-align: center; }
.final-cta h2 { color: #0A0A0A; font-size: clamp(2rem, 5vw, 3rem); }
.fomo-notification { position: fixed; bottom: 1.5rem; left: 1.5rem; background-color: var(--surface-color); color: var(--text-color); padding: 1rem 1.5rem; border-radius: 12px; box-shadow: var(--shadow-lg); z-index: 1001; opacity: 0; transform: translateY(20px); transition: opacity 0.5s, transform 0.5s; font-size: 0.9rem; border: 1px solid var(--border-color); }
.fomo-notification.visible { opacity: 1; transform: translateY(0); }
.location-reminder { text-align: center; padding: 1rem; background-color: var(--surface-color); font-weight: 600; color: var(--primary-color); }
@media (max-width: 767px) {
    .fomo-notification {
        left: 50%;
        bottom: 1rem;
        transform: translate(-50%, 20px); /* Adjust transform for centering */
        width: calc(100% - 2rem); /* Full width minus side margins */
        max-width: 400px; /* Prevent it from being too wide on larger mobile screens */
    }
    .fomo-notification.visible { opacity: 1; transform: translate(-50%, 0); }
}
@media (min-width: 992px) {
    section { padding-top: 6rem; padding-bottom: 6rem; }
    .section-header { margin-bottom: 4rem; }
}
/* Enhanced list styles for value propositions */
.value-list {
    list-style: none;
    padding-left: 1.5rem; /* Indent the list */
    margin-top: 1.5rem;
}
.value-list li {
    line-height: 1.6;
    padding-left: 0.5rem; /* Space between bullet and text */
    position: relative;
    list-style-type: '✓'; /* Use a checkmark as the bullet */
    color: rgba(255, 255, 255, 0.9);
}
/* Grid layout for value lists */
.value-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.value-block {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.value-block:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 30px -10px rgba(2, 138, 16, 0.2);
    border-color: var(--primary-color);
}
.value-block-icon {
    display: inline-flex;
    padding: 0.75rem;
    background-color: rgba(45, 64, 47, 0.1);
    border-radius: 50%;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

/* New Category Showcase Styles */
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
    text-align: center;
}
.category-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #05aa16; /* Brand primary color */
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid transparent;
    font-weight: 600;
    text-decoration: none;
    color: #ffffff; /* White text on green background */
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}
.category-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    background-color: #ffffff; /* White background on hover */
    color: var(--text-heading-color); /* Dark text on hover */
    border-color: var(--border-color);
}
.category-item:hover .category-icon {
    background-color: rgba(5, 170, 22, 0.1);
    color: var(--primary-color);
}
.category-item .category-icon {
    display: inline-flex;
    padding: 0.75rem;
    background-color: rgba(255, 255, 255, 0.15); /* Lighter icon background */
    border-radius: 50%;
    margin-bottom: 0.75rem;
    color: #ffffff; /* White icon */
    transition: background-color 0.2s ease, color 0.2s ease;
}

/* Swelling text animation */
.swell-text {
    display: inline-block; /* Needed for transform to work */
    color: var(--primary-color);
    font-weight: 700;
}
@keyframes swell-animation {
    0%, 50%, 100% {
        transform: scale(1);
    }
    25%, 75% {
        transform: scale(1.2);
    }
}
.swell-text.swelling {
    animation: swell-animation 0.8s ease-in-out;
}

/* Futuristic CTA Styles */
.futuristic-cta {
    position: relative;
    overflow: hidden;
    padding: 5rem 1.5rem;
    background-color: var(--surface-color);
    text-align: center;
}
.futuristic-cta::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: transparent; /* Removed the dark overlay */
    z-index: 1;
}
.cta-glass-card {
    position: relative;
    z-index: 2;
    background: #324d35; /* Solid brand color */
    border: 1px solid rgba(255, 255, 255, 0.2); /* A subtle light border */
    border-radius: 24px;
    padding: 3rem;
    max-width: 700px;
    margin: 0 auto;
    box-shadow: var(--shadow-lg);
}
.cta-glass-card h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    color: #ffffff;
}
.cta-glass-card p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.15rem;
    max-width: 600px;
    margin: 1rem auto 2rem;
}

/* Style for CTA buttons inside the dark green futuristic CTA section */
.futuristic-cta .button-secondary,
.futuristic-cta .button-primary,
.dual-value-prop .button-secondary {
    border: 1px solid #05aa16;
}

/* Carousel Animation */
.screens-wrapper {
    display: flex; /* Width: (10 screens * 300px/screen) * 2 for duplication + (20 gaps * 12px/gap) */
    width: calc(20 * 300px + 20 * 12px); animation: scroll-animation 60s linear infinite;
    align-items: flex-end; /* Align all mockups to the bottom */ gap: 12px; /* Add space between each screen */
}
@keyframes scroll-animation {
    0% {
        transform: translateX(0);
    }
    100% {
        /* Move by half the width: (10 screens * 300px) + (10 gaps * 12px) */
        transform: translateX(calc(-10 * 300px - 10 * 12px));
    }
}

/* Keyframe Animations */
@keyframes move-gradient {
    0% { transform: translate(0, 0); }
    25% { transform: translate(-25%, -10%); }
    50% { transform: translate(-50%, 0); }
    75% { transform: translate(-25%, 10%); }
    100% { transform: translate(0, 0); }
}
@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 20px -5px rgba(5, 170, 22, 0.3), 0 0 80px rgba(0,0,0,0.5); }
    50% { box-shadow: 0 0 35px 0px rgba(5, 170, 22, 0.5), 0 0 80px rgba(0,0,0,0.5); }
}

/* Style for the first card in the carousel */
.screens-wrapper .smartphone-frame:first-child {
    background-color: grey;
}

/* Trusted By Section Styles */
.trusted-by-section {
    width: 100%;
    max-width: 1000px;
    margin-top: 2rem;
    text-align: center;
}
.trusted-by-heading {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted-color);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 2.5rem;
}
.trusted-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 2rem 3rem; /* row-gap column-gap */
}
.trusted-logos img {
    height: 30px; /* Adjust height as needed */
    width: auto;
    max-width: 150px;
    filter: grayscale(100%) opacity(0.6);
    transition: filter 0.3s ease;
}
.trusted-logos img:hover {
    filter: grayscale(0%) opacity(1);
}
}