@font-face {
    font-family: font;
    src: url("Fonts/MTSansFull/MTSans-BlackCondensed.ttf");
}

@font-face {
    font-family: headFont;
    src: url("Fonts/Pusia/Pusia Bold.otf");
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-image: url(media/photo_2026-08-06_02-57-46.jpg);
    background-attachment: fixed;
    background-size: cover;
    color: rgb(158, 156, 156);
    line-height: 1.6;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* HEADER */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid rgba(158, 156, 156, 0.3);
    position: sticky;
    top: 0;
    z-index: 100;
    background: transparent;        /* ← прозрачный фон */
    backdrop-filter: blur(10px);    /* оставляем лёгкое размытие для читаемости */
    gap: 40px;
}

.logo {
    font-size: 32px;
    font-weight: 800;
    background: linear-gradient(135deg, #ff8c00, #ff4500, #ffd700);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    cursor: pointer;
    flex-shrink: 0;
    margin-right: 30px;
}

nav {
    display: flex;
    align-items: center;
    gap: 30px;
    flex: 1;
    justify-content: flex-end;
}

.headerLinks {
    display: flex;
    gap: 25px;
}

.headerRight {
    display: flex;
    align-items: center;
    gap: 15px;
}

nav a {
    text-decoration: none;
    color: rgb(158, 156, 156);
    cursor: pointer;
    font-size: 18px;
    transition: all 0.3s ease;
    position: relative;
}

nav a:hover {
    color: orange;
}

nav a.active {
    color: orange;
}

nav a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(135deg, #ff8c00, #ff4500, #ffd700);
}

/* КНОПКА КОНТАКТЫ — без подчёркивания */
.contact-btn {
    padding: 8px 16px;
    background: linear-gradient(135deg, #ff8c00, #ff4500);
    color: white !important;
    border-radius: 8px;
    font-size: 16px !important;
}

.contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 140, 0, 0.4);
}

.contact-btn::after,
.contact-btn.active::after {
    display: none !important;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: orange;
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* HERO */
.hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    margin: 60px 0;
    padding: 40px 0;
}

.hero-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 140, 0, 0.1);
    color: orange;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 14px;
    width: fit-content;
    border: 1px solid rgba(255, 140, 0, 0.3);
}

.greeting {
    color: white;
    background: linear-gradient(135deg, #ff8c00, #ff4500, #ffd700);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
}

.hero-subtitle {
    color: orange;
    font-size: 1.5rem;
    font-weight: 600;
}

.hero-description {
    color: rgb(158, 156, 156);
    font-size: 1.1rem;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.btn {
    padding: 14px 28px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    font-family: font;
}

.btn-primary {
    background: linear-gradient(135deg, #ff8c00, #ff4500);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 140, 0, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 140, 0, 0.5);
}

.btn-secondary {
    background: transparent;
    color: orange;
    border: 2px solid orange;
}

.btn-secondary:hover {
    background: rgba(255, 140, 0, 0.1);
    transform: translateY(-3px);
}

.hero-image img {
    width: 370px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(255, 140, 0, 0.2);
    transition: transform 0.5s ease;
}

.hero-image img:hover {
    transform: scale(1.03) rotate(1deg);
}

/* STATS */
.stats {
    margin: 60px 0;
}

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

.stat-item {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 30px 20px;
    text-align: center;
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 140, 0, 0.3);
}

.stat-item h3 {
    font-size: 2.5rem;
    background: linear-gradient(135deg, #ff8c00, #ff4500, #ffd700);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 10px;
}

.stat-item p {
    color: rgb(158, 156, 156);
    font-size: 14px;
}

/* SECTIONS */
.aboutMe, .skills, .services, .journey, .soft-skills, .education, .contact-form {
    padding: 80px 0;
}

.section-content {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* ABOUT ME */
.aboutMe {
    padding: 80px 0;
}

.about-wrapper {
    max-width: 1000px;
    margin: 0 auto;
}

.about-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-tag {
    display: inline-block;
    background: rgba(255, 140, 0, 0.1);
    color: orange;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 14px;
    border: 1px solid rgba(255, 140, 0, 0.3);
    margin-bottom: 15px;
}

.about-lead {
    font-size: 1.3rem;
    color: white;
    max-width: 600px;
    margin: 20px auto 0;
    line-height: 1.6;
}

.highlight {
    background: linear-gradient(135deg, #ff8c00, #ff4500, #ffd700);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 40px;
    align-items: start;
}

.about-text-col {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.about-text {
    color: rgb(158, 156, 156);
    line-height: 1.8;
    font-size: 15px;
}

.about-text strong {
    color: white;
    font-weight: 600;
}

.about-quote {
    margin-top: 10px;
    padding: 20px 25px;
    background: rgba(255, 140, 0, 0.08);
    border-left: 3px solid #ff8c00;
    border-radius: 0 12px 12px 0;
    color: white;
    font-size: 15px;
    line-height: 1.6;
    position: relative;
}

.quote-mark {
    font-size: 3rem;
    color: orange;
    opacity: 0.5;
    position: absolute;
    top: -10px;
    left: 10px;
    font-family: Georgia, serif;
}

.about-facts-col {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.fact-card {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    padding: 18px 20px;
    transition: all 0.3s ease;
}

.fact-card:hover {
    transform: translateX(8px);
    border-color: rgba(255, 140, 0, 0.4);
    background: rgba(255, 140, 0, 0.05);
}

.fact-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.fact-info h4 {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 3px;
}

.fact-info p {
    color: rgb(158, 156, 156);
    font-size: 13px;
}

@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .about-facts-col {
        flex-direction: row;
        flex-wrap: wrap;
    }
    
    .fact-card {
        flex: 1;
        min-width: 150px;
        flex-direction: column;
        text-align: center;
        padding: 20px 15px;
    }
    
    .about-lead {
        font-size: 1.1rem;
    }
}

/* SERVICES */
.services {
    padding: 80px 0;
}

.services-header {
    text-align: center;
    margin-bottom: 50px;
}

.services-subtitle {
    color: rgb(158, 156, 156);
    font-size: 1.1rem;
    margin-top: 15px;
}

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

.service-card {
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 35px 25px 30px;
    transition: all 0.4s ease;
    overflow: hidden;
}

/* Градиентная линия сверху при hover */
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #ff8c00, #ff4500, #ffd700);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-12px);
    border-color: rgba(255, 140, 0, 0.3);
    box-shadow: 0 15px 40px rgba(255, 140, 0, 0.15);
    background: rgba(255, 255, 255, 0.08);
}

/* Номер карточки */
.service-number {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 3rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.05);
    line-height: 1;
    transition: all 0.4s ease;
}

.service-card:hover .service-number {
    color: rgba(255, 140, 0, 0.15);
    transform: scale(1.1);
}

/* Иконка */
.service-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: rgba(255, 140, 0, 0.1);
    border: 1px solid rgba(255, 140, 0, 0.2);
    color: orange;
    margin-bottom: 20px;
    transition: all 0.4s ease;
}

.service-card:hover .service-icon {
    background: linear-gradient(135deg, #ff8c00, #ff4500);
    color: white;
    transform: rotate(-5deg) scale(1.05);
    box-shadow: 0 8px 20px rgba(255, 140, 0, 0.4);
}

.service-card h3 {
    color: white;
    margin-bottom: 12px;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.service-card:hover h3 {
    background: linear-gradient(135deg, #ff8c00, #ffd700);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.service-card p {
    color: rgb(158, 156, 156);
    font-size: 14px;
    line-height: 1.6;
}

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

@media (max-width: 600px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .service-card {
        padding: 30px 20px 25px;
    }
}

/* SKILLS */
.skills {
    padding: 80px 0;
}

.skills-header {
    text-align: center;
    margin-bottom: 50px;
}

.skills-subtitle {
    color: rgb(158, 156, 156);
    font-size: 1.1rem;
    margin-top: 15px;
}

.skills-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    align-items: start;
}

.skills-category {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(255, 140, 0, 0.3);
    display: inline-block;
}

/* Прогресс-бары с иконками */
.skills-bars {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.skill-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.skill-icon {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 140, 0, 0.1);
    border: 1px solid rgba(255, 140, 0, 0.2);
    border-radius: 12px;
    color: orange;
    transition: all 0.3s ease;
}

.skill-item:hover .skill-icon {
    background: linear-gradient(135deg, #ff8c00, #ff4500);
    color: white;
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(255, 140, 0, 0.3);
}

.skill-info {
    flex: 1;
}

.skill-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    color: white;
    font-weight: 600;
    font-size: 15px;
}

.skill-percent {
    color: orange;
    font-size: 14px;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
}

.progress {
    height: 100%;
    background: linear-gradient(90deg, #ff8c00, #ff4500, #ffd700);
    border-radius: 10px;
    transition: width 1.5s ease;
    position: relative;
}

/* Анимация появления прогресс-бара */
.progress::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: shimmer 2s infinite;
}

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

/* Инструменты */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.tool-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    padding: 25px 15px;
    transition: all 0.3s ease;
}

.tool-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 140, 0, 0.4);
    background: rgba(255, 140, 0, 0.05);
}

.tool-icon {
    color: orange;
    transition: all 0.3s ease;
}

.tool-card:hover .tool-icon {
    transform: scale(1.2);
    color: #ffd700;
}

.tool-card span {
    color: white;
    font-size: 14px;
    font-weight: 500;
}

/* Дополнительные навыки */
.skills-extra {
    margin-top: 30px;
}

.skills-extra h4 {
    color: white;
    margin-bottom: 15px;
    font-size: 15px;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tags span {
    background: rgba(255, 140, 0, 0.08);
    color: orange;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    border: 1px solid rgba(255, 140, 0, 0.2);
    transition: all 0.3s ease;
    cursor: default;
}

.tags span:hover {
    background: rgba(255, 140, 0, 0.15);
    border-color: rgba(255, 140, 0, 0.4);
    transform: translateY(-2px);
}

@media (max-width: 900px) {
    .skills-wrapper {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .tools-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 600px) {
    .tools-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .skill-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .skill-info {
        width: 100%;
    }
}

/* JOURNEY */
.journey {
    padding: 80px 0;
}

.journey-header {
    text-align: center;
    margin-bottom: 60px;
}

.journey-subtitle {
    color: rgb(158, 156, 156);
    font-size: 1.1rem;
    margin-top: 15px;
}

/* TIMELINE */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

/* Вертикальная линия */
.timeline::before {
    content: '';
    position: absolute;
    left: 24px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, #ff8c00, #ff4500, #ffd700);
}

.timeline-item {
    position: relative;
    padding-left: 90px;
    margin-bottom: 50px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

/* Кружок с иконкой — тёмный непрозрачный фон */
.timeline-dot {
    position: absolute;
    left: 0;
    top: 0;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #1a1a1a;               
    border: 2px solid rgba(255, 140, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: orange;
    transition: all 0.4s ease;
    z-index: 2;
}

/* При hover — градиентный фон */
.timeline-item:hover .timeline-dot {
    background: linear-gradient(135deg, #ff8c00, #ff4500);
    color: white;
    transform: scale(1.1);
    box-shadow: 0 0 25px rgba(255, 140, 0, 0.5);
}

/* Текущий этап — тоже градиентный */
.timeline-item.current .timeline-dot {
    background: linear-gradient(135deg, #ff8c00, #ff4500);
    color: white;
    animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255, 140, 0, 0.4); }
    50% { box-shadow: 0 0 0 12px rgba(255, 140, 0, 0); }
}

/* Контент карточки */
.timeline-content {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 25px;
    transition: all 0.3s ease;
    position: relative;
}

/* Стрелка от карточки к кружку */
.timeline-content::before {
    content: '';
    position: absolute;
    left: -10px;
    top: 20px;
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-right: 10px solid rgba(255, 255, 255, 0.1);
}

.timeline-item:hover .timeline-content {
    transform: translateX(10px);
    border-color: rgba(255, 140, 0, 0.3);
    box-shadow: 0 10px 30px rgba(255, 140, 0, 0.15);
}

.timeline-date {
    display: inline-block;
    color: orange;
    font-size: 13px;
    font-weight: 600;
    background: rgba(255, 140, 0, 0.1);
    padding: 4px 12px;
    border-radius: 15px;
    margin-bottom: 12px;
    border: 1px solid rgba(255, 140, 0, 0.2);
}

.timeline-content h3 {
    color: white;
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.timeline-content p {
    color: rgb(158, 156, 156);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
}

/* Теги навыков */
.timeline-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.timeline-tags span {
    background: rgba(255, 255, 255, 0.05);
    color: rgb(199, 184, 184);
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.timeline-item:hover .timeline-tags span {
    background: rgba(255, 140, 0, 0.08);
    color: orange;
    border-color: rgba(255, 140, 0, 0.2);
}

@media (max-width: 768px) {
    .timeline::before {
        left: 19px;
    }
    
    .timeline-item {
        padding-left: 60px;
    }
    
    .timeline-dot {
        width: 40px;
        height: 40px;
    }
    
    .timeline-dot svg {
        width: 18px;
        height: 18px;
    }
    
    .timeline-content::before {
        display: none;
    }
}

@media (max-width: 480px) {
    .timeline-item {
        padding-left: 50px;
    }
    
    .timeline-content {
        padding: 20px;
    }
}

/* SOFT SKILLS */
.soft-skills {
    padding: 80px 0;
}

.soft-header {
    text-align: center;
    margin-bottom: 50px;
}

.soft-subtitle {
    color: rgb(158, 156, 156);
    font-size: 1.1rem;
    margin-top: 15px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

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

.soft-card {
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 35px 25px 30px;
    text-align: center;
    transition: all 0.4s ease;
    overflow: hidden;
}

/* Номер карточки */
.soft-number {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2.5rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.05);
    line-height: 1;
    transition: all 0.4s ease;
}

.soft-card:hover .soft-number {
    color: rgba(255, 140, 0, 0.15);
    transform: scale(1.1);
}

/* Иконка */
.soft-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 140, 0, 0.1);
    border: 1px solid rgba(255, 140, 0, 0.2);
    color: orange;
    transition: all 0.4s ease;
}

.soft-card:hover .soft-icon {
    background: linear-gradient(135deg, #ff8c00, #ff4500);
    color: white;
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 25px rgba(255, 140, 0, 0.4);
}

.soft-card h3 {
    color: white;
    margin-bottom: 12px;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.soft-card:hover h3 {
    background: linear-gradient(135deg, #ff8c00, #ffd700);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.soft-card p {
    color: rgb(158, 156, 156);
    font-size: 14px;
    line-height: 1.6;
}

/* Декоративная линия снизу */
.soft-line {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #ff8c00, #ff4500, #ffd700);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.4s ease;
}

.soft-card:hover .soft-line {
    transform: scaleX(1);
}

/* Подъём карточки */
.soft-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 140, 0, 0.3);
    box-shadow: 0 15px 40px rgba(255, 140, 0, 0.15);
    background: rgba(255, 255, 255, 0.08);
}

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

@media (max-width: 600px) {
    .soft-grid {
        grid-template-columns: 1fr;
    }
    
    .soft-card {
        padding: 30px 20px 25px;
    }
}

/* PROJECTS */
.projects {
    padding: 80px 0;
}

.projects-header {
    text-align: center;
    margin-bottom: 50px;
}

.projects-subtitle {
    color: rgb(158, 156, 156);
    font-size: 1.1rem;
    margin-top: 15px;
}

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

.project-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
}

.project-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 140, 0, 0.3);
    box-shadow: 0 20px 50px rgba(255, 140, 0, 0.2);
    background: rgba(255, 255, 255, 0.08);
}

/* Картинка с оверлеем */
.project-image {
    position: relative;
    overflow: hidden;
    height: 280px;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.6s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.1);
}

/* Оверлей на картинке */
.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 140, 0, 0.9), rgba(255, 69, 0, 0.9));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-actions {
    display: flex;
    gap: 15px;
}

.action-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: white;
    color: #ff4500;
    border-radius: 30px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.action-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.action-btn.github {
    background: #1a1a1a;
    color: white;
}

.action-btn.github:hover {
    background: #000;
}

/* Контент карточки */
.project-body {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.project-category {
    display: inline-block;
    color: orange;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.project-body h3 {
    color: white;
    font-size: 1.4rem;
    transition: all 0.3s ease;
}

.project-card:hover .project-body h3 {
    background: linear-gradient(135deg, #ff8c00, #ffd700);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.project-body p {
    color: rgb(158, 156, 156);
    font-size: 14px;
    line-height: 1.6;
    flex: 1;
}

/* Теги технологий */
.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.project-tags span {
    background: rgba(255, 140, 0, 0.08);
    color: orange;
    padding: 5px 14px;
    border-radius: 15px;
    font-size: 12px;
    border: 1px solid rgba(255, 140, 0, 0.2);
    transition: all 0.3s ease;
}

.project-card:hover .project-tags span {
    background: rgba(255, 140, 0, 0.15);
    border-color: rgba(255, 140, 0, 0.4);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .project-image {
        height: 220px;
    }
}

@media (max-width: 480px) {
    .project-actions {
        flex-direction: column;
        gap: 10px;
    }
    
    .action-btn {
        padding: 10px 20px;
        font-size: 13px;
    }
}

/* EDUCATION */
.education {
    padding: 80px 0;
}

.education-header {
    text-align: center;
    margin-bottom: 50px;
}

.education-subtitle {
    color: rgb(158, 156, 156);
    font-size: 1.1rem;
    margin-top: 15px;
}

.education-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    max-width: 1000px;
    margin: 0 auto;
}

.education-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

/* Градиентная линия сверху */
.education-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #ff8c00, #ff4500, #ffd700);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.education-card:hover::before {
    transform: scaleX(1);
}

.education-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 140, 0, 0.3);
    box-shadow: 0 15px 40px rgba(255, 140, 0, 0.15);
    background: rgba(255, 255, 255, 0.08);
}

.education-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: rgba(255, 140, 0, 0.1);
    border: 1px solid rgba(255, 140, 0, 0.2);
    color: orange;
    transition: all 0.4s ease;
}

.education-card:hover .education-icon {
    background: linear-gradient(135deg, #ff8c00, #ff4500);
    color: white;
    transform: rotate(-5deg) scale(1.05);
    box-shadow: 0 8px 20px rgba(255, 140, 0, 0.4);
}

.education-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.education-year {
    display: inline-block;
    color: orange;
    font-size: 13px;
    font-weight: 600;
    background: rgba(255, 140, 0, 0.1);
    padding: 4px 12px;
    border-radius: 15px;
    border: 1px solid rgba(255, 140, 0, 0.2);
    width: fit-content;
}

.education-info h3 {
    color: white;
    font-size: 1.3rem;
    margin-top: 10px;
    transition: all 0.3s ease;
}

.education-card:hover .education-info h3 {
    background: linear-gradient(135deg, #ff8c00, #ffd700);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.education-role {
    color: rgb(158, 156, 156);
    font-size: 14px;
    font-weight: 500;
}

.education-duration {
    color: rgb(199, 184, 184);
    font-size: 13px;
    font-style: italic;
    margin-top: 5px;
}

/* Теги навыков */
.education-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 15px;
}

.education-skills span {
    background: rgba(255, 255, 255, 0.05);
    color: rgb(199, 184, 184);
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.education-card:hover .education-skills span {
    background: rgba(255, 140, 0, 0.08);
    color: orange;
    border-color: rgba(255, 140, 0, 0.2);
}

@media (max-width: 900px) {
    .education-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .education-card {
        flex-direction: row;
        align-items: center;
    }
    
    .education-icon {
        width: 60px;
        height: 60px;
    }
    
    .education-icon svg {
        width: 26px;
        height: 26px;
    }
}

@media (max-width: 600px) {
    .education-card {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .education-info {
        width: 100%;
    }
}

/* CTA */
.cta {
    position: relative;
    background: linear-gradient(135deg, rgba(255, 140, 0, 0.1), rgba(255, 69, 0, 0.15));
    border-radius: 24px;
    padding: 80px 40px;
    text-align: center;
    margin: 80px 0;
    border: 1px solid rgba(255, 140, 0, 0.2);
    overflow: hidden;
}

/* Плавающие декоративные иконки */
.cta-decor {
    position: absolute;
    color: #ff8c00;
    opacity: 0.12;
    animation: float 6s ease-in-out infinite;
    pointer-events: none;
    z-index: 1;
}

.cta-decor svg {
    width: 80px;
    height: 80px;
}

.decor-1 { top: 15%; left: 8%; animation-delay: 0s; transform: rotate(-15deg); }
.decor-2 { top: 18%; right: 10%; animation-delay: 1.5s; transform: rotate(10deg); }
.decor-3 { bottom: 18%; left: 12%; animation-delay: 3s; transform: rotate(15deg); }
.decor-4 { bottom: 15%; right: 8%; animation-delay: 4.5s; transform: rotate(-10deg); }

@keyframes float {
    0%, 100% { 
        transform: translateY(0) rotate(var(--rotation, 0deg)); 
    }
    50% { 
        transform: translateY(-25px) rotate(var(--rotation, 0deg)); 
    }
}

/* Задаём поворот через CSS-переменную */
.decor-1 { --rotation: -15deg; }
.decor-2 { --rotation: 10deg; }
.decor-3 { --rotation: 15deg; }
.decor-4 { --rotation: -10deg; }

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin: 0 auto;
}

.cta-badge {
    display: inline-block;
    background: rgba(255, 140, 0, 0.15);
    color: orange;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    border: 1px solid rgba(255, 140, 0, 0.3);
    margin-bottom: 25px;
}

.cta-content h2 {
    color: white;
    font-size: 2.8rem;
    margin-bottom: 20px;
    line-height: 1.2;
    background: linear-gradient(135deg, #ff8c00, #ff4500, #ffd700);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.cta-content p {
    color: rgb(199, 184, 184);
    margin-bottom: 35px;
    font-size: 1.1rem;
    line-height: 1.7;
}

.cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* CONTACT FORM */
.contact-form {
    padding: 80px 0;
}

.contact-header {
    text-align: center;
    margin-bottom: 50px;
}

.contact-subtitle {
    color: rgb(158, 156, 156);
    font-size: 1.1rem;
    margin-top: 15px;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

/* ФОРМА */
.form {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    color: white;
    font-size: 14px;
    font-weight: 500;
    margin-left: 5px;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-wrapper svg {
    position: absolute;
    left: 18px;
    color: orange;
    opacity: 0.6;
    pointer-events: none;
    transition: all 0.3s ease;
    z-index: 1;
}

.textarea-wrapper {
    align-items: flex-start;
}

.textarea-wrapper svg {
    top: 20px;
    left: 18px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 20px 15px 50px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: white;
    font-size: 15px;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: orange;
    background: rgba(255, 140, 0, 0.05);
    box-shadow: 0 0 0 4px rgba(255, 140, 0, 0.1);
}

.form-group input:focus + svg,
.input-wrapper:focus-within svg {
    color: orange;
    opacity: 1;
    transform: scale(1.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgb(120, 118, 118);
}

.form-group textarea {
    resize: vertical;
    min-height: 130px;
    font-family: inherit;
}

.btn-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 16px;
    font-size: 16px;
    font-weight: 600;
    margin-top: 10px;
    transition: all 0.3s ease;
}

.btn-submit svg {
    transition: transform 0.3s ease;
}

.btn-submit:hover svg {
    transform: translateX(5px);
}

/* КОНТАКТНАЯ ИНФОРМАЦИЯ */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-info-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 20px;
    display: flex;
    gap: 18px;
    align-items: center;
    transition: all 0.3s ease;
}

.contact-info-card:hover {
    transform: translateX(8px);
    border-color: rgba(255, 140, 0, 0.3);
    background: rgba(255, 140, 0, 0.05);
}

.contact-info-icon {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(255, 140, 0, 0.1);
    border: 1px solid rgba(255, 140, 0, 0.2);
    color: orange;
    transition: all 0.3s ease;
}

.contact-info-card:hover .contact-info-icon {
    background: linear-gradient(135deg, #ff8c00, #ff4500);
    color: white;
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(255, 140, 0, 0.3);
}

.contact-info-card h4 {
    color: white;
    font-size: 15px;
    margin-bottom: 4px;
}

.contact-info-card p,
.contact-info-card a {
    color: rgb(199, 184, 184);
    font-size: 14px;
    text-decoration: none;
    transition: color 0.3s ease;
    margin-bottom: 4px;
}

.contact-info-card a:hover {
    color: orange;
}

.contact-hint {
    display: block;
    font-size: 12px;
    color: rgb(158, 156, 156);
    margin-top: 2px;
}

@media (max-width: 900px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
}

@media (max-width: 600px) {
    .cta {
        padding: 50px 25px;
    }
    
    .cta-content h2 {
        font-size: 1.6rem;
    }
    
    .cta-decor {
        display: none;
    }
    
    .form {
        padding: 30px 20px;
    }
    
    .cta-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .cta-buttons .btn {
        width: 100%;
    }
}

/* FOOTER */
footer {
    margin-top: 80px;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(158, 156, 156, 0.2);
    padding: 60px 40px 30px;
    border-radius: 24px 24px 0 0;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1.2fr;
    gap: 50px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(158, 156, 156, 0.15);
}

/* ЛЕВАЯ КОЛОНКА: Инфо */
.footerInfo {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-logo {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: linear-gradient(135deg, #ff8c00, #ff4500);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 800;
    color: white;
    margin-bottom: 5px;
    box-shadow: 0 5px 20px rgba(255, 140, 0, 0.3);
}

.footerInfo h3 {
    color: white;
    font-size: 1.4rem;
}

.footerDesc {
    color: rgb(199, 184, 184);
    font-size: 14px;
    line-height: 1.7;
    max-width: 350px;
}

.media {
    display: flex;
    gap: 12px;
    margin-top: 10px;
}

.social-link {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgb(199, 184, 184);
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-link:hover {
    background: linear-gradient(135deg, #ff8c00, #ff4500);
    color: white;
    transform: translateY(-3px);
    border-color: transparent;
    box-shadow: 0 5px 15px rgba(255, 140, 0, 0.4);
}

/* ЦЕНТР: Навигация */
.footerLinks {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footerLinks h4,
.footerContact h4 {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 10px;
    position: relative;
    padding-bottom: 10px;
}

.footerLinks h4::after,
.footerContact h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, #ff8c00, #ff4500);
    border-radius: 2px;
}

.footerLinks a {
    color: rgb(199, 184, 184);
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
    padding-left: 0;
}

.footerLinks a:hover {
    color: orange;
    transform: translateX(5px);
    padding-left: 8px;
}

.footerLinks a::before {
    content: '›';
    position: absolute;
    left: -10px;
    color: orange;
    opacity: 0;
    transition: all 0.3s ease;
}

.footerLinks a:hover::before {
    left: -5px;
    opacity: 1;
}

/* ПРАВАЯ: Контакты */
.footerContact {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.contact-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
    transition: all 0.3s ease;
}

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

.contact-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(255, 140, 0, 0.1);
    border: 1px solid rgba(255, 140, 0, 0.2);
    color: orange;
    transition: all 0.3s ease;
}

.contact-item:hover .contact-icon {
    background: linear-gradient(135deg, #ff8c00, #ff4500);
    color: white;
    transform: rotate(-5deg);
}

.contact-label {
    display: block;
    color: orange;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 3px;
    font-weight: 600;
}

.contact-item p,
.contact-item a {
    color: rgb(199, 184, 184);
    font-size: 14px;
    text-decoration: none;
    transition: color 0.3s ease;
    line-height: 1.5;
}

.contact-item a:hover {
    color: orange;
}

/* НИЗ: Копирайт */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    flex-wrap: wrap;
    gap: 15px;
}

.copyright {
    color: rgb(158, 156, 156);
    font-size: 13px;
}

.made-with {
    color: rgb(158, 156, 156);
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.heart-icon {
    animation: heartbeat 1.5s ease-in-out infinite;
    display: inline-block;
    vertical-align: middle;
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    25% { transform: scale(1.2); }
    50% { transform: scale(1); }
    75% { transform: scale(1.15); }
}

.coffee-icon {
    display: inline-block;
    vertical-align: middle;
}

@media (max-width: 900px) {
    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    
    .footerInfo {
        grid-column: span 2;
    }
}

@media (max-width: 600px) {
    footer {
        padding: 40px 20px 20px;
    }
    
    .footer-top {
        grid-template-columns: 1fr;
        gap: 35px;
    }
    
    .footerInfo {
        grid-column: span 1;
        text-align: center;
        align-items: center;
    }
    
    .footerDesc {
        margin: 0 auto;
    }
    
    .media {
        justify-content: center;
    }
    
    .footerLinks h4::after,
    .footerContact h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* SCROLL TOP BUTTON */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #ff8c00, #ff4500);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 140, 0, 0.4);
    z-index: 99;
}

.scroll-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(255, 140, 0, 0.6);
}

/* ANIMATIONS */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .stats-grid,
    .services-grid,
    .soft-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .education-grid {
        grid-template-columns: 1fr;
    }
    
    .headerLinks {
        gap: 15px;
    }
    
    nav a {
        font-size: 16px;
    }
    
    .logo {
        margin-right: 15px;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .headerLinks {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(0, 0, 0, 0.95);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 20px;
        gap: 15px;
    }
    
    .headerLinks.active {
        display: flex;
    }
    
    header {
        gap: 20px;
    }
    
    .logo {
        margin-right: 0;
    }
    
    .hero {
        flex-direction: column-reverse;
        text-align: center;
        gap: 30px;
    }
    
    .hero-content {
        align-items: center;
    }
    
    .hero-image img {
        width: 250px;
    }
    
    .greeting {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .services-grid,
    .soft-grid {
        grid-template-columns: 1fr;
    }
    
    .allCardsProdject {
        grid-template-columns: 1fr;
    }
    
    footer {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footerLinks {
        align-items: center;
    }
    
    .end {
        grid-column: span 1;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .greeting {
        font-size: 1.7rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-image img {
        width: 200px;
    }
    
    .section-content,
    .skills-content {
        padding: 25px;
    }
}