:root {
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --secondary-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --tech-gradient: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --dark-gradient: linear-gradient(135deg, #0c0c0c 0%, #1a1a2e 50%, #16213e 100%);
    --glass-bg: rgba(15, 23, 42, 0.8);
    --glass-border: rgba(103, 126, 234, 0.3);
    --card-bg: rgba(102, 126, 234, 0.1);
    --card-border: rgba(103, 126, 234, 0.3);
    --primary: #667eea;
    --primary-dark: #4f46e5;
    --secondary: #10b981;
    --dark: #0f172a;
    --dark-light: #1e293b;
    --accent: #f43f5e;
    --neon: #06f7ff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    background: #f8fafc;
    color: #1e293b;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Vanta Background */
#vanta-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.15;
}

/* Glass morphism effects */
.glass {
    background: rgba(248, 250, 252, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(103, 126, 234, 0.2);
}

.card-dark {
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--card-border);
    color: #475569;
}

/* Neon effects */
.neon-text {
    text-shadow: 0 0 5px var(--neon), 0 0 10px var(--neon);
}

.neon-btn {
    box-shadow: 0 0 10px var(--neon), 0 0 20px rgba(6, 247, 255, 0.3);
    transition: all 0.3s ease;
}

.neon-btn:hover {
    box-shadow: 0 0 15px var(--neon), 0 0 30px rgba(6, 247, 255, 0.5);
    transform: translateY(-2px);
}

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(103, 126, 234, 0.2);
    padding: 15px 20px;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0;
}

.logo {
    font-size: 2.2rem;
    font-weight: 800;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    position: relative;
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo-subtitle {
    font-size: 0.8rem;
    font-weight: 500;
    color: #64748b;
    font-family: 'JetBrains Mono', monospace;
    margin-top: 2px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: #1e293b;
    font-size: 18px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 1rem;
    border-radius: 8px;
}

.nav-links a:hover {
    color: #667eea;
    background: rgba(102, 126, 234, 0.1);
    backdrop-filter: blur(10px);
}

/* Mobile menu */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #1e293b;
    cursor: pointer;
    z-index: 1001;
    position: relative;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: rgba(248, 250, 252, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-left: 1px solid rgba(103, 126, 234, 0.2);
    transition: right 0.3s ease;
    z-index: 1000;
    padding: 0;
    display: flex;
    flex-direction: column;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-header {
    padding: 20px;
    border-bottom: 1px solid rgba(103, 126, 234, 0.2);
    background: rgba(102, 126, 234, 0.05);
}

.mobile-menu-logo {
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.mobile-menu-content {
    flex: 1;
    padding: 2rem 1.5rem;
}

.mobile-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-menu ul li {
    margin-bottom: 0rem;
}

.mobile-menu ul li a {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #1e293b;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.mobile-menu ul li a:hover {
    background: rgba(102, 126, 234, 0.1);
    color: #667eea;
    border-color: rgba(102, 126, 234, 0.2);
    transform: translateX(10px);
}

.mobile-menu-number {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9rem;
    color: #667eea;
    font-weight: 600;
    min-width: 30px;
}

.mobile-menu-footer {
    padding: 2rem;
    border-top: 1px solid rgba(103, 126, 234, 0.2);
    background: rgba(102, 126, 234, 0.05);
}

.mobile-telegram-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    width: 100%;
    background: var(--primary-gradient);
    color: white;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.mobile-telegram-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    z-index: 1;
    padding-top: 180px;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 900;
    color: #0f172a;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    animation: slideInFromLeft 1s ease-out;
}

.hero-text h1 .gradient-text {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-text p {
    font-size: 1.3rem;
    color: #475569;
    margin-bottom: 3rem;
    line-height: 1.7;
    animation: slideInFromLeft 1s ease-out 0.2s both;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background: var(--primary-gradient);
    color: white;
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.3);
    animation: slideInFromLeft 1s ease-out 0.4s both;
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: left 0.5s ease;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(102, 126, 234, 0.4);
}

.code-snippet {
    background: rgba(15, 23, 42, 0.95);
    border: 1px solid rgba(102, 126, 234, 0.3);
    border-radius: 16px;
    padding: 2.5rem;
    font-family: 'JetBrains Mono', monospace;
    color: #475569;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(20px);
    animation: slideInFromRight 1s ease-out;
}

.code-snippet::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50px;
    background: linear-gradient(90deg, rgba(15, 23, 42, 0.9), rgba(26, 26, 46, 0.9));
    border-bottom: 1px solid rgba(102, 126, 234, 0.2);
}

.code-snippet .dots {
    position: absolute;
    top: 20px;
    left: 20px;
    display: flex;
    gap: 10px;
    z-index: 3;
}

.code-snippet .dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

.dot.red { background: #ef4444; }
.dot.yellow { background: #eab308; animation-delay: 0.3s; }
.dot.green { background: #22c55e; animation-delay: 0.6s; }

.code-content {
    margin-top: 2.5rem;
    font-size: 1rem;
    line-height: 1.8;
}

.keyword { color: #a855f7; font-weight: 600; }
.string { color: #22c55e; }
.comment { color: #64748b; font-style: italic; }
.function { color: #60a5fa; font-weight: 500; }

/* Sections */
section {
    padding: 6rem 0;
    position: relative;
    z-index: 1;
}

.section-title {
    text-align: center;
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 2rem;
    color: #1e293b;
}

.section-subtitle {
    text-align: center;
    font-size: 1.3rem;
    color: #64748b;
    margin-bottom: 4rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* Services */
.services {
    position: relative;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    position: relative;
    z-index: 2;
}

.service-card {
    padding: 3rem;
    border-radius: 20px;
    transition: all 0.4s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

/* .service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--primary-gradient);
    opacity: 0.05;
    transition: left 0.5s ease;
} */

/* .service-card:hover::before {
    left: 0;
} */

.service-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 50px rgba(102, 126, 234, 0.2);
    border: 1px solid var(--card-border);
    color: #475569;
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-gradient);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
}

.service-icon i {
    font-size: 2rem;
    color: white;
}

.service-card h3 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
}

.service-card p {
    line-height: 1.7;
    font-size: 1.1rem;
    position: relative;
    z-index: 2;
}

/* Process */
.process {
    position: relative;
}

.process-timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

/* Убираем полоску timeline полностью */
.process-timeline::before {
    display: none;
}

.process-step {
    display: flex;
    align-items: center;
    margin-bottom: 4rem;
    position: relative;
    z-index: 3;
}

.process-step:nth-child(even) {
    flex-direction: row-reverse;
}

.step-number {
    width: 80px;
    height: 80px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 800;
    font-size: 1.5rem;
    position: relative;
    z-index: 4;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.step-content {
    flex: 1;
    padding: 2.5rem;
    border-radius: 16px;
    background: rgba(102, 126, 234, 0.1); 
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--card-border);
    color: #475569;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin: 0 2rem;
    z-index: 3;
    position: relative;
}

.step-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #0f172a;
}

.step-content p {
    line-height: 1.6;
    font-size: 1.1rem;
    color: #475569;
}


.technologies {
    color: #1e293b;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.tech-item {
    padding: 2rem 1.5rem;
    border-radius: 16px;
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--card-border);
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.tech-item:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.3);
}

.tech-item i {
    font-size: 2.5rem;
    background: var(--tech-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: #6c6ca1c4;
    background-clip: text;
    flex-shrink: 0;
}

.tech-item span {
    font-weight: 600;
    color: #475569;
    font-size: 1.1rem;
    align-self: center;
}


.team {
    position: relative;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    width: 100%;
    margin: 0 auto;
    margin-bottom: 2.5rem;
}

.team-grid-bottom {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    max-width: 800px;
    margin: 0 auto;
    justify-content: center;
}


.team-member {
    text-align: center;
    padding: 0;
    border-radius: 24px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    background: linear-gradient(145deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
    border: 1px solid rgba(102, 126, 234, 0.2);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    width: 100%;
    min-height: 450px;
}

.team-member::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(145deg, rgba(102, 126, 234, 0.05), rgba(118, 75, 162, 0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.team-member:hover::before {
    opacity: 1;
}

.team-member:hover {
    transform: translateY(-15px) rotateY(5deg);
    box-shadow: 0 30px 60px rgba(102, 126, 234, 0.25);
    border-color: rgba(102, 126, 234, 0.4);
}

.team-photo-container {
    position: relative;
    padding: 1.5rem 1.5rem 1rem;
    z-index: 2;
}

.team-photo-modern {
    width: 100%;
    height: 220px;
    border-radius: 10%;
    object-fit: cover;
    object-position: top center;
    margin: 0 auto;
    position: relative;
    border: 2px solid transparent;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #667eea 100%);
    padding: 2px;
    transition: all 0.4s ease;
    box-shadow: 0 15px 35px rgba(102, 126, 234, 0.3);
}

.team-photo-modern::before {
    content: '';
    position: absolute;
    inset: 4px;
    border-radius: 50%;
    background: white;
    z-index: -1;
}

.team-member:hover .team-photo-modern {
    transform: scale(1.1) rotateZ(5deg);
    box-shadow: 0 20px 45px rgba(102, 126, 234, 0.4);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 25%, #f093fb 50%, #f5576c 75%, #667eea 100%);
}

.team-info {
    padding: 0.5rem 1.5rem 2rem;
    position: relative;
    z-index: 2;
}

.team-member h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #1e293b;
    position: relative;
    text-align: left;
}

.team-member .role {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
    margin-bottom: 1.5rem;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: left;
}

.team-member p {
    line-height: 1.6;
    color: #64748b;
    font-size: 1.05rem;
    text-align: left;
}

.team-social {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.2rem;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.team-member:hover .team-social {
    opacity: 1;
    transform: translateY(0);
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(102, 126, 234, 0.1);
    color: #667eea;
    transition: all 0.3s ease;
    border: 1px solid rgba(102, 126, 234, 0.2);
}

.social-link:hover {
    background: var(--primary-gradient);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
}


.team-photo-rect {
    display: none;
}

.team-photo {
    display: none;
}


.advantages {
    color: #1e293b;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
}

.advantage-item {
    padding: 3rem;
    border-radius: 20px;
    backdrop-filter: blur(20px);
    transition: all 0.4s ease;
    text-align: center;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    color: #475569;
}

.advantage-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(102, 126, 234, 0.3);
}

.advantage-item i {
    font-size: 3rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 2rem;
}

.advantage-item h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.advantage-item p {
    line-height: 1.6;
    font-size: 1.1rem;
}


.contact {
    text-align: center;
}

.contact-content {
    max-width: 700px;
    margin: 0 auto;
}

.contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem 3rem;
    border-radius: 16px;
    text-decoration: none;
    color: white;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    font-weight: 600;
    font-size: 1.2rem;
    background: var(--primary-gradient);
    margin-top: 3rem;
}

.contact-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(102, 126, 234, 0.4);
}

.contact-btn i {
    font-size: 1.5rem;
}


footer {
    background: rgba(15, 23, 42, 0.95);
    color: #cbd5e1;
    padding: 4rem 0 2rem;
    border-top: 1px solid rgba(102, 126, 234, 0.2);
    backdrop-filter: blur(20px);
    z-index: 10;
    position: relative;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h3 {
    color: #f1f5f9;
    font-weight: 700;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer-section p {
    color: #94a3b8;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section ul li a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #667eea;
}

.footer-bottom {
    border-top: 1px solid rgba(102, 126, 234, 0.2);
    padding-top: 2rem;
    text-align: center;
    color: #64748b;
}


@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInFromRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.7; }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-on-scroll {
    animation: fadeInUp 0.8s ease forwards;
}

.fade-in {
    animation: fadeInUp 1s ease-in-out;
}

.slide-up {
    animation: slideInFromLeft 0.8s ease-out;
}


.photo-block {
    position: relative;
    padding: 6rem 0;
    text-align: center;
}

.photo-container {
    max-width: 85%;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(102, 126, 234, 0.3);
    position: relative;
}

.photo-container img {
    width: 100%;
    max-height: 42em;
    object-fit: fill;
    transition: transform 0.5s ease;
}

.photo-container:hover img {
    transform: scale(1.05);
}

.photo-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.9), transparent);
    color: white;
    padding: 2rem;
    text-align: left;
}

.photo-overlay h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.photo-overlay p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Responsive */@media (max-width: 1024px) {
    .tech-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .team-grid-bottom {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .logo {
        font-size: 1.8rem;
    }
    
    .logo-subtitle {
        font-size: 0.7rem;
    }
    
    header {
        padding: 15px 0px 15px 0px;
    }
    
    nav {
        padding: 0;
    }
    
    .hero {
        padding-top: 160px;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .hero-text h1 {
        font-size: 2.2rem;
    }
    
    .hero-text p {
        font-size: 1.1rem;
    }
    
    .cta-button {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .process-timeline::before {
        left: 30px;
    }
    
    .process-step {
        flex-direction: column !important;
        text-align: center;
    }

    .photo-container {
        max-width: 100%;
        height: 230px;
        margin: 0 auto;
        border-radius: 20px;
        overflow: hidden;
        box-shadow: 0 25px 50px rgba(102, 126, 234, 0.3);
        position: relative;
    }
    
    .step-number {
        position: absolute;
        left: 0;
        top: 0;
    }
    
    .step-content {
        margin: 0;
        margin-top: 2rem;
    }
    
    .services-grid,
    .advantages-grid {
        grid-template-columns: 1fr;
    }
    
    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .team-grid,
    .team-grid-bottom {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .contact-btn {
        padding: 1.2rem 2rem;
        font-size: 1rem;
    }
    
    .contact-btn i {
        font-size: 1.2rem;
    }
    
    .photo-container img {
        height: 235px;
    }
    
    .photo-overlay {
        padding: 1.5rem;
        
    }
    
    .photo-overlay h3 {
        font-size: 1.4rem;
    }

    .photo-overlay p {
        display: none;
    }
}

.error-page-section {
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        min-height: calc(100vh - 160px); 
        padding-top: 100px; 
        padding-bottom: 60px;
}
    
.error-content {
        max-width: 600px;
        margin: 0 auto;
        padding: 20px;
}
    
.error-content .error-title {
        font-size: 12rem; 
        font-weight: 900;
        line-height: 1;
        margin-bottom: 20px;
        color: var(--primary-color); /
}
    
.error-content h2 {
        font-size: 2.5rem;
        margin-bottom: 20px;
        color: var(--primary-color);
}
    
.error-content p {
        font-size: 1.5rem;
        color: var(--text-light);
        margin-bottom: 30px;
        line-height: 1.6;
}
    
.error-content .cta-button { 
        margin-top: 40px;
        padding: 12px 30px;
        font-size: 1rem;
}
    
    
.team-photo-modern {
        width: 98%;
        height: 270px;
}
    
.team-photo-container {
        padding: 0.8rem 0.8rem 1rem;
}
    
.team-info {
        padding: 1rem 1.4rem 2rem;
}
    
.process-image {
        display: none;
}

@media (max-width: 480px) {
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .tech-grid {
        grid-template-columns: 1fr;
    }
}