/* ShiftSense - Travel Website Styles */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');
:root {
    --bg-dark: #1E1E1E;
    --accent-primary: #ffab02;
    --accent-secondary: #eb5f08;
    --accent-gradient: linear-gradient(135deg, #ffab02 0%, #eb5f08 100%);
    --text-light: #ffffff;
    --text-gray: #cccccc;
    --text-muted: #999999;
    --bg-light: #f8f9fa;
    --bg-secondary: #2a2a2a;
    --border-color: #444444;
}

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

body {
    font-family: "Open Sans", sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.6;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: "Open Sans", sans-serif;
    font-weight: normal;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
    line-height: 1.2;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

p {
    margin-bottom: 1rem;
    color: var(--text-gray);
}

/* Header */
.navbar {
    background-color: var(--bg-dark) !important;
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
}

.navbar-brand {
    font-size: 1.5rem;
    color: var(--text-light) !important;
    font-weight: normal;
}

.navbar-nav .nav-link {
    color: var(--text-gray) !important;
    font-size: 1rem;
    margin: 0 1rem;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--accent-secondary) !important;
}

.navbar-toggler {
    border: none;
    padding: 0;
}

.navbar-toggler:focus {
    box-shadow: none;
}

/* Hero Section */
.hero-section {
    min-height: 90vh;
    background: var(--accent-gradient);
    position: relative;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    background-blend-mode: overlay;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 600px;
}

/* Secondary pages hero */
.secondary-hero {
    background-color: var(--bg-light);
    color: var(--bg-dark);
    padding: 10rem 0 6rem;
    text-align: center;
}

.secondary-hero h1 {
    color: var(--bg-dark);
    font-size: 3rem;
    margin-bottom: 1rem;
}

.secondary-hero p {
    color: #666;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Sections */
.section {
    padding: 5rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-light);
}

.section-light {
    background-color: var(--bg-secondary);
}

/* Cards */
.card {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 1px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.card-img-top {
    height: 200px;
    object-fit: cover;
}

.card-body {
    padding: 1.5rem;
}

.card-title {
    color: var(--text-light);
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.card-text {
    color: var(--text-gray);
    font-size: 0.95rem;
}

/* Buttons */
.btn-primary {
    background: var(--accent-gradient);
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 5px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(86, 13, 46, 0.4);
}

.btn-outline-primary {
    border: 2px solid var(--accent-primary);
    color: var(--accent-primary);
    background: transparent;
}

.btn-outline-primary:hover {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
}

/* Form */
.form-control {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    color: var(--text-light);
    border-radius: 5px;
    padding: 0.75rem 1rem;
}

.form-control:focus {
    background-color: var(--bg-secondary);
    border-color: var(--accent-secondary);
    color: var(--text-light);
    box-shadow: 0 0 0 0.2rem rgba(153, 26, 122, 0.25);
}

.form-control::placeholder {
    color: var(--text-muted);
}

.form-label {
    color: var(--text-light);
    font-weight: normal;
    margin-bottom: 0.5rem;
}

/* Footer */
.footer {
    background-color: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: 3rem 0 2rem;
    margin-top: 3rem;
}

.footer h5 {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.footer a {
    color: var(--text-gray);
    text-decoration: none;
    display: block;
    padding: 0.25rem 0;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: var(--accent-secondary);
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    margin-top: 2rem;
    padding-top: 1rem;
    text-align: center;
    color: var(--text-muted);
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: 1rem;
    z-index: 1050;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-banner p {
    margin: 0;
    color: var(--text-gray);
    font-size: 0.9rem;
}

.cookie-banner .btn {
    margin-left: 0.5rem;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .section {
        padding: 3rem 0;
    }
    
    .navbar-nav .nav-link {
        margin: 0.5rem 0;
    }
    .secondary-hero h1 {
        font-size: 1.8rem;
    }
}

/* Utilities */
.text-accent {
    color: var(--accent-secondary);
}

.bg-gradient {
    background: var(--accent-gradient);
}

.text-center {
    text-align: center;
}

.mb-4 {
    margin-bottom: 1.5rem !important;
}

.mb-5 {
    margin-bottom: 3rem !important;
}


/* new styles  */

/* Загальні стилі */
:root {
    --bg-dark: #1E1E1E;
    --accent-primary: #ffab02;
    --accent-secondary: #eb5f08;
    --accent-gradient: linear-gradient(135deg, #ffab02 0%, #eb5f08 100%);
    --text-light: #ffffff;
    --text-gray: #cccccc;
    --text-muted: #999999;
    --bg-light: #f8f9fa;
    --bg-secondary: #2a2a2a;
    --border-color: #444444;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-light);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
}

.section-padding {
    padding: 100px 0;
}

.section-heading {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 4rem;
    text-align: center;
}

/* Стилі для блоку "Наши направления обучения" */
.directions-section {
    background-color: var(--bg-dark);
    position: relative;
    overflow: hidden;
}

.directions-section::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: var(--accent-gradient);
    border-radius: 0;
    opacity: 0.1;
    transform: rotate(45deg);
}

.direction-card {
    background: var(--bg-secondary);
    padding: 2.5rem;
    height: 100%;
    border: none;
    position: relative;
    transition: all 0.3s ease;
    overflow: hidden;
}

.direction-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 3px;
    background: var(--accent-gradient);
    transition: left 0.4s ease;
}

.direction-card:hover::before {
    left: 0;
}

.direction-card:hover {
    transform: translateY(-5px);
    background: var(--bg-light);
    color: var(--bg-dark);
}

.direction-icon {
    width: 60px;
    height: 60px;
    background: var(--accent-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    position: relative;
}

.direction-icon .material-icons {
    font-size: 28px;
    color: var(--text-light);
}

.direction-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--accent-primary);
}

.direction-card:hover .direction-title {
    color: var(--accent-secondary);
}

.direction-text {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-gray);
}

.direction-card:hover .direction-text {
    color: var(--text-muted);
}

/* Стилі для блоку "О компании" */
.about-section {
    background: var(--bg-secondary);
    position: relative;
}

.about-section::after {
    content: '';
    position: absolute;
    bottom: -30px;
    left: -30px;
    width: 150px;
    height: 150px;
    background: var(--accent-primary);
    opacity: 0.1;
    clip-path: polygon(0 0, 100% 0, 0 100%);
}

.about-content {
    background: var(--text-light);
    padding: 3rem;
    color: var(--bg-dark);
    position: relative;
    z-index: 2;
}

.about-content::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: var(--accent-gradient);
    z-index: -1;
}

.about-heading {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--bg-dark);
    margin-bottom: 2rem;
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    color: #fff;
}

.about-btn {
    background: var(--accent-gradient);
    border: none;
    color: var(--text-light);
    padding: 12px 30px;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.about-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 171, 2, 0.3);
    color: var(--text-light);
}

.about-image {
    position: relative;
    overflow: hidden;
}

.about-image::before {
    content: '';
    position: absolute;
    top: 20px;
    right: 20px;
    bottom: 20px;
    left: 20px;
    border: 3px solid var(--accent-primary);
    z-index: 2;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.about-image:hover img {
    transform: scale(1.05);
}

/* Стилі для блоку "Подход к обучению" */
.approach-section {
    background: var(--bg-dark);
    position: relative;
}

.approach-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100px;
    height: 2px;
    background: var(--accent-gradient);
    transform: translateY(-50%);
}

.approach-content {
    position: relative;
    z-index: 2;
}

.approach-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-gray);
    margin-bottom: 2.5rem;
}

.approach-points {
    list-style: none;
    padding: 0;
    margin: 0;
}

.approach-point {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    background: var(--bg-secondary);
    border-left: 4px solid var(--accent-primary);
    position: relative;
    transition: all 0.3s ease;
}

.approach-point:hover {
    border-left-color: var(--accent-secondary);
    transform: translateX(10px);
    background: rgba(255, 171, 2, 0.1);
}

.approach-point-icon {
    width: 40px;
    height: 40px;
    background: var(--accent-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    flex-shrink: 0;
}

.approach-point-icon .material-icons {
    font-size: 20px;
    color: var(--text-light);
}

.approach-point-content h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--accent-primary);
    margin-bottom: 0.5rem;
}

.approach-point-content p {
    color: var(--text-gray);
    margin: 0;
    font-size: 1rem;
}

/* Стилі для блоку "Консалтинг и поддержка бизнеса" */
.consulting-section {
    background: var(--bg-light);
    color: var(--bg-dark);
    position: relative;
    overflow: hidden;
}

.consulting-section::after {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: var(--accent-primary);
    opacity: 0.05;
    transform: rotate(45deg);
}

.consulting-content {
    position: relative;
    z-index: 2;
}

.consulting-heading {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--bg-dark);
    margin-bottom: 2rem;
}

.consulting-text {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.consulting-image {
    position: relative;
    overflow: hidden;
}

.consulting-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--accent-gradient);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
}

.consulting-image:hover::before {
    opacity: 0.1;
}

.consulting-image img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.consulting-image:hover img {
    transform: scale(1.03);
}

.consulting-overlay {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: var(--text-light);
    padding: 1.5rem;
    z-index: 3;
}

.consulting-overlay h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--bg-dark);
    margin-bottom: 0.5rem;
}

.consulting-overlay p {
    color: var(--text-muted);
    margin: 0;
    font-size: 0.9rem;
}

/* Стилі для блоку "Преимущества ShiftSense" */
.advantages-section {
    background: var(--bg-secondary);
    position: relative;
}

.advantages-section::before {
    content: '';
    position: absolute;
    bottom: 0;
    right: 30%;
    width: 0;
    height: 0;
    border-left: 150px solid transparent;
    border-right: 150px solid transparent;
    border-bottom: 80px solid var(--accent-primary);
    opacity: 0.1;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 2;
}

.advantage-item {
    background: var(--text-light);
    padding: 2.5rem;
    color: var(--bg-dark);
    position: relative;
    transition: all 0.3s ease;
    clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 0 100%);
}

.advantage-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.advantage-item::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 20px;
    height: 20px;
    background: var(--accent-gradient);
}

.advantage-number {
    position: absolute;
    top: -15px;
    left: 20px;
    width: 40px;
    height: 40px;
    background: var(--accent-gradient);
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
}

.advantage-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 171, 2, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.advantage-icon .material-icons {
    font-size: 24px;
    color: var(--accent-secondary);
}

.advantage-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--bg-dark);
    margin-bottom: 1rem;
}

.advantage-text {
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

/* Стилі для блоку "Отзывы участников" */
.reviews-section {
    background: var(--bg-dark);
    position: relative;
    overflow: hidden;
}

.reviews-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 171, 2, 0.05) 0%, transparent 70%);
    transform: translateX(-50%);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    position: relative;
    z-index: 2;
}

.review-card {
    background: var(--bg-secondary);
    padding: 2.5rem;
    position: relative;
    border-top: 3px solid var(--accent-primary);
    transition: all 0.3s ease;
}

.review-card::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: 30px;
    font-size: 4rem;
    color: var(--accent-primary);
    font-family: serif;
    line-height: 1;
    background: var(--bg-secondary);
    padding: 0 10px;
}

.review-card:hover {
    transform: translateY(-5px);
    border-top-color: var(--accent-secondary);
}

.review-card:hover::before {
    color: var(--accent-secondary);
}

.review-text {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-gray);
    margin-bottom: 2rem;
    font-style: italic;
}

.review-author {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--accent-primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.review-author::before {
    content: '';
    width: 30px;
    height: 2px;
    background: var(--accent-gradient);
}

/* Стилі для блоку "Новости и публикации" */
.news-section {
    background: var(--bg-light);
    color: var(--bg-dark);
    position: relative;
}

.news-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--accent-gradient);
}

.news-heading {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--bg-dark);
    margin-bottom: 3rem;
    text-align: center;
}

.news-item {
    background: var(--text-light);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border-bottom: 5px solid var(--accent-primary);
}

.news-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    border-bottom-color: var(--accent-secondary);
}

.news-image {
    height: 250px;
    overflow: hidden;
    position: relative;
}

.news-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--accent-gradient);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.news-item:hover .news-image::before {
    opacity: 0.2;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.news-item:hover .news-image img {
    transform: scale(1.1);
}

.news-content {
    padding: 2rem;
}

.news-date {
    font-size: 0.9rem;
    color: var(--accent-secondary);
    font-weight: 600;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.news-date .material-icons {
    font-size: 18px;
}

.news-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--bg-dark);
    margin-bottom: 1rem;
    line-height: 1.4;
}

.news-text {
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

/* Стилі для блоку "История и миссия" */
.history-section {
    background: var(--bg-secondary);
    position: relative;
}

.history-section::before {
    content: '';
    position: absolute;
    top: 20%;
    right: 10%;
    width: 100px;
    height: 100px;
    border: 3px solid var(--accent-primary);
    opacity: 0.3;
    transform: rotate(45deg);
}

.history-content {
    position: relative;
    z-index: 2;
}

.history-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-gray);
    margin-bottom: 2rem;
}

.history-image-block {
    position: relative;
    margin: 3rem 0;
    text-align: center;
}

.history-image {
    display: inline-block;
    position: relative;
    max-width: 500px;
    width: 100%;
}

.history-image::before {
    content: '';
    position: absolute;
    top: -15px;
    left: -15px;
    right: 15px;
    bottom: 15px;
    background: var(--accent-gradient);
    z-index: -1;
}

.history-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    position: relative;
    z-index: 1;
}

.mission-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-gray);
    background: rgba(255, 171, 2, 0.05);
    padding: 2rem;
    border-left: 4px solid var(--accent-primary);
    margin-top: 2rem;
}

/* Стилі для блоку "Подход и ценности" */
.values-section {
    background: var(--bg-dark);
    position: relative;
    overflow: hidden;
}

.values-section::before {
    content: '';
    position: absolute;
    bottom: -50px;
    left: 50%;
    width: 200px;
    height: 200px;
    background: var(--accent-primary);
    opacity: 0.1;
    border-radius: 50%;
    transform: translateX(-50%);
}

.values-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1px;
    background: var(--accent-primary);
    position: relative;
    z-index: 2;
}

.value-item {
    flex: 1;
    min-width: 300px;
    background: var(--bg-secondary);
    padding: 3rem 2rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
}

.value-item:hover {
    background: var(--bg-dark);
    transform: scale(1.02);
    z-index: 3;
}

.value-icon {
    width: 80px;
    height: 80px;
    background: var(--accent-gradient);
    margin: 0 auto 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.value-icon::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border: 2px solid var(--accent-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.value-item:hover .value-icon::before {
    opacity: 1;
}

.value-icon .material-icons {
    font-size: 32px;
    color: var(--text-light);
}

.value-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--accent-primary);
    margin-bottom: 1rem;
}

.value-description {
    color: var(--text-gray);
    line-height: 1.6;
    font-size: 1rem;
}

/* Стилі для блоку "Программы и направления" */
.programs-section {
    background: var(--bg-light);
    color: var(--bg-dark);
    position: relative;
    overflow: hidden;
}

.programs-section::before {
    content: '';
    position: absolute;
    top: -100px;
    left: -100px;
    width: 300px;
    height: 300px;
    background: var(--accent-primary);
    opacity: 0.03;
    border-radius: 50%;
}

.programs-heading {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--bg-dark);
    margin-bottom: 3rem;
    text-align: center;
}

.programs-layout {
    display: grid;
    grid-template-columns: 1fr 300px 1fr;
    grid-template-rows: auto auto auto auto;
    gap: 2rem;
    align-items: center;
}

.program-card {
    background: var(--text-light);
    padding: 2.5rem;
    border-left: 5px solid var(--accent-primary);
    transition: all 0.3s ease;
    position: relative;
}

.program-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 0;
    border-top: 20px solid var(--accent-primary);
    border-left: 20px solid transparent;
    transition: all 0.3s ease;
}

.program-card:hover {
    transform: translateX(10px);
    border-left-color: var(--accent-secondary);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.program-card:hover::before {
    border-top-color: var(--accent-secondary);
}

.program-card.right {
    border-left: none;
    border-right: 5px solid var(--accent-primary);
}

.program-card.right::before {
    left: 0;
    right: auto;
    border-top: 20px solid var(--accent-primary);
    border-right: 20px solid transparent;
    border-left: none;
}

.program-card.right:hover {
    transform: translateX(-10px);
    border-right-color: var(--accent-secondary);
}

.program-icon {
    width: 60px;
    height: 60px;
    background: var(--accent-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    clip-path: polygon(0% 0%, 100% 0%, 100% 70%, 70% 100%, 0% 100%);
}

.program-icon .material-icons {
    font-size: 28px;
    color: var(--text-light);
}

.program-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--bg-dark);
    margin-bottom: 1rem;
}

.program-text {
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

.programs-image {
    grid-column: 2;
    position: relative;
    height: 250px;
    overflow: hidden;
}

.programs-image.first {
    grid-row: 2;
}

.programs-image.second {
    grid-row: 4;
}

.programs-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.programs-image:hover img {
    transform: scale(1.1) rotate(2deg);
}

.programs-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--accent-gradient);
    opacity: 0.3;
    mix-blend-mode: overlay;
}

/* Адаптивность для программ */
@media (max-width: 992px) {
    .programs-layout {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }
    
    .programs-image {
        grid-column: 1;
        grid-row: auto !important;
        height: 200px;
        margin: 1rem 0;
    }
    
    .program-card.right {
        border-left: 5px solid var(--accent-primary);
        border-right: none;
    }
    
    .program-card.right::before {
        right: 0;
        left: auto;
        border-top: 20px solid var(--accent-primary);
        border-left: 20px solid transparent;
        border-right: none;
    }
    
    .program-card.right:hover {
        transform: translateX(10px);
    }
}

/* Стилі для блоку "Формат обучения" */
.format-section {
    background: var(--bg-dark);
    position: relative;
}

.format-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 0;
    border-left: 200px solid transparent;
    border-bottom: 100px solid var(--accent-primary);
    opacity: 0.1;
}

.format-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
}

.format-text {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-gray);
    margin-bottom: 2rem;
    background: rgba(255, 171, 2, 0.05);
    padding: 2.5rem;
    border: 2px solid rgba(255, 171, 2, 0.2);
    position: relative;
}

.format-text::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 50%;
    width: 60px;
    height: 4px;
    background: var(--accent-gradient);
    transform: translateX(-50%);
}

.format-highlights {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 3rem;
}

.format-highlight {
    text-align: center;
    min-width: 150px;
}

.format-highlight-icon {
    width: 60px;
    height: 60px;
    background: var(--accent-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    transition: transform 0.3s ease;
}

.format-highlight:hover .format-highlight-icon {
    transform: scale(1.1) rotate(10deg);
}

.format-highlight-icon .material-icons {
    font-size: 26px;
    color: var(--text-light);
}

.format-highlight-text {
    color: var(--accent-primary);
    font-weight: 600;
    font-size: 1rem;
}

/* Стилі для блоку "Результаты обучения" */
.results-section {
    background: var(--bg-secondary);
    position: relative;
}

.results-section::before {
    content: '';
    position: absolute;
    top: 50px;
    left: 50px;
    width: 100px;
    height: 100px;
    background: var(--accent-primary);
    opacity: 0.1;
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
}

.results-content {
    position: relative;
    z-index: 2;
}

.results-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.results-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2.5rem;
    padding: 2rem;
    background: var(--bg-dark);
    border: 2px solid transparent;
    transition: all 0.3s ease;
    position: relative;
}

.results-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 5px;
    background: var(--accent-gradient);
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 0.3s ease;
}

.results-item:hover::before {
    transform: scaleY(1);
}

.results-item:hover {
    border-color: var(--accent-primary);
    transform: translateX(15px);
}

.results-number {
    width: 50px;
    height: 50px;
    background: var(--accent-gradient);
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    margin-right: 2rem;
    flex-shrink: 0;
    position: relative;
}

.results-number::after {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border: 2px solid var(--accent-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.results-item:hover .results-number::after {
    opacity: 1;
}

.results-text {
    color: var(--text-gray);
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0;
}

.results-image {
    position: relative;
    overflow: hidden;
    height: 100%;
}

.results-image::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    bottom: 20px;
    border: 3px solid var(--accent-primary);
    z-index: 2;
    transition: all 0.3s ease;
}

.results-image:hover::before {
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    border-color: var(--accent-secondary);
}

.results-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.results-image:hover img {
    transform: scale(1.05);
}

/* Стилі для блоку "Наши направления консалтинга" */
.consulting-directions-section {
    background: var(--bg-dark);
    position: relative;
    overflow: hidden;
}

.consulting-directions-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.consulting-directions-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.5;
}

.consulting-directions-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(30, 30, 30, 0.9) 0%, rgba(42, 42, 42, 0.8) 100%);
}

.consulting-directions-content {
    position: relative;
    z-index: 3;
}

.consulting-directions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.consulting-direction {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 2.5rem;
    color: var(--bg-dark);
    border: 1px solid rgba(255, 171, 2, 0.3);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.consulting-direction::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 171, 2, 0.1), transparent);
    transition: left 0.6s ease;
}

.consulting-direction:hover::before {
    left: 100%;
}

.consulting-direction:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: var(--accent-primary);
    background: rgba(255, 255, 255, 1);
}

.consulting-direction-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
}

.consulting-direction-icon {
    width: 60px;
    height: 60px;
    background: var(--accent-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    transform: rotate(45deg);
}

.consulting-direction-icon .material-icons {
    font-size: 28px;
    color: var(--text-light);
    transform: rotate(-45deg);
}

.consulting-direction-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--bg-dark);
    margin: 0;
}

.consulting-direction-text {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-muted);
    position: relative;
    z-index: 2;
}

/* Стилі для блоку "Методология и принципы работы" */
.methodology-section {
    background: var(--bg-light);
    color: var(--bg-dark);
    position: relative;
}

.methodology-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(255, 171, 2, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(235, 95, 8, 0.03) 0%, transparent 50%);
}

.methodology-content {
    position: relative;
    z-index: 2;
    margin: 0 auto;
}

.methodology-heading {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--bg-dark);
    margin-bottom: 3rem;
    text-align: center;
    position: relative;
}

.methodology-heading::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    width: 80px;
    height: 4px;
    background: var(--accent-gradient);
    transform: translateX(-50%);
}

.methodology-text {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.7);
    border-left: 6px solid var(--accent-primary);
    position: relative;
    transition: all 0.3s ease;
}

.methodology-text:hover {
    border-left-color: var(--accent-secondary);
    background: rgba(255, 255, 255, 0.9);
    transform: translateX(10px);
}

.methodology-text::before {
    content: '';
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: var(--accent-primary);
    opacity: 0.1;
    border-radius: 50%;
}

.methodology-principles {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.methodology-principle {
    background: var(--text-light);
    padding: 2rem;
    text-align: center;
    border-top: 4px solid var(--accent-primary);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.methodology-principle::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: rgba(255, 171, 2, 0.1);
    transition: height 0.3s ease;
}

.methodology-principle:hover::before {
    height: 100%;
}

.methodology-principle:hover {
    transform: translateY(-5px);
    border-top-color: var(--accent-secondary);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.methodology-principle-icon {
    width: 50px;
    height: 50px;
    background: var(--accent-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    position: relative;
    z-index: 2;
}

.methodology-principle-icon .material-icons {
    font-size: 24px;
    color: var(--text-light);
}

.methodology-principle-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--bg-dark);
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 2;
}

.methodology-principle-text {
    font-size: 0.9rem;
    color: var(--text-muted);
    position: relative;
    z-index: 2;
}