/* Reset & Base - Mobile First */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #1f2937;
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Typography */
h1 { font-size: clamp(2rem, 6vw, 3.5rem); margin-bottom: 1rem; }
h2 { font-size: clamp(1.75rem, 5vw, 2.5rem); margin: 2rem 0 1rem; text-align: center; }
h3 { font-size: 1.25rem; margin: 0.75rem 0; }

.section-subtitle {
    text-align: center;
    color: #6b7280;
    margin-bottom: 3rem;
}

/* Navigation */
header {
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    flex-wrap: wrap;
}

.logo {
    font-size: 1.75rem;
    font-weight: bold;
}

.logo span { color: #2563eb; }

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: #4b5563;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover { color: #2563eb; }

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #eff6ff 0%, #ffffff 100%);
    text-align: center;
    padding: 4rem 0;
}

.hero-subtitle {
    font-size: 1.125rem;
    max-width: 600px;
    margin: 1rem auto;
    color: #4b5563;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: #2563eb;
    color: white;
}

.btn-primary:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
}

/* Services Grid */
.services-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: 1fr;
}

.service-card {
    background: #f9fafb;
    padding: 1.5rem;
    border-radius: 1rem;
    transition: transform 0.2s, box-shadow 0.2s;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px -5px rgba(0,0,0,0.1);
}

.service-card i {
    font-size: 2rem;
    color: #2563eb;
    margin-bottom: 1rem;
}

/* Stats Section */
.stats {
    background: #1f2937;
    color: white;
    padding: 3rem 0;
    margin: 3rem 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: #3b82f6;
    display: block;
}

/* Team Grid */
.team-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: 1fr;
}

.team-card {
    text-align: center;
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.team-card img {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

/* Contact Section */
.contact {
    padding: 3rem 0;
}

.contact-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: 1fr;
}

.contact-info i {
    width: 30px;
    color: #2563eb;
    margin-right: 0.5rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.75rem;
    margin-bottom: 1rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    font-family: inherit;
}

/* Footer */
footer {
    background: #111827;
    color: #9ca3af;
    text-align: center;
    padding: 2rem 0;
    margin-top: 3rem;
}

footer a {
    color: #9ca3af;
    text-decoration: none;
}

/* Tablet and Desktop Responsive */
@media (min-width: 768px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .team-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-grid { grid-template-columns: repeat(4, 1fr); }
    .contact-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
    .services-grid { grid-template-columns: repeat(4, 1fr); }
    .team-grid { grid-template-columns: repeat(4, 1fr); }
}

/* Mobile Menu */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }
    
    .nav-links {
        display: none;
        width: 100%;
        flex-direction: column;
        gap: 1rem;
        padding: 1rem 0;
        text-align: center;
    }
    
    .nav-links.active {
        display: flex;
    }
}