        :root {
            --primary-gradient: linear-gradient(135deg, #00b894 0%, #00cec9 50%, #0984e3 100%);
            --secondary-gradient: linear-gradient(135deg, #6c5ce7 0%, #a29bfe 100%);
            --accent-gradient: linear-gradient(135deg, #fdcb6e 0%, #e17055 100%);
            --dark-gradient: linear-gradient(135deg, #2d3436 0%, #636e72 100%);
            --text-bright: #ffffff;
            --text-dark: #1a1a2e;
            --text-muted: #4a4a6a;
            --card-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
            --card-shadow-hover: 0 20px 60px rgba(0, 184, 148, 0.25);
            --glow-effect: 0 0 20px rgba(0, 206, 201, 0.4);
        }

        * {
            transition: all 0.3s ease;
        }

        body {
            font-family: 'Manrope', sans-serif;
            background: #fafbfc;
            color: var(--text-dark);
            overflow-x: hidden;
        }

        /* === HEADER === (legacy; skip unified home chrome) */
        .site-header:not(.site-header--home) {
            background: var(--primary-gradient);
            padding: 0.8rem 0;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
            position: relative;
            z-index: 1000;
        }

        .site-header:not(.site-header--home)::before {
            content: '';
            position: absolute;
            top: 0; left: 0; right: 0; bottom: 0;
            background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.08'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
            opacity: 0.5;
        }

        .site-header-icon {
            font-size: 1.3rem;
            animation: pulse 2s infinite;
        }

        @keyframes pulse {
            0%, 100% { opacity: 1; transform: scale(1); }
            50% { opacity: 0.8; transform: scale(1.1); }
        }

        .social-icon-link {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background: rgba(255,255,255,0.2);
            display: flex;
            align-items: center;
            justify-content: center;
            color: white !important;
            font-size: 1.1rem;
            margin: 0 5px;
        }

        .social-icon-link:hover {
            background: white;
            color: var(--text-dark) !important;
            transform: translateY(-3px);
            box-shadow: 0 5px 15px rgba(0,0,0,0.2);
        }

        /* === NAVBAR === (legacy; skip unified home chrome) */
        .navbar:not(.navbar--home) {
            background: white !important;
            box-shadow: 0 5px 30px rgba(0, 0, 0, 0.08);
            padding: 1rem 0;
        }

        .navbar:not(.navbar--home) .nav-link {
            font-weight: 600;
            color: var(--text-dark) !important;
            padding: 0.5rem 1rem;
            position: relative;
        }

        .navbar:not(.navbar--home) .nav-link::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 50%;
            width: 0;
            height: 3px;
            background: var(--primary-gradient);
            transition: all 0.3s ease;
            transform: translateX(-50%);
            border-radius: 2px;
        }

        .navbar:not(.navbar--home) .nav-link:hover::after,
        .navbar:not(.navbar--home) .nav-link.active::after {
            width: 80%;
        }

        .navbar:not(.navbar--home) .nav-link:hover {
            color: #00b894 !important;
        }

        
        .navbar:not(.navbar--home) .navbar-toggler-icon {
            background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%2300b894' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
        }

        /* === HERO SECTION === */
        .hero-section {
            background: var(--primary-gradient);
            color: white;
            padding: 5rem 0;
            position: relative;
            overflow: hidden;
        }

        .hero-section::before {
            content: '';
            position: absolute;
            top: -50%;
            right: -20%;
            width: 600px;
            height: 600px;
            border-radius: 50%;
            background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, transparent 70%);
            animation: float 6s ease-in-out infinite;
        }

        .hero-section::after {
            content: '';
            position: absolute;
            bottom: -30%;
            left: -10%;
            width: 400px;
            height: 400px;
            border-radius: 50%;
            background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
            animation: float 8s ease-in-out infinite reverse;
        }

        @keyframes float {
            0%, 100% { transform: translateY(0) scale(1); }
            50% { transform: translateY(-20px) scale(1.05); }
        }

        .hero-section h1 {
            font-weight: 800;
            text-shadow: 0 2px 10px rgba(0,0,0,0.2);
            animation: slideUp 0.8s ease;
        }

        .hero-section .lead {
            font-size: 1.25rem;
            line-height: 1.7;
            animation: slideUp 0.8s ease 0.2s both;
        }

        @keyframes slideUp {
            from { opacity: 0; transform: translateY(30px); }
            to { opacity: 1; transform: translateY(0); }
        }

        .hero-section .badge {
            font-weight: 600;
            padding: 0.6rem 1.2rem;
            border-radius: 50px;
            box-shadow: 0 4px 15px rgba(0,0,0,0.1);
            animation: fadeIn 0.6s ease both;
        }

        .hero-section .badge:nth-child(1) { animation-delay: 0.4s; }
        .hero-section .badge:nth-child(2) { animation-delay: 0.5s; }
        .hero-section .badge:nth-child(3) { animation-delay: 0.6s; }
        .hero-section .badge:nth-child(4) { animation-delay: 0.7s; }

        @keyframes fadeIn {
            from { opacity: 0; transform: scale(0.9); }
            to { opacity: 1; transform: scale(1); }
        }

        .hero-section .btn-warning {
            background: linear-gradient(135deg, #fdcb6e, #e17055);
            border: none;
            font-weight: 700;
            padding: 0.9rem 2rem;
            box-shadow: 0 8px 25px rgba(225, 112, 85, 0.4);
            position: relative;
            overflow: hidden;
        }

        .hero-section .btn-warning::before {
            content: '';
            position: absolute;
            top: 0; left: -100%;
            width: 100%; height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
            transition: left 0.5s;
        }

        .hero-section .btn-warning:hover::before {
            left: 100%;
        }

        .hero-section .btn-warning:hover {
            transform: translateY(-3px);
            box-shadow: 0 12px 35px rgba(225, 112, 85, 0.6);
            background: linear-gradient(135deg, #e17055, #fdcb6e);
        }

        .hero-section .btn-outline-light {
            border: 2px solid white;
            font-weight: 600;
            padding: 0.85rem 2rem;
        }

        .hero-section .btn-outline-light:hover {
            background: white;
            color: #00b894 !important;
            transform: translateY(-3px);
            box-shadow: 0 10px 30px rgba(0,0,0,0.2);
        }

        .hero-section img {
            border-radius: 20px;
            box-shadow: var(--card-shadow-hover);
            animation: floatImage 4s ease-in-out infinite;
            border: 4px solid rgba(255,255,255,0.3);
        }

        @keyframes floatImage {
            0%, 100% { transform: translateY(0); }
            50% { transform: translateY(-10px); }
        }

        /* === SECTIONS COMMON === */
        section {
            position: relative;
        }

        section::before {
            content: '';
            position: absolute;
            top: 0; left: 0; right: 0;
            height: 4px;
            background: var(--primary-gradient);
            opacity: 0;
            transition: opacity 0.3s;
        }

        section:hover::before {
            opacity: 1;
        }

        .divider {
            background: var(--accent-gradient) !important;
            height: 4px !important;
            border-radius: 2px;
        }

        .border-warning {
            border-color: #fdcb6e !important;
            border-width: 4px !important;
        }

        /*Индивид. обучение*/
         /* ===== Индивидуальное обучение ===== */
        .individual-card {
            background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
            border: 3px solid #fb923c;
            border-radius: 20px;
            padding: 2.5rem;
            margin-top: 3rem;
            box-shadow: 0 10px 40px rgba(251, 146, 60, 0.2);
            position: relative;
            overflow: hidden;
        }

        .individual-card::before {
            content: '🎯';
            position: absolute;
            top: 20px;
            right: 20px;
            font-size: 3rem;
            opacity: 0.2;
        }

        .individual-title {
            font-size: 2rem;
            font-weight: 800;
            color: #1a1a2e;
            margin-bottom: 1rem;
            display: flex;
            align-items: center;
            gap: 0.75rem;
        }

        .individual-price {
            font-size: 2.25rem;
            font-weight: 800;
            color: #f97316;
            margin: 1.5rem 0;
        }

        .individual-features {
            list-style: none;
            padding: 0;
            margin: 1.5rem 0;
        }

        .individual-features li {
            padding: 0.75rem 0;
            display: flex;
            align-items: flex-start;
            gap: 0.75rem;
        }

        .individual-features i {
            color: #059669;
            font-size: 1.2rem;
            margin-top: 0.2rem;
        }
        /* === CARDS === */
        .card {
            border-radius: 20px !important;
            background: white;
            border: none !important;
            box-shadow: var(--card-shadow);
            overflow: hidden;
            position: relative;
        }

        .card::before {
            content: '';
            position: absolute;
            top: 0; left: 0; right: 0;
            height: 4px;
            background: var(--primary-gradient);
            transform: scaleX(0);
            transition: transform 0.4s ease;
        }

        .card:hover::before {
            transform: scaleX(1);
        }

        .card:hover {
            transform: translateY(-8px);
            box-shadow: var(--card-shadow-hover);
        }

        .card i {
            background: var(--primary-gradient);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .card.text-center i.fs-1 {
            font-size: 3rem !important;
            filter: drop-shadow(0 4px 10px rgba(0, 184, 148, 0.3));
        }

        /* === BENEFITS & FEATURES === */
        .benefit-icon, .program-icon {
            background: var(--secondary-gradient);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            font-weight: bold;
        }

        .learning-card .icon-wrapper {
            background: var(--primary-gradient) !important;
            box-shadow: 0 8px 25px rgba(0, 184, 148, 0.35);
        }

        .learning-card:hover .icon-wrapper {
            transform: scale(1.05);
            box-shadow: 0 12px 35px rgba(0, 184, 148, 0.5);
        }

        /* === TECH STACK === */
        .tech-stack {
            background: linear-gradient(135deg, #f8f9fa 0%, #e8f4f8 100%);
            border-radius: 20px;
            padding: 1.5rem;
            margin-bottom: 1.5rem;
            border: 2px solid rgba(0, 184, 148, 0.2);
        }

        .tech-stack span {
            display: inline-block;
            background: white;
            padding: 0.5rem 1.2rem;
            border-radius: 50px;
            margin: 0.3rem;
            font-weight: 600;
            font-size: 0.85rem;
            box-shadow: 0 4px 15px rgba(0,0,0,0.08);
            border: 2px solid transparent;
            transition: all 0.3s ease;
            color: var(--text-dark);
        }

        .tech-stack span:hover {
            border-color: #00b894;
            transform: translateY(-3px);
            box-shadow: 0 8px 25px rgba(0, 184, 148, 0.3);
            color: #00b894;
        }

        /* === FINAL PROJECT CARD === */
        .final-project-card {
            background: var(--primary-gradient);
            color: white;
            border-radius: 24px;
            overflow: hidden;
            box-shadow: 0 20px 60px rgba(0, 184, 148, 0.35);
            position: relative;
        }

        .final-project-card::before {
            content: '';
            position: absolute;
            top: -50%; right: -20%;
            width: 400px; height: 400px;
            border-radius: 50%;
            background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, transparent 70%);
        }

        .final-project-card .badge,
        .final-project-card .badge.bg-light,
        .final-project-card .badge.bg-light.text-dark,
        #program .final-project-card .tech-badges .badge {
            background: rgba(14, 165, 233, 0.18) !important;
            border: 1px solid rgba(125, 211, 252, 0.45) !important;
            color: #f0f9ff !important;
            -webkit-text-fill-color: #f0f9ff !important;
            font-weight: 700 !important;
            padding: 0.5rem 1rem;
            box-shadow: none !important;
        }

        .final-project-card .badge *,
        .final-project-card .badge i,
        .final-project-card .badge.bg-light *,
        #program .final-project-card .tech-badges .badge *,
        #program .final-project-card .tech-badges .badge i {
            color: #f0f9ff !important;
            -webkit-text-fill-color: #f0f9ff !important;
        }

        .final-project-card .badge.bg-danger,
        .final-project-card .badge.bg-danger.text-white {
            background: linear-gradient(100deg, #ea580c, #f59e0b) !important;
            border-color: rgba(253, 186, 116, 0.45) !important;
            color: #111827 !important;
            -webkit-text-fill-color: #111827 !important;
        }

        .final-project-card .badge.bg-danger *,
        .final-project-card .badge.bg-danger.text-white * {
            color: #111827 !important;
            -webkit-text-fill-color: #111827 !important;
        }

        .final-project-card .badge.bg-secondary,
        .final-project-card .badge.bg-secondary.text-white {
            background: rgba(255, 255, 255, 0.12) !important;
            border: 1px solid rgba(226, 232, 240, 0.3) !important;
            color: #f8fafc !important;
            -webkit-text-fill-color: #f8fafc !important;
        }

        .final-project-card .badge.bg-secondary *,
        .final-project-card .badge.bg-secondary.text-white * {
            color: #f8fafc !important;
            -webkit-text-fill-color: #f8fafc !important;
        }

        .final-project-card .project-features li {
            font-weight: 500;
            padding: 0.4rem 0;
        }

        .final-project-card .project-features li i {
            color: #fdcb6e !important;
            font-size: 1.3rem;
            filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
        }

        .final-project-card i.bi-journal-bookmark-fill {
            background: linear-gradient(135deg, #fdcb6e, #e17055);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            filter: drop-shadow(0 10px 20px rgba(0,0,0,0.3));
        }

        /* === ACCORDION === */
        .accordion-item {
            border-radius: 16px !important;
            margin-bottom: 1rem !important;
            overflow: hidden;
            border: none !important;
            box-shadow: var(--card-shadow);
        }

        .accordion-button {
            font-weight: 700 !important;
            background: white !important;
            color: var(--text-dark) !important;
            padding: 1.3rem 1.5rem !important;
            font-size: 1.1rem;
        }

        .accordion-button:not(.collapsed) {
            background: linear-gradient(135deg, #e8f8f5, #d4f1f4) !important;
            color: #00695c !important;
            box-shadow: inset 0 2px 0 rgba(0, 184, 148, 0.3);
        }

        .accordion-button::after {
            background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%2300b894'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e") !important;
            width: 1.4rem;
            height: 1.4rem;
        }

        .accordion-button:not(.collapsed)::after {
            background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%2300695c'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e") !important;
            transform: rotate(-180deg);
        }

        .accordion-body {
            background: #fafbfc;
            padding: 1.5rem !important;
        }

        .accordion-body li {
            padding: 0.5rem 0;
            font-weight: 500;
        }

        .module-duration {
            background: var(--accent-gradient) !important;
            color: white !important;
            padding: 0.3rem 0.9rem !important;
            border-radius: 20px;
            font-weight: 700;
            margin-left: 1rem;
            box-shadow: 0 4px 12px rgba(225, 112, 85, 0.3);
        }

        /* === TEACHER SECTION — см. css/teacher-photo.css === */

        .teacher-badge {
            background: linear-gradient(135deg, #e8f8f5, #d4f1f4) !important;
            color: #00695c !important;
            font-weight: 600;
            border: 2px solid rgba(0, 184, 148, 0.3);
            padding: 0.5rem 1rem !important;
        }

        .teacher-badge:hover {
            background: var(--primary-gradient) !important;
            color: white !important;
            border-color: transparent;
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(0, 184, 148, 0.4);
        }

        /* === PRICING === */
        .card-header {
            background: linear-gradient(135deg, #f8f9fa, #e8f4f8) !important;
            border-bottom: 3px solid #00b894 !important;
        }

        .card-header.bg-success {
            background: var(--primary-gradient) !important;
            border-bottom: 3px solid white !important;
        }

        .card .display-5 {
            background: var(--primary-gradient);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            font-weight: 800;
        }

        .card-header.bg-success .display-5 {
            background: white;
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        .btn-success, .btn-outline-success {
            background: var(--primary-gradient) !important;
            border: none !important;
            font-weight: 700;
            padding: 0.7rem 1.5rem;
            box-shadow: 0 6px 20px rgba(0, 184, 148, 0.3);
        }

        .btn-success:hover, .btn-outline-success:hover {
            transform: translateY(-3px);
            box-shadow: 0 10px 30px rgba(0, 184, 148, 0.5);
            filter: brightness(1.05);
        }

        .btn-outline-success {
            background: white !important;
            color: #00b894 !important;
            border: 2px solid #00b894 !important;
        }

        /* === REVIEWS === */
        .text-warning {
            color: #fdcb6e !important;
            text-shadow: 0 2px 4px rgba(0,0,0,0.1);
        }

        /* === SIGN UP SECTION === */
        #signup {
            background: var(--secondary-gradient);
            position: relative;
            overflow: hidden;
        }

        #signup::before {
            content: '';
            position: absolute;
            top: -50%; right: -30%;
            width: 600px; height: 600px;
            border-radius: 50%;
            background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, transparent 70%);
        }

        #signup .form-control {
            border-radius: 12px;
            border: 2px solid rgba(255,255,255,0.3);
            background: rgba(255,255,255,0.95);
            padding: 0.9rem 1.2rem;
            font-weight: 500;
        }

        #signup .form-control:focus {
            border-color: white;
            box-shadow: 0 0 0 0.25rem rgba(255,255,255,0.4);
            background: white;
        }

        #signup .btn-dark {
            background: var(--dark-gradient) !important;
            border: none;
            font-weight: 700;
            padding: 1rem;
            border-radius: 12px;
            box-shadow: 0 8px 25px rgba(0,0,0,0.3);
        }

        #signup .btn-dark:hover {
            transform: translateY(-3px);
            box-shadow: 0 12px 35px rgba(0,0,0,0.4);
            filter: brightness(1.1);
        }

        /* === FAQ === */
        #faqAccordion .accordion-button {
            background: linear-gradient(135deg, #fff, #f8f9fa) !important;
        }

        /* === CONTACTS === */
        .google-map {
            border-radius: 20px !important;
            box-shadow: var(--card-shadow);
            border: 4px solid white;
        }

        /* === FOOTER === */
        footer {
            background: linear-gradient(135deg, #1a1a2e, #16213e) !important;
            position: relative;
            color: #ffffff !important;
        }

        footer.site-footer p.site-footer__brand {
            color: #ffe08a !important;
            -webkit-text-fill-color: #ffe08a !important;
        }

        footer.site-footer p.site-footer__lead,
        footer.site-footer p.site-footer__copy {
            color: #ffffff !important;
            -webkit-text-fill-color: #ffffff !important;
        }

        footer::before {
            content: '';
            position: absolute;
            top: 0; left: 0; right: 0;
            height: 3px;
            background: var(--accent-gradient);
        }

        footer a:hover {
            color: #00cec9 !important;
            text-decoration: underline !important;
        }

        /* === BUTTONS GLOBAL === */
        .btn {
            border-radius: 12px !important;
            font-weight: 600;
            padding: 0.75rem 1.8rem;
        }

        .btn-lg {
            padding: 1rem 2.5rem !important;
            font-size: 1.1rem;
        }

        /* === ANIMATIONS ON SCROLL === */
        [data-animate] {
            opacity: 0;
            transform: translateY(20px);
            transition: all 0.6s ease;
        }

        [data-animate].animate-in {
            opacity: 1;
            transform: translateY(0);
        }

        /* === RESPONSIVE === */
        @media (max-width: 991px) {
            .hero-section {
                padding: 3rem 0;
                text-align: center;
            }
            
            .hero-section .d-flex {
                justify-content: center;
            }
            
            .navbar-nav {
                text-align: center;
                padding: 1rem 0;
            }
        }

        /* === UTILITY CLASSES === */
        .text-gradient {
            background: var(--primary-gradient);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            font-weight: 700;
        }

        .shadow-glow {
            box-shadow: var(--glow-effect);
        }

        .hover-lift:hover {
            transform: translateY(-5px) !important;
        }

        .section-title {
            position: relative;
            display: inline-block;
        }

        .section-title::after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
            width: 60px;
            height: 4px;
            background: var(--accent-gradient);
            border-radius: 2px;
        }
         /* ===== Адаптивность ===== */
        @media (max-width: 991px) {
            .hero-section { min-height: auto; padding: 60px 0; }
            .hero-title { font-size: 2.5rem; text-align: center; }
            .hero-description { text-align: center; }
            .hero-section .d-flex { justify-content: center !important; }
            .floating-badge { display: none; }
            .hero-circle-1, .hero-circle-2 { display: none; }
            .trust-block { 
                flex-direction: column; 
                text-align: center;
                max-width: 100%;
            }
            .trust-avatars { justify-content: center; }
            .trust-badges { justify-content: center; }
            .section-title { font-size: 2rem; }
        }

        @media (max-width: 575px) {
            .hero-title { font-size: 2rem; }
            .hero-description { font-size: 1rem !important; }
            .badge-tech { padding: 0.5rem 1rem; font-size: 0.85rem; }
            .group-btn, .group-btn-outline { width: 100%; text-align: center; }
            .avatar-item { width: 40px; height: 40px; }
            .rating-value { font-size: 1.25rem; }
            .pricing-price { font-size: 2rem; }
            .individual-title { font-size: 1.5rem; }
            .individual-price { font-size: 1.75rem; }
        }


        #program .section-title {
    font-size: 2.1rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 0.5rem;
    letter-spacing: -0.5px;
}

#program .lead {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem !important;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}
.feature-card {
    background: var(--card-bg);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow);
    border-left: 5px solid var(--primary);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-left-color: var(--accent);
}

.feature-card h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 6px;
    line-height: 1.3;
}

.feature-card .text-muted {
    display: inline-block;
    background: #f1f5f9;
    color: var(--text-muted);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.82rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.feature-card ul {
    margin: 0;
    padding: 0;
    flex-grow: 1;
}

.feature-card ul li {
    padding: 9px 0 9px 24px;
    position: relative;
    color: var(--text-main);
    font-size: 0.95rem;
    line-height: 1.5;
    border-bottom: 1px dashed var(--border-light);
}

.feature-card ul li:last-child { border-bottom: none; }

.feature-card ul li i.bi-dot {
    position: absolute;
    left: 0;
    top: 11px;
    color: var(--primary);
    font-size: 1.15rem;
    font-weight: bold;
    opacity: 0.9;
}

.project-badge {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border: 1px solid #bae6fd;
    color: #0369a1;
    padding: 12px 16px;
    border-radius: 10px;
    margin-top: 18px;
    font-size: 0.92rem;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
}
/* Итоговый проект */
.final-project-card {
    background: linear-gradient(135deg, #0d9488 0%, #0f766e 100%);
    color: #fff;
    border-radius: var(--radius);
    padding: 36px 28px;
    box-shadow: var(--shadow-hover);
    position: relative;
    overflow: hidden;
}

.final-project-card::before {
    content: "";
    position: absolute;
    top: -40%;
    right: -15%;
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}
.final-project-card h3 {
    font-size: 1.45rem;
    font-weight: 800;
    margin-bottom: 8px;
    position: relative;
    z-index: 1;
}

.final-project-card .lead {
    color: rgba(255,255,255,0.92);
    margin-bottom: 1.5rem !important;
    font-size: 1.05rem;
    position: relative;
    z-index: 1;
}

.final-project-card ul {
    position: relative;
    z-index: 1;
}

.final-project-card ul li {
    padding: 10px 0;
    position: relative;
    font-size: 0.98rem;
    line-height: 1.6;
    color: rgba(255,255,255,0.95);
}

.final-project-card ul li i {
    position: static;
    color: #fbbf24;
    font-size: 1.1rem;
}
/* Адаптив */
@media (max-width: 991px) {
    .feature-card { margin-bottom: 16px; }
    #program .section-title { font-size: 1.8rem; }
    .final-project-card { padding: 28px 20px; }
}

/* ===== PROGRAM CARDS ===== */
#program .module-card {
    background: white;
    border-radius: 20px !important;
    border: none !important;
    box-shadow: var(--card-shadow);
    overflow: hidden;
    position: relative;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
}

#program .module-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: var(--primary-gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
    z-index: 1;
}

#program .module-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--card-shadow-hover);
}

#program .module-card:hover::before {
    transform: scaleX(1);
}

#program .module-card:hover .module-icon {
    transform: scale(1.1) rotate(5deg);
}

.module-card .card-body {
    padding: 1.75rem !important;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.module-card h4 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    line-height: 1.4;
}

.module-card .module-icon {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.module-duration {
    display: inline-flex;
    align-items: center;
    background: var(--accent-gradient);
    color: white !important;
    padding: 0.35rem 0.9rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    box-shadow: 0 4px 12px rgba(225, 112, 85, 0.3);
}

.module-card .list-unstyled {
    margin: 0;
    padding: 0;
    flex-grow: 1;
}

.module-card .list-unstyled li {
    padding: 0.6rem 0 0.6rem 1.8rem;
    position: relative;
    font-size: 0.93rem;
    color: var(--text-muted);
    line-height: 1.5;
    border-bottom: 1px dashed rgba(0,0,0,0.06);
}

.module-card .list-unstyled li:last-child {
    border-bottom: none;
}

.module-card .list-unstyled li::before {
    content: '▹';
    position: absolute;
    left: 0;
    top: 0.6rem;
    color: #00b894;
    font-weight: bold;
    font-size: 1.1rem;
}

.module-card .project-badge {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border: 1px solid #bae6fd;
    color: #0369a1;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    margin-top: 1rem;
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.25s ease;
}

.module-card .project-badge::before {
    content: '🚀';
    font-size: 1.1rem;
}

.module-card:hover .project-badge {
    background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%);
    transform: translateX(4px);
}

/* ===== FINAL PROJECT CARD ===== */
#program .final-project-card {
    background: var(--primary-gradient);
    color: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 184, 148, 0.35);
    position: relative;
    margin-top: 1rem;
}

#program .final-project-card::before {
    content: '';
    position: absolute;
    top: -50%; right: -20%;
    width: 400px; height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, transparent 70%);
    pointer-events: none;
}

#program .final-project-card .card-body {
    position: relative; z-index: 1;
    padding: 2rem !important;
}

#program .final-project-card h3 {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

#program .final-project-card .lead {
    color: rgba(255,255,255,0.95);
    font-size: 1.05rem;
    margin-bottom: 1.25rem !important;
}

#program .final-project-card ul {
    margin: 0; padding: 0;
}

#program .final-project-card ul li {
    padding: 0.5rem 0;
    position: relative;
    font-size: 0.95rem;
    color: rgba(255,255,255,0.95);
    line-height: 1.6;
}

/* Icons come from HTML <i>; do not add a second ✓ */
#program .final-project-card ul li::before {
    content: none;
    display: none;
}

#program .final-project-card .tech-badges {
    margin-top: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

#program .final-project-card .tech-badges .badge {
    background: rgba(14, 165, 233, 0.18) !important;
    border: 1px solid rgba(125, 211, 252, 0.45) !important;
    color: #f0f9ff !important;
    -webkit-text-fill-color: #f0f9ff !important;
    font-weight: 700 !important;
    padding: 0.4rem 0.9rem;
    border-radius: 50px;
    font-size: 0.8rem;
    box-shadow: none !important;
}

#program .final-project-card .tech-badges .badge *,
#program .final-project-card .tech-badges .badge i {
    color: #f0f9ff !important;
    -webkit-text-fill-color: #f0f9ff !important;
}

#program .final-project-card .portfolio-note {
    background: rgba(255,255,255,0.15);
    border-radius: 12px;
    padding: 0.75rem 1.25rem;
    margin-top: 1rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

#program .final-project-card .portfolio-note::before {
    content: '📁';
}

/* Responsive */
@media (max-width: 991px) {
    #program .module-card { margin-bottom: 1rem; }
    #program .section-title { font-size: 1.8rem; }
    #program .final-project-card .card-body { padding: 1.5rem !important; }
}


/* Стили для изображения проекта */
.final-project-card .image-wrapper {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.final-project-card:hover .image-wrapper {
    transform: translateY(-5px);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.4);
}

.final-project-card .project-image {
    width: 100%;
    height: auto;
    object-fit: contain;
    max-height: 350px;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.2));
}

/* Плавающий бейдж портфолио */
.portfolio-badge {
    background: linear-gradient(135deg, #fdcb6e 0%, #e17055 100%);
    color: white;
    bottom: -15px;
    right: -10px;
    animation: floatBadge 3s ease-in-out infinite;
    white-space: nowrap;
}

@keyframes floatBadge {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* Адаптация для планшетов */
@media (max-width: 991px) {
    .final-project-card .project-image {
        max-height: 280px;
    }
    
    .portfolio-badge {
        bottom: 10px;
        right: 10px;
        font-size: 0.85rem;
        padding: 0.5rem 1rem;
    }
}

/* Адаптация для мобильных устройств */
@media (max-width: 767px) {
    .final-project-card .card-body {
        padding: 1.5rem !important;
    }
    
    .final-project-card h3 {
        font-size: 1.3rem;
        text-align: center;
    }
    
    .final-project-card .lead {
        font-size: 0.95rem;
        text-align: center;
    }
    
    .final-project-card .list-unstyled li {
        font-size: 0.9rem;
    }
    
    .final-project-card .project-image {
        max-height: 220px;
    }
    
    .portfolio-badge {
        position: relative;
        bottom: auto;
        right: auto;
        margin: 1rem auto 0;
        animation: none;
        justify-content: center;
    }
    
    .tech-badges {
        justify-content: center;
    }
}

/* Очень маленькие экраны */
@media (max-width: 575px) {
    .final-project-card .tech-badges .badge {
        font-size: 0.75rem;
        padding: 0.4rem 0.8rem;
    }
    
    .final-project-card .list-unstyled li i {
        font-size: 1rem;
        margin-top: 0.2rem !important;
    }
}

/* Яркий блок индивидуального обучения */
.individual-card {
    background:
        radial-gradient(circle at 12% 18%, rgba(255, 255, 255, 0.34) 0 12%, transparent 28%),
        radial-gradient(circle at 88% 10%, rgba(255, 214, 102, 0.35) 0 11%, transparent 30%),
        linear-gradient(135deg, #0f3460 0%, #1a1a2e 42%, #f39c12 100%) !important;
    border: 3px solid rgba(255, 255, 255, 0.55) !important;
    border-radius: 30px !important;
    padding: 2.75rem 2.5rem !important;
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.24) !important;
    color: #fff !important;
}

.individual-card::before {
    content: "Персонально" !important;
    right: -1rem !important;
    bottom: 0.5rem !important;
    top: auto !important;
    color: rgba(255, 255, 255, 0.1) !important;
    font-size: clamp(3rem, 8vw, 6rem) !important;
    font-weight: 900 !important;
    opacity: 1 !important;
    text-transform: uppercase;
}

.individual-title,
.individual-card .lead {
    color: #fff !important;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.28);
}

.individual-card > .text-muted {
    display: inline-block;
    padding: 0.9rem 1.35rem;
    border-radius: 22px;
    background: #fff;
    border: 3px solid #ffd166;
    color: #111827 !important;
    font-weight: 800;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18), 0 0 0 6px rgba(255, 209, 102, 0.18);
}

.individual-price {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    padding: 1rem 1.6rem !important;
    border-radius: 20px;
    background: #fff8ec;
    border: 2px solid #ffd166;
    color: #d35400 !important;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2);
}

.individual-features {
    max-width: 760px;
    margin: 1.5rem auto !important;
    padding: 1rem !important;
    border-radius: 20px;
    background: #fff;
    border: 1px solid #e2e8f0;
}

.individual-features li,
.individual-features small,
.individual-features strong {
    color: #1a1a2e !important;
}

.individual-card .btn-accent {
    border: 0 !important;
    border-radius: 999px !important;
    background: linear-gradient(135deg, #f39c12, #d35400) !important;
    color: #fff !important;
    font-weight: 800 !important;
    box-shadow: 0 14px 34px rgba(243, 156, 18, 0.38) !important;
}
