* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #2563eb;
    --secondary: #1e40af;
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --border: #e5e7eb;
    --bg-light: #f9fafb;
    --bg-white: #ffffff;
    --radius: 8px;
}

@media (prefers-color-scheme: dark) {
    :root {
        --primary: #3b82f6;
        --secondary: #1e40af;
        --text-primary: #f9fafb;
        --text-secondary: #d1d5db;
        --border: #374151;
        --bg-light: #111827;
        --bg-white: #1f2937;
    }
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-primary);
    background-color: var(--bg-light);
    line-height: 1.6;
}

header {
    background-color: var(--bg-white);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary);
}

main {
    min-height: 60vh;
}

section {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.hero {
    text-align: center;
    padding: 6rem 2rem;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.hero .tagline {
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.description {
    background-color: var(--bg-white);
    padding: 2rem;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    max-width: 700px;
    margin: 2rem auto;
    color: var(--text-secondary);
    line-height: 1.8;
}

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

.btn {
    padding: 0.75rem 2rem;
    border: none;
    border-radius: var(--radius);
    font-size: 16px;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
}

.btn-primary:hover {
    background-color: var(--secondary);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background-color: var(--primary);
    color: white;
}

h2 {
    font-size: 32px;
    margin-bottom: 3rem;
    text-align: center;
    color: var(--text-primary);
}

h3 {
    color: var(--text-primary);
    margin-bottom: 1rem;
}

h3 a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.3s;
}

h3 a:hover {
    color: var(--primary);
}

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

.service-card {
    background-color: var(--bg-white);
    padding: 2rem;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    text-align: center;
    transition: all 0.3s;
}

.service-card:hover {
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.1);
}

.service-card i {
    font-size: 40px;
    color: var(--primary);
    margin-bottom: 1rem;
}

.service-card h3 {
    font-size: 18px;
    margin-bottom: 0.5rem;
}

.service-card p {
    color: var(--text-secondary);
    font-size: 14px;
}

.portfolio-section {
    background-color: var(--bg-white);
    border-radius: var(--radius);
    padding: 3rem 2rem;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.portfolio-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 3rem 2rem;
    border-radius: var(--radius);
    text-align: center;
    color: white;
    transition: all 0.3s;
}

.portfolio-card:nth-child(2) {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.portfolio-card:hover {
    transform: translateY(-4px);
}

.portfolio-card i {
    font-size: 48px;
    margin-bottom: 1rem;
}

.portfolio-card h3 {
    font-size: 24px;
    margin-bottom: 1rem;
    color: white;
}

.portfolio-card p {
    font-size: 14px;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.portfolio-card a {
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius);
    text-decoration: none;
    transition: all 0.3s;
    border: 2px solid white;
}

.portfolio-card a:hover {
    background-color: white;
    color: #667eea;
}

/* Page Content Styles */
.page-content {
    max-width: 900px;
    margin: 0 auto;
}

.page-header {
    text-align: center;
    margin-bottom: 3rem;
}

.page-header h1 {
    font-size: 42px;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.page-header p {
    font-size: 18px;
    color: var(--text-secondary);
}

.content-box {
    background-color: var(--bg-white);
    padding: 2rem;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    margin-bottom: 2rem;
}

.content-box h3 {
    font-size: 24px;
    margin-bottom: 1rem;
}

.content-box p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.content-box ul {
    margin-left: 2rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.content-box li {
    margin-bottom: 0.5rem;
}

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

.team-member {
    background-color: var(--bg-white);
    padding: 2rem;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    text-align: center;
    transition: all 0.3s;
}

.team-member:hover {
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.1);
}

.team-member i {
    font-size: 60px;
    color: var(--primary);
    margin-bottom: 1rem;
}

.team-member h4 {
    font-size: 18px;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.team-member .position {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.team-member p {
    font-size: 14px;
    color: var(--text-secondary);
}

/* Form Styles */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-primary);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 16px;
    font-family: inherit;
    background-color: var(--bg-white);
    color: var(--text-primary);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

footer {
    background-color: var(--bg-white);
    border-top: 1px solid var(--border);
    padding: 2rem;
    margin-top: 4rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
    text-transform: uppercase;
}

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

.footer-section a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    display: block;
    margin-bottom: 0.5rem;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: var(--primary);
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    text-align: center;
    color: var(--text-secondary);
    font-size: 14px;
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero .tagline {
        font-size: 16px;
    }

    .page-header h1 {
        font-size: 32px;
    }

    h2 {
        font-size: 24px;
    }
}
