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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.body-flex {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
.body-flex main {
    flex: 1 0 auto;
}
.body-flex footer {
    flex-shrink: 0;
}

.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 6px 32px rgba(102, 126, 234, 0.18), 0 2px 12px rgba(60,60,100,0.13);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.logo h2 {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    font-size: 1.8rem;
}

.logo a, .logo a:hover, .logo a:focus {
    text-decoration: none;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a:hover {
    color: #667eea;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

.nav-menu a:focus, .nav-menu a:active {
    outline: none !important;
    box-shadow: none !important;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    width: 32px;
    height: 32px;
    justify-content: center;
    align-items: center;
    z-index: 2100;
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 0.5s cubic-bezier(.7,-0.2,.3,1.4), transform 0.5s cubic-bezier(.7,-0.2,.3,1.4);
}

.hamburger.show {
    opacity: 1;
    transform: translateY(0);
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: all 0.35s cubic-bezier(.4,1.7,.7,1);
    border-radius: 2px;
    display: block;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0.5);
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23e0e0e0" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: #2d3748;
}

.gradient-text {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #4a5568;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
}

.btn-secondary {
    background: transparent;
    color: #667eea;
    border: 2px solid #667eea;
}

.btn-secondary:hover {
    background: #667eea;
    color: white;
    transform: translateY(-2px);
}

.hero-visual {
    position: relative;
    height: 500px;
}

.hero-image {
    position: relative;
    width: 100%;
    height: 100%;
}

.floating-card {
    position: absolute;
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 1rem;
    animation: float 6s ease-in-out infinite;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    will-change: transform;
    box-shadow: 0 4px 16px rgba(102,126,234,0.10);
    transition: box-shadow 0.3s, transform 0.3s;
}

.floating-card i {
    font-size: 1.5rem;
    color: #667eea;
}

.floating-card span {
    font-weight: 600;
    color: #2d3748;
}

.card-1 {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.card-2 {
    top: 50%;
    right: 10%;
    animation-delay: 2s;
}

.card-3 {
    bottom: 20%;
    left: 20%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
}

.section-header {
    margin-top: 110px;
    margin-bottom: 3.5rem;
    padding: 2.5rem 3.5rem 2.5rem 3.5rem;
    background: linear-gradient(90deg, #f8fafc 80%, #f3eafd 100%);
    border-radius: 2rem;
    box-shadow: 0 4px 32px rgba(102,126,234,0.07);
    display: block;
    max-width: 98vw;
    animation: fadeInUp 0.7s cubic-bezier(.4,1.7,.7,1);
    text-align: center;
    align-items: center;
    justify-content: center;
}
.section-header h2, .section-header h1 {
    font-size: 2.8rem;
    font-weight: 900;
    margin-bottom: 1.1rem;
    color: #6c4ec3;
    letter-spacing: 0.01em;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
    display: inline-block;
    position: relative;
    padding-left: 0.2rem;
    margin-left: 0;
}
.section-header h2::before, .section-header h1::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 2.3rem;
    background: linear-gradient(180deg, #764ba2 0%, #667eea 100%);
    border-radius: 4px;
    position: absolute;
    left: -1.2rem;
    top: 0.2rem;
}
.section-header p {
    font-size: 1.22rem;
    color: #6b7280;
    margin: 0.2rem 0 0 0.2rem;
    line-height: 1.7;
    font-weight: 500;
    letter-spacing: 0.01em;
    margin-left: 0;
}
@media (max-width: 700px) {
    .section-header {
        padding: 1.2rem 1rem 1.2rem 1rem;
        border-radius: 1.1rem;
    }
    .section-header h2, .section-header h1 {
        font-size: 1.5rem;
        padding-left: 0.5rem;
    }
    .section-header h2::before, .section-header h1::before {
        height: 1.3rem;
        left: -0.7rem;
    }
    .section-header p {
        font-size: 1rem;
    }
}

.services {
    padding: 6rem 0;
    background: white;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.service-card {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #f1f5f9;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.service-icon i {
    font-size: 1.5rem;
    color: white;
}

.service-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #2d3748;
}

.service-card p {
    color: #4a5568;
    line-height: 1.6;
}

.about {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #2d3748;
}

.about-text p {
    font-size: 1.1rem;
    color: #4a5568;
    margin-bottom: 2rem;
    line-height: 1.6;
}

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

.stat {
    text-align: center;
}

.stat h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #667eea;
    margin-bottom: 0.5rem;
}

.stat p {
    color: #4a5568;
    font-weight: 500;
}

.team-photo {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

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

.member-avatar {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    margin-bottom: 0.5rem;
}

.team-member span {
    font-weight: 600;
    color: #2d3748;
}

.team-section {
    padding: 6rem 0;
    background: white;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.team-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

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

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

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

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

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

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

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

.team-member-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #f1f5f9;
}

.team-member-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.member-photo {
    height: 280px;
    overflow: hidden;
    position: relative;
}

.member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.member-photo-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
}

.member-photo-placeholder i {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.member-info {
    padding: 1.5rem;
}

.member-info h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #2d3748;
}

.member-position {
    color: #667eea;
    font-weight: 500;
    margin-bottom: 1rem;
}

.member-bio {
    color: #4a5568;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.member-skills {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.skill-tag {
    background: #f1f5f9;
    color: #4a5568;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.member-social {
    display: flex;
    gap: 1rem;
}

.member-social a {
    width: 35px;
    height: 35px;
    background: #f1f5f9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4a5568;
    text-decoration: none;
    transition: all 0.3s ease;
}

.member-social a:hover {
    background: #667eea;
    color: white;
    transform: translateY(-2px);
}

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

.portfolio {
    padding: 6rem 0;
    background: white;
}

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

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

@media (max-width: 768px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
}

.portfolio-item-detailed {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: box-shadow 0.3s, transform 0.3s;
    display: flex;
    flex-direction: column;
    position: relative;
    min-height: 420px;
}

.portfolio-item-detailed:hover {
    box-shadow: 0 12px 32px rgba(102,126,234,0.18);
    transform: translateY(-6px) scale(1.01);
}

.portfolio-image {
    position: relative;
    width: 100%;
    height: 220px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.portfolio-overlay {
    position: absolute;
    left: 0; top: 0; right: 0; bottom: 0;
    width: 100%;
    height: 100%;
    background: rgba(20,20,40,0.85);
    color: #fff;
    opacity: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    padding: 2rem;
    transition: opacity 0.3s;
    z-index: 2;
    pointer-events: none;
    text-shadow: 0 4px 16px rgba(0,0,0,0.7), 0 1px 0 #222;
    backdrop-filter: blur(2.5px);
    overflow: hidden;
    word-break: break-word;
}

.portfolio-item-detailed:hover .portfolio-overlay {
    opacity: 1;
    pointer-events: auto;
}

.portfolio-overlay h3 {
    font-size: 1.35rem;
    font-weight: 800;
    margin-bottom: 0.7rem;
    color: #fff;
    text-shadow: 0 4px 16px rgba(0,0,0,0.85), 0 1px 0 #222;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.2;
    max-height: 2.6em;
}

.portfolio-overlay p {
    font-size: 1.08rem;
    font-weight: 600;
    color: #fff;
    text-shadow: 0 4px 16px rgba(0,0,0,0.85), 0 1px 0 #222;
    margin-bottom: 0.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3;
    max-height: 4.2em;
}

.portfolio-info {
    padding: 1.5rem 1.5rem 1rem 1.5rem;
    background: #fff;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    z-index: 1;
}

.project-bottom-row {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin-top: auto;
}

.project-tech {
    width: 100%;
    margin: 0 0 12px 0;
    padding-bottom: 2px;
    position: relative;
    overflow-x: auto;
    white-space: nowrap;
    display: block;
    scrollbar-width: thin;
    scrollbar-color: #764ba2 #e2e8f0;
}

.project-tech-inner {
    display: inline-flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 8px;
    width: max-content;
}

.project-tech::-webkit-scrollbar, .project-tech-inner::-webkit-scrollbar {
    height: 6px;
    background: #e2e8f0;
    border-radius: 4px;
}
.project-tech::-webkit-scrollbar-thumb, .project-tech-inner::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 4px;
}

.project-tech .tech-tag {
    display: inline-block;
    min-width: 80px;
    text-align: center;
}

@media (min-width: 600px) {
    .project-bottom-row {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
    }
}

.portfolio-info .btn {
    margin-top: 12px;
    align-self: center;
    min-width: 140px;
    width: auto;
}

.portfolio-info h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #2d3748;
}

.portfolio-info .project-category {
    color: #667eea;
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.portfolio-info .project-description {
    color: #4a5568;
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.portfolio-info .project-meta {
    display: flex;
    gap: 1.5rem;
    font-size: 0.9rem;
    color: #a0aec0;
    margin-bottom: 0.5rem;
}

.portfolio-info .btn {
    margin-top: auto;
    align-self: flex-start;
}

.contact {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.contact-item i {
    font-size: 1.5rem;
    color: #667eea;
    width: 40px;
    text-align: center;
}

.contact-item h3 {
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: #2d3748;
}

.contact-item p {
    color: #4a5568;
}

.contact-form {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
}

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

.footer {
    background: #1a202c;
    color: white;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: #667eea;
}

.footer-section p {
    color: #a0aec0;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #a0aec0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #667eea;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: #2d3748;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #667eea;
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #2d3748;
    color: #a0aec0;
}

.footer-legal-info {
    margin-bottom: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-legal-info p {
    margin: 0.25rem 0;
    font-size: 0.9rem;
    color: #cbd5e0;
}

.footer-legal-info p:first-child {
    font-weight: 600;
    color: #e2e8f0;
    font-size: 1rem;
}

.footer-requisites-link {
    display: inline-block;
    margin-top: 0.7rem;
    padding: 0.5rem 1.2rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    font-size: 1rem;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.10);
    transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.footer-requisites-link:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    color: #fff;
    transform: translateY(-2px) scale(1.04);
    box-shadow: 0 4px 16px rgba(102, 126, 234, 0.18);
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    .nav-menu {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100vw;
        background: #fff;
        z-index: 2000;
        box-shadow: 0 8px 32px rgba(102, 126, 234, 0.18), 0 2px 12px rgba(60,60,100,0.13);
        padding: 1.5rem 0 1.5rem 0;
        gap: 1.2rem;
        align-items: center;
        transition: transform 0.35s cubic-bezier(.4,1.7,.7,1), opacity 0.35s cubic-bezier(.4,1.7,.7,1);
        transform: translateY(-30px);
        opacity: 0;
        pointer-events: none;
    }
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-visual {
        height: 300px;
    }

    .floating-card {
        padding: 1rem;
        font-size: 0.9rem;
    }

    .floating-card i {
        font-size: 1.2rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

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

    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .team-grid.team-2,
    .team-grid.team-3,
    .team-grid.team-4,
    .team-grid.team-5,
    .team-grid.team-6,
    .team-grid.team-7,
    .team-grid.team-8 {
        grid-template-columns: 1fr;
    }

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

    .hero-buttons {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .service-card,
    .contact-form {
        padding: 1.5rem;
    }
}

html {
    scroll-behavior: smooth;
}

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

.service-card,
.portfolio-item,
.contact-item {
    animation: fadeInUp 0.6s ease forwards;
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #5a67d8 0%, #6b46c1 100%);
} 

.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.filter-btn {
    padding: 0.6em 1.4em;
    border: none;
    border-radius: 999px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.08);
    transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.2s;
    outline: none;
}

.filter-btn:hover,
.filter-btn:focus {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    color: #fff;
    box-shadow: 0 4px 16px rgba(102, 126, 234, 0.18);
    transform: translateY(-2px) scale(1.04);
}

.filter-btn.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    box-shadow: 0 6px 24px rgba(102, 126, 234, 0.22);
    border: 2px solid #fff;
} 

.project-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(40, 40, 60, 0.55);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    overflow-y: auto;
    transition: opacity 0.3s;
}
.project-modal.active {
    display: flex;
    animation: fadeInModal 0.3s;
}
@keyframes fadeInModal {
    from { opacity: 0; }
    to { opacity: 1; }
}
.modal-content {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 8px 40px rgba(60, 60, 100, 0.18);
    max-width: 700px;
    width: 95vw;
    margin: 40px 0;
    padding: 2.5rem 2rem 2rem 2rem;
    position: relative;
    animation: modalPop 0.3s;
}
@keyframes modalPop {
    from { transform: translateY(40px) scale(0.97); opacity: 0; }
    to { transform: translateY(0) scale(1); opacity: 1; }
}
.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.2rem;
}
.modal-header h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #2d3748;
}
.modal-close {
    background: none;
    border: none;
    font-size: 2.2rem;
    color: #764ba2;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s;
}
.modal-close:hover {
    color: #667eea;
}
.modal-body {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}
.project-gallery {
    flex: 1 1 220px;
    min-width: 220px;
    max-width: 260px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}
.project-gallery img,
.project-image-placeholder {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 2px 16px rgba(102, 126, 234, 0.10);
    object-fit: cover;
}
.project-details {
    flex: 2 1 320px;
    min-width: 260px;
}
.project-description-full h3 {
    margin-top: 0;
    font-size: 1.1rem;
    color: #764ba2;
}
.project-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem 2rem;
    margin: 1.2rem 0;
}
.info-item h4 {
    font-size: 1rem;
    color: #667eea;
    margin-bottom: 0.2rem;
}
.info-item p {
    font-size: 0.98rem;
    color: #333;
}
.project-technologies, .project-features {
    margin-bottom: 1rem;
}
.project-technologies h4, .project-features h4 {
    font-size: 1rem;
    color: #764ba2;
    margin-bottom: 0.3rem;
}
.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.tech-tag {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border-radius: 6px;
    padding: 0.2rem 0.7rem;
    font-size: 0.92rem;
    margin-bottom: 0.2rem;
}
.project-features ul {
    padding-left: 1.2rem;
}
.project-features li {
    font-size: 0.98rem;
    color: #333;
    margin-bottom: 0.3rem;
    list-style: none;
    position: relative;
}
.project-features li i {
    color: #10b981;
    margin-right: 0.5rem;
}
.project-links {
    margin-top: 1.2rem;
    display: flex;
    gap: 1rem;
}
@media (max-width: 700px) {
    .modal-content {
        flex-direction: column;
        padding: 0.5rem 0.5rem 1.5rem 0.5rem;
        max-width: 100vw;
        width: 100vw;
        margin: 0;
        border-radius: 0;
        left: 0;
        right: 0;
        top: 0;
        position: fixed;
        box-sizing: border-box;
        min-height: 100vh;
        height: 100vh;
        overflow-y: auto;
        justify-content: flex-start;
    }
    .modal-header {
        position: relative;
        padding: 0;
        margin-bottom: 0.5rem;
    }
    .modal-header h2 {
        font-size: 1.1rem;
        padding: 1.2rem 2.5rem 0.5rem 1rem;
        margin: 0;
        word-break: break-word;
    }
    .modal-close {
        position: fixed;
        top: 12px;
        right: 12px;
        z-index: 9999;
        font-size: 2.5rem;
        width: 44px;
        height: 44px;
        line-height: 44px;
        text-align: center;
        background: none;
        color: #764ba2;
        border: none;
        display: block;
        padding: 0;
        cursor: pointer;
        box-shadow: 0 2px 8px rgba(102,126,234,0.10);
        border-radius: 50%;
        transition: background 0.2s, color 0.2s;
    }
    .modal-close:active {
        background: #ece9f6;
        color: #667eea;
    }
    .modal-body {
        flex-direction: column;
        gap: 1.2rem;
        padding: 0 0.5rem;
        box-sizing: border-box;
        width: 100%;
        max-width: 100vw;
        overflow-x: hidden;
    }
    .project-gallery {
        width: 100%;
        max-width: 100vw;
        min-width: 0;
        margin: 0 auto;
        display: flex;
        justify-content: center;
        align-items: flex-start;
        background: none;
        box-shadow: none;
        z-index: 1;
        position: relative;
    }
    .project-gallery img,
    .project-image-placeholder {
        max-width: 100%;
        width: 100%;
        min-width: 0;
        height: auto;
        display: block;
        margin: 0 auto 1rem auto;
        border-radius: 0;
        box-shadow: none;
        background: #f8fafc;
    }
    .tech-tags, .project-tags-list {
        flex-wrap: wrap;
        gap: 0.5rem;
        max-width: 100%;
        overflow-x: auto;
    }
    .tech-tag, .project-tag, .filter-btn, .btn, .tag {
        max-width: 100%;
        box-sizing: border-box;
        word-break: break-word;
        white-space: normal;
    }
    .project-info-grid {
        grid-template-columns: 1fr;
    }
    html, body {
        overflow-x: hidden !important;
    }
} 

.services-detailed {
    padding: 4rem 0 2rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2.5rem;
}
.service-card-detailed {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 4px 24px rgba(102, 126, 234, 0.10);
    padding: 2.5rem 2rem 2rem 2rem;
    border: 1px solid #f1f5f9;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: box-shadow 0.3s, transform 0.3s;
    position: relative;
    min-height: 420px;
    animation: fadeInUp 0.6s ease forwards;
}
.service-card-detailed:hover {
    box-shadow: 0 12px 36px rgba(102, 126, 234, 0.18);
    transform: translateY(-8px) scale(1.02);
}
.service-header {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    margin-bottom: 1.2rem;
}
.service-card-detailed .service-icon {
    width: 56px;
    height: 56px;
    min-width: 56px;
    min-height: 56px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0;
}
.service-card-detailed .service-icon i {
    font-size: 1.6rem;
    color: #fff;
}
.service-card-detailed h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #2d3748;
    margin: 0;
}
.service-description {
    color: #4a5568;
    margin-bottom: 1.1rem;
    font-size: 1.05rem;
    line-height: 1.6;
}
.service-features {
    margin-bottom: 1.1rem;
}
.service-features h4 {
    font-size: 1rem;
    color: #764ba2;
    margin-bottom: 0.3rem;
}
.service-features ul {
    padding-left: 1.2rem;
    margin: 0;
}
.service-features li {
    font-size: 0.98rem;
    color: #333;
    margin-bottom: 0.3rem;
    list-style: none;
    position: relative;
}
.service-features li i {
    color: #10b981;
    margin-right: 0.5rem;
}
.service-price {
    margin-bottom: 1.2rem;
    font-size: 1.05rem;
    color: #667eea;
    font-weight: 600;
}
.price-label {
    color: #4a5568;
    font-weight: 500;
    margin-right: 0.5rem;
}
.btn.btn-primary {
    margin-top: auto;
    align-self: flex-start;
}
@media (max-width: 900px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
    .service-card-detailed {
        min-height: 0;
        padding: 1.5rem 1rem 1.5rem 1rem;
    }
} 

.why-choose-us {
    padding: 4rem 0 2rem 0;
    background: #fff;
}
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    margin-top: 2.5rem;
}
.advantage-card {
    background: #f8fafc;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(102, 126, 234, 0.07);
    padding: 2rem 1.5rem 1.5rem 1.5rem;
    text-align: center;
    transition: box-shadow 0.3s, transform 0.3s;
    border: 1px solid #f1f5f9;
}
.advantage-card:hover {
    box-shadow: 0 8px 32px rgba(102, 126, 234, 0.13);
    transform: translateY(-6px) scale(1.03);
}
.advantage-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.2rem auto;
}
.advantage-icon i {
    color: #fff;
    font-size: 1.6rem;
}
.advantage-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 0.5rem;
}
.advantage-card p {
    color: #4a5568;
    font-size: 0.98rem;
    margin-bottom: 0;
}

.process {
    padding: 4rem 0 2rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}
.process-steps {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: space-between;
    margin-top: 2.5rem;
}
.process-step {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(102, 126, 234, 0.07);
    padding: 2rem 1.5rem 1.5rem 1.5rem;
    flex: 1 1 220px;
    min-width: 220px;
    max-width: 260px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
    transition: box-shadow 0.3s, transform 0.3s;
    margin-bottom: 1rem;
}
.process-step:hover {
    box-shadow: 0 8px 32px rgba(102, 126, 234, 0.13);
    transform: translateY(-6px) scale(1.03);
}
.step-number {
    font-size: 1.2rem;
    font-weight: 700;
    color: #764ba2;
    background: #f3f0fa;
    border-radius: 50%;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}
.step-content h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 0.4rem;
}
.step-content p {
    color: #4a5568;
    font-size: 0.97rem;
    margin-bottom: 0;
}
@media (max-width: 900px) {
    .advantages-grid, .process-steps {
        grid-template-columns: 1fr;
        flex-direction: column;
        gap: 1.2rem;
    }
    .process-step {
        max-width: 100%;
        min-width: 0;
    }
} 

.cta-section {
    padding: 3.5rem 0 2.5rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}
.cta-content {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 4px 32px rgba(102, 126, 234, 0.10);
    padding: 2.5rem 2rem 2rem 2rem;
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    position: relative;
}
.cta-content h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 0.7rem;
}
.cta-content p {
    color: #4a5568;
    font-size: 1.08rem;
    margin-bottom: 2rem;
}
.cta-buttons {
    display: flex;
    gap: 1.2rem;
    justify-content: center;
    flex-wrap: wrap;
}
.cta-buttons .btn {
    min-width: 190px;
    font-size: 1.08rem;
    font-weight: 600;
    padding: 0.9rem 1.5rem;
    border-radius: 10px;
    box-shadow: 0 2px 12px rgba(102, 126, 234, 0.08);
    transition: box-shadow 0.2s, transform 0.2s;
}
.cta-buttons .btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border: none;
}
.cta-buttons .btn-primary:hover {
    box-shadow: 0 6px 24px rgba(102, 126, 234, 0.18);
    transform: translateY(-2px) scale(1.04);
}
.cta-buttons .btn-secondary {
    background: #fff;
    color: #667eea;
    border: 2px solid #667eea;
}
.cta-buttons .btn-secondary:hover {
    background: #667eea;
    color: #fff;
    box-shadow: 0 6px 24px rgba(102, 126, 234, 0.18);
    transform: translateY(-2px) scale(1.04);
}
@media (max-width: 700px) {
    .cta-content {
        padding: 1.2rem 0.5rem 1.5rem 0.5rem;
    }
    .cta-buttons .btn {
        min-width: 120px;
        font-size: 1rem;
        padding: 0.7rem 1rem;
    }
} 

.testimonials {
    padding: 4rem 0 2.5rem 0;
    background: #fff;
}
.testimonials .section-header {
    text-align: center;
    margin-bottom: 2.5rem;
}
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.2rem;
    justify-items: center;
}
.testimonial-card {
    background: #f8fafc;
    border-radius: 16px;
    box-shadow: 0 2px 16px rgba(102, 126, 234, 0.10);
    padding: 2.2rem 1.5rem 1.5rem 1.5rem;
    max-width: 420px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: box-shadow 0.3s, transform 0.3s;
    border: 1px solid #f1f5f9;
    text-align: center;
}
.testimonial-card:hover {
    box-shadow: 0 8px 32px rgba(102, 126, 234, 0.13);
    transform: translateY(-6px) scale(1.03);
}
.testimonial-content {
    font-size: 1.08rem;
    color: #2d3748;
    margin-bottom: 1.2rem;
    font-style: italic;
    min-height: 70px;
}
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1.1rem;
    margin-top: 0.7rem;
    justify-content: center;
}
.author-avatar {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.5rem;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.10);
}
.author-info h4 {
    font-size: 1.08rem;
    font-weight: 700;
    color: #2d3748;
    margin: 0 0 0.2rem 0;
}
.author-info p {
    color: #667eea;
    font-size: 0.97rem;
    margin: 0;
}
@media (max-width: 700px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }
    .testimonial-card {
        max-width: 100%;
        padding: 1.2rem 0.7rem 1.2rem 0.7rem;
    }
} 

.portfolio-filter-bottom {
    position: static;
    width: 100%;
    background: transparent;
    box-shadow: none;
    padding: 0;
    z-index: 10;
    display: flex;
    justify-content: flex-end;
    border-radius: 0;
    margin: 0;
    animation: none;
    min-height: unset;
    overflow: visible;
    align-items: flex-start;
}
.filter-buttons-wrapper {
    display: none;
    position: absolute;
    top: 60px;
    right: 0;
    background: #fff;
    box-shadow: 0 8px 32px rgba(102, 126, 234, 0.13);
    border-radius: 18px;
    padding: 1rem 1.5rem;
    z-index: 1000;
    min-width: 220px;
    transition: opacity 0.3s, transform 0.3s;
    opacity: 0;
    pointer-events: none;
    padding-bottom: 0 !important;
}
.filter-buttons-wrapper.open {
    display: block;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}
.filter-fab {
    position: fixed;
    top: 100px;
    right: 32px;
    z-index: 1200;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    border-radius: 50%;
    box-shadow: 0 4px 16px rgba(102,126,234,0.10);
    border: none;
    cursor: pointer;
    margin: 0;
    transition: background 0.2s;
}
.filter-fab span {
    display: block;
    width: 26px;
    height: 3px;
    background: #fff;
    margin: 3px 0;
    border-radius: 2px;
    transition: all 0.3s;
}
.filter-fab.open span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}
.filter-fab.open span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0.5);
}
.filter-fab.open span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}
@keyframes filterFooterIn {
    from { transform: translateY(100px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}
.portfolio-filter-bottom .filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1.1rem;
    justify-content: center;
    width: 100%;
    overflow: visible;
}
.portfolio-filter-bottom .filter-btn {
    margin-bottom: 0.3rem;
}
.portfolio-filter-bottom .filter-btn.active, .portfolio-filter-bottom .filter-btn:focus {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    box-shadow: 0 6px 24px rgba(102, 126, 234, 0.22);
    border: 2px solid #fff;
    transform: translateY(-4px) scale(1.06);
    z-index: 2;
}
.portfolio-filter-bottom .filter-btn:hover {
    background: #ece9f6;
    color: #764ba2;
    transform: translateY(-2px) scale(1.03);
}
@media (max-width: 700px) {
    .portfolio-filter-bottom {
        border-top-left-radius: 18px;
        border-top-right-radius: 18px;
        padding: 0.7rem 0 1.7rem 0;
        min-height: 90px;
    }
    .portfolio-filter-bottom .filter-btn {
        font-size: 0.98rem;
        padding: 0.6em 1.1em;
    }
} 

.portfolio-grid-section {
    margin-top: 2rem;
    padding-top: 1.5rem;
    padding-bottom: 3.5rem;
}
@media (max-width: 900px) {
    .portfolio-grid-section {
        margin-top: 1.2rem;
        padding-bottom: 2rem;
    }
}

@keyframes fadeSlideIn {
    from { opacity: 0; transform: translateY(40px) scale(0.97); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes fadeSlideOut {
    from { opacity: 1; transform: translateY(0) scale(1); }
    to { opacity: 0; transform: translateY(40px) scale(0.97); }
}
.portfolio-item {
    animation: fadeSlideIn 0.55s cubic-bezier(.7,-0.2,.3,1.4);
    will-change: opacity, transform;
    transition: opacity 0.3s, transform 0.3s;
}
.portfolio-item.hide {
    animation: fadeSlideOut 0.4s cubic-bezier(.7,-0.2,.3,1.4) forwards;
} 

.contact-detailed {
    padding: 4rem 0 2.5rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}
.contact-content {
    display: flex;
    gap: 3.5rem;
    align-items: flex-start;
    justify-content: center;
    flex-wrap: wrap;
}
.contact-info {
    flex: 1 1 320px;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 4px 24px rgba(102, 126, 234, 0.10);
    padding: 2.2rem 2rem 2rem 2rem;
    margin-bottom: 2rem;
    min-width: 280px;
}
.contact-info h2 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 0.7rem;
}
.contact-info .contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1.1rem;
    margin-bottom: 1.2rem;
}
.contact-info .contact-item i {
    font-size: 1.3rem;
    color: #764ba2;
    margin-top: 0.2rem;
}
.contact-info .contact-item h3 {
    font-size: 1.05rem;
    font-weight: 600;
    color: #667eea;
    margin-bottom: 0.2rem;
}
.social-links-contact {
    margin-top: 1.5rem;
}
.social-links-contact h3 {
    font-size: 1.05rem;
    color: #764ba2;
    margin-bottom: 0.5rem;
}
.social-buttons {
    display: flex;
    gap: 0.7rem;
    flex-wrap: wrap;
}
.social-btn {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    background: #f3f0fa;
    color: #764ba2;
    border-radius: 8px;
    padding: 0.5rem 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.07);
}
.social-btn:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
}
.contact-form-detailed {
    flex: 1 1 420px;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 4px 24px rgba(102, 126, 234, 0.10);
    padding: 2.2rem 2rem 2rem 2rem;
    min-width: 320px;
}
.contact-form-detailed h2 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 0.7rem;
}
.contact-form-full .form-row {
    display: flex;
    gap: 1.2rem;
    margin-bottom: 1.1rem;
}
.contact-form-full .form-group {
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    margin-bottom: 1.1rem;
}
.contact-form-full label {
    font-size: 0.98rem;
    color: #764ba2;
    margin-bottom: 0.3rem;
    font-weight: 500;
}
.contact-form-full input,
.contact-form-full select,
.contact-form-full textarea {
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
    padding: 0.7rem 1rem;
    font-size: 1rem;
    transition: border 0.2s, box-shadow 0.2s;
    background: #f8fafc;
    color: #2d3748;
}
.contact-form-full input:focus,
.contact-form-full select:focus,
.contact-form-full textarea:focus {
    border: 1.5px solid #667eea;
    box-shadow: 0 2px 12px rgba(102, 126, 234, 0.10);
    outline: none;
}
.contact-form-full textarea {
    min-height: 120px;
    resize: vertical;
}
.contact-form-full .btn {
    margin-top: 0.7rem;
    font-size: 1.08rem;
    padding: 0.9rem 1.5rem;
    border-radius: 10px;
    font-weight: 600;
}
@media (max-width: 900px) {
    .contact-content {
        flex-direction: column;
        gap: 2rem;
    }
    .contact-info, .contact-form-detailed {
        min-width: 0;
        padding: 1.2rem 0.7rem 1.2rem 0.7rem;
    }
} 

.faq-section {
    padding: 4rem 0 2.5rem 0;
    background: #fff;
}
.faq-section .section-header {
    text-align: center;
    margin-bottom: 2.5rem;
}
.faq-grid {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}
.faq-item {
    background: #f8fafc;
    border-radius: 14px;
    box-shadow: 0 2px 12px rgba(102, 126, 234, 0.07);
    padding: 1.2rem 1.5rem;
    transition: box-shadow 0.3s, background 0.3s;
    border: 1px solid #f1f5f9;
    cursor: pointer;
    position: relative;
}
.faq-item.open {
    background: #fff;
    box-shadow: 0 8px 32px rgba(102, 126, 234, 0.13);
}
.faq-question {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    font-size: 1.08rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 0.2rem;
    user-select: none;
}
.faq-question i {
    font-size: 1.1rem;
    color: #764ba2;
    transition: transform 0.3s;
}
.faq-item.open .faq-question i {
    transform: rotate(180deg);
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.4s cubic-bezier(.7,-0.2,.3,1.4), opacity 0.3s;
    font-size: 1.01rem;
    color: #4a5568;
    margin-top: 0;
    padding-left: 1.7rem;
}
.faq-item.open .faq-answer {
    max-height: 300px;
    opacity: 1;
    margin-top: 0.5rem;
}
@media (max-width: 700px) {
    .faq-grid {
        padding: 0 0.5rem;
    }
    .faq-item {
        padding: 0.8rem 0.7rem;
    }
} 

.company-story {
    padding: 4rem 0 2.5rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}
.story-content {
    display: flex;
    gap: 3.5rem;
    align-items: flex-start;
    justify-content: center;
    flex-wrap: wrap;
}
.story-text {
    flex: 2 1 380px;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 4px 24px rgba(102, 126, 234, 0.10);
    padding: 2.2rem 2rem 2rem 2rem;
    min-width: 320px;
}
.story-text h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 1.1rem;
}
.story-text p {
    color: #4a5568;
    font-size: 1.08rem;
    margin-bottom: 1.1rem;
    line-height: 1.7;
}
.company-values {
    display: flex;
    gap: 1.5rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}
.value-item {
    background: #f8fafc;
    border-radius: 14px;
    box-shadow: 0 2px 12px rgba(102, 126, 234, 0.07);
    padding: 1.1rem 1.3rem;
    flex: 1 1 180px;
    min-width: 160px;
    text-align: center;
    transition: box-shadow 0.3s, background 0.3s;
    border: 1px solid #f1f5f9;
}
.value-item i {
    font-size: 1.5rem;
    color: #764ba2;
    margin-bottom: 0.5rem;
}
.value-item h4 {
    font-size: 1.08rem;
    font-weight: 700;
    color: #667eea;
    margin-bottom: 0.3rem;
}
.value-item p {
    color: #4a5568;
    font-size: 0.97rem;
    margin-bottom: 0;
}
.story-image {
    flex: 1 1 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 180px;
}
.company-photo {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 18px;
    box-shadow: 0 4px 24px rgba(102, 126, 234, 0.10);
    width: 180px;
    height: 180px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 2.2rem;
    gap: 0.7rem;
}
.company-photo .photo-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.company-photo span {
    font-size: 1.05rem;
    font-weight: 600;
    margin-top: 0.3rem;
}

.statistics {
    padding: 4rem 0 2.5rem 0;
    background: #fff;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2.2rem;
    margin-top: 2.5rem;
}
.stat-card {
    background: #f8fafc;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(102, 126, 234, 0.07);
    padding: 2rem 1.5rem 1.5rem 1.5rem;
    text-align: center;
    transition: box-shadow 0.3s, transform 0.3s;
    border: 1px solid #f1f5f9;
}
.stat-card:hover {
    box-shadow: 0 8px 32px rgba(102, 126, 234, 0.13);
    transform: translateY(-6px) scale(1.03);
}
.stat-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.5rem;
    margin: 0 auto 1rem auto;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.10);
}
.stat-number {
    font-size: 2.1rem;
    font-weight: 700;
    color: #667eea;
    margin-bottom: 0.3rem;
}
.stat-card h3 {
    font-size: 1.08rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 0.2rem;
}
.stat-card p {
    color: #4a5568;
    font-size: 0.97rem;
    margin-bottom: 0;
}
@media (max-width: 900px) {
    .story-content {
        flex-direction: column;
        gap: 2rem;
    }
    .story-text, .story-image {
        min-width: 0;
        padding: 1.2rem 0.7rem 1.2rem 0.7rem;
    }
} 

.contact-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 24px;
    box-shadow: 0 8px 32px rgba(102, 126, 234, 0.15);
    margin-top: 40px;
    margin-bottom: 40px;
    padding: 48px 0 40px 0;
    position: relative;
    overflow: hidden;
}
.contact-hero-title {
    font-size: 2.8rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 18px;
    letter-spacing: -1px;
    text-shadow: 0 2px 16px rgba(102, 126, 234, 0.15);
}
.contact-hero-subtitle {
    font-size: 1.25rem;
    color: #f3f3fa;
    margin-bottom: 0;
    font-weight: 400;
    text-shadow: 0 1px 8px rgba(102, 126, 234, 0.10);
}
@media (max-width: 700px) {
    .contact-hero {
        padding: 32px 0 24px 0;
        border-radius: 16px;
    }
    .contact-hero-title {
        font-size: 2rem;
    }
    .contact-hero-subtitle {
        font-size: 1rem;
    }
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 0.5rem 0;
}

.tag {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.tag:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.project-tags-section {
    margin: 1.5rem 0;
}

.project-tags-section h4 {
    margin-bottom: 0.75rem;
    color: #2d3748;
    font-weight: 600;
}

.project-tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.project-tag {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.project-tag:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(102, 126, 234, 0.4);
}

.filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding: 1rem;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.filter-header h2 {
    color: #2d3748;
    font-weight: 600;
    margin: 0;
}

.selected-tag {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

@media (max-width: 768px) {
    .filter-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .project-tags {
        justify-content: center;
    }
    
    .project-tags-list {
        justify-content: center;
    }
}

.project-image-placeholder {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    color: #667eea;
    font-weight: 500;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 16px rgba(102, 126, 234, 0.10);
}

.project-image-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(102, 126, 234, 0.1) 50%, transparent 70%);
    animation: shimmer 2s infinite;
}

.project-image-placeholder i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    z-index: 1;
    position: relative;
}

.project-image-placeholder span {
    font-size: 0.9rem;
    text-align: center;
    z-index: 1;
    position: relative;
    max-width: 80%;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
} 

.portfolio-image .blur-darken {
    position: absolute;
    left: 0; top: 0; right: 0; bottom: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s;
    backdrop-filter: blur(8px);
    background: rgba(30, 30, 60, 0.45);
}
.portfolio-item-detailed:hover .portfolio-image .blur-darken {
    opacity: 1;
} 

.project-gallery img {
    transition: transform 0.35s cubic-bezier(.4,1.7,.7,1);
    cursor: zoom-in;
}
.project-gallery img:hover {
    transform: scale(1.15);
    z-index: 2;
} 

#lightbox {
    position: fixed;
    left: 0; top: 0; right: 0; bottom: 0;
    width: 100vw;
    height: 100vh;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    transition: opacity 0.3s;
}
#lightbox .lightbox-backdrop {
    position: absolute;
    left: 0; top: 0; right: 0; bottom: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(20,20,40,0.92);
    z-index: 1;
}
#lightbox-img {
    max-width: 90vw;
    max-height: 80vh;
    border-radius: 12px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.45);
    z-index: 2;
    background: #fff;
    object-fit: contain;
    display: block;
    margin: 0 auto;
    transition: box-shadow 0.3s;
}
#lightbox-close {
    position: absolute;
    top: 32px;
    right: 48px;
    z-index: 3;
    background: rgba(0,0,0,0.5);
    color: #fff;
    border: none;
    font-size: 2.2rem;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    cursor: pointer;
    transition: background 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}
#lightbox-close:hover {
    background: rgba(0,0,0,0.8);
}
#lightbox-title {
    position: absolute;
    bottom: 32px;
    left: 0; right: 0;
    text-align: center;
    color: #fff;
    font-size: 1.2rem;
    font-weight: 600;
    z-index: 3;
    text-shadow: 0 2px 8px rgba(0,0,0,0.7);
    pointer-events: none;
}
@media (max-width: 700px) {
    #lightbox-img {
        max-width: 98vw;
        max-height: 60vh;
    }
    #lightbox-close {
        top: 12px;
        right: 12px;
        width: 38px;
        height: 38px;
        font-size: 1.5rem;
    }
    #lightbox-title {
        bottom: 12px;
        font-size: 1rem;
    }
} 

@media (max-width: 768px) {
    .hero {
        padding-top: 70px;
    }
    .nav-menu.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100vw;
        background: #fff;
        z-index: 2000;
        box-shadow: 0 8px 32px rgba(102, 126, 234, 0.18), 0 2px 12px rgba(60,60,100,0.13);
        padding: 1.5rem 0 1.5rem 0;
        gap: 1.2rem;
        align-items: center;
    }
    .hero-visual {
        height: auto;
        min-height: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        gap: 1.2rem;
        margin-top: 2rem;
    }
    .hero-image {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1.2rem;
    }
    .floating-card {
        font-size: 0.95rem;
        padding: 0.7rem 1.2rem;
        margin-bottom: 0.7rem;
        max-width: 90%;
        min-width: 120px;
    }
}
@media (max-width: 480px) {
    .floating-card.card-2,
    .floating-card.card-3 {
        display: none;
    }
}

@media (max-width: 768px) {
    .portfolio-filter-bottom {
        position: relative;
        min-height: 56px;
    }
    .filter-buttons-wrapper {
        position: fixed;
        bottom: 90px;
        right: 24px;
        left: 24px;
        z-index: 3000;
        width: auto;
        max-width: calc(100vw - 48px);
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        border-radius: 20px;
        box-shadow: 0 8px 32px rgba(102,126,234,0.18);
        padding: 1.2rem 1.2rem 1.2rem 1.2rem;
        opacity: 0;
        pointer-events: none;
        transform: translateY(30px) scale(0.98);
        transition: opacity 0.3s, transform 0.3s;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .filter-buttons-wrapper.open {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0) scale(1);
    }
    .filter-buttons {
        flex-wrap: wrap;
        gap: 0.7rem;
        justify-content: center;
        align-items: center;
        width: 100%;
    }
    .filter-fab {
        position: fixed;
        bottom: 24px;
        right: 24px;
        width: 56px;
        height: 56px;
        border-radius: 50%;
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        box-shadow: 0 4px 16px rgba(102,126,234,0.18);
        border: none;
        z-index: 3100;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: background 0.2s;
    }
    .filter-fab span {
        display: block;
        width: 28px;
        height: 4px;
        background: #fff;
        margin: 3px 0;
        border-radius: 2px;
        transition: all 0.35s cubic-bezier(.4,1.7,.7,1);
    }
    .filter-fab.open span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }
    .filter-fab.open span:nth-child(2) {
        opacity: 0;
        transform: scaleX(0.5);
    }
    .filter-fab.open span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .filter-buttons-wrapper {
        opacity: 0;
        pointer-events: none;
        transform: translateY(30px) scale(0.98);
    }
    .filter-buttons-wrapper.open {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0) scale(1);
    }
}

.page-hero {
    padding-top: 90px;
}

.filter-fab {
    position: fixed;
    top: 100px;
    right: 32px;
    z-index: 1200;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    border-radius: 50%;
    box-shadow: 0 4px 16px rgba(102,126,234,0.10);
    border: none;
    cursor: pointer;
    margin: 0;
    transition: background 0.2s;
}
.filter-buttons-wrapper {
    position: fixed;
    top: 156px;
    right: 32px;
    min-width: 220px;
    z-index: 1100;
    background: linear-gradient(135deg, rgba(118,75,162,0.92) 0%, rgba(102,126,234,0.88) 100%);
    box-shadow: 0 8px 32px rgba(102, 126, 234, 0.18);
    border-radius: 18px;
    padding: 1rem 1.5rem;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-16px) scale(0.98);
    transition: opacity 0.35s cubic-bezier(.4,1.7,.7,1), transform 0.35s cubic-bezier(.4,1.7,.7,1);
    display: block;
}
.filter-buttons-wrapper.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}
.filter-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}
.filter-btn {
    width: 100%;
    text-align: left;
    font-size: 1.08rem;
    padding: 0.7em 1.2em;
    border-radius: 12px;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.2s;
}
@media (max-width: 700px) {
    .filter-fab {
        top: auto;
        bottom: 32px;
        right: 24px;
    }
    .filter-buttons-wrapper {
        top: auto;
        bottom: 90px;
        right: 16px;
        min-width: 180px;
        padding: 0.7rem 1rem;
    }
}

.filter-buttons-wrapper .filter-btn {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    color: #fff;
    font-weight: 600;
    border: none;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.08);
    margin-bottom: 0.5rem;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.filter-buttons-wrapper .filter-btn:hover, .filter-buttons-wrapper .filter-btn.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    box-shadow: 0 4px 16px rgba(102, 126, 234, 0.18);
    transform: translateY(-2px) scale(1.04);
}

.filter-buttons-wrapper .filter-btn {
    margin-bottom: 0;
    text-align: center;
}

.filter-buttons {
    align-items: center;
}

.it-clicker-section {
  background: linear-gradient(135deg, #f5f7fa 0%, #e9e4f0 100%);
  padding: 60px 0 40px 0;
  margin-bottom: 0;
  text-align: center;
}
.it-clicker-title {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
  color: #764ba2;
}
.it-clicker-game {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
  margin-bottom: 1rem;
}
.it-clicker-btn {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border: none;
  border-radius: 50%;
  width: 100px;
  height: 100px;
  box-shadow: 0 4px 24px rgba(102, 126, 234, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.1s;
  outline: none;
  position: relative;
}
.it-clicker-btn:active {
  transform: scale(0.93);
}
.it-clicker-icon {
  width: 60px;
  height: 60px;
  pointer-events: none;
  user-select: none;
}
.it-clicker-score-block {
  margin-top: 0.5rem;
  font-size: 1.2rem;
  color: #333;
}
.it-clicker-score {
  font-size: 2rem;
  font-weight: 700;
  color: #667eea;
  margin-left: 0.5rem;
}
.it-clicker-desc {
  color: #4a5568;
  font-size: 1rem;
  margin-top: 0.5rem;
}
@media (max-width: 600px) {
  .it-clicker-btn {
    width: 70px;
    height: 70px;
  }
  .it-clicker-icon {
    width: 40px;
    height: 40px;
  }
  .it-clicker-title {
    font-size: 1.3rem;
  }
  .it-clicker-score {
    font-size: 1.3rem;
  }
}

.it-clicker-robot {
  width: 60px;
  height: 60px;
  display: block;
  pointer-events: none;
  user-select: none;
  transition: transform 0.12s cubic-bezier(.4,1.7,.7,1);
}
.it-clicker-btn.clicked .it-clicker-robot {
  transform: scale(0.88) rotate(-6deg);
  filter: drop-shadow(0 0 8px #764ba2aa);
}
