:root {
    --primary: #6C63FF;
    --primary-dark: #5A52D5;
    --primary-light: #d1cff0;
    --secondary: #FF6584;
    --dark: #1A1A2E;
    --darker: #0F0F1B;
    --light: #F8F9FA;
    --gray: #6C757D;
    --transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

* {
    cursor: none;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Manrope", sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--darker);
    color: var(--light);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Стили для кастомного курсора */
.custom-cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 80px;
    height: 80px;
    pointer-events: none;
    z-index: 9999;
    mix-blend-mode: difference;
    transition: transform 0.3s ease;
    transform: translate(-50%, -50%);
}

.cursor-outer {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: radial-gradient(circle at center,
            rgba(108, 99, 255, 0.9) 0%,
            rgba(108, 99, 255, 0.6) 25%,
            rgba(108, 99, 255, 0.3) 45%,
            transparent 65%);
    filter: blur(12px);
    animation: cursorPulse 3s infinite ease-in-out;
}

.cursor-inner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    box-shadow:
        0 0 20px rgba(108, 99, 255, 0.9),
        0 0 40px rgba(108, 99, 255, 0.7),
        0 0 60px rgba(108, 99, 255, 0.5);
    filter: blur(1.5px);
    animation: innerPulse 4s infinite ease-in-out;
}

.cursor-hover {
    transform: translate(-50%, -50%) scale(1.3);
    transition: transform 0.5s ease;
}

.cursor-hover .cursor-outer {
    background: radial-gradient(circle at center,
            rgba(255, 101, 132, 0.9) 0%,
            rgba(255, 101, 132, 0.6) 25%,
            rgba(255, 101, 132, 0.3) 45%,
            transparent 65%);
    filter: blur(15px);
    animation: cursorPulseHover 2.5s infinite ease-in-out;
}

.cursor-hover .cursor-inner {
    background: rgba(255, 255, 255, 1);
    box-shadow:
        0 0 25px rgba(255, 101, 132, 1),
        0 0 50px rgba(255, 101, 132, 0.8),
        0 0 75px rgba(255, 101, 132, 0.6);
    animation: innerPulseHover 3s infinite ease-in-out;
}

@keyframes cursorPulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.7;
    }

    50% {
        transform: scale(1.15);
        opacity: 0.9;
    }
}

@keyframes innerPulse {

    0%,
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.8;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 1;
    }
}

@keyframes cursorPulseHover {

    0%,
    100% {
        transform: scale(1.1);
        opacity: 0.8;
    }

    50% {
        transform: scale(1.25);
        opacity: 1;
    }
}

@keyframes innerPulseHover {

    0%,
    100% {
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 0.9;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 1;
    }
}

.custom-cursor {
    transition:
        transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        left 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        top 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

button,
a,
input,
textarea,
select,
.nav-links a,
.lang-btn,
.project-filter,
.project-link,
.btn,
.mobile-menu,
.mobile-nav-links a,
.social-links a,
.project-card,
.form-control {
    cursor: none !important;
}

a:hover,
button:hover,
.nav-links a:hover,
.lang-btn:hover,
.project-filter:hover,
.btn:hover {
    cursor: none !important;
}

@media (max-width: 768px) {
    * {
        cursor: auto;
    }

    .custom-cursor {
        display: none;
    }
}

/* Поддержка китайского языка */
.lang-btn[data-lang="zh"] {
    font-size: 0.8rem;
}

body:lang(zh) {
    font-family: "Manrope", "PingFang SC", "Microsoft YaHei", sans-serif;
}

body:lang(zh) .project-content h3 {
    font-size: 1.3rem;
    line-height: 1.6;
}

body:lang(zh) .hero-content h1 {
    font-size: 3rem;
}

/* Стили для переключателя языка */
.language-switcher {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 25px;
    padding: 0.3rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.lang-btn {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 600;
    font-size: 0.9rem;
}

.lang-btn.active {
    background: var(--primary);
    color: white;
    box-shadow: 0 2px 10px rgba(108, 99, 255, 0.3);
}

.lang-btn:hover:not(.active) {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.lang-divider {
    color: rgba(255, 255, 255, 0.3);
    margin: 0 0.2rem;
}

/* Адаптивность для переключателя языка */
@media (max-width: 768px) {
    .nav-actions {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Навигация */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1001;
    padding: 1.5rem 0;
    transition: var(--transition);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    z-index: 2;
}

.logo-img {
    width: 130px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    position: relative;
    z-index: 2;
    margin-left: 19%;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-links a:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.nav-links::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 140%;
    height: 70px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2),
        inset 0 4px 20px rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

nav.scrolled .nav-links::before {
    height: 60px;
    width: 120%;
}

.nav-links a:hover:after {
    width: 100%;
}

.nav-actions {
    display: flex;
    gap: 1rem;
    position: relative;
    z-index: 2;
}

/* Стили для бургер-меню */
.mobile-menu {
    display: none;
    cursor: pointer;
    position: relative;
    z-index: 1002;
    width: 30px;
    height: 30px;
    background: none;
    border: none;
    padding: 0;
    transition: var(--transition);
}

.burger-lines {
    position: relative;
    width: 100%;
    height: 100%;
    transition: var(--transition);
}

.burger-lines::before,
.burger-lines::after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background: white;
    border-radius: 2px;
    transition: var(--transition);
}

.burger-lines::before {
    top: 8px;
}

.burger-lines::after {
    bottom: 8px;
}

.burger-lines .middle-line {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    background: white;
    border-radius: 2px;
    transform: translateY(-50%);
}

.mobile-menu:hover .burger-lines::before,
.mobile-menu:hover .burger-lines::after,
.mobile-menu:hover .burger-lines .middle-line {
    background: var(--primary);
}

/* Стили для полноэкранного мобильного меню */
.mobile-nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 15, 27, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 999;
}

.mobile-nav-content {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.mobile-nav-links {
    list-style: none;
    margin-bottom: 3rem;
}

.mobile-nav-links li {
    margin-bottom: 2rem;
    animation: slideInDown 0.5s ease-out forwards;
    opacity: 0;
}

.mobile-nav-links a {
    color: white;
    text-decoration: none;
    font-size: 2rem;
    font-weight: 300;
    transition: var(--transition);
    display: block;
    padding: 0.5rem 0;
}

.mobile-nav-links a:hover {
    color: var(--primary);
    transform: translateX(10px);
}

.mobile-nav-actions {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
    margin-bottom: 1rem;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mobile-nav-links li:nth-child(1) {
    animation-delay: 0.1s;
}

.mobile-nav-links li:nth-child(2) {
    animation-delay: 0.2s;
}

.mobile-nav-links li:nth-child(3) {
    animation-delay: 0.3s;
}

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 0.95rem;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 15px rgba(108, 99, 255, 0.3);
}

.btn-primary:hover {
    background: var(--primary-dark);
    box-shadow: 0 6px 20px rgba(108, 99, 255, 0.4);
}

.btn-outline {
    background: transparent;
    color: white;
    border: 0.5px solid rgba(255, 255, 255, 0.2);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.4);
}

/* Главный блок */
#hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 0 2rem;
}

/* Фоновое видео */
#hero video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

/* Градиент поверх видео */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15, 15, 27, 0.527) 0%, rgba(26, 26, 46, 0.5) 100%);
    z-index: -1;
}

/* Контент поверх */
.hero-container {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.hero-content {
    color: white;
    max-width: 600px;
}


.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
}

h4 {
    text-align: center;
    font-weight: 300;
    font-size: 18px;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.0;
    font-weight: 400;
}

.hero-content h1 span {
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    max-width: 90%;
    font-weight: 100;
}

.hero-btns {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-light);
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
}

.glass-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2),
        inset 0 4px 20px rgba(255, 255, 255, 0.05);
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.floating-elements {
    position: relative;
    width: 100%;
    height: 400px;
}

.floating-element {
    position: absolute;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.2),
        inset 0 4px 20px rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 1.5rem;
    transition: var(--transition);
}

.floating-element:nth-child(1) {
    width: 180px;
    height: 180px;
    top: 0;
    left: 0;
    animation: float 15s infinite ease-in-out;
}

.floating-element:nth-child(2) {
    width: 180px;
    height: 180px;
    bottom: 0%;
    right: 17%;
    animation: float1 15s infinite ease-in-out;
}

.floating-element:nth-child(3) {
    width: 120px;
    height: 120px;
    top: 56%;
    right: 58%;
    transform: translateY(-50%);
    animation: float2 15s infinite ease-in-out;
}

.floating-element:nth-child(4) {
    width: 150px;
    height: 150px;
    top: 5%;
    right: 33%;
    transform: translateY(-50%);
    animation: float3 15s infinite ease-in-out;
}

.floating-element i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-light);
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    33% {
        transform: translateY(-20px) rotate(5deg);
    }

    66% {
        transform: translateY(10px) rotate(-5deg);
    }
}

@keyframes float1 {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    33% {
        transform: translateY(20px) rotate(5deg);
    }

    66% {
        transform: translateX(30px) rotate(-5deg);
    }
}

@keyframes float2 {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    33% {
        transform: translateX(20px) rotate(5deg);
    }

    66% {
        transform: translateY(30px) rotate(-5deg);
    }
}

@keyframes float3 {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    33% {
        transform: translateY(40px) rotate(5deg);
    }

    66% {
        transform: translateY(20px) rotate(-5deg);
    }
}

/* Блок проектов */
#projects {
    padding: 1rem 2rem;
    position: relative;
    overflow: hidden;
}

#projects::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #0B0B15, var(--dark));
    pointer-events: none;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    z-index: 2;
}

.section-title h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 400;
    background: var(--light);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 30px rgba(108, 99, 255, 0.3);
    line-height: 1;
}

.section-title p {
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.9;
    font-size: 1.1rem;
    color: var(--light);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.project-card {
    background: rgb(147 149 202 / 5%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    overflow: hidden;
    transition: var(--transition);
    position: relative;
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.2),
        inset 0 4px 20px rgba(255, 255, 255, 0.05);
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transform: scaleX(0);
    transition: var(--transition);
}

.project-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.3),
        0 0 30px rgba(108, 99, 255, 0.2),
        inset 0 4px 20px rgba(255, 255, 255, 0.1);
    border-color: rgba(108, 99, 255, 0.3);
}

.project-card:hover::before {
    transform: scaleX(1);
}

.project-content {
    padding: 2rem;
    position: relative;
}

.project-content h3 {
    margin-bottom: 1rem;
    font-size: 1.4rem;
    font-weight: 600;
    color: white;
    position: relative;
    line-height: 1.8rem;
}

.project-content h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.project-card:hover .project-content h3::after {
    width: 60px;
}

.project-content p {
    margin-bottom: 1.5rem;
    opacity: 0.8;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.tech-tag {
    padding: 0.3rem 0.8rem;
    background: rgba(108, 99, 255, 0.2);
    border: 1px solid rgba(108, 99, 255, 0.3);
    border-radius: 15px;
    font-size: 0.8rem;
    color: var(--primary-light);
    backdrop-filter: blur(10px);
}

.project-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
}

.project-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 1.5rem;
    background: rgba(108, 99, 255, 0.2);
    border: 1px solid rgba(108, 99, 255, 0.3);
    border-radius: 25px;
    color: var(--primary-light);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.project-link:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(108, 99, 255, 0.4);
}

.project-year {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* Стили для фильтров проектов */
.project-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3rem;
    position: relative;
    z-index: 2;
}

.project-filter {
    padding: 0.7rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    backdrop-filter: blur(10px);
    font-size: 0.95rem;
}

.project-filter:hover {
    background: rgba(108, 99, 255, 0.2);
    border-color: rgba(108, 99, 255, 0.3);
    color: white;
    transform: translateY(-2px);
}

.project-filter.active {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
    box-shadow: 0 4px 15px rgba(108, 99, 255, 0.3);
}

.project-card {
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.project-card.hidden {
    opacity: 0;
    transform: scale(0.8);
    height: 0;
    margin: 0;
    padding: 0;
    pointer-events: none;
}

/* Анимация появления карточек */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.project-card {
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
}

/* Блок контактов */
#contact {
    padding: 6rem 2rem;
    background: var(--dark);
    color: var(--light);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-info h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    font-weight: 400;
    line-height: 1.2;
}

.contact-info p {
    margin-bottom: 2rem;
    opacity: 0.9;
    font-size: 1.1rem;
}

.contact-details {
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.contact-item i {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 1rem;
    color: var(--primary);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.contact-form {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 1rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgb(7 11 45 / 10%);
    color: white;
    transition: var(--transition);
    font-size: 1rem;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.15);
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

/* Подвал */
footer {
    background: var(--darker);
    color: rgba(255, 255, 255, 0.7);
    padding: 3rem 2rem;
    text-align: center;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin: 2rem 0;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: white;
}

.copyright {
    margin-top: 2rem;
    font-size: 0.9rem;
    opacity: 0.7;
}

@media (max-width: 1400px) {
    .contact-form {
        padding: 2.0rem;
    }
}

@media (max-width: 1400px) {
    .nav-actions {
        display: none;
    }

    .mobile-menu {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .nav-links {
        display: none;
    }
}

@media (max-width: 968px) {

    .hero-content h1 {
        font-size: 3rem;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .hero-content p {
        max-width: 100%;
    }

    .contact-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .contact-info h2 {
        font-size: 1.8rem;
    }

    .floating-elements {
        display: none;
    }

    .hero-btns {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .logo-img {
        width: 110px;
    }
}

@media (max-width: 768px) {

    .nav-links,
    .nav-actions {
        display: none;
    }

    .nav-links::before {
        content: none;
    }

    .nav-links {
        margin-left: 0%;
    }

    .hero-btns {
        justify-content: center;
    }

    .contact-info h2 {
        display: none;
    }

    .contact-info p {
        display: none;
    }

    .mobile-nav-links a {
        font-size: 1.5rem;
    }

    .logo-img {
        width: 80px;
    }

    .nav-container {
        padding: 0 4.5rem;
    }

    .nav-container::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 90%;
        height: 70px;
        background: rgba(255, 255, 255, 0.05);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 50px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2),
            inset 0 4px 20px rgba(255, 255, 255, 0.05);
        transition: var(--transition);
    }

    nav.scrolled .nav-container::before {
        height: 65px;
        width: 85%;
    }

    nav.scrolled .logo-img {
        width: 70px;
        transition: var(--transition);
    }

    nav.scrolled .burger-lines {
        width: 90%;
        transition: var(--transition);
    }


}

@media (max-width: 600px) {
    .contact-form {
        padding: 1.6rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .stat-value {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    #projects {
        padding: 1rem 1rem;
    }

    .contact-form {
        padding: 1.2rem;
    }

    .project-filters {
        gap: 0.5rem;
    }

    .project-filter {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }

    .nav-container {
        padding: 0 3.4rem;
    }
}

@media (max-width: 430px) {
    .stat-value {
        font-size: 1.4rem;
    }

    .nav-container {
        padding: 0 3rem;
    }
}

@media (max-width: 400px) {
    .projects-grid {
        grid-template-columns: 1fr;
    }

    .project-content {
        padding: 1.5rem;
    }

    .hero-content h1,
    .section-title h2 {
        font-size: 2.5rem;
    }
}

@media (max-width: 365px) {
    .stat-value {
        font-size: 1.2rem;
    }
}

@media (max-height: 740px) {
    .hero-content h1 {
        margin-top: 100px;
    }
}