/* ===== CSS Variables ===== */
:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --secondary: #ec4899;
    --accent: #06b6d4;
    --dark: #1e1b4b;
    --dark-light: #312e81;
    --light: #f8fafc;
    --gray: #64748b;
    --gray-light: #e2e8f0;
    --success: #10b981;
    --warning: #f59e0b;
    --gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-2: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-3: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --gradient-4: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    --shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 25px 50px rgba(0, 0, 0, 0.15);
    --radius: 16px;
    --radius-sm: 8px;
    --transition: all 0.3s ease;
}

/* ===== Reset & Base ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans SC', sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background: var(--light);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    gap: 8px;
}

.btn-primary {
    background: var(--gradient-1);
    color: white;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.5);
}

.btn-secondary {
    background: white;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background: var(--primary);
    color: white;
}

.btn-light {
    background: white;
    color: var(--primary);
    box-shadow: var(--shadow);
}

.btn-light:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* ===== Navigation ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.4rem;
}

.logo-icon {
    font-size: 1.8rem;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-text {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    gap: 35px;
}

.nav-links a {
    font-weight: 500;
    color: var(--gray);
    position: relative;
    padding: 5px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-1);
    transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.lang-toggle {
    display: flex;
    align-items: center;
    background: var(--gray-light);
    border: none;
    border-radius: 20px;
    padding: 6px 12px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
    transition: var(--transition);
}

.lang-toggle .lang-zh {
    display: none;
}

.lang-toggle.zh .lang-en {
    display: none;
}

.lang-toggle.zh .lang-zh {
    display: inline;
}

.lang-toggle:hover {
    background: var(--primary);
    color: white;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--dark);
}

/* ===== Hero Section ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 100px 20px 60px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #f8fafc 0%, #e0e7ff 100%);
}

.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.6;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: var(--gradient-1);
    top: -100px;
    right: -100px;
    filter: blur(80px);
}

.shape-2 {
    width: 300px;
    height: 300px;
    background: var(--gradient-2);
    bottom: -50px;
    left: -50px;
    filter: blur(60px);
}

.shape-3 {
    width: 200px;
    height: 200px;
    background: var(--gradient-3);
    top: 50%;
    left: 30%;
    filter: blur(50px);
}

.shape-4 {
    width: 150px;
    height: 150px;
    background: var(--gradient-4);
    bottom: 30%;
    right: 20%;
    filter: blur(40px);
}

.hero-content {
    max-width: 600px;
    position: relative;
    z-index: 1;
    margin-left: 10%;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--gray);
    margin-bottom: 30px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.hero-visual {
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.grid-item {
    width: 100px;
    height: 100px;
    background: white;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    animation: float 3s ease-in-out infinite;
}

.grid-item:hover {
    transform: scale(1.1);
}

.gi-1 { color: #667eea; animation-delay: 0s; }
.gi-2 { color: #f093fb; animation-delay: 0.5s; }
.gi-3 { color: #4facfe; animation-delay: 1s; }
.gi-4 { color: #43e97b; animation-delay: 1.5s; }
.gi-5 { color: #f5576c; animation-delay: 2s; }
.gi-6 { color: #764ba2; animation-delay: 2.5s; }

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* ===== Section Styles ===== */
section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark);
}

/* ===== Features Section ===== */
.features {
    background: white;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.feature-card {
    background: var(--light);
    padding: 40px 30px;
    border-radius: var(--radius);
    text-align: center;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    background: white;
}

.feature-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 2rem;
    color: white;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--dark);
}

.feature-card p {
    color: var(--gray);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ===== Stats Section ===== */
.stats {
    background: var(--gradient-1);
    padding: 80px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    text-align: center;
}

.stat-item {
    color: white;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.stat-number::after {
    content: '+';
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
}

/* ===== Services Preview ===== */
.services-preview {
    background: var(--light);
}

.services-showcase {
    max-width: 800px;
    margin: 0 auto;
}

.service-item {
    display: flex;
    align-items: center;
    gap: 30px;
    padding: 30px;
    background: white;
    border-radius: var(--radius);
    margin-bottom: 20px;
    transition: var(--transition);
    cursor: pointer;
}

.service-item:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow);
}

.service-number {
    font-size: 2rem;
    font-weight: 800;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    min-width: 60px;
}

.service-content {
    flex: 1;
}

.service-content h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: var(--dark);
}

.service-content p {
    color: var(--gray);
    font-size: 0.95rem;
}

.service-arrow {
    color: var(--primary);
    font-size: 1.2rem;
    opacity: 0;
    transition: var(--transition);
}

.service-item:hover .service-arrow {
    opacity: 1;
}

.services-cta {
    text-align: center;
    margin-top: 40px;
}

/* ===== CTA Section ===== */
.cta-section {
    background: var(--gradient-1);
    padding: 100px 0;
}

.cta-content {
    text-align: center;
    color: white;
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 30px;
}

/* ===== Footer ===== */
.footer {
    background: var(--dark);
    color: white;
    padding: 80px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    margin: 20px 0;
    font-size: 0.95rem;
    line-height: 1.7;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.footer-links h4,
.footer-contact h4 {
    font-size: 1.1rem;
    margin-bottom: 25px;
    position: relative;
}

.footer-links ul li,
.footer-contact ul li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: white;
    padding-left: 5px;
}

.footer-contact ul li {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-contact i {
    color: var(--primary);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* ===== About Page ===== */
.page-hero {
    padding: 150px 0 80px;
    background: linear-gradient(135deg, #f8fafc 0%, #e0e7ff 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: var(--gradient-1);
    border-radius: 50%;
    top: -200px;
    right: -200px;
    opacity: 0.3;
    filter: blur(80px);
}

.page-hero h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 20px;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-hero p {
    font-size: 1.2rem;
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto;
}

.about-content {
    padding: 100px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--dark);
}

.about-text p {
    color: var(--gray);
    margin-bottom: 20px;
    line-height: 1.8;
}

.about-image {
    position: relative;
}

.about-image-main {
    width: 100%;
    height: 400px;
    background: var(--gradient-1);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 8rem;
    color: white;
}

.about-image-accent {
    position: absolute;
    width: 150px;
    height: 150px;
    background: var(--gradient-2);
    border-radius: var(--radius);
    bottom: -30px;
    right: -30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: white;
    box-shadow: var(--shadow-lg);
}

.values-section {
    background: var(--light);
    padding: 100px 0;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.value-card {
    background: white;
    padding: 40px;
    border-radius: var(--radius);
    text-align: center;
    transition: var(--transition);
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.value-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
}

.value-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--dark);
}

.value-card p {
    color: var(--gray);
    line-height: 1.7;
}

.team-section {
    padding: 100px 0;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.team-card {
    text-align: center;
}

.team-avatar {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: white;
}

.team-card h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: var(--dark);
}

.team-card p {
    color: var(--gray);
    font-size: 0.95rem;
}

/* ===== Services Page ===== */
.services-grid-full {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card-full {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.service-card-full:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.service-card-header {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: white;
}

.service-card-body {
    padding: 30px;
}

.service-card-body h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--dark);
}

.service-card-body p {
    color: var(--gray);
    margin-bottom: 20px;
    line-height: 1.7;
}

.service-card-body ul {
    margin-bottom: 20px;
}

.service-card-body ul li {
    color: var(--gray);
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
}

.service-card-body ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: bold;
}

.process-section {
    background: var(--light);
    padding: 100px 0;
}

.process-timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.process-timeline::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--gray-light);
}

.process-item {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
    position: relative;
}

.process-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gradient-1);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    flex-shrink: 0;
    z-index: 1;
}

.process-content {
    background: white;
    padding: 30px;
    border-radius: var(--radius);
    flex: 1;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.process-content h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--dark);
}

.process-content p {
    color: var(--gray);
    line-height: 1.7;
}

/* ===== Portfolio Page ===== */
.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 25px;
    border: 2px solid var(--gray-light);
    background: white;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 500;
    transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.portfolio-item {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.portfolio-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.portfolio-image {
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: white;
    position: relative;
    overflow: hidden;
}

.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-overlay a {
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.2rem;
    margin: 0 5px;
    transition: var(--transition);
}

.portfolio-overlay a:hover {
    background: var(--primary);
    color: white;
}

.portfolio-info {
    padding: 25px;
}

.portfolio-info h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--dark);
}

.portfolio-info p {
    color: var(--gray);
    font-size: 0.95rem;
    margin-bottom: 15px;
}

.portfolio-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.portfolio-tags span {
    padding: 5px 12px;
    background: var(--light);
    border-radius: 20px;
    font-size: 0.8rem;
    color: var(--gray);
}

/* ===== Contact Page ===== */
.contact-section {
    padding: 100px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
}

.contact-info h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--dark);
}

.contact-info > p {
    color: var(--gray);
    margin-bottom: 30px;
    line-height: 1.8;
}

.contact-details {
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 25px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient-1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-text h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--dark);
}

.contact-text p {
    color: var(--gray);
    font-size: 0.95rem;
}

.contact-form {
    background: white;
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--dark);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 15px;
    border: 2px solid var(--gray-light);
    border-radius: var(--radius-sm);
    font-size: 1rem;
    transition: var(--transition);
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.map-section {
    padding: 0 0 100px;
}

.map-container {
    height: 400px;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

#map {
    width: 100%;
    height: 100%;
}

/* ===== Legal Pages ===== */
.legal-content {
    padding: 100px 0;
}

.legal-container {
    max-width: 800px;
    margin: 0 auto;
}

.legal-container h2 {
    font-size: 1.8rem;
    margin: 40px 0 20px;
    color: var(--dark);
}

.legal-container h3 {
    font-size: 1.4rem;
    margin: 30px 0 15px;
    color: var(--dark);
}

.legal-container p {
    color: var(--gray);
    margin-bottom: 15px;
    line-height: 1.8;
}

.legal-container ul {
    margin: 15px 0 15px 30px;
    list-style: disc;
}

.legal-container ul li {
    color: var(--gray);
    margin-bottom: 10px;
    line-height: 1.7;
}

.legal-container a {
    color: var(--primary);
}

.legal-container a:hover {
    text-decoration: underline;
}

.last-updated {
    background: var(--light);
    padding: 15px 20px;
    border-radius: var(--radius-sm);
    margin-bottom: 30px;
    color: var(--gray);
    font-size: 0.95rem;
}

/* ===== Responsive Design ===== */
@media (max-width: 1024px) {
    .hero-content h1 {
        font-size: 2.8rem;
    }
    
    .hero-visual {
        display: none;
    }
    
    .hero-content {
        margin-left: 0;
        text-align: center;
        max-width: 100%;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .services-grid-full {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 20px;
        gap: 15px;
        box-shadow: var(--shadow);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .features-grid,
    .stats-grid,
    .values-grid,
    .team-grid,
    .services-grid-full,
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .page-hero h1 {
        font-size: 2.2rem;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .btn {
        padding: 12px 24px;
        font-size: 0.9rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
}
