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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif; /* Primary body font */
    line-height: 1.6;
    color: #333;
    background-color: #f8f8f8; /* Light background to match the mockup */
}

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

/* Typography */
h1, h2, h3 {
    font-family: 'Montserrat', sans-serif; /* Headings font */
    color: #2c3e50; /* Darker text for emphasis */
}

h1 {
    font-size: 3.2em;
    line-height: 1.1;
    margin-bottom: 20px;
}

h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
}

h3 {
    font-size: 1.5em;
    margin-bottom: 10px;
}

p {
    margin-bottom: 15px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background-color: #00A86B; /* Green from your app */
    color: #fff;
    border: 2px solid #00A86B;
    box-shadow: 0 4px 15px rgba(0, 168, 107, 0.3);
}

.btn-primary:hover {
    background-color: #008f5a;
    border-color: #008f5a;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 168, 107, 0.4);
}

.btn-secondary {
    background-color: transparent;
    color: #00A86B;
    border: 2px solid #00A86B;
    margin-left: 15px;
    box-shadow: 0 4px 15px rgba(0, 168, 107, 0.1);
}

.btn-secondary:hover {
    background-color: #00A86B;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 168, 107, 0.3);
}

/* Header */
.header {
    background-color: #fff;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

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

.logo img {
    height: 40px; /* Adjust as needed */
    width: auto;
}

.nav-menu ul {
    list-style: none;
    display: flex;
}

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

.nav-menu ul li a {
    text-decoration: none;
    color: #555;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    padding: 8px 16px;
    border-radius: 6px;
}

.nav-menu ul li a:hover {
    color: #00A86B;
    background-color: rgba(0, 168, 107, 0.1);
    transform: translateY(-2px);
}

.nav-menu ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: #00A86B;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-menu ul li a:hover::after {
    width: 80%;
}

.btn-login {
    text-decoration: none;
    color: #777;
    margin-right: 20px;
    font-weight: 600;
}

.btn-login:hover {
    color: #333;
}

.auth-buttons {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Hero Section */
.hero-section {
    background-color: #fdfdfd;
    padding: 100px 0;
    text-align: center;
    overflow: hidden; /* To handle potentially floating image */
}

.hero-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
    text-align: left;
}

.hero-text {
    flex: 1;
    min-width: 400px; /* Ensure text block has enough space */
}

.hero-text h1 {
    color: #333; /* Darker for main headline */
    font-size: 3.5em; /* Larger headline */
}

.hero-text p {
    font-size: 1.2em;
    color: #555;
    margin-bottom: 30px;
}

.hero-image {
    flex: 1;
    min-width: 600px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    display: block;
  
    border-radius: 8px; /* Slightly rounded corners */
}

.hero-actions {
    display: flex;
    gap: 15px; /* Space between buttons */
    align-items: center;
}

.trusted-by {
    padding: 20px 0;
    margin-top: 80px; /* Space between hero and trusted section */
    text-align: center;
}

.trusted-by .trusted-text {
    font-size: 1em;
    color: #777;
    margin-bottom: 0;
    position: relative;
}
.trusted-by .trusted-text::before,
.trusted-by .trusted-text::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 30%; /* Adjust width of the line */
    height: 1px;
    background-color: #ccc;
}
.trusted-by .trusted-text::before {
    left: 0;
    margin-left: 10%; /* Adjust position from left edge */
}
.trusted-by .trusted-text::after {
    right: 0;
    margin-right: 10%; /* Adjust position from right edge */
}


/* Features Section */
.features-section {
    padding: 80px 0;
    background-color: #fdfdfd;
    text-align: center;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Responsive grid */
    gap: 30px;
    margin-top: 50px;
}

.feature-card {
    background-color: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08); /* Softer shadow */
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.12);
}

.feature-icon {
    font-size: 3em;
    color: #00A86B; /* Green icon color */
    margin-bottom: 20px;
    display: block; /* Ensure it takes full width for centering */
}

.feature-icon img {
    width: 64px;
    height: 64px;
}

.feature-card h3 {
    color: #333;
    font-size: 1.6em;
}

.feature-card p {
    color: #666;
    font-size: 1.05em;
    line-height: 1.7;
}

/* CTA Section */
.cta-section {
    background-color: #f0f0f0; /* Light grey background */
    padding: 80px 0;
    text-align: center;
    border-top: 1px solid #eee;
}

.cta-content h2 {
    font-size: 2.8em;
    color: #333;
    margin-bottom: 25px;
}

.cta-content p {
    font-size: 1.2em;
    color: #555;
    margin-bottom: 40px;
}

/* Footer */
.footer {
    background-color: #2c3e50; /* Darker footer to provide contrast */
    color: #aaa;
    padding: 40px 0;
    font-size: 0.9em;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap; /* Allow wrapping */
}

.footer-logo img {
    height: 35px;
    filter: brightness(0) invert(1) brightness(0.7); /* Make green logo appear lighter on dark bg */
    margin-bottom: 10px;
}

.footer-logo p {
    color: #888;
    margin: 0;
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
}

.footer-links ul li a {
    text-decoration: none;
    color: #aaa;
    transition: color 0.3s ease;
}

.footer-links ul li a:hover {
    color: #fff;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
    }
    .hero-text, .hero-image {
        min-width: unset;
        width: 100%;
    }
    .hero-text h1 {
        font-size: 2.8em;
    }
    .hero-actions {
        justify-content: center;
    }
    .header-content {
        flex-direction: column;
        gap: 15px;
    }
    .nav-menu ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
    .nav-menu ul li {
        margin-left: 0;
    }
    .auth-buttons {
        margin-top: 10px;
    }
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    .footer-links ul {
        justify-content: center;
        gap: 15px;
    }
    .trusted-by .trusted-text::before,
    .trusted-by .trusted-text::after {
        width: 20%;
        margin-left: 5%;
        margin-right: 5%;
    }
}

@media (max-width: 600px) {
    h1 {
        font-size: 2.2em;
    }
    h2 {
        font-size: 1.8em;
    }
    .hero-text p {
        font-size: 1em;
    }
    .btn {
        padding: 10px 20px;
        font-size: 0.9em;
    }
    .btn-secondary {
        margin-left: 0; /* Stack buttons if needed */
        margin-top: 10px;
    }
    .hero-actions {
        flex-direction: column;
        gap: 10px;
    }
    .trusted-by .trusted-text::before,
    .trusted-by .trusted-text::after {
        display: none; /* Hide lines on very small screens */
    }
}

/* Pricing Section */
.pricing-section {
    padding: 50px 0;
    background-color: #f8f9fa;
    text-align: center;
}

.section-header {
    margin-bottom: 35px;
}

.section-header h2 {
    font-size: 2.2em;
    color: #2c3e50;
    margin-bottom: 10px;
}

.section-header p {
    font-size: 1.1em;
    color: #666;
    max-width: 500px;
    margin: 0 auto;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 30px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.pricing-card {
    background: #fff;
    border-radius: 10px;
    padding: 25px 20px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.pricing-card.featured {
    border: 2px solid #00A86B;
    transform: scale(1.02);
}

.pricing-card.featured::before {
    content: "Most Popular";
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: #00A86B;
    color: #fff;
    padding: 5px 15px;
    border-radius: 15px;
    font-size: 0.8em;
    font-weight: 600;
}

.pricing-card h3 {
    font-size: 1.5em;
    color: #2c3e50;
    margin-bottom: 15px;
    font-weight: 700;
}

.price {
    font-size: 2.2em;
    font-weight: 700;
    color: #00A86B;
    margin-bottom: 20px;
    font-family: 'Montserrat', sans-serif;
}

.price span {
    font-size: 0.4em;
    color: #666;
    font-weight: 400;
}

.features-list {
    list-style: none;
    margin-bottom: 20px;
    text-align: left;
}

.features-list li {
    padding: 8px 0;
    color: #555;
    position: relative;
    padding-left: 20px;
    line-height: 1.4;
    font-size: 0.9em;
}

.features-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #00A86B;
    font-weight: bold;
    font-size: 1.1em;
}

.btn-outline {
    background: transparent;
    color: #00A86B;
    border: 2px solid #00A86B;
    padding: 10px 25px;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    font-size: 0.9em;
}

.btn-outline:hover {
    background: #00A86B;
    color: #fff;
}

/* Testimonials Section */
.testimonials-section {
    padding: 80px 0;
    background-color: #fdfdfd;
    text-align: center;
    overflow: hidden;
}

.testimonials-carousel {
    overflow: hidden;
    width: 100%;
    margin-top: 60px;
    position: relative;
}

.testimonials-track {
    display: flex;
    width: calc(380px * 12 + 275px); /* 12 cards (6 original + 6 duplicates) * width + gaps */
    animation: scroll 40s linear infinite;
    gap: 25px;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.testimonials-track:hover {
    animation-play-state: paused;
    transform: scale(1.02);
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-380px * 6 - 150px)); /* Move by 6 cards + gaps */
    }
}

.testimonial-card {
    background: #fff;
    padding: 25px 20px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    position: relative;
    text-align: left;
    flex-shrink: 0;
    width: 350px;
    min-height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin: 30px 0;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
}

.testimonial-card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 20px 40px rgba(0, 168, 107, 0.15);
    background: linear-gradient(135deg, #fff 0%, #f8fff8 100%);
    border: 2px solid rgba(0, 168, 107, 0.1);
}

.stars {
    color: #ffc107;
    font-size: 1em;
    margin-bottom: 15px;
    letter-spacing: 2px;
    transition: all 0.3s ease;
}

.testimonial-card:hover .stars {
    color: #ffb300;
    transform: scale(1.1);
    text-shadow: 0 0 10px rgba(255, 193, 7, 0.5);
}

.testimonial-card p {
    font-size: 0.95em;
    line-height: 1.4;
    color: #555;
    margin-bottom: 15px;
    font-style: italic;
    flex-grow: 1;
    transition: color 0.3s ease;
}

.testimonial-card:hover p {
    color: #333;
}

.testimonial-author {
    border-top: 1px solid #eee;
    padding-top: 15px;
    margin-top: auto;
    transition: all 0.3s ease;
}

.testimonial-card:hover .testimonial-author {
    border-top-color: rgba(0, 168, 107, 0.2);
}

.testimonial-author strong {
    display: block;
    color: #2c3e50;
    font-size: 1em;
    margin-bottom: 3px;
    font-weight: 600;
    transition: color 0.3s ease;
}

.testimonial-card:hover .testimonial-author strong {
    color: #00A86B;
}

.testimonial-author span {
    color: #777;
    font-size: 0.85em;
    transition: color 0.3s ease;
}

.testimonial-card:hover .testimonial-author span {
    color: #555;
}

/* About Section */
.about-section {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5em;
    color: #2c3e50;
    margin-bottom: 25px;
}

.about-text p {
    font-size: 1.1em;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
}

.about-stats {
    display: flex;
    gap: 40px;
    margin-top: 40px;
}

.stat {
    text-align: center;
}

.stat h3 {
    font-size: 2.2em;
    color: #00A86B;
    font-weight: 700;
    margin-bottom: 8px;
}

.stat p {
    color: #777;
    font-size: 0.95em;
    font-weight: 500;
}

.about-image img {
    width: 100%;
    border-radius: 12px;
}

/* Responsive adjustments for new sections */
@media (max-width: 992px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
    
    .pricing-card.featured {
        transform: none;
    }
    
    .testimonials-track {
        width: calc(320px * 12 + 220px);
        gap: 20px;
        animation: scroll-tablet 40s linear infinite;
    }
    
    .testimonial-card {
        width: 300px;
        min-height: 200px;
        padding: 20px 18px;
    }
    
    @keyframes scroll-tablet {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(calc(-320px * 6 - 120px));
        }
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .about-stats {
        justify-content: center;
        gap: 30px;
    }
}

@media (max-width: 600px) {
    .pricing-card {
        padding: 30px 20px;
    }
    
    .price {
        font-size: 2.5em;
    }
    
    .testimonials-track {
        width: calc(280px * 12 + 165px);
        gap: 15px;
        animation: scroll-mobile 40s linear infinite;
    }
    
    .testimonial-card {
        width: 265px;
        min-height: 220px;
        padding: 18px 15px;
    }
    
    .testimonial-card p {
        font-size: 0.9em;
        line-height: 1.3;
    }
    
    @keyframes scroll-mobile {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(calc(-280px * 6 - 90px));
        }
    }
    
    .about-stats {
        flex-direction: column;
        gap: 25px;
    }
    
    .section-header h2 {
        font-size: 2.2em;
    }
}