/* ===== CSS Variables ===== */
:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    --secondary: #10b981;
    --secondary-dark: #059669;
    --accent: #f59e0b;
    --dark: #1e293b;
    --dark-light: #334155;
    --gray: #64748b;
    --gray-light: #94a3b8;
    --light: #f1f5f9;
    --white: #ffffff;
    --gradient-1: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    --gradient-2: linear-gradient(135deg, #10b981 0%, #06b6d4 100%);
    --shadow-sm: 0 1px 2px 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: 12px;
    --radius-lg: 20px;
}

/* ===== 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: var(--white);
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== Typography ===== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--dark);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: 1.25rem; }

p {
    color: var(--gray);
}

/* ===== 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: all 0.3s ease;
}

.btn-primary {
    background: var(--gradient-1);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(99, 102, 241, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 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-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}

.btn-large {
    padding: 18px 40px;
    font-size: 1.1rem;
}

/* ===== 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);
}

.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.5rem;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient-1);
    color: var(--white);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
}

.logo-text {
    color: var(--dark);
}

.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(--primary);
    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: 15px;
}

.lang-switch {
    padding: 8px 16px;
    background: var(--light);
    border: none;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.lang-switch:hover {
    background: var(--primary);
    color: var(--white);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: var(--dark);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* ===== 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: 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(--accent);
    top: 50%;
    left: 30%;
    filter: blur(50px);
    opacity: 0.4;
}

.shape-4 {
    width: 150px;
    height: 150px;
    background: var(--primary-light);
    bottom: 20%;
    right: 20%;
    filter: blur(40px);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 600px;
    margin: 0 auto 0 10%;
}

.hero-content h1 {
    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;
    margin-bottom: 30px;
    color: var(--gray);
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.hero-visual {
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    width: 500px;
    height: 500px;
}

.tech-grid {
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    transform: rotate(15deg);
}

.grid-item {
    border-radius: var(--radius-lg);
    transition: transform 0.3s ease;
}

.gi-1 {
    background: var(--gradient-1);
    animation: float 6s ease-in-out infinite;
}

.gi-2 {
    background: var(--gradient-2);
    animation: float 6s ease-in-out infinite 1s;
}

.gi-3 {
    background: linear-gradient(135deg, var(--accent) 0%, #fbbf24 100%);
    animation: float 6s ease-in-out infinite 2s;
}

.gi-4 {
    background: linear-gradient(135deg, #ec4899 0%, #f43f5e 100%);
    animation: float 6s ease-in-out infinite 3s;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* ===== 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 h1 {
    margin-bottom: 15px;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-hero p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

/* ===== Section Header ===== */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    margin-bottom: 15px;
}

.section-header p {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* ===== Features Section ===== */
.features {
    padding: 100px 20px;
    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: all 0.3s ease;
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-innovation {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
}

.icon-integration {
    background: linear-gradient(135deg, #10b981 0%, #06b6d4 100%);
}

.icon-support {
    background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
}

.icon-security {
    background: linear-gradient(135deg, #ec4899 0%, #f43f5e 100%);
}

.feature-card h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.feature-card p {
    font-size: 0.95rem;
}

/* ===== Services Preview ===== */
.services-preview {
    padding: 100px 20px;
    background: var(--light);
}

.services-showcase {
    max-width: 800px;
    margin: 0 auto;
}

.service-item {
    display: flex;
    align-items: flex-start;
    gap: 30px;
    padding: 30px;
    background: var(--white);
    border-radius: var(--radius-lg);
    margin-bottom: 20px;
    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 {
    margin-bottom: 10px;
}

.services-cta {
    text-align: center;
    margin-top: 40px;
}

/* ===== Stats Section ===== */
.stats {
    padding: 80px 20px;
    background: var(--gradient-1);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    text-align: center;
}

.stat-item {
    color: var(--white);
}

.stat-number {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* ===== Industries Section ===== */
.industries {
    padding: 100px 20px;
    background: var(--white);
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
}

.industry-card {
    padding: 30px 20px;
    background: var(--light);
    border-radius: var(--radius);
    text-align: center;
    transition: all 0.3s ease;
}

.industry-card:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-5px);
}

.industry-card:hover span {
    color: var(--white);
}

.industry-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 15px;
    background: var(--gradient-1);
    border-radius: 12px;
}

.industry-card span {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--dark);
    transition: color 0.3s ease;
}

/* ===== CTA Section ===== */
.cta-section {
    padding: 100px 20px;
    background: var(--dark);
    text-align: center;
}

.cta-content h2 {
    color: var(--white);
    margin-bottom: 15px;
}

.cta-content p {
    color: var(--gray-light);
    font-size: 1.2rem;
    margin-bottom: 30px;
}

/* ===== About Page ===== */
.about-intro {
    padding: 100px 20px;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-content h2 {
    margin-bottom: 25px;
}

.about-content p {
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.about-visual {
    position: relative;
}

.visual-box {
    width: 100%;
    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, var(--accent) 0%, #fbbf24 100%);
    bottom: 0;
    left: 20%;
}

/* ===== Mission Vision ===== */
.mission-vision {
    padding: 100px 20px;
    background: var(--light);
}

.mv-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.mv-card {
    padding: 50px 40px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.mv-icon {
    width: 60px;
    height: 60px;
    border-radius: 15px;
    margin-bottom: 25px;
}

.mission .mv-icon {
    background: var(--gradient-1);
}

.vision .mv-icon {
    background: var(--gradient-2);
}

.mv-card h3 {
    margin-bottom: 15px;
}

/* ===== Values ===== */
.values {
    padding: 100px 20px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.value-card {
    padding: 35px 30px;
    border-left: 4px solid var(--primary);
    background: var(--light);
    border-radius: 0 var(--radius) var(--radius) 0;
}

.value-number {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px;
}

.value-card h4 {
    margin-bottom: 10px;
}

/* ===== Team ===== */
.team {
    padding: 100px 20px;
    background: var(--light);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.team-card {
    padding: 40px 30px;
    background: var(--white);
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.team-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin: 0 auto 20px;
}

.ta-1 { background: var(--gradient-1); }
.ta-2 { background: var(--gradient-2); }
.ta-3 { background: linear-gradient(135deg, var(--accent) 0%, #fbbf24 100%); }

.team-card h4 {
    margin-bottom: 10px;
}

/* ===== Company Info ===== */
.company-info {
    padding: 100px 20px;
}

.info-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 50px;
    box-shadow: var(--shadow-lg);
}

.info-card h3 {
    margin-bottom: 30px;
    text-align: center;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.info-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.info-label {
    font-size: 0.9rem;
    color: var(--gray);
    font-weight: 500;
}

.info-value {
    font-weight: 600;
    color: var(--dark);
}

.info-value a {
    color: var(--primary);
}

/* ===== Services Page ===== */
.services-main {
    padding: 80px 20px;
}

.service-detail {
    margin-bottom: 60px;
    padding: 50px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.service-detail.alt {
    background: var(--light);
}

.service-detail-header {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 40px;
}

.service-icon-large {
    width: 100px;
    height: 100px;
    border-radius: 25px;
    flex-shrink: 0;
}

.icon-systems {
    background: var(--gradient-1);
}

.service-detail-title h2 {
    margin-bottom: 10px;
    font-size: 1.8rem;
}

.service-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.sf-item {
    padding: 25px;
    background: var(--light);
    border-radius: var(--radius);
}

.service-detail.alt .sf-item {
    background: var(--white);
}

.sf-item h4 {
    margin-bottom: 10px;
    color: var(--primary);
}

/* ===== Service Industries ===== */
.service-industries {
    padding: 100px 20px;
    background: var(--light);
}

.industry-list {
    max-width: 900px;
    margin: 0 auto;
}

.industry-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 25px;
    background: var(--white);
    border-radius: var(--radius);
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.industry-item:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow);
}

.industry-icon-sm {
    width: 50px;
    height: 50px;
    background: var(--gradient-1);
    border-radius: 12px;
    flex-shrink: 0;
}

.industry-info h4 {
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.industry-info p {
    font-size: 0.95rem;
}

/* ===== Process Timeline ===== */
.service-process {
    padding: 100px 20px;
}

.process-timeline {
    display: flex;
    justify-content: space-between;
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.process-timeline::before {
    content: '';
    position: absolute;
    top: 30px;
    left: 10%;
    right: 10%;
    height: 4px;
    background: var(--light);
}

.process-step {
    text-align: center;
    position: relative;
    flex: 1;
    padding: 0 15px;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--gradient-1);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 20px;
    position: relative;
    z-index: 1;
}

.process-step h4 {
    margin-bottom: 10px;
}

.process-step p {
    font-size: 0.9rem;
}

/* ===== Portfolio Page ===== */
.portfolio-filter {
    padding: 40px 20px;
    background: var(--white);
}

.filter-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 12px 25px;
    background: var(--light);
    border: none;
    border-radius: var(--radius);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary);
    color: var(--white);
}

.portfolio-grid-section {
    padding: 60px 20px 100px;
    background: var(--light);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.portfolio-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
}

.portfolio-image {
    width: 100%;
    height: 100%;
    transition: transform 0.5s ease;
}

.pi-1 { background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #a78bfa 100%); }
.pi-2 { background: linear-gradient(135deg, #10b981 0%, #06b6d4 50%, #22d3ee 100%); }
.pi-3 { background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 50%, #fcd34d 100%); }
.pi-4 { background: linear-gradient(135deg, #ec4899 0%, #f43f5e 50%, #fb7185 100%); }
.pi-5 { background: linear-gradient(135deg, #8b5cf6 0%, #a855f7 50%, #c084fc 100%); }
.pi-6 { background: linear-gradient(135deg, #14b8a6 0%, #2dd4bf 50%, #5eead4 100%); }

.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.3) 50%, transparent 100%);
    display: flex;
    align-items: flex-end;
    padding: 30px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.portfolio-card:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-card:hover .portfolio-image {
    transform: scale(1.1);
}

.portfolio-content {
    color: var(--white);
}

.portfolio-category {
    display: inline-block;
    padding: 5px 12px;
    background: var(--primary);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    margin-bottom: 10px;
}

.portfolio-content h3 {
    color: var(--white);
    margin-bottom: 8px;
    font-size: 1.3rem;
}

.portfolio-content p {
    color: rgba(255,255,255,0.8);
    font-size: 0.95rem;
}

/* ===== Testimonials ===== */
.testimonials {
    padding: 100px 20px;
    background: var(--white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.testimonial-card {
    padding: 40px 35px;
    background: var(--light);
    border-radius: var(--radius-lg);
    position: relative;
}

.testimonial-quote {
    font-size: 5rem;
    line-height: 1;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: absolute;
    top: 20px;
    left: 30px;
    opacity: 0.3;
}

.testimonial-card p {
    font-size: 1.05rem;
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.aa-1 { background: var(--gradient-1); }
.aa-2 { background: var(--gradient-2); }
.aa-3 { background: linear-gradient(135deg, var(--accent) 0%, #fbbf24 100%); }

.author-info h5 {
    font-size: 1rem;
    margin-bottom: 3px;
}

.author-info span {
    font-size: 0.9rem;
    color: var(--gray);
}

/* ===== Case Study ===== */
.case-study {
    padding: 100px 20px;
    background: var(--dark);
}

.case-study-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.case-label {
    display: inline-block;
    padding: 8px 16px;
    background: var(--primary);
    color: var(--white);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 20px;
}

.case-study-text h2 {
    color: var(--white);
    margin-bottom: 20px;
}

.case-study-text p {
    color: var(--gray-light);
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.case-stats {
    display: flex;
    gap: 40px;
}

.case-stat {
    text-align: center;
}

.stat-value {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-light);
    margin-bottom: 5px;
}

.stat-desc {
    font-size: 0.9rem;
    color: var(--gray-light);
}

.case-visual-box {
    width: 100%;
    aspect-ratio: 4/3;
    background: var(--gradient-1);
    border-radius: var(--radius-lg);
}

/* ===== Contact Page ===== */
.contact-main {
    padding: 80px 20px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
}

.contact-info h2 {
    margin-bottom: 15px;
}

.contact-info > p {
    margin-bottom: 40px;
}

.contact-details {
    margin-bottom: 40px;
}

.contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-1);
    border-radius: 12px;
    flex-shrink: 0;
}

.contact-text h4 {
    margin-bottom: 5px;
    font-size: 1rem;
}

.contact-text p {
    font-size: 0.95rem;
}

.contact-text a {
    color: var(--primary);
}

.business-hours h4 {
    margin-bottom: 10px;
}

.business-hours p {
    font-size: 0.95rem;
    margin-bottom: 5px;
}

/* ===== Contact Form ===== */
.contact-form-wrapper {
    background: var(--light);
    padding: 50px;
    border-radius: var(--radius-lg);
}

.contact-form-wrapper h3 {
    margin-bottom: 30px;
}

.contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 14px 18px;
    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: 80px 20px;
    background: var(--light);
}

.map-container {
    height: 400px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

/* ===== FAQ Section ===== */
.faq-section {
    padding: 100px 20px;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    padding: 30px;
    background: var(--light);
    border-radius: var(--radius);
}

.faq-item h4 {
    margin-bottom: 12px;
    color: var(--primary);
}

.faq-item p {
    font-size: 0.95rem;
}

/* ===== Legal Pages ===== */
.legal-hero {
    padding-bottom: 60px;
}

.legal-content {
    padding: 80px 20px;
}

.legal-document {
    max-width: 900px;
    margin: 0 auto;
}

.legal-section {
    margin-bottom: 40px;
}

.legal-section h2 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--primary);
}

.legal-section h3 {
    font-size: 1.2rem;
    margin: 25px 0 15px;
}

.legal-section p {
    margin-bottom: 15px;
    line-height: 1.8;
}

.legal-section ul {
    margin: 15px 0 15px 25px;
}

.legal-section li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 20px;
    color: var(--gray);
}

.legal-section li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
}

.contact-info-legal {
    padding: 25px;
    background: var(--light);
    border-radius: var(--radius);
    margin-top: 20px;
}

.contact-info-legal p {
    margin-bottom: 8px;
}

.contact-info-legal a {
    color: var(--primary);
}

/* ===== Footer ===== */
.footer {
    background: var(--dark);
    padding: 80px 20px 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-brand .logo {
    margin-bottom: 20px;
}

.footer-brand .logo-text {
    color: var(--white);
}

.footer-brand p {
    color: var(--gray-light);
}

.footer-links h4,
.footer-contact h4 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.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(--primary-light);
}

.footer-contact p {
    color: var(--gray-light);
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid var(--dark-light);
    text-align: center;
}

.footer-bottom p {
    color: var(--gray);
    font-size: 0.9rem;
}

/* ===== Responsive Design ===== */
@media (max-width: 1024px) {
    .hero-visual {
        display: none;
    }
    
    .hero-content {
        margin: 0 auto;
        text-align: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .about-grid,
    .case-study-content {
        grid-template-columns: 1fr;
    }
    
    .about-visual {
        order: -1;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@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: 15px;
        box-shadow: var(--shadow-lg);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-form {
        grid-template-columns: 1fr;
    }
    
    .process-timeline {
        flex-direction: column;
        gap: 30px;
    }
    
    .process-timeline::before {
        display: none;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .case-stats {
        flex-wrap: wrap;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 100px 15px 40px;
    }
    
    .btn {
        padding: 12px 24px;
        font-size: 0.95rem;
    }
    
    .service-detail {
        padding: 30px 20px;
    }
    
    .service-detail-header {
        flex-direction: column;
        text-align: center;
    }
    
    .contact-form-wrapper {
        padding: 30px 20px;
    }
}
