/* Minimal CSS styles for clean and functional UI */

body {
    font-family: sans-serif;
    margin: 0;
}

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

header {
    border-bottom: 1px solid #ccc;
    padding-bottom: 1rem;
}

.card {
    border: 1px solid #ccc;
}

textarea {
    width: 100%;
}

/* Additional custom styles for Civica Landing Page */

/* Base font size adjustment */
html {
    font-size: 17px;
}

/* Force DM Sans font for all paragraphs */
p {
    font-family: 'DM Sans', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif !important;
    font-weight: 400;
}

/* Apply DM Sans to all text elements by default */
body, .font-sans {
    font-family: 'DM Sans', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif !important;
}

/* Ensure list items also use DM Sans */
li {
    font-family: 'DM Sans', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif !important;
}

/* Custom color variables */
:root {
    --custom-green: #8e9c78;
    --custom-dark-green: #6B7A4F;
    --custom-darker-green: #5A6B42;
    --custom-button-green: #485c11;
    --custom-button-hover: #3a4a0e;
}

/* Force custom green background */
.bg-custom-green {
    background-color: #8e9c78 !important;
}

/* More specific green background rule */
div.bg-custom-green.rounded-3xl {
    background-color: #8e9c78 !important;
}

/* Even more specific targeting */
section .bg-custom-green {
    background-color: #8e9c78 !important;
}

/* Force other custom colors */
.text-custom-green {
    color: #8e9c78 !important;
}

.text-custom-dark-green {
    color: #6B7A4F !important;
}

.text-custom-button-green {
    color: #485c11 !important;
}

.bg-custom-button-green {
    background-color: #485c11 !important;
}

.border-custom-green {
    border-color: #8e9c78 !important;
}

/* Gradient text effect */
.gradient-text {
    background: linear-gradient(to right, #059669, #0891b2, #7c3aed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Enhanced backdrop blur for navigation */
.backdrop-blur-custom {
    backdrop-filter: blur(32px) saturate(150%);
    -webkit-backdrop-filter: blur(32px) saturate(150%);
}

/* Custom ring shadow */
.ring-custom {
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1);
}

/* Custom shadow for navigation */
.shadow-custom {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
}

/* Smooth scrolling */
.scroll-smooth {
    scroll-behavior: smooth;
}

/* Custom scrollbar styling */
.custom-scrollbar::-webkit-scrollbar {
    width: 8px;
}

.custom-scrollbar::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 4px;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Pulse animation for cursor */
.animate-pulse-cursor::after {
    content: '|';
    animation: pulse-cursor 1s infinite;
}

@keyframes pulse-cursor {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

/* Button hover effects */
.btn-primary {
    background: linear-gradient(to right, var(--custom-button-green), var(--custom-button-hover));
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Card hover effects */
.card-hover {
    transition: all 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Loading spinner */
.spinner {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Fade in animation */
.fade-in {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Text streaming effect */
.streaming-text {
    position: relative;
}

.streaming-text::after {
    content: '|';
    animation: blink 1s infinite;
    color: #3b82f6;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

/* Responsive typography */
@media (max-width: 768px) {
    html {
        font-size: 16px;
    }
    
    .hero-title {
        font-size: 3rem !important;
        line-height: 1.1;
    }
}

@media (max-width: 640px) {
    .hero-title {
        font-size: 2.5rem !important;
    }
}

/* Focus states for accessibility */
button:focus,
input:focus,
select:focus,
textarea:focus {
    outline: 2px solid var(--custom-green);
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .no-print {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    h1, h2, h3 {
        break-after: avoid;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .bg-gray-50 {
        background-color: #ffffff;
    }
    
    .text-gray-600 {
        color: #000000;
    }
    
    .border-gray-200 {
        border-color: #000000;
    }
}
