/* Custom CSS for WheelyWise */
:root {
    --primary-color: #363842;
    --secondary-color: #7d6c74;
    --success-color: #241987;
    --light-color: #f8f9fa;
    --dark-color: #212529;
    --white-75: rgba(255, 255, 255, 0.75);
    --white-50: rgba(255, 255, 255, 0.5);
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    padding-top: 76px; /* Отступ для fixed navbar */
}

html {
    scroll-behavior: smooth;
}

.text-white-75 {
    color: var(--white-75) !important;
}

.text-white-50 {
    color: var(--white-50) !important;
}

/* Header Styles */
.header-section {
    position: relative;
    z-index: 1030;
}

.navbar {
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
}

.nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color) !important;
}
/* Footer */
.footer-section {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
}

.footer-section a:hover {
    color: var(--warning-color) !important;
}

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 1rem 0;
    z-index: 9999;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

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

.cookie-content p {
    font-size: 0.9rem;
}

/* Button Styles */
.btn {
    border-radius: 50px;
    padding: 0.75rem 2rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-lg {
    padding: 1rem 2.5rem;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
} 

/* new styles  */
/* Стилі для головного блоку */
.hero-section {
    position: relative;
    min-height: 100vh;
    padding: 5rem 0;
    overflow: hidden;
    background-color: var(--primary-color);
}

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

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: white;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    line-height: 1.6;
    color: var(--white-75);
}

.hero-button {
    padding: 0.8rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    background-color: var(--success-color);
    border: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: #fff;
}

.hero-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(36, 25, 135, 0.3);
    background-color: var(--success-color);
    color: #fff;

}

.hero-image-container {
    position: relative;
    height: 100%;
}

.hero-image {
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.5s ease;
}

.hero-image:hover {
    transform: scale(1.02);
}

.hero-shape {
    position: absolute;
    background-color: var(--secondary-color);
    border-radius: 50%;
    opacity: 0.1;
}

.hero-shape-1 {
    width: 300px;
    height: 300px;
    top: -100px;
    left: -150px;
}

.hero-shape-2 {
    width: 200px;
    height: 200px;
    bottom: -50px;
    right: 10%;
}

@media (max-width: 991.98px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-image {
        margin-top: 3rem;
    }
}

@media (max-width: 767.98px) {
    .hero-section {
        padding: 3rem 0;
    }
    
    .hero-title {
        font-size: 2rem;
    }
}

/* Стилі для блоку "Введение в автосервис" */
.intro-section {
    padding: 5rem 0;
    background-color: var(--light-color);
    position: relative;
    overflow: hidden;
}

.intro-card {
    padding: 3rem;
    border-radius: 1rem;
    background-color: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: none;
    transition: transform 0.3s ease;
    height: 100%;
}

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

.intro-title {
    font-size: 2.5rem;
    margin-bottom: 1.75rem;
    color: var(--primary-color);
    position: relative;
    display: inline-block;
}

.intro-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 60px;
    height: 4px;
    background-color: var(--success-color);
}

.intro-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--secondary-color);
}

/* Стилі для блоку "Ремонт автомобиля: основные виды" */
.repair-section {
    padding: 6rem 0;
    background-color: var(--primary-color);
    position: relative;
    background-image: url('../img/repair-bg.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
}

.repair-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--primary-color);
    opacity: 0.85;
}

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

.repair-title {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
}

.repair-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 60px;
    height: 4px;
    background-color: var(--success-color);
}

.repair-text {
    font-size: 1.1rem;
    margin-bottom: 3rem;
    line-height: 1.7;
    color: var(--white-75);
}

.repair-list {
    list-style: none;
    padding: 0;
}

.repair-item {
    margin-bottom: 2rem;
    padding: 1.5rem;
    border-radius: 0.75rem;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.repair-item:hover {
    transform: translateX(10px);
    background-color: rgba(255, 255, 255, 0.2);
}

.repair-item-title {
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: white;
    display: block;
}

.repair-item-text {
    margin: 0;
    color: var(--white-75);
}

@media (max-width: 991.98px) {
    .intro-title, .repair-title {
        font-size: 2rem;
    }
    
    .intro-card {
        padding: 2rem;
    }
}

@media (max-width: 767.98px) {
    .intro-section, .repair-section {
        padding: 4rem 0;
    }
    
    .intro-title, .repair-title {
        font-size: 1.75rem;
    }
}
/* Стилі для блоку "Автомойка" */
.car-wash-section {
    padding: 6rem 0;
    position: relative;
    background-image: url('../img/car-wash.webp');
    background-size: cover;
    background-position: center;
    color: white;
    overflow: hidden;
}

.car-wash-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, var(--primary-color) 60%, transparent 100%);
    z-index: 1;
}

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

.section-title {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
}

.section-text {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 2.5rem;
    color: var(--white-75);
}

.method-card {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 1.5rem;
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.method-card:hover {
    transform: translateY(-5px);
    background-color: rgba(255, 255, 255, 0.15);
}

.method-title {
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: white;
}

.method-text {
    margin: 0;
    color: var(--white-75);
    font-size: 0.95rem;
}

.tips-title {
    font-size: 1.25rem;
    margin: 2.5rem 0 1.5rem;
    font-weight: 600;
    color: white;
}

.tips-list {
    list-style: none;
    padding-left: 0;
}

.tips-item {
    position: relative;
    padding-left: 1.75rem;
    margin-bottom: 1rem;
    color: var(--white-75);
}

.tips-item::before {
    content: '\2022';
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-size: 1.5rem;
    line-height: 1;
}

/* Стилі для блоку "Шиномонтаж" */
.tire-service-section {
    padding: 6rem 0;
    position: relative;
    background-image: url('../img/tire-service.webp');
    background-size: cover;
    background-position: center;
    color: white;
}

.tire-service-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to left, var(--primary-color) 40%, rgba(54, 56, 66, 0.8) 100%);
    z-index: 1;
}

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

.tire-type-card {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 1.5rem;
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tire-type-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.tire-type-title {
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: white;
}

.tire-type-text {
    margin: 0;
    color: var(--white-75);
    font-size: 0.95rem;
}

.balance-section {
    margin-top: 3rem;
}

.balance-title {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
    color: white;
}

.balance-list {
    list-style: none;
    padding-left: 0;
}

.balance-item {
    position: relative;
    padding-left: 1.75rem;
    margin-bottom: 1rem;
    color: var(--white-75);
}

.balance-item::before {
    content: '\2022';
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-size: 1.5rem;
    line-height: 1;
}

@media (max-width: 991.98px) {
    .section-title {
        font-size: 2rem;
    }
    
    .car-wash-section::before, .tire-service-section::before {
        background: linear-gradient(to bottom, var(--primary-color) 0%, rgba(54, 56, 66, 0.85) 100%);
    }
}

@media (max-width: 767.98px) {
    .car-wash-section, .tire-service-section {
        padding: 4rem 0;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
}
/* Стилі для блоку "Советы по уходу за автомобилем" */
.tips-section {
    padding: 6rem 0;
    background-color: var(--light-color);
    position: relative;
    overflow: hidden;
}

.tips-container {
    position: relative;
    z-index: 2;
}

.tips-decorator {
    position: absolute;
    border-radius: 50%;
    background-color: var(--secondary-color);
    opacity: 0.05;
    z-index: 1;
}

.tips-decorator-1 {
    width: 300px;
    height: 300px;
    top: -150px;
    right: -100px;
}

.tips-decorator-2 {
    width: 200px;
    height: 200px;
    bottom: -80px;
    left: -80px;
}

.tips-card {
    background-color: white;
    border-radius: 1rem;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
    padding: 3rem;
    height: 100%;
    transition: transform 0.3s ease;
}

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

.tips-list {
    counter-reset: tips-counter;
    list-style: none;
    padding: 0;
    margin-top: 2rem;
}

.tips-list-item {
    position: relative;
    padding: 1.5rem 0 1.5rem 3.5rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.tips-list-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.tips-list-item::before {
    counter-increment: tips-counter;
    content: counter(tips-counter);
    position: absolute;
    left: 0;
    top: 1.5rem;
    width: 2.5rem;
    height: 2.5rem;
    background-color: var(--success-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.tips-item-title {
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
    font-size: 1.1rem;
}

.tips-item-text {
    color: var(--secondary-color);
    margin: 0;
    line-height: 1.6;
}

.tips-conclusion {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    font-style: italic;
    color: var(--secondary-color);
}

/* Стилі для блоку "Безопасность и экология" */
.safety-section {
    padding: 6rem 0;
    background-color: var(--primary-color);
    position: relative;
    overflow: hidden;
}

.safety-container {
    position: relative;
    z-index: 2;
}

.safety-card {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 1rem;
    padding: 3rem;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.safety-paragraph {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    color: var(--white-75);
}

.safety-paragraph:last-child {
    margin-bottom: 0;
}

.safety-highlight {
    color: white;
    font-weight: 600;
}

.eco-tag {
    display: inline-block;
    margin-top: 2rem;
    padding: 0.5rem 1rem;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 2rem;
    font-size: 0.9rem;
    color: var(--white-75);
}

@media (max-width: 991.98px) {
    .section-title {
        font-size: 2rem;
    }
    
    .tips-card, .safety-card {
        padding: 2rem;
    }
}

@media (max-width: 767.98px) {
    .tips-section, .safety-section {
        padding: 4rem 0;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .tips-list-item {
        padding-left: 3rem;
    }
}

/* Стилі для блоку "История и миссия" */
.history-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--light-color) 0%, #eaecf0 100%);
    position: relative;
    overflow: hidden;
}

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

.timeline-card {
    background-color: white;
    border-radius: 1rem;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
    padding: 3rem;
    position: relative;
    overflow: hidden;
}

.quote-mark {
    position: absolute;
    font-size: 120px;
    line-height: 1;
    opacity: 0.05;
    font-family: Georgia, serif;
    top: 20px;
    right: 30px;
    color: var(--primary-color);
}

/* Стилі для блоку "Профессиональные стандарты" */
.standards-section {
    padding: 6rem 0;
    position: relative;
    background-color: var(--primary-color);
    color: white;
    overflow: hidden;
}

.standards-container {
    position: relative;
    z-index: 2;
}

.standards-content {
    padding: 0 1rem;
}

.standards-image-container {
    position: relative;
    height: 100%;
    min-height: 300px;
}

.standards-image {
    object-fit: cover;
    height: 100%;
    width: 100%;
    border-radius: 1rem;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.standards-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom right, var(--success-color) 0%, transparent 70%);
    opacity: 0.7;
    border-radius: 1rem;
    transition: opacity 0.3s ease;
}

.standards-image-container:hover .standards-overlay {
    opacity: 0.5;
}

.standards-paragraph {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    color: var(--white-75);
}

.standards-paragraph:last-child {
    margin-bottom: 0;
}

.standards-badge {
    display: inline-block;
    margin-bottom: 1.5rem;
    padding: 0.5rem 1rem;
    background-color: var(--success-color);
    border-radius: 2rem;
    font-size: 0.85rem;
    color: white;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Стилі для блоку "Образовательные инициативы" */
.education-section {
    padding: 6rem 0;
    background-color: var(--light-color);
    position: relative;
}

.education-container {
    position: relative;
    z-index: 2;
}

.edu-card {
    background-color: white;
    border-radius: 1rem;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
    padding: 3rem;
    height: 100%;
    position: relative;
    transition: transform 0.3s ease;
}

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

.edu-tabs {
    display: flex;
    margin-bottom: 2rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding-bottom: 1rem;
}

.edu-tab {
    padding: 0.5rem 1rem;
    margin-right: 1rem;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
    font-weight: 500;
    color: var(--secondary-color);
}

.edu-tab.active {
    background-color: var(--success-color);
    color: white;
}

.edu-content {
    margin-bottom: 2rem;
}

.edu-icon {
    font-size: 2.5rem;
    color: var(--success-color);
    margin-bottom: 1rem;
    display: block;
}

@media (max-width: 991.98px) {
    .section-title {
        font-size: 2rem;
    }
    
    .timeline-card, .edu-card {
        padding: 2rem;
    }
    
    .standards-image-container {
        margin-top: 2rem;
    }
}

@media (max-width: 767.98px) {
    .history-section, .standards-section, .education-section {
        padding: 4rem 0;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
}

/* Стилі для головного екрану сторінки "О нас" */
.page-header {
    position: relative;
    overflow: hidden;
    padding: 7rem 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--success-color) 100%);
}


.min-vh-50 {
    min-height: 50vh;
}

.display-4 {
    font-weight: 800;
    position: relative;
    display: inline-block;
    margin-bottom: 2rem;
}

.display-4::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: white;
    border-radius: 2px;
}

.page-header-shape {
    position: absolute;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.page-header-shape-1 {
    width: 300px;
    height: 300px;
    top: -150px;
    right: -100px;
}

.page-header-shape-2 {
    width: 200px;
    height: 200px;
    bottom: -80px;
    left: -80px;
}

.bg-gradient-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--success-color) 100%);
}

.page-header-text {
    font-size: 1.25rem;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.9;
}

/* Анімація для тексту при завантаженні сторінки */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animated-text {
    animation: fadeInUp 0.6s ease-out forwards;
}

/* Медіа-запити для адаптивності */
@media (max-width: 991.98px) {
    .display-4 {
        font-size: 2.5rem;
    }
    
    .page-header {
        padding: 5rem 0;
    }
}

@media (max-width: 767.98px) {
    .display-4 {
        font-size: 2rem;
    }
    
    .page-header-text {
        font-size: 1.1rem;
    }
    
    .min-vh-50 {
        min-height: 40vh;
    }
}

/* Оновлені загальні стилі для сервісних блоків */
.service-section {
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.service-section:nth-of-type(odd) {
    background-color: var(--light-color);
}

.service-section:nth-of-type(even) {
    background-color: white;
}

.service-container {
    position: relative;
    z-index: 2;
}

.section-title-center {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 1rem;
    display: inline-block;
}

.section-title-center::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--success-color);
}

.service-text {
    color: var(--secondary-color);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.service-item {
    margin-bottom: 2.5rem;
    transition: transform 0.3s ease;
}

.service-item:hover {
    transform: translateY(-5px);
}

.service-item-title {
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    display: block;
    font-size: 1.2rem;
}

.service-image {
    border-radius: 0.75rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

.service-image:hover {
    transform: scale(1.02);
}

.service-image-round {
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid white;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    width: 160px;
    height: 160px;
    margin: 0 auto 1.5rem;
}

.service-image-round img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-card {
    padding: 2rem;
    border-radius: 1rem;
    background-color: white;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    margin-bottom: 2rem;
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-7px);
}

.service-card-img {
    margin: -2rem -2rem 2rem -2rem;
    height: 200px;
    overflow: hidden;
    border-radius: 1rem 1rem 0 0;
}

.service-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-conclusion {
    font-style: italic;
    color: var(--secondary-color);
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.service-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--success-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.service-icon {
    color: white;
    font-size: 1.5rem;
}

.service-image-float {
    float: right;
    margin: 0 0 1rem 1.5rem;
    border-radius: 1rem;
    max-width: 40%;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.service-image-float-left {
    float: left;
    margin: 0 1.5rem 1rem 0;
}

.service-divider {
    height: 1px;
    background-color: rgba(0, 0, 0, 0.1);
    margin: 2.5rem 0;
}

.special-tip {
    background-color: rgba(36, 25, 135, 0.05);
    padding: 1.5rem;
    border-radius: 0.5rem;
    margin: 2rem 0;
    position: relative;
}

.special-tip-title {
    font-weight: 700;
    color: var(--success-color);
    margin-bottom: 0.75rem;
    display: block;
}

.special-tip-image {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    z-index: 1;
}

@media (max-width: 991.98px) {
    .service-image-float, .service-image-float-left {
        max-width: 100%;
        float: none;
        margin: 0 0 1.5rem 0;
    }
    
    .special-tip-image {
        position: relative;
        top: auto;
        right: auto;
        margin: 0 auto 1rem;
    }
}

/* Стилі для блоку "Советы по уходу за автомобилем" */
.tips-articles-section {
    padding: 6rem 0;
    background-color: var(--light-color);
    position: relative;
    overflow: hidden;
}

.tips-articles-container {
    position: relative;
    z-index: 2;
}

.tips-articles-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.tips-article-card {
    background-color: white;
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
}

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

.tips-article-number {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    width: 30px;
    height: 30px;
    background-color: var(--success-color);
    color: white;
    font-weight: 700;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    z-index: 2;
}

.tips-article-content {
    padding: 2rem;
}

.tips-article-title {
    margin-bottom: 1rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
}

.tips-article-text {
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.tips-article-link {
    display: inline-block;
    color: var(--success-color);
    font-weight: 600;
    text-decoration: none;
    position: relative;
    padding-right: 1.5rem;
}

.tips-article-link::after {
    content: '→';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.3s ease;
}

.tips-article-link:hover::after {
    transform: translate(5px, -50%);
}

/* Стилі для блоку "Новинки в мире автотехнологий" */
.news-section {
    padding: 6rem 0;
    background-color: white;
    position: relative;
}

.news-container {
    position: relative;
    z-index: 2;
}

.news-title {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.news-card {
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    height: 100%;
    transition: transform 0.3s ease;
    background-color: white;
}

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

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

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

.news-card:hover .news-image {
    transform: scale(1.05);
}

.news-content {
    padding: 2rem;
}

.news-category {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background-color: rgba(36, 25, 135, 0.1);
    color: var(--success-color);
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 2rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.news-article-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.news-description {
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.news-read-more {
    display: inline-block;
    color: var(--success-color);
    font-weight: 600;
    text-decoration: none;
    position: relative;
    padding-right: 1.5rem;
}

.news-read-more::after {
    content: '→';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.3s ease;
}

.news-read-more:hover::after {
    transform: translate(5px, -50%);
}

@media (max-width: 991.98px) {
    .tips-articles-section, .news-section {
        padding: 4rem 0;
    }
    
    .tips-articles-intro, .news-title {
        margin-bottom: 3rem;
    }
    
    .tips-article-card, .news-card {
        margin-bottom: 2rem;
    }
}

@media (max-width: 767.98px) {
    .tips-articles-section, .news-section {
        padding: 3rem 0;
    }
    
    .tips-article-content, .news-content {
        padding: 1.5rem;
    }
}

/* Стилі для блоку "Контактная информация" */
.contact-section {
    padding: 6rem 0;
    background-color: var(--light-color);
    position: relative;
}

.contact-card {
    background-color: white;
    border-radius: 1rem;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    margin-bottom: 2rem;
}

.contact-info2 {
    padding: 2.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.contact-title {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    position: relative;
    padding-bottom: 1rem;
}

.contact-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 3px;
    background-color: var(--success-color);
}

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

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

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

.contact-icon {
    margin-right: 1rem;
    color: var(--success-color);
    font-size: 1.5rem;
    flex-shrink: 0;
    padding-top: 0.25rem;
}

.contact-text {
    color: var(--secondary-color);
    line-height: 1.6;
}

.contact-label {
    display: block;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.hours-table {
    width: 100%;
    margin: 0;
}

.hours-day {
    font-weight: 600;
    padding-right: 1rem;
    color: var(--primary-color);
}

.hours-time {
    color: var(--secondary-color);
}

.map-container {
    height: 400px;
    width: 100%;
    border-radius: 0 0 1rem 1rem;
    overflow: hidden;
}

.map-frame {
    width: 100%;
    height: 100%;
    border: 0;
}

/* Стилі для форми зворотного зв'язку */
.contact-form-section {
    padding: 6rem 0;
    background-color: white;
    position: relative;
}

.form-container {
    max-width: 800px;
    margin: 0 auto;
}

.form-card {
    background-color: white;
    border-radius: 1rem;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
    padding: 3rem;
    position: relative;
}

.form-title {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.form-subtitle {
    color: var(--secondary-color);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.contact-form {
    margin-top: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
    position: relative;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--primary-color);
}

.form-control {
    display: block;
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    line-height: 1.5;
    color: var(--primary-color);
    background-color: #f8f9fa;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: 0.5rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.form-control:focus {
    border-color: var(--success-color);
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(36, 25, 135, 0.25);
}

.form-control.is-invalid {
    border-color: #dc3545;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23dc3545' viewBox='0 0 12 12'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.invalid-feedback {
    display: none;
    width: 100%;
    margin-top: 0.25rem;
    font-size: 0.875em;
    color: #dc3545;
}

.was-validated .form-control:invalid ~ .invalid-feedback,
.form-control.is-invalid ~ .invalid-feedback {
    display: block;
}

.btn-submit {
    padding: 0.75rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    color: white;
    background-color: var(--success-color);
    border: none;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    cursor: pointer;
    width: 100%;
}

.btn-submit:hover {
    background-color: #1e1470;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(36, 25, 135, 0.3);
}

.btn-submit:disabled {
    background-color: #6c757d;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

@media (max-width: 991.98px) {
    .contact-section, .contact-form-section {
        padding: 4rem 0;
    }
    
    .contact-title, .form-title {
        font-size: 1.75rem;
    }
    
    .map-container {
        height: 300px;
    }
    
    .form-card {
        padding: 2rem;
    }
}

@media (max-width: 767.98px) {
    .contact-section, .contact-form-section {
        padding: 3rem 0;
    }
    
    .contact-info2 {
        padding: 2rem;
    }
    
    .map-container {
        height: 250px;
    }
}