/* Reset and Base Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 0.5rem;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

/* Links */
a {
    color: #26dc5e;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #1ea84c;
}

/* Images */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Main Content */
main {
    flex: 1;
    width: 100%;
}

/* Header Styles */
header {
    position: sticky;
    top: 0;
    z-index: 40;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Navigation */
nav a {
    position: relative;
    overflow: hidden;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: -100%;
    width: 100%;
    height: 2px;
    background-color: #26dc5e;
    transition: left 0.3s ease;
}

nav a:hover::after {
    left: 0;
}

/* Hero Section */
.hero-section {
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(38, 220, 94, 0.1), rgba(0,0,0,0.3));
    z-index: 1;
}

/* Cards and Components */
.card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: #26dc5e;
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn:hover {
    background-color: #1ea84c;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(38, 220, 94, 0.3);
}

/* Forms */
input, textarea, select {
    width: 100%;
    padding: 12px;
    border: 2px solid #e1e5e9;
    border-radius: 6px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: #26dc5e;
    box-shadow: 0 0 0 3px rgba(38, 220, 94, 0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    h3 {
        font-size: 1.25rem;
    }

    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.75rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .btn {
        width: 100%;
        padding: 14px 20px;
    }
}

/* Accessibility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Focus indicators */
button:focus,
a:focus,
input:focus,
textarea:focus,
select:focus {
    outline: 2px solid #26dc5e;
    outline-offset: 2px;
}

/* Loading and animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

/* FAQ Styles */
details summary {
    list-style: none;
}

details summary::-webkit-details-marker {
    display: none;
}

details summary::after {
    content: '+';
    float: right;
    font-size: 1.5rem;
    font-weight: bold;
    color: #26dc5e;
    transition: transform 0.3s ease;
}

details[open] summary::after {
    transform: rotate(45deg);
}

/* Mobile Menu */
#mobile-menu {
    backdrop-filter: blur(4px);
}

/* Performance optimizations */
.lazy-load {
    opacity: 0;
    transition: opacity 0.3s;
}

.lazy-load.loaded {
    opacity: 1;
}

/* Print styles */
@media print {
    header, footer, nav, #mobile-menu {
        display: none !important;
    }

    main {
        margin: 0;
        padding: 0;
    }

    a {
        text-decoration: underline;
    }

    .no-print {
        display: none !important;
    }
}
