/* ========================================
   CG Studio - Flat Design Style CSS
   ======================================== */

/* CSS Variables */
:root {
    --primary: #4F46E5;
    --primary-dark: #4338CA;
    --primary-light: #818CF8;
    --secondary: #10B981;
    --accent: #F59E0B;
    --dark: #1F2937;
    --dark-light: #374151;
    --gray: #6B7280;
    --gray-light: #9CA3AF;
    --light: #F3F4F6;
    --white: #FFFFFF;
    --gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-2: linear-gradient(135deg, #4F46E5 0%, #7C3AED 100%);
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --radius: 8px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --transition: all 0.3s ease;
}

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

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(--white);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    color: var(--dark);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.5rem); }
h4 { font-size: 1.125rem; }

p {
    color: var(--gray);
    line-height: 1.8;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}

.btn-light {
    background: var(--white);
    color: var(--primary);
}

.btn-light:hover {
    background: var(--light);
    transform: translateY(-2px);
}

/* ========================================
   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: var(--shadow-sm);
    transition: var(--transition);
}

.navbar.scrolled {
    box-shadow: var(--shadow);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.25rem;
}

.logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: var(--white);
    border-radius: var(--radius);
    font-weight: 800;
    font-size: 0.875rem;
}

.logo-text {
    color: var(--dark);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-links a {
    padding: 10px 18px;
    font-weight: 500;
    color: var(--gray);
    border-radius: var(--radius);
    transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
    background: rgba(79, 70, 229, 0.08);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.lang-toggle {
    padding: 8px 16px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary);
    background: rgba(79, 70, 229, 0.1);
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
}

.lang-toggle:hover {
    background: var(--primary);
    color: var(--white);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--dark);
    border-radius: 2px;
    transition: var(--transition);
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8f0 100%);
    z-index: -1;
}

.hero-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.6;
}

.shape-1 {
    width: 600px;
    height: 600px;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.15) 0%, rgba(124, 58, 237, 0.1) 100%);
    top: -200px;
    right: -100px;
}

.shape-2 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(79, 70, 229, 0.1) 100%);
    bottom: -100px;
    left: -100px;
}

.shape-3 {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.15) 0%, rgba(239, 68, 68, 0.1) 100%);
    top: 40%;
    right: 20%;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-content h1 {
    margin-bottom: 24px;
    background: var(--gradient-2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--gray);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--gray);
    margin-top: 8px;
    display: block;
}

/* Page Hero */
.page-hero {
    position: relative;
    padding: 160px 0 80px;
    text-align: center;
    overflow: hidden;
}

.page-hero .hero-bg {
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8f0 100%);
}

.page-hero h1 {
    margin-bottom: 16px;
    color: var(--dark);
}

.page-hero p {
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto;
}

/* ========================================
   Section Styles
   ======================================== */
section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px;
}

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary);
    background: rgba(79, 70, 229, 0.1);
    border-radius: 50px;
    margin-bottom: 16px;
}

.section-header h2 {
    margin-bottom: 16px;
}

.section-header p {
    font-size: 1.125rem;
}

/* ========================================
   Features Section
   ======================================== */
.features {
    background: var(--white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.feature-card {
    padding: 40px 30px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.feature-icon {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-lg);
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.icon-systems {
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.15) 0%, rgba(124, 58, 237, 0.15) 100%);
}
.icon-systems::before { content: '🖥️'; }

.icon-automation {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.15) 0%, rgba(52, 211, 153, 0.15) 100%);
}
.icon-automation::before { content: '⚙️'; }

.icon-consulting {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.15) 0%, rgba(251, 191, 36, 0.15) 100%);
}
.icon-consulting::before { content: '💡'; }

.icon-development {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.15) 0%, rgba(248, 113, 113, 0.15) 100%);
}
.icon-development::before { content: '🚀'; }

.feature-card h3 {
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 0.9375rem;
}

/* ========================================
   Industries Section
   ======================================== */
.industries {
    background: var(--light);
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
}

.industry-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px 20px;
    background: var(--white);
    border-radius: var(--radius-lg);
    text-align: center;
    transition: var(--transition);
}

.industry-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.industry-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.industry-item span {
    font-weight: 600;
    color: var(--dark);
    font-size: 0.9375rem;
}

/* ========================================
   CTA Section
   ======================================== */
.cta {
    background: var(--gradient-2);
    padding: 80px 0;
}

.cta-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.cta-content h2 {
    color: var(--white);
    margin-bottom: 16px;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.125rem;
    margin-bottom: 32px;
}

/* ========================================
   About Page Styles
   ======================================== */
.about-intro {
    background: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-content .section-tag {
    margin-bottom: 16px;
}

.about-content h2 {
    margin-bottom: 24px;
}

.about-content p {
    margin-bottom: 16px;
}

.about-image {
    position: relative;
}

.image-placeholder {
    aspect-ratio: 4/3;
    background: var(--gradient-1);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
}

.placeholder-content {
    text-align: center;
    color: var(--white);
}

.placeholder-icon {
    font-size: 4rem;
    display: block;
    margin-bottom: 16px;
}

/* Mission Vision */
.mission-vision {
    background: var(--light);
}

.mv-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.mv-card {
    padding: 40px;
    background: var(--white);
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow);
}

.mv-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.mv-card h3 {
    margin-bottom: 16px;
    color: var(--primary);
}

/* Company Info */
.info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
}

.info-card {
    padding: 30px;
    background: var(--light);
    border-radius: var(--radius-lg);
    text-align: center;
}

.info-icon {
    font-size: 2rem;
    margin-bottom: 16px;
}

.info-card h4 {
    margin-bottom: 8px;
    color: var(--dark);
}

.info-card p,
.info-card a {
    color: var(--gray);
    font-size: 0.9375rem;
}

.info-card a:hover {
    color: var(--primary);
}

/* Expertise */
.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.expertise-item {
    padding: 30px;
    background: var(--white);
    border-radius: var(--radius-lg);
    border-left: 4px solid var(--primary);
    box-shadow: var(--shadow-sm);
}

.expertise-item h4 {
    margin-bottom: 8px;
    color: var(--dark);
}

.expertise-item p {
    font-size: 0.9375rem;
}

/* ========================================
   Timeline
   ======================================== */
.timeline {
    background: var(--light);
}

.timeline-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline-container::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: var(--primary-light);
}

.timeline-item {
    position: relative;
    padding: 20px 0;
    display: flex;
    align-items: center;
}

.timeline-item:nth-child(odd) {
    justify-content: flex-start;
    padding-right: calc(50% + 40px);
}

.timeline-item:nth-child(even) {
    justify-content: flex-end;
    padding-left: calc(50% + 40px);
}

.timeline-marker {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 16px;
    height: 16px;
    background: var(--primary);
    border-radius: 50%;
    border: 4px solid var(--white);
    box-shadow: var(--shadow);
}

.timeline-content {
    background: var(--white);
    padding: 24px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    max-width: 350px;
}

.timeline-year {
    display: inline-block;
    padding: 4px 12px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.timeline-content h4 {
    margin-bottom: 8px;
}

.timeline-content p {
    font-size: 0.9375rem;
}

/* ========================================
   Services Page Styles
   ======================================== */
.services-detail {
    background: var(--white);
}

.service-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding: 60px 0;
    border-bottom: 1px solid var(--light);
}

.service-block:last-child {
    border-bottom: none;
}

.service-block.reverse {
    direction: rtl;
}

.service-block.reverse > * {
    direction: ltr;
}

.service-number {
    display: inline-block;
    font-size: 4rem;
    font-weight: 800;
    color: var(--light);
    line-height: 1;
    margin-bottom: 16px;
}

.service-content h2 {
    margin-bottom: 20px;
}

.service-content p {
    margin-bottom: 24px;
}

.service-features {
    list-style: none;
}

.service-features li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 12px;
    color: var(--gray);
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary);
    font-weight: 700;
}

.service-visual {
    display: flex;
    justify-content: center;
}

.visual-card {
    width: 280px;
    height: 280px;
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
}

.visual-icon {
    font-size: 5rem;
}

.card-blue { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); }
.card-purple { background: linear-gradient(135deg, #a855f7 0%, #6366f1 100%); }
.card-green { background: linear-gradient(135deg, #10b981 0%, #34d399 100%); }
.card-orange { background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%); }
.card-pink { background: linear-gradient(135deg, #ec4899 0%, #f472b6 100%); }

/* Process */
.process {
    background: var(--light);
}

.process-steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.process-step {
    flex: 1;
    min-width: 200px;
    max-width: 250px;
    text-align: center;
    padding: 30px 20px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 auto 20px;
}

.process-step h3 {
    margin-bottom: 12px;
}

.process-step p {
    font-size: 0.9375rem;
}

.process-connector {
    width: 40px;
    height: 2px;
    background: var(--primary-light);
    margin-top: 55px;
}

/* ========================================
   Portfolio Page Styles
   ======================================== */
.portfolio-filter {
    padding: 40px 0;
    background: var(--white);
}

.filter-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}

.filter-btn {
    padding: 10px 24px;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--gray);
    background: var(--light);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary);
    color: var(--white);
}

.portfolio-grid-section {
    padding: 60px 0;
    background: var(--light);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.portfolio-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.portfolio-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.portfolio-image {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
}

.portfolio-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.portfolio-icon {
    font-size: 4rem;
}

.portfolio-overlay {
    position: absolute;
    top: 16px;
    left: 16px;
}

.portfolio-category {
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--dark);
}

.portfolio-content {
    padding: 24px;
}

.portfolio-content h3 {
    margin-bottom: 12px;
}

.portfolio-content p {
    font-size: 0.9375rem;
    margin-bottom: 16px;
}

.portfolio-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.portfolio-tags span {
    padding: 4px 12px;
    background: var(--light);
    border-radius: 50px;
    font-size: 0.8125rem;
    color: var(--gray);
}

/* ========================================
   Testimonials
   ======================================== */
.testimonials {
    background: var(--white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.testimonial-card {
    padding: 32px;
    background: var(--light);
    border-radius: var(--radius-lg);
}

.testimonial-content p {
    font-size: 1rem;
    font-style: italic;
    color: var(--dark);
    margin-bottom: 24px;
    line-height: 1.8;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.author-info h4 {
    font-size: 1rem;
    margin-bottom: 4px;
}

.author-info span {
    font-size: 0.875rem;
    color: var(--gray);
}

/* ========================================
   Contact Page Styles
   ======================================== */
.contact-section {
    padding: 80px 0;
    background: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
}

.contact-info h2 {
    margin-bottom: 16px;
}

.contact-info > p {
    margin-bottom: 40px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-item {
    display: flex;
    gap: 16px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--light);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.contact-text h4 {
    margin-bottom: 4px;
    color: var(--dark);
}

.contact-text p,
.contact-text a {
    color: var(--gray);
    font-size: 0.9375rem;
}

.contact-text a:hover {
    color: var(--primary);
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--light);
    padding: 40px;
    border-radius: var(--radius-xl);
}

.contact-form-wrapper h3 {
    margin-bottom: 24px;
}

.form-group {
    margin-bottom: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    font-size: 1rem;
    border: 2px solid transparent;
    border-radius: var(--radius);
    background: var(--white);
    transition: var(--transition);
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.form-submit {
    width: 100%;
    padding: 16px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--white);
    background: var(--primary);
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
}

.form-submit:hover {
    background: var(--primary-dark);
}

/* Map */
.map-section {
    padding: 0;
    height: 400px;
    background: var(--light);
}

.map-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #e0e7ff 0%, #c7d2fe 100%);
}

.map-placeholder span {
    font-size: 1.25rem;
    color: var(--gray);
}

/* ========================================
   Legal Pages (Privacy & Terms)
   ======================================== */
.legal-content {
    padding: 80px 0;
    background: var(--white);
}

.legal-container {
    max-width: 800px;
    margin: 0 auto;
}

.legal-container h2 {
    margin-top: 48px;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--light);
}

.legal-container h2:first-child {
    margin-top: 0;
}

.legal-container h3 {
    margin-top: 32px;
    margin-bottom: 16px;
    color: var(--dark-light);
}

.legal-container p {
    margin-bottom: 16px;
    text-align: justify;
}

.legal-container ul,
.legal-container ol {
    margin-bottom: 16px;
    padding-left: 24px;
}

.legal-container li {
    margin-bottom: 8px;
    color: var(--gray);
}

.legal-container a {
    color: var(--primary);
}

.legal-container a:hover {
    text-decoration: underline;
}

.legal-update {
    margin-top: 48px;
    padding: 24px;
    background: var(--light);
    border-radius: var(--radius);
}

.legal-update p {
    margin-bottom: 0;
    font-size: 0.9375rem;
}

/* ========================================
   Footer
   ======================================== */
.footer {
    background: var(--dark);
    color: var(--white);
    padding: 80px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 2fr;
    gap: 40px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .logo {
    margin-bottom: 20px;
}

.footer-brand .logo-icon {
    background: var(--white);
    color: var(--primary);
}

.footer-brand .logo-text {
    color: var(--white);
}

.footer-brand p {
    color: var(--gray-light);
    font-size: 0.9375rem;
}

.footer-links h4,
.footer-contact h4 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 1rem;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: var(--gray-light);
    font-size: 0.9375rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--white);
}

.footer-contact p {
    color: var(--gray-light);
    font-size: 0.9375rem;
    margin-bottom: 12px;
}

.footer-bottom {
    padding: 24px 0;
    text-align: center;
}

.footer-bottom p {
    color: var(--gray-light);
    font-size: 0.875rem;
}

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .about-grid,
    .contact-grid,
    .service-block {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .service-block.reverse {
        direction: ltr;
    }
    
    .timeline-container::before {
        left: 20px;
    }
    
    .timeline-item:nth-child(odd),
    .timeline-item:nth-child(even) {
        justify-content: flex-start;
        padding-left: 60px;
        padding-right: 0;
    }
    
    .timeline-marker {
        left: 20px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        box-shadow: var(--shadow-lg);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
    
    .hero-stats {
        gap: 30px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-brand .logo {
        justify-content: center;
    }
    
    .process-steps {
        flex-direction: column;
        align-items: center;
    }
    
    .process-connector {
        width: 2px;
        height: 30px;
        margin: 0;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .filter-buttons {
        gap: 8px;
    }
    
    .filter-btn {
        padding: 8px 16px;
        font-size: 0.875rem;
    }
}

@media (max-width: 480px) {
    section {
        padding: 60px 0;
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 280px;
    }
    
    .stat-item {
        min-width: 100px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .features-grid,
    .industries-grid,
    .mv-grid,
    .info-cards,
    .expertise-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-form-wrapper {
        padding: 24px;
    }
    
    .visual-card {
        width: 200px;
        height: 200px;
    }
    
    .visual-icon {
        font-size: 3rem;
    }
}

/* ========================================
   Animations
   ======================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

.fade-in {
    animation: fadeIn 0.6s ease forwards;
}

/* Scroll animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   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 !important; }
.visible { display: block !important; }
