/* ===== 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, #4F46E5 0%, #7C3AED 100%);
    --gradient-2: linear-gradient(135deg, #10B981 0%, #3B82F6 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;
}

/* ===== 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);
    transition: all 0.3s ease;
}

.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;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient-1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
    font-size: 14px;
}

.logo-text {
    font-size: 22px;
    font-weight: 700;
    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: 2px;
    background: var(--dark);
    transition: all 0.3s ease;
}

/* ===== Hero Section ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 100px 20px 60px;
    background: linear-gradient(180deg, #F8FAFC 0%, #EEF2FF 100%);
}

.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.5;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: var(--primary-light);
    top: -100px;
    right: -100px;
    filter: blur(80px);
}

.shape-2 {
    width: 300px;
    height: 300px;
    background: var(--secondary);
    bottom: 10%;
    left: -50px;
    filter: blur(60px);
}

.shape-3 {
    width: 200px;
    height: 200px;
    background: var(--accent);
    top: 40%;
    right: 20%;
    filter: blur(50px);
}

.shape-4 {
    width: 150px;
    height: 150px;
    background: var(--primary);
    bottom: 20%;
    right: 10%;
    filter: blur(40px);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 600px;
    margin: 0 auto 0 10%;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.2rem;
    color: var(--gray);
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 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 15px rgba(79, 70, 229, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(79, 70, 229, 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-visual {
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    width: 45%;
    max-width: 500px;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.grid-item {
    aspect-ratio: 1;
    border-radius: var(--radius-lg);
    background: var(--white);
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.gi-1 { background: linear-gradient(135deg, #4F46E5 0%, #7C3AED 50%, #EC4899 100%); }
.gi-2 { background: linear-gradient(135deg, #10B981 0%, #3B82F6 100%); }
.gi-3 { background: linear-gradient(135deg, #F59E0B 0%, #EF4444 100%); }
.gi-4 { background: linear-gradient(135deg, #8B5CF6 0%, #06B6D4 100%); }

.grid-item::before {
    content: '';
    position: absolute;
    inset: 20%;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
}


/* ===== Page Hero ===== */
.page-hero {
    padding: 150px 20px 80px;
    background: linear-gradient(180deg, #F8FAFC 0%, #EEF2FF 100%);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.page-hero-small {
    padding: 130px 20px 60px;
}

.page-hero h1 {
    font-size: 3rem;
    font-weight: 800;
    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;
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto;
}

/* ===== Section Styles ===== */
section {
    padding: 80px 20px;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--dark);
}

.section-header p {
    font-size: 1.1rem;
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto;
}

/* ===== Features Section ===== */
.features {
    background: var(--white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.feature-card {
    padding: 35px 25px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid var(--light);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-innovation { background: linear-gradient(135deg, #4F46E5 0%, #7C3AED 100%); }
.icon-integration { background: linear-gradient(135deg, #10B981 0%, #3B82F6 100%); }
.icon-support { background: linear-gradient(135deg, #F59E0B 0%, #EF4444 100%); }
.icon-security { background: linear-gradient(135deg, #8B5CF6 0%, #06B6D4 100%); }

.feature-icon::before {
    content: '';
    width: 30px;
    height: 30px;
    background: rgba(255,255,255,0.9);
    border-radius: 8px;
}

.feature-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--dark);
}

.feature-card p {
    font-size: 0.95rem;
    color: var(--gray);
}

/* ===== Services Preview ===== */
.services-preview {
    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 {
    box-shadow: var(--shadow-xl);
}

.service-number {
    font-size: 4rem;
    font-weight: 800;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    min-width: 100px;
}

.service-content h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--dark);
}

.service-content p {
    color: var(--gray);
    margin-bottom: 15px;
}

.service-link {
    color: var(--primary);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.service-link:hover {
    color: var(--primary-dark);
}

/* ===== Stats Section ===== */
.stats {
    background: var(--gradient-1);
    padding: 60px 20px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.stat-item {
    color: var(--white);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 10px;
}

.stat-number::after {
    content: '+';
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
}

/* ===== CTA Section ===== */
.cta {
    background: var(--dark);
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: 15px;
}

.cta-content p {
    font-size: 1.1rem;
    color: var(--gray-light);
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== About Page ===== */
.about-intro {
    background: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-content h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--dark);
}

.about-content p {
    color: var(--gray);
    margin-bottom: 15px;
}

.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: 60%;
    height: 60%;
    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: 40%;
    height: 40%;
    background: linear-gradient(135deg, #F59E0B 0%, #EF4444 100%);
    bottom: 0;
    left: 20%;
}

/* ===== Mission Vision ===== */
.mission-vision {
    background: var(--light);
}

.mv-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.mv-card {
    padding: 40px 30px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    text-align: center;
}

.mv-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mission-icon { background: var(--gradient-1); }
.vision-icon { background: var(--gradient-2); }
.values-icon { background: linear-gradient(135deg, #F59E0B 0%, #EF4444 100%); }

.mv-icon::before {
    content: '';
    width: 35px;
    height: 35px;
    background: rgba(255,255,255,0.9);
    border-radius: 10px;
}

.mv-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--dark);
}

.mv-card p {
    color: var(--gray);
}

/* ===== Industries ===== */
.industries {
    background: var(--white);
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}

.industry-card {
    padding: 30px 15px;
    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-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 15px;
    background: var(--white);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.industry-icon::before {
    content: '';
    width: 25px;
    height: 25px;
    background: var(--primary);
    border-radius: 6px;
}

.industry-card:hover .industry-icon::before {
    background: var(--dark);
}

.industry-card h4 {
    font-size: 0.9rem;
    font-weight: 600;
}

/* ===== Team ===== */
.team {
    background: var(--light);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.team-card {
    padding: 40px 30px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    text-align: center;
}

.team-avatar {
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
    border-radius: 50%;
}

.ta-1 { background: var(--gradient-1); }
.ta-2 { background: var(--gradient-2); }
.ta-3 { background: linear-gradient(135deg, #F59E0B 0%, #EF4444 100%); }

.team-card h4 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: var(--dark);
}

.team-card p {
    font-size: 0.95rem;
    color: var(--gray);
}

/* ===== Timeline ===== */
.timeline {
    background: var(--white);
}

.timeline-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline-container::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 100%;
    background: var(--light);
}

.timeline-item {
    display: flex;
    align-items: center;
    margin-bottom: 40px;
    position: relative;
}

.timeline-item:nth-child(odd) {
    flex-direction: row-reverse;
}

.timeline-marker {
    width: 20px;
    height: 20px;
    background: var(--primary);
    border-radius: 50%;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.timeline-content {
    width: 45%;
    padding: 25px;
    background: var(--light);
    border-radius: var(--radius);
}

.timeline-content h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--primary);
}

.timeline-content p {
    color: var(--gray);
    font-size: 0.95rem;
}


/* ===== Services Page ===== */
.services-main {
    background: var(--white);
}

.service-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
}

.service-detail.reverse {
    direction: rtl;
}

.service-detail.reverse > * {
    direction: ltr;
}

.service-badge {
    display: inline-block;
    padding: 6px 14px;
    background: var(--primary-light);
    color: var(--primary-dark);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.service-detail-content h2 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: var(--dark);
}

.service-detail-content p {
    color: var(--gray);
    margin-bottom: 20px;
}

.service-features {
    list-style: none;
}

.service-features li {
    padding: 8px 0;
    padding-left: 30px;
    position: relative;
    color: var(--gray);
}

.service-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background: var(--secondary);
    border-radius: 50%;
}

.service-visual-box {
    width: 100%;
    aspect-ratio: 1;
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.svb-1 { background: linear-gradient(135deg, #EEF2FF 0%, #E0E7FF 100%); }
.svb-2 { background: linear-gradient(135deg, #ECFDF5 0%, #D1FAE5 100%); }

.sv-element {
    position: absolute;
    border-radius: var(--radius);
}

.svb-1 .sv-element:nth-child(1) {
    width: 60%;
    height: 40%;
    background: var(--gradient-1);
    top: 15%;
    left: 10%;
}

.svb-1 .sv-element:nth-child(2) {
    width: 40%;
    height: 30%;
    background: var(--gradient-2);
    bottom: 20%;
    right: 15%;
}

.svb-1 .sv-element:nth-child(3) {
    width: 30%;
    height: 25%;
    background: linear-gradient(135deg, #F59E0B 0%, #EF4444 100%);
    bottom: 15%;
    left: 20%;
}

.svb-2 .sv-element:nth-child(1) {
    width: 50%;
    height: 35%;
    background: var(--gradient-2);
    top: 20%;
    right: 10%;
}

.svb-2 .sv-element:nth-child(2) {
    width: 45%;
    height: 30%;
    background: var(--gradient-1);
    bottom: 25%;
    left: 10%;
}

.svb-2 .sv-element:nth-child(3) {
    width: 35%;
    height: 25%;
    background: linear-gradient(135deg, #8B5CF6 0%, #06B6D4 100%);
    top: 15%;
    left: 15%;
}

/* ===== Services Grid ===== */
.services-grid-section {
    background: var(--light);
}

.services-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    padding: 35px 30px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.sc-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sc-icon.icon-consulting { background: var(--gradient-1); }
.sc-icon.icon-development { background: var(--gradient-2); }
.sc-icon.icon-cloud { background: linear-gradient(135deg, #8B5CF6 0%, #06B6D4 100%); }
.sc-icon.icon-security { background: linear-gradient(135deg, #EF4444 0%, #F59E0B 100%); }
.sc-icon.icon-data { background: linear-gradient(135deg, #10B981 0%, #84CC16 100%); }
.sc-icon.icon-support { background: linear-gradient(135deg, #3B82F6 0%, #8B5CF6 100%); }

.sc-icon::before {
    content: '';
    width: 25px;
    height: 25px;
    background: rgba(255,255,255,0.9);
    border-radius: 6px;
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: var(--dark);
}

.service-card p {
    color: var(--gray);
    font-size: 0.95rem;
}

/* ===== Process ===== */
.process {
    background: var(--white);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.process-step {
    text-align: center;
    position: relative;
}

.process-step::after {
    content: '';
    position: absolute;
    top: 40px;
    right: -15px;
    width: 30px;
    height: 3px;
    background: var(--light);
}

.process-step:last-child::after {
    display: none;
}

.step-number {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: var(--gradient-1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 700;
}

.process-step h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--dark);
}

.process-step p {
    color: var(--gray);
    font-size: 0.95rem;
}

/* ===== Portfolio Page ===== */
.portfolio-filter {
    background: var(--white);
    padding: 30px 20px;
}

.filter-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 24px;
    background: var(--light);
    border: none;
    border-radius: 25px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary);
    color: var(--white);
}

.portfolio-grid {
    background: var(--light);
    padding-top: 30px;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.project-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
}

.project-image {
    width: 100%;
    height: 100%;
}

.pi-1 { background: linear-gradient(135deg, #4F46E5 0%, #7C3AED 100%); }
.pi-2 { background: linear-gradient(135deg, #10B981 0%, #3B82F6 100%); }
.pi-3 { background: linear-gradient(135deg, #F59E0B 0%, #EF4444 100%); }
.pi-4 { background: linear-gradient(135deg, #8B5CF6 0%, #EC4899 100%); }
.pi-5 { background: linear-gradient(135deg, #06B6D4 0%, #3B82F6 100%); }
.pi-6 { background: linear-gradient(135deg, #84CC16 0%, #10B981 100%); }

.project-overlay {
    position: absolute;
    inset: 0;
    background: rgba(31, 41, 55, 0.9);
    display: flex;
    align-items: flex-end;
    padding: 30px;
    opacity: 0;
    transition: all 0.3s ease;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-info {
    color: var(--white);
}

.project-category {
    display: inline-block;
    padding: 4px 12px;
    background: var(--primary);
    border-radius: 15px;
    font-size: 0.8rem;
    margin-bottom: 10px;
}

.project-info h3 {
    font-size: 1.3rem;
    margin-bottom: 8px;
}

.project-info p {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* ===== Testimonials ===== */
.testimonials {
    background: var(--white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonial-card {
    padding: 35px 30px;
    background: var(--light);
    border-radius: var(--radius-lg);
}

.testimonial-content p {
    color: var(--gray);
    font-style: italic;
    margin-bottom: 25px;
    position: relative;
    padding-left: 20px;
}

.testimonial-content p::before {
    content: '\201C';
    position: absolute;
    left: 0;
    top: -10px;
    font-size: 3rem;
    color: var(--primary-light);
    line-height: 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, #F59E0B 0%, #EF4444 100%); }

.author-info h4 {
    font-size: 1rem;
    color: var(--dark);
}

.author-info span {
    font-size: 0.9rem;
    color: var(--gray);
}


/* ===== Contact Page ===== */
.contact-main {
    background: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info h2,
.contact-form-container h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--dark);
}

.contact-info > p {
    color: var(--gray);
    margin-bottom: 30px;
}

.contact-details {
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-location { background: var(--gradient-1); }
.icon-email { background: var(--gradient-2); }
.icon-phone { background: linear-gradient(135deg, #F59E0B 0%, #EF4444 100%); }
.icon-web { background: linear-gradient(135deg, #8B5CF6 0%, #06B6D4 100%); }

.contact-icon::before {
    content: '';
    width: 22px;
    height: 22px;
    background: rgba(255,255,255,0.9);
    border-radius: 5px;
}

.contact-text h4 {
    font-size: 1rem;
    margin-bottom: 5px;
    color: var(--dark);
}

.contact-text p {
    color: var(--gray);
    font-size: 0.95rem;
}

.contact-text a {
    color: var(--primary);
}

.contact-text a:hover {
    color: var(--primary-dark);
}

.business-hours h4 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: var(--dark);
}

.business-hours p {
    color: var(--gray);
    margin-bottom: 5px;
}

/* ===== Contact Form ===== */
.contact-form-container {
    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 18px;
    border: 2px solid var(--light);
    border-radius: var(--radius);
    font-size: 1rem;
    font-family: inherit;
    background: var(--white);
    transition: all 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 {
    background: var(--light);
}

.map-container {
    width: 100%;
    height: 400px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
}

/* ===== Legal Pages ===== */
.legal-content {
    background: var(--white);
    padding: 60px 20px;
}

.legal-document {
    max-width: 800px;
    margin: 0 auto;
}

.legal-section {
    margin-bottom: 40px;
}

.legal-section h2 {
    font-size: 1.5rem;
    color: var(--dark);
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--light);
}

.legal-section h3 {
    font-size: 1.2rem;
    color: var(--dark);
    margin: 20px 0 10px;
}

.legal-section p {
    color: var(--gray);
    margin-bottom: 15px;
}

.legal-section ul {
    margin: 15px 0;
    padding-left: 25px;
}

.legal-section li {
    color: var(--gray);
    margin-bottom: 8px;
    position: relative;
    padding-left: 15px;
}

.legal-section li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
}

.legal-contact {
    padding: 25px;
    background: var(--light);
    border-radius: var(--radius);
    margin-top: 20px;
}

.legal-contact p {
    margin-bottom: 8px;
}

.legal-contact a {
    color: var(--primary);
}

/* ===== Footer ===== */
.footer {
    background: var(--dark);
    padding: 60px 20px 30px;
    color: var(--white);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand .logo {
    margin-bottom: 15px;
}

.footer-brand .logo-text {
    color: var(--white);
}

.footer-brand p {
    color: var(--gray-light);
    font-size: 0.95rem;
    margin-bottom: 5px;
}

.footer-address {
    font-size: 0.9rem !important;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: var(--white);
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: var(--gray-light);
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--white);
}

.footer-contact p {
    margin-bottom: 10px;
}

.footer-contact a {
    color: var(--gray-light);
    font-size: 0.95rem;
}

.footer-contact a:hover {
    color: var(--primary-light);
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid var(--dark-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-bottom p {
    color: var(--gray-light);
    font-size: 0.9rem;
}

.footer-legal {
    display: flex;
    gap: 25px;
}

.footer-legal a {
    color: var(--gray-light);
    font-size: 0.9rem;
}

.footer-legal a:hover {
    color: var(--white);
}

/* ===== Responsive Design ===== */
@media (max-width: 1024px) {
    .hero h1 {
        font-size: 2.8rem;
    }
    
    .hero-visual {
        display: none;
    }
    
    .hero-content {
        margin: 0 auto;
        text-align: center;
        max-width: 700px;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-grid,
    .service-detail,
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .service-detail.reverse {
        direction: ltr;
    }
    
    .mv-grid,
    .services-cards,
    .projects-grid,
    .testimonials-grid,
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .industries-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .process-steps {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .process-step::after {
        display: none;
    }
    
    .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);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .hero {
        padding: 120px 20px 60px;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .page-hero h1 {
        font-size: 2.2rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .features-grid,
    .mv-grid,
    .services-cards,
    .projects-grid,
    .testimonials-grid,
    .team-grid,
    .stats-grid,
    .process-steps {
        grid-template-columns: 1fr;
    }
    
    .industries-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .service-item {
        flex-direction: column;
    }
    
    .service-number {
        font-size: 3rem;
    }
    
    .timeline-container::before {
        left: 20px;
    }
    
    .timeline-item,
    .timeline-item:nth-child(odd) {
        flex-direction: row;
        padding-left: 50px;
    }
    
    .timeline-marker {
        left: 20px;
    }
    
    .timeline-content {
        width: 100%;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .contact-form-container {
        padding: 25px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .btn {
        padding: 12px 20px;
        font-size: 0.95rem;
    }
    
    .industries-grid {
        grid-template-columns: 1fr;
    }
    
    .filter-buttons {
        flex-direction: column;
    }
    
    .filter-btn {
        width: 100%;
    }
}
