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

/* Custom font for headings */
@font-face {
    font-family: 'Clash Display';
    src: url('https://uploads-ssl.webflow.com/63bea35e0e05bb727750a3cf/63bea776e54c8d1b1af3e317_ClashDisplay-Variable.ttf') format('truetype');
    font-weight: 200 700;
    font-display: swap;
    font-style: normal;
}

/* Base styles */
:root {
    --dark-bg: #0A0E0D;
    --primary: #25A96A;
    --primary-light: #30C480;
    --primary-dark: #1E8C56;
    --secondary: #30C480;
    --secondary-light: #88E3B2;
    --secondary-dark: #25A96A;
    --accent: #88E3B2; 
    --accent-light: #A5EBC6;
    --accent-dark: #6BC79A;
    --contrast: #202624;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px; /* Account for fixed header */
}

body {
    font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
    line-height: 1.5;
}

/* Typography */
.font-display {
    font-family: 'Clash Display', 'Inter', sans-serif;
}

.font-mono {
    font-family: 'JetBrains Mono', monospace;
}

/* Animated cursor */
.animated-cursor {
    position: relative;
    width: 10px;
    height: 20px;
    background-color: #6366F1;
    display: inline-block;
    animation: cursor-blink 1.2s infinite;
}

@keyframes cursor-blink {
    0% { opacity: 1; }
    40% { opacity: 1; }
    50% { opacity: 0; }
    90% { opacity: 0; }
    100% { opacity: 1; }
}

/* Navigation styles */
.nav-link {
    position: relative;
    font-weight: 500;
    color: white;
    transition: color 0.2s ease;
    padding-bottom: 4px;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    transition: width 0.3s ease;
    border-radius: 1px;
}

.nav-link:hover, .nav-link.active {
    color: var(--accent);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

/* Mobile navigation */
.mobile-nav-link {
    display: block;
    padding: 0.75rem 1rem;
    font-weight: 500;
    border-radius: 0.5rem;
    color: white;
    transition: all 0.2s ease;
}

.mobile-nav-link:hover {
    background-color: rgba(37, 169, 106, 0.2);
    color: var(--accent);
}

/* Button styles */
.btn-sm {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1rem;
    font-weight: 500;
    color: white;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(37, 169, 106, 0.2);
}

.btn-sm:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(37, 169, 106, 0.3);
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    color: white;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(37, 169, 106, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 10px rgba(37, 169, 106, 0.3);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    color: var(--accent);
    background: rgba(32, 38, 36, 0.5);
    border: 1px solid var(--primary);
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.btn-outline:hover {
    border-color: var(--secondary);
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15);
    background: rgba(37, 169, 106, 0.1);
}

.btn-white {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    color: var(--dark-bg);
    background: white;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
    background: var(--accent);
}

.btn-transparent {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    color: white;
    background: rgba(37, 169, 106, 0.1);
    border: 1px solid rgba(48, 196, 128, 0.3);
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.btn-transparent:hover {
    background: rgba(37, 169, 106, 0.2);
    transform: translateY(-2px);
}

/* Service card styles */
.service-card {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.03), 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 10px 10px -5px rgba(0, 0, 0, 0.01);
}

.service-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 12px;
}

.check-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    color: white;
    margin-right: 0.75rem;
    flex-shrink: 0;
}

/* Brand badge */
.brand-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem;
    background-color: white;
    border: 1px solid #F3F4F6;
    border-radius: 0.75rem;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.brand-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border-color: #E5E7EB;
}

.brand-badge span {
    font-weight: 500;
    color: #1F2937;
    font-size: 0.875rem;
}

/* Contact cards */
.contact-card {
    display: flex;
    padding: 1.5rem;
    background: white;
    border-radius: 1rem;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.03), 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.01);
}

.contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(to bottom right, var(--primary-light), var(--primary));
    color: white;
    margin-right: 1rem;
    flex-shrink: 0;
}

/* Form elements */
.form-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #E5E7EB;
    border-radius: 0.5rem;
    background-color: #F9FAFB;
    transition: all 0.2s ease;
    font-size: 1rem;
    color: #1F2937;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 112, 243, 0.1);
    background-color: white;
}

.form-input::placeholder {
    color: #9CA3AF;
}

/* Pattern backgrounds */
.cta-pattern {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.footer-pattern {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='49' viewBox='0 0 28 49'%3E%3Cg fill-rule='evenodd'%3E%3Cg id='hexagons' fill='%23ffffff' fill-opacity='0.05' fill-rule='nonzero'%3E%3Cpath d='M13.99 9.25l13 7.5v15l-13 7.5L1 31.75v-15l12.99-7.5zM3 17.9v12.7l10.99 6.34 11-6.35V17.9l-11-6.34L3 17.9zM0 15l12.98-7.5V0h-2v6.35L0 12.69v2.3zm0 18.5L12.98 41v8h-2v-6.85L0 35.81v-2.3zM15 0v7.5L27.99 15H28v-2.31h-.01L17 6.35V0h-2zm0 49v-8l12.99-7.5H28v2.31h-.01L17 42.15V49h-2z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

/* Float animation */
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

/* Media queries for responsiveness */
@media (max-width: 768px) {
    html {
        scroll-padding-top: 64px;
    }
}