/* Modern Professional Styles for MotorWise Central */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

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

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #2d3748;
    line-height: 1.6;
    min-height: 100vh;
}


:root {
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --secondary-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --dark-gradient: linear-gradient(135deg, #4c63d2 0%, #5a67d8 100%);
    --light-bg: rgba(255, 255, 255, 0.95);
    --glass-bg: rgba(255, 255, 255, 0.1);
    --text-primary: #2d3748;
    --text-secondary: #4a5568;
    --text-light: #ffffff;
    --shadow-soft: 0 10px 25px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 20px 40px rgba(0, 0, 0, 0.15);
    --border-radius: 16px;
}


/* Navbar Styles */
.navbar {
    background: var(--light-bg);
    backdrop-filter: blur(20px);
    border: none;
    padding: 1rem 0;
    box-shadow: var(--shadow-soft);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.navbar-brand .fs-4 {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
    font-size: 1.8rem;
}

.nav-link {
    color: var(--text-primary) !important;
    font-weight: 500;
    margin: 0 0.5rem;
    padding: 0.5rem 1rem !important;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.nav-link.active, .nav-link:hover {
    background: var(--primary-gradient);
    color: white !important;
    transform: translateY(-2px);
    box-shadow: var(--shadow-soft);
}

/* Main Content Spacing */
main {
    padding-top: 2rem;
    padding-bottom: 3rem;
}
/* Buttons */
.btn-primary {
    background: var(--primary-gradient);
    border: none;
    color: white;
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-soft);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
    background: var(--dark-gradient);
}

/* Form Styles */
.form-control {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    padding: 12px 16px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.form-control:focus {
    background: rgba(255, 255, 255, 0.95);
    border-color: #667eea;
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
    transform: translateY(-1px);
}

.form-control.is-invalid {
    border-color: #dc3545;
    background: rgba(220, 53, 69, 0.1);
}

.form-control.is-invalid:focus {
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

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

/* Toast Messages */
.toast-message {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 16px 20px;
    border-radius: 12px;
    color: white;
    font-weight: 500;
    z-index: 9999;
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(20px);
    animation: slideInRight 0.3s ease;
}

.toast-message.success {
    background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
}

.toast-message.error {
    background: linear-gradient(135deg, #f56565 0%, #e53e3e 100%);
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Blog Styles */
.blog-post {
    background: var(--light-bg);
    backdrop-filter: blur(20px);
    border-radius: var(--border-radius);
    padding: 2.5rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.blog-post h2, .blog-post h3 {
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.blog-post-meta {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.blog-post img {
    border-radius: 12px;
    box-shadow: var(--shadow-soft);
}

/* Featurette Styles */
.featurette {
    background: var(--light-bg);
    backdrop-filter: blur(20px);
    border-radius: var(--border-radius);
    padding: 3rem 2rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.featurette-heading {
    font-weight: 700;
    color: var(--text-primary);
}

.featurette img {
    border-radius: 12px;
    box-shadow: var(--shadow-soft);
}

/* Badge Styles */
.text-primary-emphasis {
    background: var(--primary-gradient);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.text-success-emphasis {
    background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.text-danger-emphasis {
    background: linear-gradient(135deg, #f56565 0%, #e53e3e 100%);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Footer */
footer {
    background: var(--light-bg);
    backdrop-filter: blur(20px);
    border-radius: var(--border-radius);
    margin-top: 3rem;
    padding: 2rem;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

footer .nav-link {
    color: var(--text-secondary) !important;
    padding: 0.5rem 1rem !important;
}

footer .nav-link:hover {
    color: var(--text-primary) !important;
    background: none !important;
}

/* Cookie Popup */
#cookie-popup {
    background: var(--light-bg);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-primary);
    box-shadow: var(--shadow-soft);
}

#cookie-popup a {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
}

#cookie-popup a:hover {
    text-decoration: underline;
}

/* Dark Section */
.dark-section {
    background: var(--primary-gradient);
    border-radius: var(--border-radius);
    padding: 3rem 2rem;
    margin: 3rem 0;
    box-shadow: var(--shadow-soft);
    color: white;
}

.dark-section h2, .dark-section .lead {
    color: white;
}

/* Utility Classes */
.glass-bg {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.shadow-custom {
    box-shadow: var(--shadow-soft);
}

.rounded-custom {
    border-radius: var(--border-radius);
}

/* Contact Info Icons */
.material-icons {
    vertical-align: middle;
    margin-right: 8px;
    color: #667eea;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        padding: 2rem 1.5rem;
    }
    
    .card-body, .blog-post, .featurette {
        padding: 1.5rem;
    }
    
    .navbar-brand .fs-4 {
        font-size: 1.5rem;
    }
    
    .toast-message {
        right: 10px;
        left: 10px;
        top: 10px;
    }
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 0.6s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Border Bottom Styles */
.border-bottom {
    border-bottom: 2px solid rgba(102, 126, 234, 0.2) !important;
    padding-bottom: 1rem;
    margin-bottom: 2rem;
}

/* Team Member Styles */
.text-center img {
    border: 4px solid rgba(255, 255, 255, 0.8);
    box-shadow: var(--shadow-soft);
}

/* Blockquote */
blockquote {
    background: rgba(102, 126, 234, 0.1);
    border-left: 4px solid #667eea;
    padding: 1rem 1.5rem;
    border-radius: 0 12px 12px 0;
    margin: 1.5rem 0;
    font-style: italic;
}


/* new styles  */
.section-padding {
    padding: 6rem 0;
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
}

.glass-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-5px);
}

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

.gradient-text {
    background: var(--secondary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

.dot-pattern {
    background-image: radial-gradient(rgba(255, 255, 255, 0.4) 1px, transparent 1px);
    background-size: 20px 20px;
}

/* Стилі для головного екрану */
.hero-section {
    background: var(--primary-gradient);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

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

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    line-height: 1.6;
    opacity: 0.9;
}

.hero-btn {
    padding: 0.75rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 30px;
    background: var(--light-bg);
    color: var(--text-primary);
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    border: none;
    box-shadow: var(--shadow-soft);
}

.hero-btn:hover {
    background: #ffffff;
    box-shadow: var(--shadow-hover);
    transform: translateY(-3px);
}

.hero-image-container {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    position: relative;
}

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

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

.hero-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1rem;
    border-radius: 30px;
    color: var(--text-light);
    font-weight: 500;
    font-size: 0.875rem;
    z-index: 1;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.dot-overlay {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background-image: radial-gradient(rgba(255, 255, 255, 0.15) 1px, transparent 1px);
    background-size: 20px 20px;
    z-index: 1;
}

.pattern-left {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40%;
    height: 40%;
    background-image: radial-gradient(rgba(255, 255, 255, 0.15) 1px, transparent 1px);
    background-size: 20px 20px;
    z-index: 1;
}

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

@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-padding {
        padding: 4rem 0;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 1.75rem;
    }
    
    .hero-btn {
        width: 100%;
        text-align: center;
    }
}
/* Стилі для блоку "Обзор услуг автосервиса" */
.service-overview {
    background-color: var(--light-bg);
    border-radius: var(--border-radius);
    padding: 3rem;
    box-shadow: var(--shadow-soft);
}

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

.section-title::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 4px;
    background: var(--primary-gradient);
    bottom: -10px;
    left: 0;
    border-radius: 2px;
}

/* Стилі для блоку "Советы по уходу за автомобилем" */
.tip-card {
    padding: 1.5rem;
    height: 100%;
    transition: transform 0.3s ease;
}

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

.tip-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    background: var(--primary-gradient);
    color: white;
}

.tip-icon .material-icons {
    font-size: 28px;
}

/* Стилі для блоку "FAQ" */
.faq-item {
    border-radius: var(--border-radius);
    overflow: hidden;
    margin-bottom: 1rem;
    border: none;
}

.faq-header {
    background: var(--light-bg);
    border: none;
    padding: 1.25rem;
}

.faq-button {
    color: var(--text-primary);
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 0;
}

.faq-button:hover, 
.faq-button:focus {
    color: var(--text-primary);
    text-decoration: none;
}

.faq-collapse {
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.faq-body {
    padding: 1.25rem;
    background-color: #f8f9fa;
}

/* Стилі для блоку "Инновации и технологии" */
.innovation-card {
    border-radius: var(--border-radius);
    padding: 2.5rem;
    height: 100%;
}

.innovation-icon {
    font-size: 48px;
    margin-bottom: 1.5rem;
    background: var(--secondary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Оновлені стилі для блоку "Советы по уходу за автомобилем" */
.tips-section {
    background: var(--primary-gradient);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.tips-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../img/car-maintenance-bg.webp');
    background-size: cover;
    background-position: center;
    opacity: 0.15;
    z-index: -1;
}

/* Оновлені стилі для блоку "Инновации и технологии в автосервисе" */
.innovations-section {
    background: var(--primary-gradient);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.innovations-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../img/auto-tech-bg.webp');
    background-size: cover;
    background-position: center;
    opacity: 0.15;
    z-index: -1;
}

/* Стилі для блоку "Безопасность и экология" */
.safety-section {
    background-color: var(--light-bg);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.safety-image {
    height: 100%;
    border-radius: var(--border-radius) 0 0 var(--border-radius);
    overflow: hidden;
}

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

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

.safety-content {
    padding: 3rem;
}

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

.advantage-item {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius);
    padding: 2rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.advantage-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.advantage-number {
    font-size: 3rem;
    font-weight: 700;
    margin-right: 1.5rem;
    background: var(--secondary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    line-height: 1;
}

/* Стилі для блоку "История и миссия" */
.mission-section {
    background: #ffffff;
}

.mission-card {
    border-radius: var(--border-radius);
    padding: 3rem;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.mission-card::before {
    content: "";
    position: absolute;
    left: -50px;
    top: -50px;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: var(--primary-gradient);
    opacity: 0.1;
    z-index: -1;
}

.mission-card::after {
    content: "";
    position: absolute;
    right: -50px;
    bottom: -50px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: var(--secondary-gradient);
    opacity: 0.1;
    z-index: -1;
}

.mission-title {
    position: relative;
    display: inline-block;
    margin-bottom: 2rem;
}

.mission-title::after {
    content: '';
    position: absolute;
    width: 70px;
    height: 4px;
    background: var(--primary-gradient);
    bottom: -12px;
    left: 0;
    border-radius: 2px;
}
/* Стилі для блоку "Команда специалистов" */
.team-section {
    background-color: #f8f9fa;
}

.team-card {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
}

.team-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-5px);
}

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

.team-image img {
    width: 100%;
    transition: transform 0.5s ease;
}

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

.team-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    padding: 20px;
}

.team-content {
    padding: 2rem;
    background-color: white;
}

/* Стилі для блоку "Наш подход к качеству и сервису" */
.quality-section {
    background: var(--primary-gradient);
}

.quality-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius);
    padding: 3rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.quality-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.quality-icon .material-icons {
    font-size: 40px;
    color: white;
}

/* Стилі для блоку "Услуги" */
.services-section {
    background-color: #f8f9fa;
}

.service-main-card {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
    height: 100%;
    background-color: white;
}

.service-main-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-5px);
}

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

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

.service-main-card:hover .service-image img {
    transform: scale(1.05);
}

.service-content {
    padding: 2rem;
}

.service-minor-card {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
    height: 100%;
    background-color: white;
}

.service-minor-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-5px);
}

.service-minor-image {
    height: 200px;
    overflow: hidden;
}

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

.service-minor-card:hover .service-minor-image img {
    transform: scale(1.05);
}

.service-minor-content {
    padding: 1.5rem;
}

.service-badge {
    display: inline-block;
    padding: 0.35rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 30px;
    margin-bottom: 1rem;
    background: var(--primary-gradient);
    color: white;
}

/* Стилі для блоку "Образовательные статьи" */
.articles-section {
    background-color: #f8f9fa;
}

.article-card {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    background-color: #fff;
    height: 100%;
    transition: all 0.3s ease;
}

.article-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-5px);
}

.article-image {
    height: 240px;
    overflow: hidden;
    position: relative;
}

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

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

.article-category {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--primary-gradient);
    color: white;
    padding: 0.35rem 0.75rem;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 1;
}

.article-content {
    padding: 2rem;
}

.article-meta {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.article-meta span {
    display: flex;
    align-items: center;
    margin-right: 1rem;
}

.article-meta .material-icons {
    font-size: 16px;
    margin-right: 0.25rem;
}

.article-text p {
    margin-bottom: 1rem;
}

.article-text ul {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.article-text ul li {
    margin-bottom: 0.5rem;
    position: relative;
}

.article-highlight {
    background-color: rgba(102, 126, 234, 0.1);
    border-left: 4px solid var(--primary-gradient);
    padding: 1.25rem;
    margin: 1.5rem 0;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

/* Стилі для блоку "Обзоры новых технологий" */
.tech-section {
    position: relative;
    background: var(--primary-gradient);
    color: white;
    overflow: hidden;
}


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

.tech-image-container {
    position: relative;
    z-index: 2;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-hover);
}

.tech-image {
    width: 100%;
    height: 100%;
    min-height: 400px;
    object-fit: cover;
}

.tech-features {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius);
    padding: 2rem;
    margin-top: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

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

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

.tech-feature-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    flex-shrink: 0;
}

.tech-feature-icon .material-icons {
    font-size: 20px;
    color: white;
}
/* Стилі для блоку "Контактные данные" */
.contact-section {
    background-color: #f8f9fa;
}

.contact-card {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    height: 100%;
    transition: all 0.3s ease;
    background-color: white;
}

.contact-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-5px);
}

.contact-header {
    background: var(--primary-gradient);
    color: white;
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.contact-header::after {
    content: '';
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.contact-info {
    padding: 2rem;
}

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

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

.contact-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    flex-shrink: 0;
}

.contact-icon .material-icons {
    font-size: 24px;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.contact-text h5 {
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.contact-text p {
    margin-bottom: 0;
    color: var(--text-secondary);
}

/* Стилі для блоку "Форма обратной связи" */
.feedback-section {
    background: var(--primary-gradient);
    position: relative;
    overflow: hidden;
}

.feedback-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 40%;
    height: 100%;
    background-image: radial-gradient(rgba(255, 255, 255, 0.15) 1px, transparent 1px);
    background-size: 20px 20px;
    z-index: 1;
}

.feedback-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40%;
    height: 40%;
    background-image: radial-gradient(rgba(255, 255, 255, 0.15) 1px, transparent 1px);
    background-size: 20px 20px;
    z-index: 1;
}

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

.feedback-card {
    background: var(--light-bg);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-hover);
}

.feedback-header {
    padding: 2.5rem 2.5rem 1.5rem;
}

.feedback-body {
    padding: 0 2.5rem 2.5rem;
}

.form-control {
    border-radius: 8px;
    padding: 0.75rem 1rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    background-color: #f8f9fa;
    transition: all 0.3s ease;
}

.form-control:focus {
    box-shadow: none;
    border-color: rgba(102, 126, 234, 0.5);
    background-color: white;
}

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

.btn-submit {
    background: var(--primary-gradient);
    border: none;
    color: white;
    border-radius: 8px;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-submit:hover, 
.btn-submit:focus {
    box-shadow: var(--shadow-hover);
    transform: translateY(-3px);
    opacity: 0.95;
}

/* Стилі для блоку "Карта" */
.map-section {
    background-color: #f8f9fa;
}

.map-container {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
    height: 450px;
}

.map-container:hover {
    box-shadow: var(--shadow-hover);
}

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

.map-overlay {
    position: relative;
}

.map-card {
    position: absolute;
    top: 30px;
    left: 30px;
    z-index: 10;
    background: rgba(255, 255, 255, 0.95);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: var(--shadow-soft);
    max-width: 320px;
}

.map-title {
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.map-address {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.map-address .material-icons {
    color: #764ba2;
    margin-right: 0.75rem;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .map-card {
        position: relative;
        top: 0;
        left: 0;
        max-width: 100%;
        margin-bottom: 1.5rem;
    }
    
    .map-container {
        height: 350px;
    }
}
/* Стилі для головного екрану сторінки "О нас" */
.about-hero {
    background: var(--primary-gradient);
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.about-hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background-image: radial-gradient(rgba(255, 255, 255, 0.15) 1px, transparent 1px);
    background-size: 20px 20px;
    z-index: 1;
}

.about-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40%;
    height: 40%;
    background-image: radial-gradient(rgba(255, 255, 255, 0.15) 1px, transparent 1px);
    background-size: 20px 20px;
    z-index: 1;
}

.about-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.about-hero-title {
    color: white;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

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

.about-hero-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto;
}

/* Стилі для футера */
.footer {
    background-color: #212529;
    color: rgba(255, 255, 255, 0.8);
    padding-top: 4rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.footer-logo-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary-gradient);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.75rem;
}

.footer-logo-text {
    font-size: 1.25rem;
    font-weight: 600;
    color: white;
}

.footer-contact {
    margin-bottom: 2rem;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

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

.footer-contact-icon {
    color: #764ba2;
    margin-right: 0.75rem;
    font-size: 1.25rem;
}

.footer-heading {
    color: white;
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-heading::after {
    content: '';
    position: absolute;
    width: 50px;
    height: 3px;
    background: var(--primary-gradient);
    bottom: 0;
    left: 0;
    border-radius: 1.5px;
}

.footer-nav .nav-link {
    color: rgba(255, 255, 255, 0.8);
    padding: 0.5rem 0;
    transition: all 0.3s ease;
}

.footer-nav .nav-link:hover {
    color: white;
    transform: translateX(5px);
}

.footer-nav .nav-item {
    margin-bottom: 0.5rem;
}

.footer-bottom {
    padding: 1.5rem 0;
    background-color: rgba(0, 0, 0, 0.2);
    margin-top: 3rem;
}

.footer-bottom .nav-link {
    color: rgba(255, 255, 255, 0.6);
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    transition: all 0.3s ease;
}

.footer-bottom .nav-link:hover {
    color: white;
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
    text-align: center;
    margin-top: 1rem;
}

@media (max-width: 992px) {
    .about-hero-title {
        font-size: 2.5rem;
    }
    
    .footer {
        padding-top: 3rem;
    }
    
    .footer-logo {
        margin-bottom: 1rem;
    }
}

@media (max-width: 768px) {
    .about-hero-title {
        font-size: 2rem;
    }
    
    .about-hero-subtitle {
        font-size: 1rem;
    }
    
    .footer-col {
        margin-bottom: 2rem;
    }
    
    .footer-bottom .nav {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-bottom .nav-link {
        padding: 0.5rem;
    }
}