/* ===== CSS Variables ===== */
:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --secondary: #7c3aed;
    --accent: #06b6d4;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --dark: #1e293b;
    --dark-light: #334155;
    --gray: #64748b;
    --gray-light: #94a3b8;
    --light: #f1f5f9;
    --white: #ffffff;
    --gradient-1: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
    --gradient-2: linear-gradient(135deg, #06b6d4 0%, #10b981 100%);
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1);
    --radius: 8px;
    --radius-lg: 16px;
    --radius-xl: 24px;
}

/* ===== 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;
    font-size: 16px;
    line-height: 1.6;
    color: var(--dark);
    background-color: var(--white);
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* ===== Container ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== Navbar ===== */
.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: var(--shadow-sm);
}

.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-size: 1.5rem;
    font-weight: 700;
    color: var(--dark);
}

.logo-icon {
    color: var(--primary);
    font-size: 1.8rem;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    font-weight: 500;
    color: var(--gray);
    padding: 8px 0;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-1);
    transition: width 0.3s ease;
}

.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: 16px;
}

.lang-toggle {
    background: var(--light);
    border: none;
    padding: 8px 16px;
    border-radius: var(--radius);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.lang-toggle:hover {
    background: var(--primary);
    color: var(--white);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--dark);
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--gradient-1);
    color: var(--white);
    box-shadow: 0 4px 14px 0 rgba(37, 99, 235, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px 0 rgba(37, 99, 235, 0.5);
}

.btn-secondary {
    background: var(--white);
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background: var(--primary);
    color: var(--white);
}

.btn-large {
    padding: 16px 36px;
    font-size: 1.1rem;
}

.btn-full {
    width: 100%;
}

/* ===== 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%, #e2e8f0 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: linear-gradient(135deg, rgba(37, 99, 235, 0.2) 0%, rgba(124, 58, 237, 0.2) 100%);
    top: -100px;
    right: -100px;
    animation: float 8s ease-in-out infinite;
}

.shape-2 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.2) 0%, rgba(16, 185, 129, 0.2) 100%);
    bottom: -50px;
    left: -50px;
    animation: float 10s ease-in-out infinite reverse;
}

.shape-3 {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.15) 0%, rgba(239, 68, 68, 0.15) 100%);
    top: 40%;
    left: 20%;
    animation: float 12s ease-in-out infinite;
}

.shape-4 {
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.2) 0%, rgba(6, 182, 212, 0.2) 100%);
    bottom: 30%;
    right: 15%;
    animation: float 9s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(5deg); }
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--gray);
    margin-bottom: 32px;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    width: 100%;
    max-width: 400px;
}

.grid-item {
    aspect-ratio: 1;
    border-radius: var(--radius-lg);
    animation: pulse 4s ease-in-out infinite;
}

.gi-1 {
    background: var(--gradient-1);
    animation-delay: 0s;
}

.gi-2 {
    background: var(--gradient-2);
    animation-delay: 1s;
}

.gi-3 {
    background: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);
    animation-delay: 2s;
}

.gi-4 {
    background: linear-gradient(135deg, #8b5cf6 0%, #ec4899 100%);
    animation-delay: 3s;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.05); opacity: 1; }
}

/* ===== Page Hero ===== */
.page-hero {
    padding: 140px 20px 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.page-hero-small {
    padding: 120px 20px 60px;
}

.page-hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.page-hero h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 16px;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 1;
}

.page-hero p {
    font-size: 1.25rem;
    color: var(--gray);
    position: relative;
    z-index: 1;
}

/* ===== Section Header ===== */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--dark);
}

.section-header p {
    font-size: 1.125rem;
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto;
}

/* ===== Features Section ===== */
.features {
    padding: 100px 20px;
    background: var(--white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.feature-card {
    padding: 40px 30px;
    border-radius: var(--radius-lg);
    background: var(--white);
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.feature-icon {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 2rem;
}

.icon-blue { background: rgba(37, 99, 235, 0.1); }
.icon-green { background: rgba(16, 185, 129, 0.1); }
.icon-purple { background: rgba(124, 58, 237, 0.1); }
.icon-orange { background: rgba(245, 158, 11, 0.1); }

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--dark);
}

.feature-card p {
    color: var(--gray);
    font-size: 0.95rem;
}

/* ===== Services Preview ===== */
.services-preview {
    padding: 100px 20px;
    background: var(--light);
}

.services-showcase {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.service-item {
    display: flex;
    align-items: flex-start;
    gap: 30px;
    padding: 40px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.service-item:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-lg);
}

.service-number {
    font-size: 3rem;
    font-weight: 800;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.service-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--dark);
}

.service-content p {
    color: var(--gray);
    margin-bottom: 16px;
}

.service-link {
    color: var(--primary);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.service-link:hover {
    color: var(--primary-dark);
}

/* ===== Stats Section ===== */
.stats {
    padding: 80px 20px;
    background: var(--gradient-1);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    text-align: center;
}

.stat-item {
    color: var(--white);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 8px;
}

.stat-number::after {
    content: '+';
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
}

/* ===== CTA Section ===== */
.cta {
    padding: 100px 20px;
    background: var(--dark);
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 16px;
}

.cta-content p {
    font-size: 1.125rem;
    color: var(--gray-light);
    margin-bottom: 32px;
}

/* ===== About Page ===== */
.about-intro {
    padding: 100px 20px;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-content h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--dark);
}

.about-content p {
    color: var(--gray);
    margin-bottom: 16px;
    font-size: 1.05rem;
}

.about-visual {
    display: flex;
    justify-content: center;
}

.visual-box {
    width: 100%;
    max-width: 400px;
    aspect-ratio: 1;
    position: relative;
}

.visual-element {
    position: absolute;
    border-radius: var(--radius-lg);
}

.ve-1 {
    width: 70%;
    height: 70%;
    background: var(--gradient-1);
    top: 0;
    left: 0;
}

.ve-2 {
    width: 50%;
    height: 50%;
    background: var(--gradient-2);
    bottom: 10%;
    right: 0;
}

.ve-3 {
    width: 30%;
    height: 30%;
    background: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);
    bottom: 0;
    left: 20%;
}

/* ===== Mission Vision ===== */
.mission-vision {
    padding: 100px 20px;
    background: var(--light);
}

.mv-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.mv-card {
    padding: 50px 40px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    text-align: center;
}

.mv-icon {
    font-size: 3rem;
    margin-bottom: 24px;
}

.mv-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--dark);
}

.mv-card p {
    color: var(--gray);
}

/* ===== Values Section ===== */
.values {
    padding: 100px 20px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.value-card {
    padding: 30px;
    border-left: 4px solid var(--primary);
    background: var(--light);
    border-radius: 0 var(--radius) var(--radius) 0;
}

.value-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 16px;
}

.value-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--dark);
}

.value-card p {
    color: var(--gray);
    font-size: 0.95rem;
}

/* ===== Team Section ===== */
.team {
    padding: 100px 20px;
    background: var(--light);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.team-card {
    text-align: center;
    padding: 40px 30px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.team-avatar {
    margin-bottom: 24px;
}

.avatar-placeholder {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: var(--gradient-1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 700;
}

.team-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--dark);
}

.team-card p {
    color: var(--gray);
}

/* ===== Industries Section ===== */
.industries {
    padding: 100px 20px;
}

.industries-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
}

.industry-tag {
    padding: 12px 24px;
    background: var(--light);
    border-radius: 50px;
    font-weight: 500;
    color: var(--dark);
    transition: all 0.3s ease;
}

.industry-tag:hover {
    background: var(--primary);
    color: var(--white);
}

/* ===== Services Page ===== */
.services-main {
    padding: 100px 20px;
}

.service-detail {
    margin-bottom: 60px;
    padding: 50px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.service-detail:nth-child(even) {
    background: var(--light);
}

.service-detail-header {
    display: flex;
    align-items: flex-start;
    gap: 30px;
    margin-bottom: 30px;
}

.service-icon-large {
    width: 100px;
    height: 100px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    flex-shrink: 0;
}

.service-detail-title h2 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--dark);
}

.service-detail-title p {
    color: var(--gray);
}

.service-detail-content p {
    color: var(--gray);
    margin-bottom: 24px;
    font-size: 1.05rem;
}

.service-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.service-features li {
    padding: 12px 16px;
    background: var(--light);
    border-radius: var(--radius);
    color: var(--dark);
    font-weight: 500;
    position: relative;
    padding-left: 40px;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 16px;
    color: var(--success);
    font-weight: 700;
}

/* ===== Process Section ===== */
.process {
    padding: 100px 20px;
    background: var(--light);
}

.process-timeline {
    display: flex;
    justify-content: space-between;
    position: relative;
}

.process-timeline::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 10%;
    right: 10%;
    height: 4px;
    background: var(--gradient-1);
    z-index: 0;
}

.process-step {
    text-align: center;
    position: relative;
    z-index: 1;
    flex: 1;
    padding: 0 20px;
}

.step-number {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--gradient-1);
    color: var(--white);
    font-size: 2rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    box-shadow: var(--shadow-lg);
}

.process-step h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--dark);
}

.process-step p {
    color: var(--gray);
    font-size: 0.95rem;
}

/* ===== Portfolio Page ===== */
.portfolio-filter {
    padding: 40px 20px;
    background: var(--white);
}

.filter-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 12px 24px;
    border: 2px solid var(--light);
    background: var(--white);
    border-radius: 50px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

.portfolio-grid-section {
    padding: 60px 20px 100px;
    background: var(--light);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.portfolio-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.portfolio-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.portfolio-image {
    aspect-ratio: 16/10;
    overflow: hidden;
}

.portfolio-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--white);
}

.color-1 { background: var(--gradient-1); }
.color-2 { background: var(--gradient-2); }
.color-3 { background: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%); }
.color-4 { background: linear-gradient(135deg, #8b5cf6 0%, #ec4899 100%); }
.color-5 { background: linear-gradient(135deg, #06b6d4 0%, #3b82f6 100%); }
.color-6 { background: linear-gradient(135deg, #10b981 0%, #059669 100%); }

.portfolio-content {
    padding: 24px;
}

.portfolio-category {
    display: inline-block;
    padding: 4px 12px;
    background: var(--light);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--primary);
    margin-bottom: 12px;
}

.portfolio-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--dark);
}

.portfolio-content p {
    color: var(--gray);
    font-size: 0.95rem;
    margin-bottom: 16px;
}

.portfolio-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.portfolio-tags span {
    padding: 4px 10px;
    background: var(--light);
    border-radius: var(--radius);
    font-size: 0.8rem;
    color: var(--gray);
}

/* ===== Testimonials ===== */
.testimonials {
    padding: 100px 20px;
    background: var(--white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.testimonial-card {
    padding: 40px;
    background: var(--light);
    border-radius: var(--radius-lg);
}

.testimonial-content p {
    font-size: 1.1rem;
    color: var(--dark);
    font-style: italic;
    margin-bottom: 24px;
    line-height: 1.8;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient-1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
}

.author-info h4 {
    font-weight: 600;
    color: var(--dark);
}

.author-info p {
    font-size: 0.9rem;
    color: var(--gray);
}

/* ===== Contact Page ===== */
.contact-main {
    padding: 100px 20px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info h2,
.contact-form-wrapper h2 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--dark);
}

.contact-info > p {
    color: var(--gray);
    margin-bottom: 40px;
}

.contact-details {
    margin-bottom: 40px;
}

.contact-item {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.contact-icon {
    font-size: 1.5rem;
    width: 50px;
    height: 50px;
    background: var(--light);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-text h4 {
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 4px;
}

.contact-text p {
    color: var(--gray);
}

.contact-text a {
    color: var(--primary);
}

.contact-text a:hover {
    color: var(--primary-dark);
}

.business-hours h4 {
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 12px;
}

.business-hours p {
    color: var(--gray);
    margin-bottom: 8px;
}

/* ===== Contact Form ===== */
.contact-form-wrapper {
    padding: 40px;
    background: var(--light);
    border-radius: var(--radius-lg);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: 500;
    color: var(--dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 14px 16px;
    border: 2px solid var(--light);
    border-radius: var(--radius);
    font-size: 1rem;
    font-family: inherit;
    background: var(--white);
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* ===== Map Section ===== */
.map-section {
    padding: 60px 20px 100px;
    background: var(--light);
}

.map-container {
    height: 400px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
}

/* ===== Legal Pages ===== */
.legal-content {
    padding: 80px 20px 100px;
}

.legal-document {
    max-width: 800px;
    margin: 0 auto;
}

.legal-section {
    margin-bottom: 40px;
}

.legal-section h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--dark);
}

.legal-section h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 24px 0 12px;
    color: var(--dark);
}

.legal-section p {
    color: var(--gray);
    margin-bottom: 16px;
    line-height: 1.8;
}

.legal-section ul {
    margin-bottom: 16px;
    padding-left: 24px;
}

.legal-section li {
    color: var(--gray);
    margin-bottom: 8px;
    position: relative;
    padding-left: 20px;
}

.legal-section li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary);
}

.legal-contact {
    padding: 24px;
    background: var(--light);
    border-radius: var(--radius);
    margin-top: 24px;
}

.legal-contact p {
    margin-bottom: 8px;
}

.legal-contact a {
    color: var(--primary);
}

/* ===== Footer ===== */
.footer {
    background: var(--dark);
    padding: 80px 20px 30px;
    color: var(--white);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-brand .logo {
    margin-bottom: 16px;
}

.footer-brand .logo-text {
    color: var(--white);
}

.footer-brand p {
    color: var(--gray-light);
    font-size: 0.95rem;
}

.footer-address {
    margin-top: 16px;
    line-height: 1.8;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--white);
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: var(--gray-light);
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--white);
}

.footer-contact p {
    margin-bottom: 12px;
}

.footer-contact a {
    color: var(--gray-light);
}

.footer-contact a:hover {
    color: var(--white);
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid var(--dark-light);
    text-align: center;
}

.footer-bottom p {
    color: var(--gray-light);
    font-size: 0.9rem;
}

/* ===== Responsive Design ===== */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        margin: 0 auto 32px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-visual {
        display: none;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .about-visual {
        order: -1;
    }

    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-timeline {
        flex-direction: column;
        gap: 40px;
    }

    .process-timeline::before {
        display: none;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        gap: 0;
        box-shadow: var(--shadow-lg);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        border-bottom: 1px solid var(--light);
    }

    .nav-links a {
        display: block;
        padding: 16px 0;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .page-hero h1 {
        font-size: 2rem;
    }

    .section-header h2 {
        font-size: 1.75rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .mv-grid {
        grid-template-columns: 1fr;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }

    .team-grid {
        grid-template-columns: 1fr;
    }

    .service-detail {
        padding: 30px;
    }

    .service-detail-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .service-features {
        grid-template-columns: 1fr;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .contact-form-wrapper {
        padding: 24px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-brand {
        margin-bottom: 20px;
    }

    .cta-content h2 {
        font-size: 1.75rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 100px 16px 40px;
    }

    .hero-content h1 {
        font-size: 1.75rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .filter-buttons {
        flex-direction: column;
    }

    .filter-btn {
        width: 100%;
    }
}

/* ===== Animations ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

/* ===== Utility Classes ===== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }

.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }

.hidden { display: none; }
.visible { display: block; }
