:root {
    --primary: #E86F2C;
    --primary-dark: #D45A1C;
    --primary-light: #FF8C4A;
    --secondary: #2D2D2D;
    --text-dark: #1A1A1A;
    --text-light: #6B7280;
    --text-white: #FFFFFF;
    --bg-main: #F8F9FA;
    --bg-card: #FFFFFF;
    --bg-soft: rgba(232, 111, 44, 0.08);
    --border: rgba(232, 111, 44, 0.15);
    --shadow: 0 10px 40px rgba(232, 111, 44, 0.12);
    --shadow-hover: 0 20px 60px rgba(232, 111, 44, 0.2);
    --gradient: linear-gradient(135deg, #E86F2C 0%, #FF8C4A 50%, #D45A1C 100%);
    --gradient-soft: linear-gradient(135deg, rgba(232, 111, 44, 0.1), rgba(232, 111, 44, 0.05));
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --radius: 16px;
    --radius-lg: 24px;
    --radius-full: 50px;
}
[data-theme="dark"] {
    --primary: #FFFFFF;
    --primary-dark: #E0E0E0;
    --primary-light: #FFFFFF;
    --secondary: #FFFFFF;
    --text-dark: #FFFFFF;
    --text-light: #B0B0B0;
    --text-white: #000000;
    --bg-main: #000000;
    --bg-card: #0A0A0A;
    --bg-soft: rgba(255, 255, 255, 0.08);
    --border: rgba(255, 255, 255, 0.15);
    --shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    --shadow-hover: 0 20px 60px rgba(255, 255, 255, 0.1);
    --gradient: linear-gradient(135deg, #1A1A1A 0%, #2A2A2A 50%, #0A0A0A 100%);
    --gradient-soft: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
}
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #0a0a0a 100%);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.preloader-inner {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    z-index: 2;
}


.preloader-rings {
    position: relative;
    width: 200px;
    height: 200px;
}

.ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 2px solid transparent;
}

.ring-1 {
    width: 180px;
    height: 180px;
    border-top-color: #E86F2C;
    border-right-color: #E86F2C;
    animation: ring-spin 1.5s linear infinite;
}

.ring-2 {
    width: 150px;
    height: 150px;
    border-bottom-color: #FF8C4A;
    border-left-color: #FF8C4A;
    animation: ring-spin 1.2s linear infinite reverse;
}

.ring-3 {
    width: 120px;
    height: 120px;
    border-top-color: #D45A1C;
    border-right-color: #D45A1C;
    animation: ring-spin 0.9s linear infinite;
}

@keyframes ring-spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}


.preloader-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.preloader-emblem {
    width: 70px;
    height: 70px;
    object-fit: contain;
    filter: drop-shadow(0 0 20px rgba(232, 111, 44, 0.5));
}


.preloader-text {
    display: flex;
    align-items: center;
    gap: 2px;
    font-size: 1.1rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.loading-dots span {
    animation: dots-blink 1.4s infinite;
    opacity: 0;
}

.loading-dots span:nth-child(1) { animation-delay: 0s; }
.loading-dots span:nth-child(2) { animation-delay: 0.2s; }
.loading-dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes dots-blink {
    0%, 80%, 100% { opacity: 0; }
    40% { opacity: 1; }
}


.preloader-progress {
    width: 200px;
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, #E86F2C, #FF8C4A, #E86F2C);
    background-size: 200% 100%;
    border-radius: 10px;
    animation: progress-fill 2s ease-out forwards, progress-shine 1s linear infinite;
}

@keyframes progress-fill {
    0% { width: 0; }
    50% { width: 70%; }
    100% { width: 100%; }
}

@keyframes progress-shine {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}


.preloader-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.preloader-particles span {
    position: absolute;
    width: 6px;
    height: 6px;
    background: #E86F2C;
    border-radius: 50%;
    opacity: 0;
    animation: particle-float 4s ease-in-out infinite;
}

.preloader-particles span:nth-child(1) { left: 10%; animation-delay: 0s; }
.preloader-particles span:nth-child(2) { left: 20%; animation-delay: 0.5s; }
.preloader-particles span:nth-child(3) { left: 30%; animation-delay: 1s; }
.preloader-particles span:nth-child(4) { left: 40%; animation-delay: 0.3s; }
.preloader-particles span:nth-child(5) { left: 50%; animation-delay: 0.8s; }
.preloader-particles span:nth-child(6) { left: 60%; animation-delay: 1.2s; }
.preloader-particles span:nth-child(7) { left: 70%; animation-delay: 0.2s; }
.preloader-particles span:nth-child(8) { left: 80%; animation-delay: 0.7s; }
.preloader-particles span:nth-child(9) { left: 90%; animation-delay: 1.1s; }
.preloader-particles span:nth-child(10) { left: 95%; animation-delay: 0.4s; }

@keyframes particle-float {
    0% {
        bottom: -10%;
        opacity: 0;
        transform: translateX(0) scale(0.5);
    }
    20% {
        opacity: 0.8;
    }
    80% {
        opacity: 0.6;
    }
    100% {
        bottom: 110%;
        opacity: 0;
        transform: translateX(30px) scale(1);
    }
}


*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
    background: var(--bg-main);
    color: var(--text-dark);
    line-height: 1.6;
    transition: background-color 0.4s ease, color 0.4s ease;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul, ol {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}


h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-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: clamp(1.25rem, 2.5vw, 1.5rem); }

p {
    color: var(--text-light);
    font-size: 1.1rem;
}


.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.container-lg {
    max-width: 1400px;
}


.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100vw;
    z-index: 1000;
    background: var(--bg-card);
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}

.header.scrolled {
    box-shadow: var(--shadow);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
    min-width: 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.logo-text {
    height: 32px;
    width: auto;
    object-fit: contain;
}

[data-theme="dark"] .logo-icon.light,
[data-theme="dark"] .logo-text {
    display: none;
}

[data-theme="dark"] .logo-icon.dark {
    display: block;
}

.logo-icon.dark {
    display: none;
}

[data-theme="dark"] .logo-text-dark {
    display: block;
    filter: brightness(0) invert(1);
}

.logo-text-dark {
    display: none;
    height: 32px;
    width: auto;
}

.nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    padding: 10px 20px;
    font-weight: 500;
    font-size: 15px;
    color: var(--text-dark);
    border-radius: var(--radius);
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    background: var(--bg-soft);
    color: var(--primary);
}

[data-theme="dark"] .nav-link:hover,
[data-theme="dark"] .nav-link.active {
    background: var(--bg-soft);
    color: var(--text-dark);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}


.theme-toggle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--bg-soft);
    color: var(--primary);
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    border: 1px solid var(--border);
}

.theme-toggle:hover {
    transform: scale(1.1) rotate(15deg);
    background: var(--gradient);
    color: white;
}

[data-theme="dark"] .theme-toggle {
    color: white;
}

[data-theme="dark"] .theme-toggle:hover {
    background: white;
    color: black;
}

.theme-toggle .fa-sun { display: none; }
.theme-toggle .fa-moon { display: block; }
[data-theme="dark"] .theme-toggle .fa-sun { display: block; }
[data-theme="dark"] .theme-toggle .fa-moon { display: none; }


.lang-switcher {
    display: flex;
    gap: 4px;
    background: var(--bg-soft);
    padding: 4px;
    border-radius: var(--radius-full);
}


.mobile-lang-switcher {
    display: none;
}

.lang-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    font-size: 13px;
    font-weight: 600;
    border-radius: var(--radius-full);
    color: var(--text-dark);
    transition: var(--transition);
    border: none;
    background: transparent;
    cursor: pointer;
}

.lang-btn img {
    width: 22px;
    height: 22px;
    object-fit: cover;
    border-radius: 50%;
    flex-shrink: 0;
}

.lang-btn:hover {
    background: var(--bg-card);
}

.lang-btn.active {
    background: var(--gradient);
    color: white;
}

[data-theme="dark"] .lang-btn.active {
    background: white;
    color: black;
}


.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: var(--bg-soft);
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.menu-toggle span {
    width: 22px;
    height: 2px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: var(--transition);
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}


.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--radius);
    transition: var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: var(--gradient);
    color: white;
    box-shadow: 0 4px 20px rgba(232, 111, 44, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(232, 111, 44, 0.4);
}

[data-theme="dark"] .btn-primary {
    background: white;
    color: black;
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.2);
}

[data-theme="dark"] .btn-primary:hover {
    box-shadow: 0 8px 30px rgba(255, 255, 255, 0.3);
}

.btn-secondary {
    background: var(--bg-soft);
    color: var(--text-dark);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    background: var(--gradient);
    color: white;
    border-color: transparent;
}

[data-theme="dark"] .btn-secondary:hover {
    background: white;
    color: black;
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
}

[data-theme="dark"] .btn-outline {
    color: white;
    border-color: white;
}

[data-theme="dark"] .btn-outline:hover {
    background: white;
    color: black;
}

.btn-lg {
    padding: 18px 36px;
    font-size: 17px;
}

.btn-sm {
    padding: 10px 20px;
    font-size: 14px;
}


.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    background: var(--gradient);
    overflow: hidden;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 60%);
    animation: pulse-bg 6s ease-in-out infinite;
}

@keyframes pulse-bg {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

[data-theme="dark"] .hero {
    background: var(--gradient);
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: white;
}

.hero h1 {
    color: white;
    margin-bottom: 24px;
}

.hero p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto 40px;
}

.hero-btns {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero .btn-primary {
    background: white;
    color: var(--primary-dark);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.hero .btn-primary:hover {
    background: var(--bg-main);
}

[data-theme="dark"] .hero .btn-primary {
    background: white;
    color: black;
}

.hero .btn-outline {
    color: white;
    border-color: white;
}

.hero .btn-outline:hover {
    background: white;
    color: var(--primary-dark);
}

[data-theme="dark"] .hero .btn-outline:hover {
    color: black;
}


.hero-logo {
    max-width: 400px;
    margin: 0 auto 30px;
    filter: brightness(0) invert(1);
}


.section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-header h2 {
    margin-bottom: 16px;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--gradient);
    border-radius: 2px;
}

[data-theme="dark"] .section-header h2::after {
    background: white;
}

.section-header p {
    margin-top: 20px;
}


.card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 32px;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.card-icon {
    width: 64px;
    height: 64px;
    background: var(--gradient);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: white;
    margin-bottom: 20px;
}

[data-theme="dark"] .card-icon {
    background: white;
    color: black;
}

.card h3 {
    margin-bottom: 12px;
}

.card p {
    font-size: 1rem;
}

.service-list {
    color: var(--text-light);
    font-size: 0.95rem;
    list-style: none;
    padding: 0;
}

.service-list li {
    padding: 4px 0;
}


.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}


.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.portfolio-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4/3;
    background: var(--bg-soft);
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    opacity: 0;
    transition: var(--transition);
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-item:hover img {
    transform: scale(1.1);
}

.portfolio-overlay h4 {
    color: white;
    margin-bottom: 8px;
}

.portfolio-overlay p {
    color: rgba(255,255,255,0.8);
    font-size: 0.9rem;
}


.stats {
    background: var(--gradient);
    padding: 60px 0;
}

[data-theme="dark"] .stats {
    background: var(--gradient);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.stat-item h3 {
    font-size: 3rem;
    color: white;
    margin-bottom: 8px;
}

.stat-item p {
    color: rgba(255,255,255,0.9);
    font-size: 1rem;
}


.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.team-member {
    text-align: center;
}

.team-photo {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 20px;
    border: 4px solid var(--border);
    background: var(--bg-soft);
}

.team-member h4 {
    margin-bottom: 4px;
}

.team-member p {
    font-size: 0.95rem;
}

.page-403 {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 0;
}
.page-403-inner {
    text-align: center;
    max-width: 480px;
    margin: 0 auto;
}
.page-403-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: var(--bg-soft);
    border: 2px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary);
}
.page-403-code {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1;
    color: var(--primary);
    margin-bottom: 8px;
}
.page-403-title {
    font-size: 1.5rem;
    margin-bottom: 12px;
    color: var(--text-dark);
}
.page-403-desc {
    color: var(--text-light);
    margin-bottom: 24px;
    line-height: 1.6;
}
.page-403 .btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: var(--bg-soft);
    border-radius: var(--radius);
    transition: var(--transition);
}

.contact-item:hover {
    transform: translateX(8px);
}

.contact-item i {
    width: 50px;
    height: 50px;
    background: var(--gradient);
    color: white;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

[data-theme="dark"] .contact-item i {
    background: white;
    color: black;
}

.contact-item h4 {
    font-size: 1rem;
    margin-bottom: 4px;
}

.contact-item p {
    font-size: 0.95rem;
}

.social-links-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.social-links-row .btn {
    width: 44px;
    height: 44px;
    padding: 0;
    border-radius: 50%;
}



.quick-contact-grid {
    grid-template-columns: repeat(4, 1fr);
}

.quick-contact-grid > * {
    min-width: 0;
}

.contact-form {
    background: var(--bg-card);
    padding: 40px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 18px;
    font-size: 15px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--bg-main);
    color: var(--text-dark);
    transition: var(--transition);
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(232, 111, 44, 0.1);
}

[data-theme="dark"] .form-group input:focus,
[data-theme="dark"] .form-group textarea:focus {
    border-color: white;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.form-captcha .captcha-label { margin-bottom: 8px; }
.form-captcha .captcha-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: stretch;
}
.form-captcha .captcha-display {
    flex: 1;
    min-width: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
    padding: 14px 18px;
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 4px;
    font-family: monospace;
    background: var(--bg-soft);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text-dark);
    user-select: none;
    overflow: visible;
}
.form-captcha .captcha-display span {
    display: inline-block;
    min-width: 1ch;
    transform-origin: center center;
}
.form-captcha .captcha-controls {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 140px;
}
.form-captcha .captcha-refresh {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    white-space: nowrap;
}
.form-captcha .captcha-input {
    width: 100%;
    text-transform: uppercase;
    font-family: monospace;
    letter-spacing: 2px;
}
.form-captcha .captcha-input[aria-invalid="true"] {
    border-color: #dc3545;
}
.form-captcha .captcha-error {
    display: block;
    margin-top: 8px;
    font-size: 0.9rem;
    color: #dc3545;
}

.section-map {
    padding: 0;
}
.map-container {
    width: 100%;
    height: 400px;
    overflow: hidden;
    background: var(--bg-soft);
}
.map-container iframe {
    width: 100%;
    height: 100%;
    min-height: 400px;
}
.map-placeholder {
    width: 100%;
    height: 100%;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 2rem;
    text-align: center;
    background: var(--bg-soft);
}
.map-placeholder i {
    font-size: 4rem;
    color: var(--primary);
}
.map-placeholder h3 {
    color: var(--text-dark);
    font-size: 1.25rem;
}
.map-placeholder-text {
    color: var(--text-light);
    font-size: 1rem;
}

.footer {
    background: var(--secondary);
    color: white;
    padding: 60px 0 30px;
}

[data-theme="dark"] .footer {
    background: #0A0A0A;
    border-top: 1px solid var(--border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand p {
    color: rgba(255,255,255,0.7);
    margin-top: 16px;
    font-size: 0.95rem;
}

.footer-logo {
    height: 40px;
    filter: brightness(0) invert(1);
}

.footer h4 {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.footer-links a {
    display: block;
    color: rgba(255,255,255,0.7);
    padding: 8px 0;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: white;
    padding-left: 8px;
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

.footer-social a {
    width: 44px;
    height: 44px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: white;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

[data-theme="dark"] .footer-social a:hover {
    background: white;
    color: black;
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-bottom p {
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
}


.timeline {
    position: relative;
    padding-left: 40px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--gradient);
}

[data-theme="dark"] .timeline::before {
    background: white;
}

.timeline-item {
    position: relative;
    padding-bottom: 40px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -33px;
    top: 0;
    width: 16px;
    height: 16px;
    background: var(--gradient);
    border-radius: 50%;
    border: 3px solid var(--bg-card);
}

[data-theme="dark"] .timeline-item::before {
    background: white;
}

.timeline-item h4 {
    margin-bottom: 8px;
}

.timeline-item .year {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 4px;
}

[data-theme="dark"] .timeline-item .year {
    color: white;
}


.founder-icon {
    font-size: 4rem;
    color: white;
}

[data-theme="dark"] .founder-icon {
    color: black;
}


@media (max-width: 1024px) {
    .services-grid,
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .quick-contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}


@media (max-width: 768px) {
    .header-inner {
        padding: 12px 0;
    }

    .nav {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--bg-card);
        flex-direction: column;
        padding: 20px;
        border-bottom: 1px solid var(--border);
        transform: translateY(-120%);
        opacity: 0;
        transition: var(--transition);
    }

    .nav.active {
        transform: translateY(0);
        opacity: 1;
    }

    .nav-link {
        width: 100%;
        text-align: center;
        padding: 14px 20px;
    }

    .menu-toggle {
        display: flex;
    }

    .lang-switcher {
        display: none;
    }

    
    .mobile-lang-switcher {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 12px;
        padding: 20px;
        margin-top: 10px;
        border-top: 1px solid var(--border);
    }

    .mobile-lang-label {
        font-size: 0.85rem;
        color: var(--text-light);
        font-weight: 500;
    }

    .lang-switcher-mobile {
        display: flex;
        gap: 8px;
        background: var(--bg-soft);
        padding: 6px;
        border-radius: var(--radius-full);
    }

    .lang-switcher-mobile .lang-btn {
        padding: 10px 18px;
        font-size: 0.9rem;
        border: none;
        background: transparent;
        color: var(--text-light);
        border-radius: var(--radius-full);
        cursor: pointer;
        transition: all 0.3s ease;
        font-weight: 500;
    }

    .lang-switcher-mobile .lang-btn:hover {
        color: var(--text-dark);
    }

    .lang-switcher-mobile .lang-btn.active {
        background: var(--primary);
        color: white;
    }

    [data-theme="dark"] .lang-switcher-mobile .lang-btn.active {
        background: white;
        color: black;
    }

    .hero {
        padding: 100px 0 60px;
        min-height: auto;
    }

    .hero-logo {
        max-width: 280px;
    }

    .hero-btns {
        flex-direction: column;
        align-items: center;
    }

    .section {
        padding: 60px 0;
    }

    .services-grid,
    .portfolio-grid,
    .stats-grid,
    .team-grid {
        grid-template-columns: 1fr;
    }

    .quick-contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}


@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.animate-fadeInUp {
    animation: fadeInUp 0.6s ease-out forwards;
}

.animate-fadeIn {
    animation: fadeIn 0.6s ease-out forwards;
}


.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }

.hidden { display: none; }
.visible { display: block; }
