
/* Основной контейнер секции */
.portfolio-section {
    padding: 60px 0;
    color: #fff;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #0078d4; /* Характерный синий для .NET разработчика */
}

.section-subtitle {
    text-align: center;
    display: block;
    margin-bottom: 40px;
    font-size: 1.1rem;
    opacity: 0.8;
}

/* Сетка (Grid) */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 0 15px;
}

/* Карточка проекта */
.portfolio-card {
    background: rgba(255, 255, 255, 0.05); /* Эффект прозрачности */
    backdrop-filter: blur(10px); /* Размытие фона под карточкой */
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: flex;
    flex-direction: column;
}

.portfolio-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.1);
    border-color: #0078d4;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
}

/* Изображение */
.card-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Чтобы картинки не искажались */
    transition: transform 0.5s ease;
}

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

/* Контент карточки */
.card-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card-content h3 {
    margin: 0 0 10px 0;
    font-size: 1.4rem;
    color: #fff;
}

.project-desc {
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 20px;
    color: #ccc;
    flex-grow: 1;
}

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

.tech-tags span {
    background: rgba(0, 120, 212, 0.2);
    color: #0078d4;
    border: 1px solid #0078d4;
    padding: 4px 10px;
    font-size: 0.8rem;
    border-radius: 20px;
    font-weight: 600;
}

/* Адаптивность для мобилок */
@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }
    .portfolio-grid {
        grid-template-columns: 1fr; /* На мобильных в одну колонку */
    }
}














/* Общие настройки секции */
.about-section {
    padding: 80px 0;
    position: relative;
    z-index: 2;
}

/* Сетка для карточек */
.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

/* Стеклянная подложка (Glassmorphism) */
.glass {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 30px;
    transition: 0.3s;
}

.glass:hover {
    border-color: #0078d4;
    background: rgba(255, 255, 255, 0.06);
}

/* Списки и текст */
.skill-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.skill-list li {
    margin-bottom: 12px;
    padding-left: 25px;
    position: relative;
    color: #ccc;
}

.skill-list li::before {
    content: "✔";
    position: absolute;
    left: 0;
    color: #0078d4;
    font-weight: bold;
}

.btnx {
    display: inline-block;
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 20px;
    border-bottom: 2px solid #0078d4;
    padding-bottom: 5px;
}

/* Философия и кнопка */
.philosophy-block {
    margin-top: 40px;
    text-align: center;
}

.philosophy-block p {
    color: #ddd;
    max-width: 800px;
    margin: 0 auto 30px auto;
    line-height: 1.6;
}

.contact-action {
    margin-top: 20px;
}

.btnz {
    background: #0078d4;
    color: white !important;
    padding: 12px 35px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(0, 120, 212, 0.3);
}

.btnz:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 120, 212, 0.5);
}

/* Адаптация под мобильные */
@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
    }
}


























/* Контейнер */
.courses-container {
    padding: 40px 0;
    display: flex;
    justify-content: center;
}

/* Карточка-стекло */
.course-card {
    display: flex;
    width: 100%;
    max-width: 900px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Левая часть (Превью) */
.course-preview {
    background-color: #0078d4; /* Фирменный синий Microsoft */
    background-image: linear-gradient(135deg, #0078d4 0%, #005a9e 100%);
    padding: 40px;
    width: 35%;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.course-preview h6 {
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.8;
    margin: 0;
}

.course-preview h2 {
    font-size: 2rem;
    margin: 15px 0;
    line-height: 1.2;
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 20px 0;
}

.tech-stack span {
    background: rgba(255, 255, 255, 0.2);
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: bold;
}

/* Правая часть (Инфо) */
.course-info {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 40px;
    width: 65%;
    color: #fff;
    position: relative;
}

/* Прогресс-бар */
.progress-wrapper {
    margin-bottom: 25px;
}

.progress-bar {
    background: rgba(255, 255, 255, 0.1);
    height: 8px;
    border-radius: 4px;
    margin-bottom: 8px;
}

.progress-fill {
    height: 100%;
    background: #25d366; /* Зеленый - успех */
    border-radius: 4px;
    box-shadow: 0 0 10px #25d366;
}

.progress-text {
    font-size: 0.8rem;
    text-transform: uppercase;
    font-weight: bold;
    color: #25d366;
}

/* Список услуг */
.services-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    font-size: 0.9rem;
    margin-bottom: 25px;
    color: #ccc;
}

.service-item {
    padding: 5px 0;
}

.course-description p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #aaa;
}

.highlight {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 15px;
    color: #0078d4 !important;
    font-weight: 600;
}

/* Адаптивность для мобильных */
@media (max-width: 768px) {
    .course-card {
        flex-direction: column;
    }
    .course-preview, .course-info {
        width: 100%;
    }
    .services-list {
        grid-template-columns: 1fr;
    }
}




















.process-section {
    padding: 60px 0;
    margin: 40px 0;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    position: relative;
    margin-top: 40px;
}

.step {
    position: relative;
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    border-left: 2px solid rgba(0, 120, 212, 0.3);
    transition: 0.3s;
}

.step:hover {
    background: rgba(255, 255, 255, 0.07);
    border-left-color: #0078d4;
    transform: translateX(5px);
}

.step-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: rgba(0, 120, 212, 0.2);
    position: absolute;
    top: 10px;
    right: 20px;
    font-family: 'Arial Black', sans-serif;
}

.step-content h3 {
    margin-top: 0;
    font-size: 1.2rem;
    color: #0078d4;
    position: relative;
    z-index: 1;
}

.step-content p {
    font-size: 0.9rem;
    line-height: 1.5;
    color: #ccc;
    margin: 0;
}

/* Выделение активного этапа (Кодирование) */
.step.active {
    border-left-color: #0078d4;
    box-shadow: inset 0 0 15px rgba(0, 120, 212, 0.1);
}

.step.active .step-number {
    color: rgba(0, 120, 212, 0.5);
}

/* Адаптивность */
@media (max-width: 768px) {
    .process-steps {
        grid-template-columns: 1fr;
    }
    .step {
        margin-bottom: 10px;
    }
}

























.expertise-section {
    padding: 50px 0;
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.expertise-card {
    padding: 30px;
    text-align: left;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: 0.3s;
}

.expertise-card h3 {
    color: #0078d4;
    font-size: 1.3rem;
    margin: 15px 0;
}

.expertise-card p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #ccc;
    margin-bottom: 20px;
}

/* Иконки */
.expertise-icon {
    font-size: 2rem;
    color: #0078d4;
}

/* Метки и списки */
.sub-skills span, .os-tags span {
    display: inline-block;
    padding: 3px 10px;
    margin: 3px;
    font-size: 0.75rem;
    background: rgba(0, 120, 212, 0.1);
    border: 1px solid rgba(0, 120, 212, 0.3);
    border-radius: 4px;
    color: #fff;
}

.tech-list, .check-list {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.85rem;
    color: #ddd;
}

.tech-list li {
    margin-bottom: 8px;
}

.check-list li {
    color: #25d366; /* Зеленый для галочек */
    margin-bottom: 5px;
}

/* Адаптивность */
@media (max-width: 600px) {
    .expertise-card {
        padding: 20px;
    }
}




















.main-header {
    padding: 15px 0;
    position: sticky; /* Хедер будет прилипать при скролле */
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.header-logo {
    display: flex;
    flex-direction: column;
}

.tagline {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #0078d4;
    margin-top: 5px;
    font-weight: bold;
}

.header-info-group {
    display: flex;
    gap: 30px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.info-item i {
    font-size: 1.5rem;
    color: #0078d4;
}

.info-text {
    display: flex;
    flex-direction: column;
}

.info-text small {
    font-size: 10px;
    text-transform: uppercase;
    color: #888;
    margin-bottom: 2px;
}

.info-text a, .info-text span {
    font-size: 13px;
    color: #fff;
    text-decoration: none;
    transition: 0.3s;
}

.info-text a:hover {
    color: #0078d4;
}

/* Адаптивность */
@media (max-width: 992px) {
    .header-info-group {
        gap: 15px;
    }
    .hide-mobile {
        display: none;
    }
}

@media (max-width: 768px) {
    .header-flex {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    .header-info-group {
        flex-direction: column;
        gap: 15px;
    }
    .info-item {
        justify-content: center;
    }
}
















.main-footer {
    padding: 60px 0 20px;
    margin-top: 50px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Навигация */
.footer-nav {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 20px;
    margin-bottom: 40px;
}

.nav-links {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 30px;
}

.nav-links a {
    color: #888;
    text-decoration: none;
    font-size: 0.9rem;
    letter-spacing: 1px;
    transition: 0.3s;
}

.nav-links a:hover {
    color: #0078d4;
}

/* Сетка контента */
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    color: #fff;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.quote-text {
    font-style: italic;
    color: #aaa;
    line-height: 1.6;
    border-left: 3px solid #0078d4;
    padding-left: 20px;
}

/* Соцсети */
.social-icons {
    display: flex;
    gap: 15px;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.social-icons a {
    color: #fff;
    opacity: 0.6;
    transition: 0.3s;
}

.social-icons a:hover {
    opacity: 1;
    color: #0078d4;
    transform: translateY(-3px);
}

/* Блок Биткоина */
.bitcoin-block {
    padding: 30px;
    text-align: center;
    margin-bottom: 40px;
}

.bitcoin-block blockquote p {
    font-size: 1.1rem;
    color: #ddd;
    margin-bottom: 10px;
}

.blockquote-footer {
    color: #888;
    font-size: 0.9rem;
}

.fa-bitcoin {
    color: #df8613;
}

.bitcoin-links {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-outline {
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 8px 20px;
    border-radius: 20px;
    color: #fff;
    text-decoration: none;
    font-size: 0.8rem;
    transition: 0.3s;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
}

.btn-btc {
    background: #df8613;
    padding: 8px 25px;
    border-radius: 20px;
    color: #fff;
    font-weight: bold;
    text-decoration: none;
}

/* Подвал */
.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 20px;
    color: #666;
    font-size: 0.85rem;
}

/* Адаптивность */
@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .nav-links {
        flex-direction: column;
        gap: 10px;
    }
    .quote-text {
        border-left: none;
        border-top: 2px solid #0078d4;
        padding: 15px 0 0;
    }
    .social-icons {
        justify-content: center;
    }
}















.site-nav {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 10px 0;
}

.nav-wrapper {
    display: flex;
    justify-content: flex-end; /* Сдвигаем меню вправо, как было у тебя */
    align-items: center;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 30px;
}

.nav-link {
    color: #fff;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    transition: 0.3s;
    opacity: 0.7;
}

.nav-link:hover {
    opacity: 1;
    color: #0078d4;
    text-shadow: 0 0 10px rgba(0, 120, 212, 0.5);
}

/* Стили для мобильного "Гамбургера" */
.menu-toggle {
    display: none; /* Скрыт на ПК */
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.menu-toggle .bar {
    width: 25px;
    height: 2px;
    background-color: #fff;
    transition: 0.3s;
}

/* Адаптивность */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .nav-menu {
        display: none; /* Скрываем основное меню на мобилках */
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        flex-direction: column;
        background: rgba(10, 10, 10, 0.95);
        padding: 20px;
        text-align: center;
        gap: 20px;
        border-bottom: 1px solid #0078d4;
    }

    .nav-menu.active {
        display: flex; /* Показываем при клике */
    }
}


















/* Основная панель */
.main-nav-bar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Брендинг */
.nav-brand {
    font-size: 1.2rem;
    font-weight: 800;
    color: #fff;
    text-decoration: none;
    letter-spacing: 2px;
}

.nav-brand span {
    color: #0078d4;
}

/* Группа справа */
.nav-right-group {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 25px;
}

.nav-link {
    font-size: 0.8rem;
    font-weight: 600;
    color: #fff;
    opacity: 0.7;
    text-decoration: none;
    letter-spacing: 1px;
    transition: 0.3s;
}

.nav-link:hover, .nav-link.active {
    opacity: 1;
    color: #0078d4;
}

/* Переключатель языков */
.lang-switcher {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.05);
    padding: 5px 12px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.lang-btn {
    font-size: 0.75rem;
    color: #fff;
    text-decoration: none;
    opacity: 0.5;
    transition: 0.3s;
}

.lang-btn.active, .lang-btn:hover {
    opacity: 1;
    color: #0078d4;
    font-weight: bold;
}

.lang-divider {
    color: rgba(255, 255, 255, 0.2);
    font-size: 0.8rem;
}

/* Мобильная адаптация */
@media (max-width: 992px) {
    .nav-right-group {
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none; /* Логика открытия через JS как в прошлом шаге */
    }
    .lang-switcher {
        margin-right: 50px; /* Чтобы не мешал кнопке гамбургера */
    }
}