/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #1a1a1a;
    background-color: #ffffff;
    padding: 1.5rem 0; /* Added vertical padding to body */
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0.5rem;
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.5rem;
}

.gradient-text {
    background: linear-gradient(to right, #18743c, #18743c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    font-weight: 500;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 0.875rem;
}

.btn-primary {
    background-color: #18743c;
    color: white;
    font-weight: 700;
}

.btn-primary:hover {
    background-color: #145a2f;
}

.btn-outline {
    background-color: transparent;
    color: #18743c;
    border: 2px solid #18743c;
    font-weight: 700;
}

.btn-outline:hover {
    background-color: #18743c;
    color: white;
}

.btn-lg {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
}

.btn-full {
    width: 100%;
}

/* Header */
.header {
    position: sticky;
    top: 0;
    z-index: 50;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #e5e7eb;
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 4rem;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(to right, #3b82f6, #60a5fa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
}

.nav-desktop {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-desktop a {
    text-decoration: none;
    color: #374151;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-desktop a:hover {
    color: #18743c;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-toggle span {
    width: 1.5rem;
    height: 2px;
    background-color: #374151;
    margin: 2px 0;
    transition: 0.3s;
}

.nav-mobile {
    display: none;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem 0;
    border-top: 1px solid #e5e7eb;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

.nav-mobile.active {
    display: flex;
}

.nav-mobile a {
    text-decoration: none;
    color: #374151;
    font-weight: 500;
    padding: 0.5rem 0;
}

/* Hero Section */
.hero {
    padding: 5rem 0 7rem;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: #f3f4f6;
    color: #18743c;
    padding: 0.5rem 0.75rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.badge svg {
    color: #18743c;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-description {
    font-size: 1.125rem;
    color: #000000;
    margin-bottom: 2rem;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.hero-features {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
}

.feature-item svg {
    color: #18743c;
}

/* Form Styles */
.hero-form {
    background: white;
    border-radius: 0.75rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border: 3px solid #18743c;
}

.form-container {
    padding: 1.5rem;
}

.form-container h3 {
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
}

.transaction-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

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

.form-group label {
    font-weight: 500;
    color: #374151;
    margin-bottom: 0.25rem;
    font-size: 0.875rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.5rem 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #18743c;
    box-shadow: 0 0 0 3px rgba(24, 116, 60, 0.1);
}

.input-with-prefix {
    position: relative;
}

.prefix {
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: #000000;
    font-size: 0.875rem;
}

.input-with-prefix input {
    padding-left: 3rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-disclaimer {
    font-size: 0.75rem;
    color: #000000;
    text-align: center;
    margin-top: 0.5rem;
}

.form-disclaimer a {
    color: #18743c;
    text-decoration: none;
}

.form-disclaimer a:hover {
    text-decoration: underline;
}

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

.section-badge {
    display: inline-block;
    background-color: #f3f4f6;
    color: #18743c;
    padding: 0.5rem 0.75rem;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

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

.section-header p {
    font-size: 1.125rem;
    color: #000000;
    max-width: 700px;
    margin: 0 auto;
}

/* Features Section */
.features {
    padding: 5rem 0;
    background-color: rgba(249, 250, 251, 0.5);
}

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

.feature-card {
    background: white;
    padding: 1.5rem;
    border-radius: 0.5rem;
    border: 1px solid #e5e7eb;
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    margin-bottom: 1rem;
}

.feature-icon svg {
    color: #18743c;
}

.feature-card h3 {
    margin-bottom: 0.75rem;
}

.feature-card p {
    color: #000000;
}

/* How It Works Section */
.how-it-works {
    padding: 5rem 0;
}

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

.step-card {
    background: white;
    padding: 1.5rem;
    border-radius: 0.5rem;
    border: 1px solid #e5e7eb;
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
}

.step-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.step-icon {
    background-color: rgba(24, 116, 60, 0.1);
    border-radius: 50%;
    width: 4rem;
    height: 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.step-icon svg {
    color: #18743c;
}

.step-card h3 {
    margin-bottom: 0.75rem;
}

.step-card p {
    color: #000000;
}

/* CTA Section */
.cta {
    padding: 5rem 0;
    background: linear-gradient(to right, rgba(24, 116, 60, 0.1), rgba(24, 116, 60, 0.05));
}

.cta-content {
    text-align: center;
}

.cta-icon {
    background-color: #18743c;
    border-radius: 50%;
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.cta-icon svg {
    color: white;
}

.cta-content h2 {
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.125rem;
    color: #000000;
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.cta-note {
    font-size: 0.875rem;
    color: #000000;
}

/* Footer */
.footer {
    background-color: #f9fafb;
    padding: 3rem 0;
    border-top: 1px solid #e5e7eb;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-brand p {
    color: #000000;
    margin-bottom: 1rem;
    font-size: 0.875rem;
}

.social-links {
    /* display: flex; */
    gap: 1rem;
}

.social-links a {
    color: #000000;
    transition: color 0.2s;
    padding: 10px;
    /* border:1px solid rgba(24, 116, 60, 0.1); */
}

.social-links a:hover {
    color: #18743c;
}

.footer-column h3 {
    margin-bottom: 1rem;
    font-size: 1rem;
}

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

.footer-column ul li {
    margin-bottom: 0.5rem;
}

.footer-column ul li a {
    color: #000000;
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s;
}

.footer-column ul li a:hover {
    color: #18743c;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid #e5e7eb;
}

.footer-bottom p {
    color: #000000;
    font-size: 0.875rem;
}

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

.footer-badge svg {
    color: #18743c;
}

.integration-logo {
    height: 40px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
}
.integration-scroll-wrapper {
    max-width: 100%;
    overflow-x: auto;
}

/* Client Logos */
.client-logo img {
    filter: grayscale(100%) contrast(1.1) brightness(0.95);
    opacity: 0.85;
    transition: filter 0.2s, opacity 0.2s;
    max-height: 38px;
    max-width: 120px;
}

.client-logo img:hover {
    filter: none;
    opacity: 1;
}

.clients-section {
    background: #fff;
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
}

/* Dark Mode */
body, .container, .header, .footer, .feature-card, .step-card, .hero-form, .form-group input, .form-group select, .form-group textarea {
    transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}

body.dark {
    background-color: #18181b;
    color: #f3f4f6;
    padding: 1.5rem 0; /* Match padding in dark mode */
}

.dark .container {
    background-color: transparent;
}

.dark .header {
    background-color: rgba(24, 24, 27, 0.95);
    border-bottom: 1px solid #27272a;
}

.dark .footer {
    background-color: #18181b;
    border-top: 1px solid #27272a;
}

.dark .feature-card,
.dark .step-card,
.dark .hero-form {
    background: #23232a;
    border-color: #27272a;
    color: #f3f4f6;
}

.dark .feature-card p,
.dark .step-card p,
.dark .footer-brand p,
.dark .footer-column ul li a,
.dark .form-disclaimer,
.dark .section-header p,
.dark .cta-content p,
.dark .cta-note {
    color: #d1d5db;
}

.dark .feature-icon svg,
.dark .step-icon svg,
.dark .footer-badge svg,
.dark .badge svg {
    color: #22c55e;
}

.dark .badge,
.dark .section-badge {
    background-color: #23232a;
    color: #22c55e;
}

.dark .form-group input,
.dark .form-group select,
.dark .form-group textarea {
    background: #18181b;
    color: #f3f4f6;
    border-color: #27272a;
}

.dark .form-group input:focus,
.dark .form-group select:focus,
.dark .form-group textarea:focus {
    border-color: #22c55e;
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.1);
}

.dark .btn-primary {
    background-color: #22c55e;
    color: #18181b;
}

.dark .btn-primary:hover {
    background-color: #16a34a;
    color: #fff;
}

.dark .btn-outline {
    color: #22c55e;
    border: 1px solid #22c55e;
}

.dark .btn-outline:hover {
    background-color: #22c55e;
    color: #18181b;
}

.dark .nav-desktop a,
.dark .nav-mobile a {
    color: #f3f4f6;
}

.dark .nav-desktop a:hover,
.dark .nav-mobile a:hover {
    color: #22c55e;
}

.dark .footer-bottom {
    border-top: 1px solid #27272a;
}

.dark .footer-badge {
    color: #22c55e;
}

.dark .social-links a {
    color: #d1d5db;
}

.dark .social-links a:hover {
    color: #22c55e;
}

.dark .gradient-text {
    background: linear-gradient(to right, #22c55e, #18743c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Animation on Scroll */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s cubic-bezier(0.4,0,0.2,1), transform 0.7s cubic-bezier(0.4,0,0.2,1);
}
.animate-on-scroll.in-view {
    opacity: 1;
    transform: none;
}
.w-100{
    width: 100%;
}
.transition img:hover {
  transform: scale(1.1);
  transition: transform 0.2s;
}
.transition span:hover {
  color: white;
}
.small-btn{
    margin-top: 5px;
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
    border-radius: 0.375rem;
    /* background-color: #18743c;
    color: white; */
    transition: background-color 0.2s;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-desktop {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-features {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 0.75rem;
    }
    
    .hero {
        padding: 3rem 0 5rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .form-container {
        padding: 1rem;
    }
}
