/*
Theme Name: AltaMedical
Description: Професійна WordPress тема для медичного центру AltaMedical з підтримкою мультимовності та ACF полів
Author: AltaMedical Team  
Version: 1.0
Text Domain: altamedical
Domain Path: /languages
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

/* Reset та базові стилі */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'DM Sans', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

/* Контейнер */
.container {
    max-width: 1260px;
    margin: 0 auto;
    padding: 0 20px;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.col-lg-6 {
    flex: 0 0 50%;
    max-width: 50%;
    padding: 0 15px;
}

.col-lg-4 {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
    padding: 0 15px;
}

.col-lg-12 {
    flex: 0 0 100%;
    max-width: 100%;
    padding: 0 15px;
}

.col-md-6 {
    flex: 0 0 50%;
    max-width: 50%;
    padding: 0 15px;
}

.col-md-12 {
    flex: 0 0 100%;
    max-width: 100%;
    padding: 0 15px;
}

/* Допоміжні класи */
.d-flex {
    display: flex;
}

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

.justify-content-center {
    justify-content: center;
}

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

.text-md-end {
    text-align: right;
}

.mb-3 {
    margin-bottom: 1rem;
}

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

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

.me-2 {
    margin-right: 0.5rem;
}

.me-3 {
    margin-right: 1rem;
}

.me-4 {
    margin-right: 1.5rem;
}

.py-5 {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

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

.img-fluid {
    max-width: 100%;
    height: auto;
}

/* Header стилі - Pixel Perfect */
.header {
    background: white;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: 90px;
    border-bottom: 1px solid #E5E5E5;
    padding: 10px 0;
}

.navbar {
    height: 100%;
}

.navbar .container {
    max-width: 1260px;
    margin: 0 auto;
    padding: 0 20px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar-brand {
    display: flex;
    align-items: center;
}

.logo {
    height: 49px;
    width: auto;
}

.navbar-collapse {
    display: flex;
    align-items: center;
    flex: 1;
    justify-content: center;
}

.navbar-nav {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
}

.nav-item {
    margin: 0 16px;
}

.nav-link {
    font-family: 'DM Sans', sans-serif;
    font-weight: 700;
    color: #000000;
    font-size: 14px;
    text-decoration: none;
    padding: 8px 0;
    position: relative;
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: #24B4E3;
}

/* Dropdown стилі */
.dropdown {
    position: relative;
}

.dropdown-toggle::after {
    content: '';
    display: inline-block;
    width: 12px;
    height: 12px;
    margin-left: 8px;
    vertical-align: middle;
    background-image: url('assets/arrow.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transition: transform 0.3s ease;
}

.dropdown:hover .dropdown-toggle::after {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    background: white;
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    border-radius: 12px;
    padding: 12px 0;
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 1000;
    list-style: none;
    border: 1px solid rgba(0,0,0,0.05);
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-item {
    display: block;
    padding: 12px 24px;
    font-family: 'DM Sans', sans-serif;
    font-weight: 500;
    font-size: 14px;
    color: #333333;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.dropdown-item:hover {
    color: #24B4E3;
}

/* Header actions - Pixel Perfect */
.header-actions {
    display: flex;
    align-items: center;
    gap: 24px;
}

.language-switcher {
    position: relative;
}

.language-btn {
    font-family: 'DM Sans', sans-serif;
    font-weight: 700;
    color: #000000;
    font-size: 14px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px 0;
}

.language-btn::after {
    content: '';
    display: inline-block;
    width: 12px;
    height: 12px;
    margin-left: 8px;
    vertical-align: middle;
    background-image: url('assets/arrow.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transition: transform 0.3s ease;
}

.language-switcher:hover .language-btn::after {
    transform: rotate(180deg);
}

.language-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    background: white;
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    border-radius: 12px;
    padding: 12px 0;
    min-width: 80px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 1000;
    list-style: none;
    border: 1px solid rgba(0,0,0,0.05);
}

.language-switcher:hover .language-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.language-item {
    display: block;
    padding: 8px 16px;
    font-family: 'DM Sans', sans-serif;
    font-weight: 700;
    font-size: 14px;
    color: #333333;
    text-decoration: none;
    transition: all 0.3s ease;
    text-align: center;
}

.language-item:hover {
    color: #24B4E3;
}

.contact-info {
    display: flex;
    align-items: center;
    gap: 8px;
}

.contact-icon {
    display: flex;
    align-items: center;
}

.contact-icon-img {
    width: 73px;
    height: 50px;
}

.contact-details .contact-label {
    font-family: 'DM Sans', sans-serif;
    font-size: 12px;
    color: #666666;
    font-weight: 400;
    line-height: 1.2;
}

.contact-details .contact-phone {
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #000000;
    line-height: 1.2;
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh; /* Збільшуємо до повної висоти екрана */
    padding-top: 90px;
    overflow: hidden;
    display: flex;
    align-items: center; /* Центруємо контент по вертикалі */
}

.hero-background {
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    background-size: cover;
    background-position: left center;
    background-repeat: no-repeat;
    z-index: 1;
}

.hero-bg-desktop {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: left center;
    background-repeat: no-repeat;
    display: block;
}

.hero-bg-mobile {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    display: none;
}

/* Fallback background якщо немає ACF зображень */
.hero-background:not(:has(.hero-bg-desktop)):not(:has(.hero-bg-mobile)) {
    background-image: url('hero-image.png');
}

@media (max-width: 768px) {
    .hero-bg-desktop {
        display: none;
    }
    
    .hero-bg-mobile {
        display: block;
        width: 100%;
        background-position: center center;
    }
    
    .hero-background {
        width: 100%;
        right: 0;
    }
}

.hero-section .container {
    position: relative;
    z-index: 2;
    width: 100%;
    height: auto; /* Автоматична висота замість фіксованої */
    display: flex;
    align-items: center;
    min-height: calc(100vh - 90px); /* Мінімальна висота */
}

.hero-content {
    max-width: 550px;
    padding: 60px 0;
}

.hero-title {
    font-family: 'DM Sans', sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    color: #333333;
    margin-bottom: 32px;
    line-height: 1.1;
}

.hero-subtitle {
    font-family: 'DM Sans', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #666666;
    margin-bottom: 40px;
    line-height: 1.6;
    max-width: 450px;
}

.hero-button {
    margin-bottom: 0;
}



/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 30px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: #24B4E3;
    color: white;
    border: none;
}

.btn-primary:hover {
    background: #1e9bc9;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(36, 180, 227, 0.3);
}

.btn-outline-light {
    background: transparent;
    color: #333;
    border: 2px solid #333;
}

.btn-outline-light:hover {
    background: #333;
    color: white;
}

.btn-lg {
    padding: 15px 35px;
    font-size: 18px;
}

/* Sections */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
}

.section-subtitle {
          font-size: 1.1rem;
      color: #666;
}

/* Services Section */
.services-section {
    padding: 120px 0;
    background: #ffffff;
}

.services-header {
    text-align: center;
    margin-bottom: 80px;
}

.services-title {
    font-family: 'DM Sans', sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    color: #333333;
    margin-bottom: 24px;
    line-height: 1.2;
    position: relative;
    display: inline-block;
}

.services-title span {
    color: #24B4E3;
}

.services-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: #24B4E3;
    margin: 24px auto 0;
}

.services-subtitle {
    font-family: 'DM Sans', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #666666;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.service-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    position: relative;
    cursor: pointer;
}

.service-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}

.service-icon {
    margin-bottom: 25px;
    position: relative;
    z-index: 2;
}

.service-icon svg {
    width: 60px;
    height: 60px;
    transition: transform 0.3s ease;
}

.service-card:hover .service-icon svg {
    transform: scale(1.05);
}

.service-title {
    font-family: 'DM Sans', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #333333;
    margin: 0;
    position: relative;
    z-index: 2;
    line-height: 1.4;
}

/* Responsive для Services */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .service-card {
        padding: 40px 25px;
    }
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .service-card {
        padding: 25px 15px;
    }
    
    .services-title {
        font-size: 2.5rem;
    }
    
    .service-title {
        font-size: 16px;
    }
    
    .services-section {
        padding: 80px 0;
    }
}

/* About Section with Background */
.about-section {
    position: relative;
    padding: 120px 0;
    overflow: hidden;
}

.about-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('ages.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

.about-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 2;
}

.about-section .container {
    position: relative;
    z-index: 3;
}

.about-header {
    text-align: center;
    margin-bottom: 80px;
}

.about-section-title {
    font-size: 48px;
    font-weight: 700;
    color: white;
    margin-bottom: 0;
    font-family: 'DM Sans', sans-serif;
}

.about-section-title span {
    color: #24B4E3;
}

.about-grid {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 32px;
    flex-wrap: nowrap;
    margin-top: 32px;
}

.about-card {
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.10);
    padding: 40px 32px 32px 32px;
    min-width: 240px;
    max-width: 300px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    transition: box-shadow 0.2s;
}

.about-card:hover {
    box-shadow: 0 16px 48px rgba(36,180,227,0.15);
}

.about-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    min-height: 60px;
}

.about-icon img, .about-icon svg {
    width: 60px;
    height: 60px;
    object-fit: contain;
    display: block;
}

.about-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #222;
    text-align: center;
    margin: 0;
    margin-top: auto;
    letter-spacing: 0.02em;
    line-height: 1.2;
    padding-top: 12px;
    border-top: 1px solid #e5e5e5;
    width: 100%;
}

@media (max-width: 1024px) {
    .about-grid {
        gap: 20px;
    }
    .about-card {
        min-width: 180px;
        max-width: 45%;
        padding: 32px 16px 24px 16px;
    }
}

@media (max-width: 768px) {
    .about-grid {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }
    .about-card {
        max-width: 90vw;
        min-width: 0;
        padding: 24px 10px 18px 10px;
    }
}

/* Responsive для About */
@media (max-width: 1024px) {
    .about-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .about-card {
        padding: 35px 20px;
    }
}

@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .about-card {
        padding: 30px 20px;
    }
    
    .about-section {
        padding: 80px 0;
    }
    
    .about-title {
        font-size: 14px;
    }
}

/* How We Work Section */
.how-we-work-section {
    padding: 120px 0;
    background: #ffffff;
}

.how-we-work-header {
    text-align: center;
    margin-bottom: 80px;
}

.how-we-work-title {
    font-family: 'DM Sans', sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    color: #333333;
    margin-bottom: 24px;
    line-height: 1.2;
    position: relative;
    display: inline-block;
}

.how-we-work-title span {
    color: #24B4E3;
}

.how-we-work-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: #24B4E3;
    margin: 24px auto 0;
}

.how-we-work-subtitle {
    font-family: 'DM Sans', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #666666;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

.how-we-work-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
}

.work-step {
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    background: white;
    padding: 30px 20px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.work-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}



.step-icon {
    margin-bottom: 25px;
    transition: transform 0.3s ease;
}

.step-icon svg {
    transition: transform 0.3s ease;
}

.work-step:hover .step-icon svg {
    transform: scale(1.1);
}

.step-title {
    font-family: 'DM Sans', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #333333;
    margin: 0;
    line-height: 1.4;
}

/* Responsive для How We Work */
@media (max-width: 1024px) {
    .how-we-work-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    

}

@media (max-width: 768px) {
    .how-we-work-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .how-we-work-title {
        font-size: 2.5rem;
    }
    
    .how-we-work-section {
        padding: 80px 0;
    }
    
    .step-title {
        font-size: 16px;
    }
    

}

/* Video Section */
.video-section {
    position: relative;
    height: 60vh;
    min-height: 400px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('video-block.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(36, 180, 227, 0.3);
    z-index: 2;
}

.video-content {
    position: relative;
    z-index: 3;
    text-align: center;
}

.video-play-button {
    cursor: pointer;
    transition: all 0.3s ease;
}

.video-play-button:hover {
    transform: scale(1.1);
}

.video-play-button img {
    width: 82px;
    height: 82px;
}

/* Video Modal */
.video-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

/* Certificate Modal */
.certificate-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
}

.video-modal-content {
    position: relative;
    margin: 5% auto;
    width: 90%;
    max-width: 900px;
    background: #000;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.certificate-modal-content {
    position: relative;
    margin: 2% auto;
    width: 95%;
    max-width: 1200px;
    max-height: 95%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.video-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: white;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10000;
    transition: color 0.3s ease;
}

.video-close:hover {
    color: #24B4E3;
}

.certificate-close {
    position: absolute;
    top: -50px;
    right: 0;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10001;
    transition: all 0.3s ease;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.certificate-close:hover {
    color: #24B4E3;
    background: rgba(0, 0, 0, 0.8);
    transform: scale(1.1);
}

.certificate-modal-content img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.video-modal iframe {
    width: 100%;
    height: 500px;
    border: none;
}

/* Responsive для Video */
@media (max-width: 768px) {
    .video-section {
        height: 50vh;
        min-height: 300px;
    }
    
    .video-play-button img {
        width: 40px;
        height: 40px;
    }
    
    .video-modal-content {
        margin: 10% auto;
        width: 95%;
    }
    
    .video-modal iframe {
        height: 250px;
    }
}

/* Branches Section */
.branches-section {
    padding: 120px 0;
    background: #f8f9fa;
}

.branches-header {
    text-align: center;
    margin-bottom: 60px;
}

.branches-title {
    font-family: 'DM Sans', sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    color: #333333;
    margin-bottom: 24px;
    line-height: 1.2;
    position: relative;
    display: inline-block;
}

.branches-title span {
    color: #24B4E3;
}

.branches-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: #24B4E3;
    margin: 24px auto 0;
}

.branches-cities {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.city-item {
    font-family: 'DM Sans', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: #333333;
    padding: 15px 25px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    cursor: pointer;
}

.city-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    color: #24B4E3;
}

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

.branches-button .btn {
    padding: 15px 40px;
    font-size: 16px;
    font-weight: 600;
}

/* Responsive для Branches */
@media (max-width: 1024px) {
    .branches-cities {
        gap: 40px;
    }
    
    .branches-title {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .branches-cities {
        gap: 20px;
        flex-direction: column;
        align-items: center;
    }
    
    .city-item {
        font-size: 1.1rem;
        padding: 12px 20px;
        width: 200px;
        text-align: center;
    }
    
    .branches-section {
        padding: 80px 0;
    }
    
    .branches-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 576px) {
    .branches-cities {
        gap: 15px;
    }
    
    .city-item {
        font-size: 1rem;
        padding: 10px 18px;
        width: 180px;
    }
}

/* Certificates Section */
.certificates-section {
    padding: 120px 0;
    background: #ffffff;
    overflow: hidden;
}

.certificates-header {
    text-align: center;
    margin-bottom: 80px;
}

.certificates-title {
    font-family: 'DM Sans', sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    color: #333333;
    margin-bottom: 24px;
    line-height: 1.2;
    position: relative;
    display: inline-block;
}

.certificates-title span {
    color: #24B4E3;
}

.certificates-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: #24B4E3;
    margin: 24px auto 0;
}

.certificates-subtitle {
    font-family: 'DM Sans', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #666666;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

.carousel-container {
    width: 100%;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    animation: scroll 30s linear infinite;
    gap: 30px;
    width: fit-content;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.certificate-card {
    flex-shrink: 0;
    width: 280px;
    height: 200px;
    background: #f8f9fa;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
}

.certificate-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.certificate-card img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: center;
    transition: transform 0.3s ease;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

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

/* Пауза анімації при наведенні на карусель */
.certificates-carousel:hover .carousel-track {
    animation-play-state: paused;
}

/* Responsive для Certificates */
@media (max-width: 1024px) {
    .certificates-title {
        font-size: 3rem;
    }
    
    .certificate-card {
        width: 250px;
        height: 180px;
    }
    
    .carousel-track {
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .certificates-section {
        padding: 80px 0;
    }
    
    .certificates-title {
        font-size: 2.5rem;
    }
    
    .certificate-card {
        width: 220px;
        height: 160px;
    }
    
    .carousel-track {
        gap: 20px;
        animation-duration: 25s;
    }
}

@media (max-width: 576px) {
    .certificate-card {
        width: 200px;
        height: 140px;
    }
    
    .carousel-track {
        gap: 15px;
        animation-duration: 20s;
    }
}

/* Стилі для grid сертифікатів в single-services */
.certificates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .certificates-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 20px;
    }
}

@media (max-width: 576px) {
    .certificates-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 15px;
    }
}

.certificates-carousel {
    width: 100%;
    overflow: hidden;
    position: relative;
}

/* CEO Section */
.ceo-section {
    padding: 20px 0 120px 0;
    background: #f8f9fa;
}

.ceo-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}

.ceo-brand {
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #24B4E3;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
    display: block;
}

.ceo-title {
    font-family: 'DM Sans', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    color: #333333;
    margin-bottom: 40px;
    line-height: 1.2;
}

.ceo-text {
    font-family: 'DM Sans', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #666666;
    line-height: 1.8;
}

.ceo-text p {
    margin-bottom: 24px;
}

.ceo-text p:last-child {
    margin-bottom: 0;
}

/* Responsive для CEO Section */
@media (max-width: 1024px) {
    .ceo-title {
        font-size: 2.5rem;
    }
    
    .ceo-content {
        max-width: 700px;
    }
}

@media (max-width: 768px) {
    .ceo-section {
        padding: 80px 0;
    }
    
    .ceo-title {
        font-size: 2rem;
    }
    
    .ceo-text {
        font-size: 15px;
    }
    
    .ceo-content {
        max-width: 100%;
        padding: 0 20px;
    }
}

@media (max-width: 576px) {
    .ceo-title {
        font-size: 1.8rem;
    }
    
    .ceo-text {
        font-size: 14px;
        line-height: 1.6;
    }
    
    .ceo-text p {
        margin-bottom: 20px;
    }
}

/* About Section 2 with Background */
.about-section-2 {
    position: relative;
    padding: 120px 0;
    overflow: hidden;
}

.about-background-2 {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('ages.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}



.about-section-2 .container {
    position: relative;
    z-index: 3;
}

.about-grid-2 {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 32px;
    flex-wrap: nowrap;
    margin-top: 32px;
}

.about-card-2 {
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.10);
    padding: 40px 32px 32px 32px;
    min-width: 240px;
    max-width: 300px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    transition: box-shadow 0.2s;
}

.about-card-2:hover {
    box-shadow: 0 16px 48px rgba(36,180,227,0.15);
}

.about-icon-2 {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    min-height: 60px;
}

.about-icon-2 img, .about-icon-2 svg {
    width: 60px;
    height: 60px;
    object-fit: contain;
    display: block;
}

.about-title-2 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #222;
    text-align: center;
    margin: 0;
    margin-top: auto;
    letter-spacing: 0.02em;
    line-height: 1.2;
    padding-top: 12px;
    border-top: 1px solid #e5e5e5;
    width: 100%;
}

@media (max-width: 1024px) {
    .about-grid-2 {
        gap: 20px;
    }
    .about-card-2 {
        min-width: 180px;
        max-width: 45%;
        padding: 32px 16px 24px 16px;
    }
}

@media (max-width: 768px) {
    .about-grid-2 {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }
    .about-card-2 {
        max-width: 90vw;
        min-width: 0;
        padding: 24px 10px 18px 10px;
    }
}



/* Reviews Section */
.reviews-section {
    padding: 80px 0;
    background-color: #fff;
}

.reviews-section .section-title {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.review-item {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.review-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e9ecef;
}

.review-author {
    font-size: 1.1rem;
    color: #2c3e50;
}

.review-rating {
    display: flex;
    gap: 2px;
}

.star {
    font-size: 1.2rem;
    color: #ddd;
}

.star.filled {
    color: #ffc107;
}

.review-body p {
    color: #666;
    line-height: 1.6;
    font-style: italic;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .reviews-section {
        padding: 50px 0;
    }
    
    .reviews-section .section-title {
        font-size: 2rem;
        margin-bottom: 30px;
    }
    
    .reviews-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .review-item {
        padding: 20px;
    }
    
    .review-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

/* Contact Form Section */
.contact-form-section {
    padding: 120px 0;
    background: none;
}

.contact-form-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.contact-image img {
    width: 100%;
    height: auto;
}

.contact-form-wrapper {
    padding: 0 20px;
}

.contact-brand {
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #24B4E3;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
    display: block;
}

.contact-title {
    font-family: 'DM Sans', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    color: #333333;
    margin-bottom: 20px;
    line-height: 1.2;
}

.contact-subtitle {
    font-family: 'DM Sans', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #666666;
    line-height: 1.6;
    margin-bottom: 50px;
}

/* Стилі форм перенесено в assets/css/forms.css */

/* Responsive для Contact Form */
@media (max-width: 1024px) {
    .contact-form-content {
        gap: 50px;
    }
    
    .contact-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .contact-form-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-form-section {
        padding: 80px 0;
    }
    
    .contact-title {
        font-size: 2rem;
    }
    
    .contact-form {
        padding: 30px 20px;
    }
    
    .contact-form-wrapper {
        padding: 0;
    }
}

/* Mobile hamburger menu - REMOVED */

/* Tablet styles */
@media (max-width: 1024px) {
    .container {
        max-width: 1024px;
    }
    
    .navbar-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        box-shadow: 0 4px 20px rgba(0,0,0,0.15);
        padding: 20px 0;
        z-index: 1000;
    }
    
    .navbar-nav.show {
        display: flex;
    }
    
    .nav-item {
        margin: 10px 20px;
    }
    
    .dropdown-menu {
        position: static;
        box-shadow: none;
        background: #f8f9fa;
        margin-top: 10px;
        margin-left: 20px;
    }
    
    .header-actions {
        gap: 15px;
    }
}

/* Mobile styles */
@media (max-width: 768px) {
    .contact-info {
        display: none;
    }
    
    .language-switcher {
        display: none;
    }
}
    
    .nav-item {
        margin: 0;
    }
    
    .nav-item:last-child {
        border-bottom: none;
    }
    
    .nav-link {
        padding: 18px 24px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        font-size: 16px;
        font-weight: 600;
        color: #333;
        text-decoration: none;
        transition: all 0.3s ease;
        min-height: 40px;
    }
    
    /* Звичайні пункти меню - hover без зсуву */
    .nav-item:not(.dropdown) .nav-link:hover {
        color: #24B4E3 !important;
    }
    
    /* Dropdown styles for mobile */
    .dropdown {
        position: relative;
    }
    
    /* Dropdown пункти - НЕ зсуваються, тільки підсвічуються */
    .dropdown .dropdown-toggle {
        background-color: transparent;
        transition: all 0.3s ease;
    }
    
    .dropdown .dropdown-toggle:hover {
        color: #24B4E3 !important;
    }
    
    .dropdown.active .dropdown-toggle {
        color: #24B4E3 !important;
    }
    
    .dropdown-toggle::after {
        content: '';
        display: inline-block;
        width: 12px;
        height: 12px;
        background-image: url('assets/arrow.svg');
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
        transition: transform 0.3s ease;
        margin-left: 8px;
        flex-shrink: 0;
    }
    
    .dropdown.active .dropdown-toggle::after {
        transform: rotate(180deg);
    }
    
    .navbar-nav .dropdown-menu {
        display: none;
        position: static;
        box-shadow: none;
        background: #f8f9fa;
        margin: 0;
        padding: 0;
        border: none;
        border-radius: 0;
    }
    
    .navbar-nav .dropdown.active .dropdown-menu {
        display: block;
    }
    
    .dropdown-item {
        padding: 14px 48px;
        font-size: 15px;
        color: #666;
        border-bottom: 1px solid #e9ecef;
        display: block;
        text-decoration: none;
        transition: all 0.3s ease;
        min-height: 50px;
        display: flex;
        align-items: center;
    }
    
    .dropdown-item:hover {
        color: #24B4E3;
    }
    
    .dropdown-item:last-child {
        border-bottom: none;
    }
    
    /* Responsive content adjustments */
    .hero-title {
        font-size: 3.2rem;
    }
    
    .hero-section {
        min-height: 80vh; /* Збільшуємо для планшетів */
        padding-top: 120px; /* Зменшуємо padding */
    }
    
    .hero-section .container {
        min-height: calc(80vh - 120px);
        height: auto;
    }
    
    .hero-content {
        padding: 70px 0 30px 0;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .text-md-end {
        text-align: center;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .col-md-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .col-lg-4 {
        flex: 0 0 100%;
        max-width: 100%;
    }


/* Mobile responsive styles */
@media (max-width: 992px) {
    .col-lg-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .col-lg-4 {
        flex: 0 0 50%;
        max-width: 50%;
    }
    
    .col-lg-12 {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-content {
        padding-right: 0;
        margin-bottom: 40px;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 3.2rem;
    }
    
    .hero-section {
        min-height: 70vh; /* Достатня висота для мобільних */
        padding-top: 100px; /* Зменшуємо padding для мобільних */
    }
    
    .hero-section .container {
        min-height: calc(70vh - 100px);
        height: auto;
    }
    
    .hero-content {
        padding: 60px 0 20px 0;
    }
    
    .btn {
        padding: 10px 25px;
        font-size: 14px;
    }
    
    .btn-lg {
        padding: 12px 30px;
        font-size: 16px;
    }
}

/* Services Hero Section */
.services-hero-section {
    position: relative;
    height: 350px;
    padding-top: 90px;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.services-hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('hero2.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    z-index: 1;
}

.services-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2;
}

.services-hero-section .container {
    position: relative;
    z-index: 3;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.services-hero-content {
    text-align: center;
    color: white;
}

.services-hero-title {
    font-family: 'DM Sans', sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 20px;
    line-height: 1.1;
}

.breadcrumb-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-family: 'DM Sans', sans-serif;
    font-size: 16px;
}

.breadcrumb-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-link:hover {
    color: #24B4E3;
}

.breadcrumb-separator {
    color: rgba(255, 255, 255, 0.6);
    font-size: 18px;
}

.breadcrumb-current {
    color: white;
    font-weight: 600;
}

/* Mobile styles for Services Hero */
@media (max-width: 768px) {
    .services-hero-section {
        height: 280px;
        padding-top: 90px;
    }
    
    .services-hero-title {
        font-size: 2.5rem;
    }
    
    .breadcrumb-nav {
        font-size: 14px;
        gap: 8px;
    }
}

@media (max-width: 576px) {
    .services-hero-section {
        height: 300px;
        padding-top: 90px;
    }
    
    .services-hero-title {
        font-size: 2rem;
        margin-bottom: 15px;
    }
    
    .breadcrumb-nav {
        font-size: 13px;
    }
}

/* Countries Section Styles */
.countries-section {
    padding: 120px 0;
    background: #f8f9fa;
}

.countries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.country-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 40px 30px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.country-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12);
}

.country-title {
    font-family: 'DM Sans', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 30px;
    text-align: center;
}

.cities-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.city-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 10px 0;
}

.city-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 12px;
    height: 12px;
}

.city-link {
    font-family: 'DM Sans', sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: #666666;
    text-decoration: none;
    transition: color 0.3s ease;
}

.city-link:hover {
    color: #24B4E3;
}

@media (max-width: 768px) {
    .countries-section {
        padding: 80px 0;
    }
    
    .countries-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .country-card {
        padding: 30px 20px;
    }
    
    .country-title {
        font-size: 20px;
        margin-bottom: 25px;
    }
}

/* Our Centers Section Styles */
.our-centers-section {
    background: #ffffff;
}

.centers-header {
    text-align: center;
    margin-bottom: 80px;
}

.centers-title {
    font-family: 'DM Sans', sans-serif;
    font-size: 48px;
    font-weight: 700;
    color: #333333;
    margin-bottom: 20px;
}

.centers-title span {
    color: #24B4E3;
}

.centers-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: #24B4E3;
    margin: 20px auto 0;
}

.centers-subtitle {
    font-size: 16px;
    color: #666666;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.centers-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
}

.center-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.center-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12);
}

.center-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

@media (max-width: 1200px) {
    .centers-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .our-centers-section {
        padding: 80px 0;
    }
    
    .centers-title {
        font-size: 36px;
    }
    
    .centers-header {
        margin-bottom: 60px;
    }
    
    .centers-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .center-image {
        height: 150px;
    }
}

@media (max-width: 576px) {
    .centers-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .centers-title {
        font-size: 28px;
    }
    
    .center-image {
        height: 180px;
    }
}

/* Reviews Section */
.reviews-section {
    padding: 80px 0;
    background-color: #fff;
}

.reviews-section .section-title {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.review-item {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.review-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e9ecef;
}

.review-author {
    font-size: 1.1rem;
    color: #2c3e50;
}

.review-rating {
    display: flex;
    gap: 2px;
}

.star {
    font-size: 1.2rem;
    color: #ddd;
}

.star.filled {
    color: #ffc107;
}

.review-body p {
    color: #666;
    line-height: 1.6;
    font-style: italic;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .reviews-section {
        padding: 50px 0;
    }
    
    .reviews-section .section-title {
        font-size: 2rem;
        margin-bottom: 30px;
    }
    
    .reviews-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .review-item {
        padding: 20px;
    }
    
    .review-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

/* News Section */
.news-section {
    padding: 20px 0 120px 0;
    background-color: #f8f9fa;
}

.news-header {
    text-align: center;
    margin-bottom: 80px;
}

.news-title {
    font-size: 48px;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
    font-family: 'DM Sans', sans-serif;
}

.news-title span {
    color: #24B4E3;
}

.news-subtitle {
    font-size: 16px;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.news-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.news-card:hover {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    transform: translateY(-5px);
}

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

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

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

.news-content {
    padding: 30px;
}

.news-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.news-author {
    font-size: 12px;
    font-weight: 600;
    color: #24B4E3;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.news-date {
    font-size: 12px;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Стилі для заголовків новин перенесено в components.css */

.news-card-title:hover {
    color: #24B4E3;
    cursor: pointer;
}

.news-excerpt {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 25px;
}

.news-btn {
    display: inline-block;
    background: #24B4E3;
    color: white;
    padding: 12px 30px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.news-btn:hover {
    background: #1e9bc9;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(36, 180, 227, 0.3);
    color: white;
    text-decoration: none;
}

/* News Responsive Design */
@media (max-width: 1024px) {
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .news-title {
        font-size: 42px;
    }
}

@media (max-width: 768px) {
    .news-section {
        padding: 60px 0;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .news-title {
        font-size: 36px;
    }
    
    .news-header {
        margin-bottom: 40px;
    }
    
    .news-content {
        padding: 25px;
    }
    
    /* Responsive стилі для заголовків новин в components.css */
    
    .news-image {
        height: 220px;
    }
}

@media (max-width: 576px) {
    .news-content {
        padding: 20px;
    }
    
    /* Responsive стилі для заголовків новин в components.css */
    
    .news-image {
        height: 200px;
    }
    
    .news-btn {
        padding: 10px 25px;
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    .news-content {
        padding: 15px;
    }
    
    /* Responsive стилі для заголовків новин в components.css */
    
    .news-excerpt {
        font-size: 13px;
        margin-bottom: 20px;
    }
    
    .news-btn {
        padding: 8px 20px;
        font-size: 10px;
    }
}

@media (max-width: 375px) {
    .news-content {
        padding: 12px;
    }
    
    /* Responsive стилі для заголовків новин в components.css */
    
    .news-excerpt {
        font-size: 12px;
        margin-bottom: 15px;
    }
    
    .news-meta {
        margin-bottom: 8px;
    }
    
    .news-date {
        font-size: 10px;
    }
}

@media (max-width: 320px) {
    .news-content {
        padding: 10px;
    }
    
    /* Responsive стилі для заголовків новин в components.css */
    
    .news-excerpt {
        font-size: 11px;
        margin-bottom: 12px;
    }
    
    .news-btn {
        padding: 6px 15px;
        font-size: 9px;
    }
}

/* Footer */
.footer {
    background-color: #0078A0;
    color: white;
    padding: 60px 0 0 0;
}

/* Верхній ряд з блоками послуг */
.footer-services-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 60px;
    margin-bottom: 60px;
    padding-bottom: 50px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    align-items: start;
}

.footer-service-column {
    display: flex;
    flex-direction: column;
    min-height: 200px;
}

.footer-service-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 25px;
    color: white;
    font-family: 'DM Sans', sans-serif;
    position: relative;
    height: 50px;
    display: flex;
    align-items: flex-start;
}

.footer-service-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: white;
}

.footer-service-links {
    list-style: none;
    padding: 0;
    margin: 0;
    flex-grow: 1;
}

.footer-service-links li {
    margin-bottom: 12px;
}

.footer-service-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 14px;
    line-height: 1.5;
    display: block;
}

.footer-service-links a:hover {
    color: white;
}

/* Нижній ряд з основною інформацією */
.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 50px;
    align-items: start;
}

.footer-column {
    display: flex;
    flex-direction: column;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.footer-logo-img {
    width: auto;
    height: 50px;
}

.footer-logo-text {
    font-size: 24px;
    font-weight: 700;
    font-family: 'DM Sans', sans-serif;
}

.footer-description {
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 30px;
}

.footer-hours {
    margin-top: 0;
    flex-grow: 1;
}

.hours-item {
    display: flex;
    justify-content: left;
    margin-bottom: 10px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
}

.hours-days {
    color: white;
    font-weight: 500;
}

.hours-time {
    color: rgba(255, 255, 255, 0.8);
    margin-left: 10px;
}


.footer-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
    margin-top: 20px;
    color: white;
    font-family: 'DM Sans', sans-serif;
    position: relative;
    height: 50px;
    display: flex;
    align-items: flex-start;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: white;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    flex-grow: 1;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

/* Навігаційне меню в 2 колонки */
.footer-links-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 20px;
}

.footer-links-columns li {
    margin-bottom: 12px;
}



.footer-contact {
    margin-bottom: 0;
    flex-grow: 1;
}

.contact-item {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

.contact-label {
    font-size: 12px;
    font-weight: 600;
    color: white;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-value {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
}

.contact-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
}

.contact-link:hover {
    color: white;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background-color: white;
    color: #0078A0;
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding: 25px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-copyright p {
    margin: 0;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
}

.footer-bottom-links {
    display: flex;
    gap: 30px;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
    color: white;
}

/* Footer Responsive Design */
@media (max-width: 1200px) {
    .footer-services-row {
        gap: 40px;
        margin-bottom: 50px;
        padding-bottom: 40px;
    }
    
    .footer-content {
        gap: 40px;
    }
}

@media (max-width: 1024px) {
    .footer-services-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
        margin-bottom: 40px;
        padding-bottom: 30px;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
    
    .footer-column:nth-child(1) { /* логотип */
        grid-column: 1;
    }
    
    .footer-column:nth-child(2) { /* навігація */
        grid-column: 2;
    }
    
    .footer-column:nth-child(3) { /* години */
        grid-column: 1;
    }
    
    .footer-column:nth-child(4) { /* контакти */
        grid-column: 2;
    }
    
    /* Навігаційне меню залишається в 2 колонки на планшетах */
    .footer-links-columns {
        grid-template-columns: 1fr 1fr;
        gap: 0 15px;
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 40px 0 0 0;
    }
    
    .footer-services-row {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-bottom: 30px;
        padding-bottom: 30px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-bottom: 30px;
    }
    
    .footer-column {
        text-align: left;
    }
    
    .footer-logo {
        justify-content: flex-start;
    }
    
    .footer-description {
        text-align: left;
    }
    
    .footer-social {
        justify-content: flex-start;
    }
    
    .footer-links {
        text-align: left;
    }
    
    .footer-links-columns {
        grid-template-columns: 1fr;
        gap: 0;
        text-align: left;
    }
    
    .footer-hours {
        text-align: left;
    }
    
    .footer-contact {
        text-align: left;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
        padding: 20px 0;
    }
    
    .footer-bottom-links {
        gap: 20px;
    }
}

@media (max-width: 576px) {
    .footer-services-row {
        grid-template-columns: 1fr;
        gap: 25px;
        margin-bottom: 25px;
        padding-bottom: 25px;
    }
    
    .footer-service-title {
        font-size: 16px;
        text-align: left;
        margin-bottom: 20px;
    }
    
    .footer-service-links {
        text-align: left;
    }
    
    .footer-content {
        gap: 25px;
    }
    
    .footer-logo {
        gap: 10px;
        justify-content: flex-start;
    }
    
    .footer-logo-img {
        width: auto;
        height: 40px;
        max-width: 120px;
    }
    
    .footer-title {
        font-size: 16px;
        text-align: left;
    }
    
    .footer-links {
        text-align: left;
    }
    
    .footer-links-columns {
        grid-template-columns: 1fr;
        gap: 0;
        text-align: left;
    }
    
    .footer-hours {
        text-align: left;
    }
    
    .footer-contact {
        text-align: left;
    }
    
    .footer-social {
        gap: 10px;
        justify-content: flex-start;
    }
    
    .social-link {
        width: 35px;
        height: 35px;
    }
}

@media (max-width: 576px) {
    .footer-services-row {
        grid-template-columns: 1fr;
        gap: 25px;
        margin-bottom: 25px;
        padding-bottom: 25px;
    }
    
    .footer-service-title {
        font-size: 16px;
        text-align: center;
        margin-bottom: 20px;
    }
    
    
    .footer-content {
        display: block;
        grid-template-columns: 1fr;
        gap: 25px;
        margin-bottom: 25px;
        padding-bottom: 25px;
    }
    
    

    .footer-logo {
        gap: 10px;
    }
    
    .footer-logo-img {
        width: auto;
        height: 40px;
        max-width: 120px;
    }
    
    .footer-logo-text {
        font-size: 20px;
    }
    
    .footer-title {
        font-size: 20px;
    }
    
    
    .footer-links-columns {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .footer-hours {
        text-align: center;
    }
  
    
    .footer-social {
        gap: 10px;
    }
    
    .social-link {
        width: 35px;
        height: 35px;
    }
}

/* Mobile Menu Styles - ВІДКЛЮЧЕНО, використовуємо mobile-menu-fixes.css */

/* Treatment Conditions Section */
.treatment-conditions-section {
    padding: 120px 0;
    background-color: white;
}

.treatment-conditions-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.treatment-conditions-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.treatment-conditions-title {
    font-size: 36px;
    font-weight: 700;
    color: #333;
    margin-bottom: 30px;
    font-family: 'DM Sans', sans-serif;
}

.treatment-conditions-description {
    margin-bottom: 40px;
}

.treatment-conditions-description p {
    color: #666;
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 20px;
}

.treatment-conditions-description p:last-child {
    margin-bottom: 0;
}

.instructions-title {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin-bottom: 25px;
    font-family: 'DM Sans', sans-serif;
}

.instruction-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

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

.instruction-icon {
    width: 20px;
    height: 20px;
    background-color: #24B4E3;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    margin-right: 15px;
    flex-shrink: 0;
}

.instruction-text {
    color: #666;
    font-size: 16px;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .treatment-conditions-section {
        padding: 80px 0;
    }
    
    .treatment-conditions-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .treatment-conditions-title {
        font-size: 28px;
    }
    
    .instructions-title {
        font-size: 16px;
    }
}

.treatment-conditions-icon {
    color: #24B4E3;
    margin-right: 12px;
    font-size: 16px;
}

/* Treatment Conditions Section 2 (Reversed Layout) */
.treatment-conditions-section-2 {
    padding: 120px 0;
    background-color: white;
}

.treatment-conditions-content-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.treatment-conditions-image-2 img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.treatment-conditions-title-2 {
    font-size: 36px;
    font-weight: 700;
    color: #333;
    margin-bottom: 30px;
    font-family: 'DM Sans', sans-serif;
}

.treatment-conditions-description-2 {
    margin-bottom: 40px;
}

.treatment-conditions-description-2 p {
    color: #666;
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 20px;
}

.treatment-conditions-description-2 p:last-child {
    margin-bottom: 0;
}

.instructions-title-2 {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin-bottom: 25px;
    font-family: 'DM Sans', sans-serif;
}

.instruction-item-2 {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

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

.instruction-icon-2 {
    width: 20px;
    height: 20px;
    background-color: #24B4E3;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    margin-right: 15px;
    flex-shrink: 0;
}

.instruction-text-2 {
    color: #666;
    font-size: 16px;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .treatment-conditions-section-2 {
        padding: 80px 0;
    }
    
    .treatment-conditions-content-2 {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .treatment-conditions-title-2 {
        font-size: 28px;
    }
    
    .instructions-title-2 {
        font-size: 16px;
    }
}

/* Steps Section */
.steps-section {
    padding: 120px 0;
    background: #ffffff;
}

.steps-header {
    text-align: center;
    margin-bottom: 80px;
}

.steps-title {
    font-family: 'DM Sans', sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    color: #333333;
    margin-bottom: 24px;
    line-height: 1.2;
    position: relative;
    display: inline-block;
}

.steps-title span {
    color: #24B4E3;
}

.steps-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: #24B4E3;
    margin: 24px auto 0;
}

.steps-subtitle {
    font-family: 'DM Sans', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #666666;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.step-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    position: relative;
    cursor: pointer;
}

.step-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}

.step-icon {
    margin-bottom: 25px;
    position: relative;
    z-index: 2;
}

.step-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #24B4E3;
    color: #ffffff;
    font-family: 'DM Sans', sans-serif;
    font-size: 24px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    transition: transform 0.3s ease;
}

.step-card:hover .step-number {
    transform: scale(1.05);
}

.step-title {
    font-family: 'DM Sans', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #333333;
    margin: 0;
    position: relative;
    z-index: 2;
    line-height: 1.4;
}

/* Responsive для Steps */
@media (max-width: 1024px) {
    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .step-card {
        padding: 40px 25px;
    }
}

@media (max-width: 768px) {
    .steps-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .step-card {
        padding: 35px 20px;
    }
    
    .steps-title {
        font-size: 2.5rem;
    }
    
    .steps-section {
        padding: 80px 0;
    }
}

/* Pricing Section */
.pricing-section {
    padding: 120px 0;
    background: #f8f9fa;
}

.pricing-header {
    text-align: center;
    margin-bottom: 80px;
}

.pricing-title {
    font-family: 'DM Sans', sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    color: #333333;
    margin-bottom: 24px;
    line-height: 1.2;
    position: relative;
    display: inline-block;
}

.pricing-title span {
    color: #24B4E3;
}

.pricing-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: #24B4E3;
    margin: 24px auto 0;
}

/* Pricing Table Styles */
.pricing-table-wrapper {
    max-width: 800px;
    margin: 0 auto;
    overflow-x: auto;
}

.pricing-table {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.pricing-table thead {
    background: #24B4E3;
}

.pricing-table-header {
    padding: 20px 30px;
    font-family: 'DM Sans', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
    text-align: left;
    border: none;
}

.pricing-table-header.pricing-price-header {
    text-align: right;
}

.pricing-table-row {
    transition: background-color 0.3s ease;
}

.pricing-table-row:nth-child(even) {
    background: #f8f9fa;
}

.pricing-table-row:hover {
    background-color: #e9ecef;
}

.pricing-table-cell {
    padding: 20px 30px;
    font-family: 'DM Sans', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #333333;
    border: none;
    vertical-align: middle;
}

.pricing-table-cell.pricing-name {
    text-align: left;
}

.pricing-table-cell.pricing-price {
    text-align: right;
    color: #24B4E3;
    font-weight: 700;
}

/* Screen reader only class for accessibility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Responsive для Pricing Table */
@media (max-width: 768px) {
    .pricing-section {
        padding: 80px 0;
    }
    
    .pricing-title {
        font-size: 2.5rem;
    }
    
    .pricing-header {
        margin-bottom: 60px;
    }
    
    .pricing-table-wrapper {
        margin: 0 15px;
    }
    
    .pricing-table-header,
    .pricing-table-cell {
        padding: 15px 20px;
    }
    
    .pricing-table-header {
        font-size: 16px;
    }
    
    .pricing-table-cell {
        font-size: 14px;
    }
}

@media (max-width: 576px) {
    .pricing-table-wrapper {
        margin: 0 10px;
    }
    
    .pricing-table-header,
    .pricing-table-cell {
        padding: 12px 15px;
    }
    
    .pricing-table-header {
        font-size: 14px;
    }
    
    .pricing-table-cell {
        font-size: 13px;
    }
    
    .pricing-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .pricing-table-header,
    .pricing-table-cell {
        padding: 10px 12px;
    }
    
    .pricing-table-header {
        font-size: 13px;
    }
    
    .pricing-table-cell {
        font-size: 12px;
    }
    
    .pricing-table {
        border-radius: 12px;
    }
}

/* Pricing Table Enhanced Styles */
.pricing-table {
    border: 1px solid #e9ecef;
}

.pricing-table-row:last-child td {
    border-bottom: none;
}

.pricing-table-cell {
    border-bottom: 1px solid #e9ecef;
    position: relative;
}

.pricing-table-cell:first-child {
    border-right: 1px solid #e9ecef;
}

/* Додаткові стилі для покращення читабельності */
.pricing-table-row:hover .pricing-table-cell {
    background-color: #f8f9fa;
}

/* Анімація для плавного наведення */
.pricing-table-cell {
    transition: all 0.3s ease;
}

/* Покращення для мобільних пристроїв */
@media (max-width: 480px) {
    .pricing-table-wrapper {
        -webkit-overflow-scrolling: touch;
    }
    
    .pricing-table {
        min-width: 300px;
    }
}

/* Стилі для друку */
@media print {
    .pricing-table {
        border: 1px solid #000;
        page-break-inside: avoid;
    }
    
    .pricing-table-header {
        background: #f0f0f0 !important;
        color: #000 !important;
    }
    
    .pricing-table-row:nth-child(even) {
        background: #f9f9f9 !important;
    }
}

/* News Card Clickable Links */
.news-image-link {
    display: block;
    text-decoration: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.news-image-link:hover {
    transform: scale(1.05);
    opacity: 0.9;
}

/* Стилі для посилань заголовків новин перенесено в components.css */

/* Recent News Sidebar Links */
.recent-news-image-link {
    display: block;
    text-decoration: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.recent-news-image-link:hover {
    transform: scale(1.05);
    opacity: 0.9;
}

/* Ensure images stay responsive */
.news-image-link img,
.recent-news-image-link img {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

/* Hover effects for news cards */
.news-card:hover .news-image-link img {
    transform: scale(1.1);
}

.news-card:hover .news-title-link {
    color: #24B4E3;
}

/* Mobile responsiveness for clickable elements */
@media (max-width: 768px) {
    .news-image-link:hover {
        transform: scale(1.02);
    }
    
    .news-card:hover .news-image-link img {
        transform: scale(1.05);
    }
} 

/* Специфічні стилі для сторінки service-single */
.service-single-page .ceo-section {
    margin-top: 100px;
    margin-bottom: -100px;
}

/* Author Section */
.author-section {
    padding: 120px 0;
    background: #ffffff;
}

.author-content {
    display: flex;
    align-items: center;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.author-image {
    flex: 0 0 400px;
}

.author-image img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    object-fit: cover;
}

.author-info {
    flex: 1;
}

.author-name {
    font-family: 'DM Sans', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #333333;
    margin-bottom: 16px;
    line-height: 1.2;
}

.author-qualification {
    font-family: 'DM Sans', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #888888;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 30px;
}

.author-description {
    margin-bottom: 40px;
}

.author-description p {
    font-family: 'DM Sans', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #666666;
    margin: 0;
}

.author-button .btn {
    padding: 15px 30px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
}

/* Responsive для Author Section */
@media (max-width: 1024px) {
    .author-content {
        gap: 40px;
    }
    
    .author-image {
        flex: 0 0 350px;
    }
    
    .author-name {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .author-section {
        padding: 80px 0;
    }
    
    .author-content {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
    
    .author-image {
        flex: none;
        max-width: 300px;
        margin: 0 auto;
    }
    
    .author-name {
        font-size: 2rem;
    }
    
    .author-qualification {
        font-size: 14px;
    }
    
    .author-description p {
        font-size: 15px;
    }
}

@media (max-width: 576px) {
    .author-content {
        gap: 25px;
    }
    
    .author-image {
        max-width: 250px;
    }
    
    .author-name {
        font-size: 1.8rem;
        margin-bottom: 12px;
    }
    
    .author-qualification {
        font-size: 13px;
        margin-bottom: 25px;
    }
    
    .author-description {
        margin-bottom: 30px;
    }
    
    .author-description p {
        font-size: 14px;
    }
}

/* Specialists Section */
.specialists-section {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.specialists-header {
    text-align: center;
    margin-bottom: 60px;
}

.specialists-title {
    font-family: 'DM Sans', sans-serif;
    font-size: 48px;
    font-weight: 700;
    color: #333333;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.specialists-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: #24B4E3;
    margin: 24px auto 0;
}

.specialists-title span {
    color: #24B4E3;
}

.specialists-subtitle {
    font-family: 'DM Sans', sans-serif;
    font-size: 18px;
    color: #666666;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

.specialists-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.specialist-card {
    border-radius: 20px;
    padding: 0;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    aspect-ratio: 1.1;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
}

.specialist-card:hover {
    text-decoration: none;
    color: inherit;
}

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

.specialist-card.light-bg {
    background: #ffffff;
    border: 1px solid #e9ecef;
}

.specialist-card.blue-bg {
    background: #ffffff;
    border: 1px solid #e9ecef;
}

.specialist-card.dark-bg {
    background: #ffffff;
    border: 1px solid #e9ecef;
}

.specialist-image {
    width: 100%;
    height: 70%;
    margin: 0;
    border-radius: 20px 20px 0 0;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 20px;
    box-sizing: border-box;
}

.specialist-card.light-bg .specialist-image,
.specialist-card.blue-bg .specialist-image,
.specialist-card.dark-bg .specialist-image {
    background: transparent;
}

.specialist-image img {
    width: 180px;
    height: 180px;
    object-fit: cover;
    transition: transform 0.3s ease;
    border-radius: 8px;
}

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

.specialist-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 10px 20px 20px 20px;
}

.specialist-name {
    font-family: 'DM Sans', sans-serif;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 6px;
}

.specialist-card.light-bg .specialist-name,
.specialist-card.blue-bg .specialist-name,
.specialist-card.dark-bg .specialist-name {
    color: #333333;
}

.specialist-profession {
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin: 0;
}

.specialist-card.light-bg .specialist-profession,
.specialist-card.blue-bg .specialist-profession,
.specialist-card.dark-bg .specialist-profession {
    color: #24B4E3;
}

/* Responsive styles for specialists section */
@media (max-width: 768px) {
    .specialists-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .specialist-info {
        padding: 8px 15px 15px 15px;
    }
    
    .specialist-image img {
        width: 140px;
        height: 140px;
    }
    
    .specialist-name {
        font-size: 20px;
    }
    
    .specialist-profession {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .specialists-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .specialist-info {
        padding: 8px 15px 15px 15px;
    }
    
    .specialist-image img {
        width: 120px;
        height: 120px;
    }
    
    .specialist-name {
        font-size: 18px;
        margin-bottom: 5px;
    }
    
    .specialist-profession {
        font-size: 11px;
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .specialists-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 20px;
    }
    
    .specialist-card {
        padding: 30px 20px;
    }
    
    .specialist-image {
        width: 160px;
        height: 160px;
    }
    
    .specialists-title {
        font-size: 40px;
    }
}

@media (max-width: 768px) {
    .specialists-section {
        padding: 60px 0;
    }
    
    .specialists-header {
        margin-bottom: 50px;
    }
    
    .specialists-title {
        font-size: 32px;
    }
    
    .specialists-subtitle {
        font-size: 16px;
    }
    
    .specialists-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .specialist-image {
        width: 140px;
        height: 140px;
    }
    
    .specialist-name {
        font-size: 24px;
    }
}

@media (max-width: 576px) {
    .specialist-card {
        padding: 25px 15px;
    }
    
    .specialist-image {
        width: 120px;
        height: 120px;
        margin-bottom: 20px;
    }
    
    .specialist-name {
        font-size: 20px;
    }
    
    .specialist-profession {
        font-size: 14px;
    }
}

/* Contact Page Styles */
/* Contact Information Section */
.contact-info-section {
    background-color: #f8f9fa;
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    max-width: 1000px;
    margin: 0 auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
}

.contact-info-item {
    background: white;
    padding: 60px 40px;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
}

.contact-info-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.contact-info-item.emergency {
    background: #24B4E3;
    color: white;
}

.contact-info-item.emergency:hover {
    background: #1a8fb8;
}

.contact-info-icon {
    margin-bottom: 25px;
    display: flex;
    justify-content: center;
}

.contact-info-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 15px;
    font-family: 'DM Sans', sans-serif;
    color: #333;
}

.contact-info-item.emergency .contact-info-title {
    color: white;
}

.contact-info-divider {
    width: 40px;
    height: 3px;
    background: #24B4E3;
    margin: 0 auto 25px;
}

.contact-info-item.emergency .contact-info-divider {
    background: white;
}

.contact-info-text {
    font-size: 16px;
    line-height: 1.6;
    color: #666;
    margin: 0;
}

.contact-info-item.emergency .contact-info-text {
    color: white;
}

.contact-info-phone {
    font-size: 24px;
    font-weight: 700;
    color: white;
    margin: 0;
    font-family: 'DM Sans', sans-serif;
}

/* Map Section */
.map-section {
    padding: 0;
    background: white;
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

.map-section .container {
    max-width: none;
    padding: 0;
    margin: 0;
    width: 100%;
}

.map-container {
    position: relative;
    width: 100%;
    height: 500px;
    border-radius: 0;
    overflow: hidden;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

/* Responsive Design for Contact Page */
@media (max-width: 1024px) {
    .contact-info-grid {
        max-width: 800px;
        gap: 0;
    }
    
    .contact-info-item {
        padding: 50px 30px;
    }
}

@media (max-width: 768px) {
    .contact-info-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
    
    .contact-info-item {
        padding: 40px 30px;
    }
    
    .contact-info-section {
        padding: 80px 0;
    }
    
    .map-container {
        height: 400px;
    }
}

@media (max-width: 576px) {
    .contact-info-item {
        padding: 35px 25px;
    }
    
    .contact-info-title {
        font-size: 16px;
    }
    
    .contact-info-text {
        font-size: 14px;
    }
    
    .contact-info-phone {
        font-size: 20px;
    }
    
    .map-container {
        height: 300px;
    }
}

/* News Page Specific Styles */
.news-page .news-section {
    padding-top: 100px;
}

/* News Page Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 60px;
    padding: 40px 0;
}

.pagination-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: white;
    border: 2px solid #e0e7ef;
    border-radius: 8px;
    color: #666;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.pagination-btn:hover {
    background: #24B4E3;
    border-color: #24B4E3;
    color: white;
}

.pagination-btn svg {
    transition: all 0.3s ease;
}

.pagination-numbers {
    display: flex;
    align-items: center;
    gap: 8px;
}

.pagination-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: white;
    border: 2px solid #e0e7ef;
    color: #666;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.pagination-number:hover,
.pagination-number.active {
    background: #24B4E3;
    border-color: #24B4E3;
    color: white;
}

.pagination-dots {
    color: #666;
    font-weight: 500;
    padding: 0 8px;
}

@media (max-width: 768px) {
    .pagination {
        flex-direction: column;
        gap: 15px;
        margin-top: 40px;
        padding: 30px 0;
    }
    
    .pagination-btn {
        padding: 10px 16px;
        font-size: 14px;
    }
    
    .pagination-numbers {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .pagination-number {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }
}

@media (max-width: 576px) {
    .pagination-btn {
        padding: 8px 12px;
        font-size: 13px;
    }
    
    .pagination-number {
        width: 32px;
        height: 32px;
        font-size: 13px;
    }
}

/* News Single Page Styles */
.news-single-page .author-section {
    padding-top: 0;
}

.news-article-section {
    padding: 120px 0;
    background: white;
}

.news-article-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: start;
}

.article-main {
    background: white;
}

.article-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.article-author,
.article-date,
.article-category {
    color: #666;
    font-size: 14px;
    font-weight: 500;
}

.article-category {
    background: #24B4E3;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
}

.article-image {
    margin-bottom: 40px;
    border-radius: 8px;
    overflow: hidden;
}

.article-image img {
    width: 100%;
    height: auto;
    display: block;
}

.article-content {
    line-height: 1.8;
    color: #333;
}

.article-content p {
    margin-bottom: 25px;
    font-size: 16px;
}

.article-content h3 {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin: 40px 0 20px;
    font-family: 'DM Sans', sans-serif;
}



/* Sidebar Styles */
.article-sidebar {
    position: sticky;
    top: 120px;
}

.sidebar-widget {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 30px;
}

.widget-title {
    font-size: 20px;
    font-weight: 700;
    color: #333;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #24B4E3;
    font-family: 'DM Sans', sans-serif;
}

.recent-news {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.recent-news-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.recent-news-image {
    width: 80px;
    height: 60px;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
}

.recent-news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.recent-news-content h4 {
    margin: 0 0 8px;
    font-size: 14px;
    line-height: 1.4;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

.recent-news-content h4 a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

.recent-news-content h4 a:hover {
    color: #24B4E3;
}

.recent-news-date {
    font-size: 12px;
    color: #999;
}

/* Responsive Design for News Single Page */
@media (max-width: 1024px) {
    .news-article-content {
        gap: 40px;
    }
    
    .news-article-section {
        padding: 100px 0;
    }
}

@media (max-width: 768px) {
    .news-article-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .news-article-section {
        padding: 80px 0;
    }
    
    .article-meta {
        gap: 15px;
    }
    
    .article-content h3 {
        font-size: 20px;
        margin: 30px 0 15px;
    }
    
    .sidebar-widget {
        padding: 25px;
    }
    
    .article-sidebar {
        position: static;
    }
}

@media (max-width: 576px) {
    .article-meta {
        flex-direction: column;
        gap: 10px;
    }
    
    .article-content p {
        font-size: 15px;
        margin-bottom: 20px;
    }
    
    .article-content h3 {
        font-size: 18px;
    }
    
    .sidebar-widget {
        padding: 20px;
    }
    
    .recent-news-item {
        gap: 12px;
    }
    
    .recent-news-image {
        width: 70px;
        height: 50px;
    }
    
    .recent-news-content h4 {
        font-size: 13px;
        line-height: 1.3;
    }
    
    .recent-news-date {
        font-size: 11px;
    }
    
    .widget-title {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .recent-news-content h4 {
        font-size: 12px;
        line-height: 1.2;
        margin-bottom: 6px;
    }
    
    .recent-news-date {
        font-size: 10px;
    }
    
    .recent-news-image {
        width: 60px;
        height: 45px;
    }
}

@media (max-width: 375px) {
    .recent-news-content h4 {
        font-size: 11px;
        line-height: 1.1;
        margin-bottom: 4px;
    }
    
    .recent-news-date {
        font-size: 9px;
    }
    
    .recent-news-image {
        width: 55px;
        height: 40px;
    }
}

/* 404 Error Page Styles */
.error-404-section {
    padding: 120px 0;
    background-color: #f8f9fa;
    text-align: center;
}

.error-404-content {
    max-width: 800px;
    margin: 0 auto;
}

.error-404-number {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 40px;
    font-family: 'DM Sans', sans-serif;
}

.error-digit {
    font-size: 200px;
    font-weight: 900;
    color: #2c3e50;
    line-height: 1;
}

.error-emoji {
    width: 200px;
    height: 200px;
    margin: 0 20px;
    position: relative;
}

.emoji-face {
    width: 100%;
    height: 100%;
    background-color: #24B4E3;
    border-radius: 50%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.emoji-eyes {
    display: flex;
    gap: 30px;
    margin-bottom: 10px;
}

.emoji-eye {
    width: 20px;
    height: 20px;
    background-color: #ffffff;
    border-radius: 50%;
    position: relative;
}

.emoji-eye::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background-color: #2c3e50;
    border-radius: 50%;
}

.emoji-tear {
    position: absolute;
    top: 90px;
    left: 50px;
    width: 8px;
    height: 12px;
    background-color: #ffffff;
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    transform: rotate(45deg);
}

.emoji-mouth {
    width: 60px;
    height: 30px;
    border: 4px solid #ffffff;
    border-top: none;
    border-radius: 0 0 60px 60px;
    transform: rotate(180deg);
    margin-top: 10px;
}

.error-404-title {
    font-size: 48px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 20px;
    font-family: 'DM Sans', sans-serif;
}

.error-404-description {
    font-size: 16px;
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.error-404-btn {
    display: inline-block;
    background-color: #24B4E3;
    color: #ffffff;
    padding: 15px 30px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    border: 2px solid #24B4E3;
}

.error-404-btn:hover {
    background-color: transparent;
    color: #24B4E3;
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .error-404-section {
        padding: 80px 0;
    }
    
    .error-digit {
        font-size: 120px;
    }
    
    .error-emoji {
        width: 120px;
        height: 120px;
        margin: 0 10px;
    }
    
    .emoji-eyes {
        gap: 20px;
    }
    
    .emoji-eye {
        width: 15px;
        height: 15px;
    }
    
    .emoji-eye::after {
        width: 6px;
        height: 6px;
    }
    
    .emoji-tear {
        top: 55px;
        left: 30px;
        width: 6px;
        height: 9px;
    }
    
    .emoji-mouth {
        width: 40px;
        height: 20px;
        border-width: 3px;
    }
    
    .error-404-title {
        font-size: 32px;
    }
    
    .error-404-description {
        font-size: 14px;
        padding: 0 20px;
    }
}

@media (max-width: 480px) {
    .error-404-number {
        flex-direction: column;
        gap: 20px;
    }
    
    .error-digit {
        font-size: 80px;
    }
    
    .error-emoji {
        width: 100px;
        height: 100px;
        margin: 0;
    }
    
    .error-404-title {
        font-size: 24px;
    }
}

/* 404 Error Page Styles */
.error-404-page {
    background-color: #f8f9fa;
}

/* Error 404 Block 1: Hero Section */
.error-404-block-1 {
    padding: 120px 0 80px;
    background: #8a8a8a;
    position: relative;
    overflow: hidden;
}

.error-404-block-1 .container {
    position: relative;
    z-index: 2;
}

.error-404-block-1 .services-hero-title {
    color: #ffffff;
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    text-align: center;
}

.error-404-block-1 .breadcrumb-nav {
    justify-content: center;
}

.error-404-block-1 .breadcrumb-link,
.error-404-block-1 .breadcrumb-current {
    color: #ffffff;
}

.error-404-block-1 .breadcrumb-separator {
    color: rgba(255, 255, 255, 0.7);
}

/* Error 404 Block 2: Content Section */
.error-404-block-2 {
    padding: 80px 0;
    background-color: #ffffff;
}

.error-404-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.error-404-number {
    font-size: 180px;
    font-weight: 900;
    color: #cccccc;
    line-height: 1;
    margin-bottom: 30px;
    font-family: 'DM Sans', sans-serif;
}

.error-404-message {
    margin-bottom: 40px;
}

.error-404-title {
    font-size: 36px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 20px;
    font-family: 'DM Sans', sans-serif;
}

.error-404-description {
    font-size: 16px;
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}



/* Actions */
.error-404-actions {
    margin-bottom: 60px;
}

.error-404-home-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: #24B4E3;
    color: #ffffff;
    padding: 15px 30px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    border: 2px solid #24B4E3;
}

.error-404-home-btn:hover {
    background-color: transparent;
    color: #24B4E3;
    transform: translateY(-2px);
    text-decoration: none;
}

/* Error 404 Block 3: News Section */
.error-404-block-3 {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.error-404-news-content {
    text-align: center;
}

.error-404-news-title {
    font-size: 32px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 10px;
}

.error-404-news-subtitle {
    font-size: 16px;
    color: #6c757d;
    margin-bottom: 50px;
}

.error-404-news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.error-404-news-item {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.error-404-news-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.error-404-news-image {
    height: 200px;
    overflow: hidden;
}

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

.error-404-news-item:hover .error-404-news-image img {
    transform: scale(1.05);
}

.error-404-news-content {
    padding: 20px;
    text-align: left;
}

.error-404-news-meta {
    margin-bottom: 10px;
}

.error-404-news-date {
    font-size: 14px;
    color: #24B4E3;
    font-weight: 500;
}

.error-404-news-item-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

.error-404-news-item-title a {
    color: #2c3e50;
    text-decoration: none;
    transition: color 0.3s ease;
}

.error-404-news-item-title a:hover {
    color: #24B4E3;
}

.error-404-news-excerpt {
    font-size: 14px;
    color: #6c757d;
    line-height: 1.5;
    margin-bottom: 15px;
}

.error-404-news-link {
    color: #24B4E3;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: color 0.3s ease;
}

.error-404-news-link:hover {
    color: #1a8bb8;
    text-decoration: underline;
}

.error-404-no-news {
    text-align: center;
    padding: 40px;
    color: #6c757d;
}

.error-404-more-news {
    text-align: center;
}

.error-404-more-news-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #24B4E3;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.error-404-more-news-btn:hover {
    color: #1a8bb8;
    text-decoration: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .error-404-block-1 {
        padding: 80px 0 60px;
    }
    
    .error-404-block-1 .services-hero-title {
        font-size: 32px;
    }
    
    .error-404-block-2 {
        padding: 60px 0;
    }
    
    .error-404-number {
        font-size: 120px;
    }
    
    .error-404-title {
        font-size: 28px;
    }
    
    .error-404-description {
        font-size: 14px;
        padding: 0 20px;
    }
    
    .error-404-search-title {
        font-size: 20px;
    }
    
    .search-field {
        padding: 12px 50px 12px 15px;
        font-size: 14px;
    }
    
    .search-submit {
        width: 40px;
        height: 40px;
    }
    
    .error-404-home-btn {
        padding: 12px 24px;
        font-size: 14px;
    }
    
    .error-404-block-3 {
        padding: 60px 0;
    }
    
    .error-404-news-title {
        font-size: 28px;
    }
    
    .error-404-news-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .error-404-news-image {
        height: 180px;
    }
}

@media (max-width: 480px) {
    .error-404-block-1 .services-hero-title {
        font-size: 28px;
    }
    
    .error-404-number {
        font-size: 100px;
    }
    
    .error-404-title {
        font-size: 24px;
    }
    
    .error-404-news-title {
        font-size: 24px;
    }
    
    .error-404-news-content {
        padding: 15px;
    }
    
    .error-404-news-item-title {
        font-size: 16px;
    }
}

/* ========================================
   SEO ОПТИМІЗАЦІЯ СТИЛІВ
   ======================================== */

/* Покращення доступності та SEO */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}



/* Покращення контрасту для кращої доступності */
.text-muted {
    color: #6c757d !important;
}

/* Структурні елементи для кращого SEO */
main {
    min-height: 50vh;
}

article {
    margin-bottom: 2rem;
}

/* Покращення заголовків для SEO */
h1, h2, h3, h4, h5, h6 {
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
    font-weight: 700;
}

h2 {
    font-size: 2rem;
    font-weight: 600;
}

h3 {
    font-size: 1.75rem;
    font-weight: 600;
}

h4 {
    font-size: 1.5rem;
    font-weight: 500;
}

h5 {
    font-size: 1.25rem;
    font-weight: 500;
}

h6 {
    font-size: 1rem;
    font-weight: 500;
}

/* Покращення зображень для SEO */
img {
    max-width: 100%;
    height: auto;
}

img[alt=""] {
    opacity: 1;
}

/* Покращення посилань для SEO */
a {
    color: #24B4E3;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #1a8bb8;
    text-decoration: underline;
}

/* Breadcrumbs для кращої навігації */
.breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
    font-size: 0.9rem;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: "›";
    color: #6c757d;
    margin: 0 0.5rem;
}

.breadcrumb-item.active {
    color: #6c757d;
}

/* Skip links для доступності */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: #000;
    color: #fff;
    padding: 8px;
    text-decoration: none;
    z-index: 9999;
    border-radius: 4px;
}

.skip-link:focus {
    top: 6px;
    color: #fff;
    text-decoration: none;
}

/* Покращення форм для доступності */
label {
    font-weight: 500;
    margin-bottom: 0.5rem;
    display: block;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"],
textarea,
select {
    border: 1px solid #ced4da;
    border-radius: 4px;
    padding: 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

input:invalid {
    border-color: #dc3545;
}



/* Покращення таблиць для доступності */
table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1rem;
}

th, td {
    padding: 0.75rem;
    border: 1px solid #dee2e6;
    text-align: left;
}

th {
    font-weight: 600;
}

/* Покращення списків */
ul, ol {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

li {
    margin-bottom: 0.25rem;
}

/* Покращення цитат */
blockquote {
    border-left: 4px solid #24B4E3;
    padding-left: 1rem;
    margin: 1rem 0;
    font-style: italic;
    color: #6c757d;
}

/* Покращення коду */
code {
    background-color: #f8f9fa;
    padding: 0.2rem 0.4rem;
    border-radius: 3px;
    font-size: 0.9em;
    color: #e83e8c;
}

pre {
    background-color: #f8f9fa;
    padding: 1rem;
    border-radius: 4px;
    overflow-x: auto;
    margin-bottom: 1rem;
}

/* Responsive typography */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    h3 {
        font-size: 1.5rem;
    }
    
    h4 {
        font-size: 1.25rem;
    }
    
    h5 {
        font-size: 1.1rem;
    }
    
    h6 {
        font-size: 1rem;
    }
}

/* Print styles для кращого SEO */
@media print {
    .no-print {
        display: none !important;
    }
    
    a[href]:after {
        content: " (" attr(href) ")";
    }
    
    abbr[title]:after {
        content: " (" attr(title) ")";
    }
    
    .page-break {
        page-break-before: always;
    }
}

/* High contrast mode для доступності */
@media (prefers-contrast: high) {
    .btn {
        border: 2px solid;
    }
    
    .card {
        border: 2px solid #000;
    }
}

/* Reduced motion для доступності */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Dark mode підготовка */
@media (prefers-color-scheme: dark) {
    /* Базові стилі для темної теми можуть бути додані тут */
}

/* Покращення для великих екранів */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
}

/* SEO оптимізовані утиліти */
.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.text-truncate {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.text-break {
    word-wrap: break-word !important;
    word-break: break-word !important;
}

/* Покращення продуктивності */
.will-change-transform {
    will-change: transform;
}

.will-change-opacity {
    will-change: opacity;
}

/* Покращення завантаження зображень */
.lazy-load {
    opacity: 0;
    transition: opacity 0.3s;
}

.lazy-load.loaded {
    opacity: 1;
}

/* Покращення анімацій */
.fade-in {
    animation: fadeIn 0.5s ease-in;
}

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

.slide-up {
    animation: slideUp 0.5s ease-out;
}

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

/* Кінець SEO стилів */

.review-popup { position: fixed; z-index: 9999; left: 0; top: 0; width: 100vw; height: 100vh; display: flex; align-items: center; justify-content: center; }
.review-popup-overlay { position: absolute; left: 0; top: 0; width: 100vw; height: 100vh; background: rgba(0,0,0,0.4); }
.review-popup-content { position: relative; background: #fff; border-radius: 16px; padding: 32px 24px 24px 24px; max-width: 400px; width: 100%; z-index: 2; box-shadow: 0 8px 32px rgba(0,0,0,0.15); }
.review-popup-close { position: absolute; right: 16px; top: 16px; background: none; border: none; font-size: 2rem; color: #24B4E3; cursor: pointer; }
/* Стилі review-form перенесено в assets/css/forms.css */
.review-thankyou { text-align: center; padding: 2rem 0; font-size: 1.2rem; color: #24B4E3; }
@media (max-width: 600px) { .review-popup-content { max-width: 95vw; padding: 18px 6px 12px 6px; } }
@media (max-width: 600px) { .review-popup-content { max-width: 95vw; padding: 18px 6px 12px 6px; } }