 /* ===== СБРОС И БАЗОВЫЕ СТИЛИ ===== */
 * {
     margin: 0;
     padding: 0;
     box-sizing: border-box;
 }

 html {
     scroll-behavior: smooth;
 }

 body {
     font-family: 'Inter', sans-serif;
     line-height: 1.6;
     color: #333;
     background-color: #f9f9f9;
 }

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

 section {
     padding: 80px 0;
 }

 h1,
 h2,
 h3 {
     font-weight: 700;
     line-height: 1.2;
     margin-bottom: 20px;
 }

 h1 {
     font-size: 3rem;
     margin-bottom: 10px;
 }

 h2 {
     font-size: 2.5rem;
     text-align: center;
     margin-bottom: 50px;
     color: #2c3e50;
     position: relative;
 }

 h2:after {
     content: '';
     position: absolute;
     width: 60px;
     height: 4px;
     background: #3498db;
     bottom: -15px;
     left: 50%;
     transform: translateX(-50%);
 }

 p {
     margin-bottom: 15px;
     color: #555;
 }

 .btn {
     display: inline-block;
     padding: 12px 30px;
     background: #3498db;
     color: white;
     border: none;
     border-radius: 5px;
     cursor: pointer;
     text-decoration: none;
     font-weight: 600;
     transition: all 0.3s ease;
 }

 .btn:hover {
     background: #2980b9;
     transform: translateY(-3px);
     box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
 }

 .btn-outline {
     background: transparent;
     border: 2px solid #3498db;
     color: #3498db;
     margin-left: 10px;
 }

 .btn-outline:hover {
     background: #3498db;
     color: white;
 }

 /* ===== HEADER ===== */
 header {
     position: fixed;
     top: 0;
     width: 100%;
     background: white;
     box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
     z-index: 1000;
 }

 nav {
     display: flex;
     justify-content: space-between;
     align-items: center;
     padding: 20px 0;
 }

 .logo {
     font-size: 1.8rem;
     font-weight: 700;
     color: #2c3e50;
     text-decoration: none;
 }

 .logo span {
     color: #3498db;
 }

 .nav-links {
     display: flex;
     align-items: center;
     gap: 30px;
     list-style: none;
 }

 .nav-links a:not(.btn) {
     text-decoration: none;
     color: #333;
     font-weight: 500;
     transition: color 0.3s;
 }

 .nav-links a:not(.btn):hover {
     color: #3498db;
 }

 .menu-toggle {
     display: none;
     font-size: 1.5rem;
     cursor: pointer;
 }

 /* ===== HERO SECTION ===== */
 .hero {
     padding-top: 150px;
     background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
     min-height: 100vh;
     display: flex;
     align-items: center;

     h1 {
        text-wrap: nowrap;
     }
 }

 .hero-content {
     display: flex;
     align-items: center;
     justify-content: space-between;
     gap: 50px;
 }

 .hero-text {
     flex: 1;
 }

 .hero-text p {
     font-size: 1.2rem;
     margin-bottom: 30px;
     color: #555;
     text-align: center;
 }

 .hero-btns {
    display: flex;
    justify-content: center;
    margin-top: 30px;
 }

 .hero-image {
     flex: 1;
     text-align: center;
 }

 .hero-image img {
     width: 100%;
     max-width: 400px;
     border-radius: 20px;
     box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
 }

 .highlight {
     color: #3498db;
 }

 /* ===== ABOUT/RESUME SECTION ===== */
 .about-grid {
     display: grid;
     grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
     gap: 30px;
     margin-top: 40px;
 }

 .info-card {
     background: white;
     padding: 30px;
     border-radius: 10px;
     box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
 }

 .info-card h3 {
     color: #2c3e50;
     margin-bottom: 20px;
     display: flex;
     align-items: center;
     gap: 10px;
 }

 .info-card h3 i {
     color: #3498db;
 }

 .contact-item,
 .edu-item,
 .exp-item {
     margin-bottom: 15px;
     padding-bottom: 15px;
     border-bottom: 1px solid #eee;
 }

 .contact-item:last-child,
 .edu-item:last-child,
 .exp-item:last-child {
     border-bottom: none;
 }

 .contact-item a {
     color: #3498db;
     text-decoration: none;
 }

 .contact-item a:hover {
     text-decoration: underline;
 }

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

 .skill-tag {
     background: #e3f2fd;
     color: #1565c0;
     padding: 5px 15px;
     border-radius: 20px;
     font-size: 0.9rem;
     font-weight: 500;
 }

 /* ===== PORTFOLIO SECTION ===== */
 .portfolio-grid {
     display: grid;
     grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
     gap: 30px;
     margin-top: 40px;
 }

 .project-card {
     background: white;
     border-radius: 10px;
     overflow: hidden;
     box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
     transition: transform 0.3s ease;
 }

 .project-card:hover {
     transform: translateY(-10px);
 }

 .project-img {
     height: 200px;
     background: #ddd;
     overflow: hidden;
 }

 .project-img img {
     width: 100%;
     height: 100%;
     object-fit: cover;
     transition: transform 0.5s;
 }

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

 .project-content {
     padding: 25px;
 }

 .project-content h3 {
     margin-bottom: 10px;
     color: #2c3e50;
 }

 .project-tech {
     display: flex;
     flex-wrap: wrap;
     gap: 8px;
     margin: 15px 0;
 }

 .tech-tag {
     background: #f1f8ff;
     color: #0366d6;
     padding: 4px 10px;
     border-radius: 15px;
     font-size: 0.8rem;
 }

 .project-links {
     display: flex;
     gap: 15px;
     margin-top: 20px;
 }

 .project-links a {
     color: #3498db;
     text-decoration: none;
     font-weight: 500;
     display: flex;
     align-items: center;
     gap: 5px;
     transition: color 0.3s;
 }

 .project-links a:hover {
     color: #2980b9;
 }

 /* ===== CONTACT SECTION ===== */
 .contact-section {
     background: #2c3e50;
     color: white;
 }

 .contact-section h2 {
     color: white;
 }

 .contact-section h2:after {
     background: #3498db;
 }

 .contact-container {
     display: flex;
     justify-content: space-between;
     gap: 50px;
     margin-top: 40px;
 }

 .contact-info {
     flex: 1;
 }

 .contact-info p {
     color: #ecf0f1;
     margin-bottom: 20px;
 }

 .social-links {
     display: flex;
     gap: 20px;
     margin-top: 30px;
 }

 .social-links a {
     display: inline-flex;
     align-items: center;
     justify-content: center;
     width: 50px;
     height: 50px;
     background: rgba(255, 255, 255, 0.1);
     border-radius: 50%;
     color: white;
     font-size: 1.2rem;
     transition: all 0.3s;
     text-decoration: none;
 }

 .social-links a:hover {
     background: #3498db;
     transform: translateY(-5px);
 }

 .contact-form {
     flex: 1;
 }

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

 .form-group input,
 .form-group textarea {
     width: 100%;
     padding: 12px 15px;
     border: none;
     border-radius: 5px;
     background: rgba(255, 255, 255, 0.1);
     color: white;
     font-family: 'Inter', sans-serif;
 }

 .form-group input::placeholder,
 .form-group textarea::placeholder {
     color: #bdc3c7;
 }

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

 /* ===== FOOTER ===== */
 footer {
     background: #1a252f;
     color: #bdc3c7;
     text-align: center;
     padding: 30px 0;
 }

 /* ===== АДАПТИВНОСТЬ ===== */
 @media (max-width: 992px) {
     h1 {
         font-size: 2.5rem;
     }

     h2 {
         font-size: 2rem;
     }

     .hero-content {
         flex-direction: column;
         text-align: center;
     }

     .contact-container {
         flex-direction: column;
     }
 }

 @media (max-width: 768px) {
     .menu-toggle {
         display: block;
     }

     .nav-links {
         position: fixed;
         top: 70px;
         left: 0;
         width: 100%;
         background: white;
         flex-direction: column;
         align-items: center;
         padding: 20px 0;
         box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
         transform: translateY(-100%);
         opacity: 0;
         transition: all 0.3s ease;
     }

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

     .nav-links li {
         margin: 15px 0;
     }

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

     .hero-btns .btn {
         display: block;
         width: 100%;
         margin-bottom: 10px;
     }

     .btn-outline {
         margin-left: 0;
     }
 }

 @media (max-width: 480px) {
     h1 {
         font-size: 2rem;
     }

     h2 {
         font-size: 1.8rem;
     }

     section {
         padding: 60px 0;
     }

     .hero {
         padding-top: 120px;
     }
 }