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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    line-height: 1.6;
}

/* Верхня панель */
.top-bar {
    background-color: #2d4a7f;
    color: white;
    padding: 8px 0;
    font-size: 13px;
}

.top-bar .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left {
    display: flex;
    gap: 25px;
}

.top-bar-left a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: color 0.3s;
}

.top-bar-left a:hover {
    color: white;
}

.top-bar-right {
    color: rgba(255, 255, 255, 0.9);
}

/* Хедер */
header {
    background-color: #395aa0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

header .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    z-index: 102;
}

.logo img {
    height: 45px;
    width: auto;
}

/* Бургер-меню */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 102;
}

.mobile-menu-toggle span {
    width: 28px;
    height: 3px;
    background-color: white;
    border-radius: 2px;
    transition: all 0.3s;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 35px;
}

nav li {
    position: relative;
}

nav a {
    text-decoration: none;
    color: white;
    font-size: 15px;
    font-weight: 500;
    transition: color 0.3s;
    display: block;
    padding: 5px 0;
}

nav a:hover {
    color: #e0e0e0;
}

/* Випадаюче меню */
.dropdown {
    position: relative;
}

.dropdown-toggle, .menu-item-has-children > a {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    color: white;
    font-size: 15px;
    font-weight: 500;
    transition: color 0.3s;
    padding: 5px 0;
}

.dropdown-toggle::after, .menu-item-has-children > a:after {
    content: '▼';
    font-size: 9px;
    transition: transform 0.3s;
}

.dropdown:hover .dropdown-toggle::after, .menu-item-has-children:hover > a:after {
    transform: rotate(180deg);
}

.dropdown-toggle:hover, .menu-item-has-children > a:after {
    color: #e0e0e0;
}

.dropdown-menu, .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #2d4a7f;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    border-radius: 4px;
    min-width: 240px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s;
    z-index: 1000;
    padding: 10px 0;
    margin-top: 15px;
    display: flex;
    flex-direction: column;
}

.dropdown:hover .dropdown-menu, .menu-item-has-children:hover .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li, .sub-menu li {
    padding: 0;
    width: 100%;
}

.dropdown-menu a, .sub-menu a {
    padding: 12px 20px;
    color: white;
    white-space: nowrap;
    width: 100%;
    font-weight: 400;
}

.dropdown-menu a:hover, .sub-menu a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
}

.page-hero {
    background: #b4d5e8;
    color: white;
    padding: 80px 0 60px;
    text-align: center;
}

.page-hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: 700;
}

.page-hero p {
    font-size: 20px;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.95;
}

.breadcrumbs {
    margin-bottom: 20px;
    font-size: 14px;
}

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

.breadcrumbs a:hover {
    color: white;
}

.breadcrumbs span {
    margin: 0 10px;
    opacity: 0.6;
}

/* Основний контент */
.content-section {
    padding: 80px 0;
    background-color: white;
}
.main-content .content-thumbnail img {
	display: block;
	width: 100%;
	height: auto;
}
.main-content .content-thumbnail {
	margin-bottom: 20px;
}

.content-wrapper {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
}

.main-content h2 {
    font-size: 32px;
    color: #2c3e50;
    margin-bottom: 20px;
    margin-top: 40px;
}

.main-content h2:first-child {
    margin-top: 0;
}

.main-content h3 {
    font-size: 24px;
    color: #395aa0;
    margin-bottom: 15px;
    margin-top: 30px;
}

.main-content p {
    font-size: 17px;
    color: #555;
    line-height: 1.8;
    margin-bottom: 20px;
        text-align: justify;
}
.main-content p.has-text-align-left {
    text-align: left;
}
.main-content p.has-text-align-center {
    text-align: center;
}
.main-content p.has-text-align-right {
    text-align: right;
}

.main-content ul {
    margin: 20px 0;
    padding-left: 25px;
}

.main-content ul li {
    font-size: 17px;
    color: #555;
    line-height: 1.8;
    margin-bottom: 12px;
}

.main-content ul li strong {
    color: #395aa0;
}

/* Боковий блок */
.sidebar {
    position: sticky;
    top: 100px;
    align-self: start;
}

.sidebar-card {
    background-color: #f8f9fa;
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.sidebar-card h3 {
    font-size: 20px;
    color: #2c3e50;
    margin-bottom: 20px;
}

.sidebar-menu {
    list-style: none;
}

.sidebar-menu li {
    margin-bottom: 10px;
}

.sidebar-menu a {
    display: block;
    padding: 12px 15px;
    color: #555;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s;
    font-size: 15px;
}

.sidebar-menu a:hover,
.sidebar-menu a.active {
    background-color: #395aa0;
    color: white;
}

.cta-box {
    background: linear-gradient(135deg, #395aa0 0%, #2d4a7f 100%);
    color: white;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
}

.cta-box h3 {
    font-size: 22px;
    margin-bottom: 15px;
}

.cta-box p {
    font-size: 15px;
    margin-bottom: 20px;
    opacity: 0.95;
}

.cta-btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: white;
    color: #395aa0;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    transition: transform 0.3s;
}

.cta-btn:hover {
    transform: translateY(-2px);
}

/* Етапи роботи */
.steps-section {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.section-title {
    text-align: center;
    font-size: 36px;
    color: #2c3e50;
    margin-bottom: 50px;
}

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

.step-card {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    position: relative;
    transition: transform 0.3s;
}

.step-card:hover {
    transform: translateY(-5px);
}

.step-number {
    position: absolute;
    top: -15px;
    left: 30px;
    width: 50px;
    height: 50px;
    background-color: #395aa0;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
}

.step-card h3 {
    font-size: 20px;
    color: #2c3e50;
    margin: 25px 0 15px;
}

.step-card p {
    color: #666;
    font-size: 15px;
    line-height: 1.6;
}

blockquote {
    background-color: #e3f2fd;
    border-left: 4px solid #395aa0;
    padding: 20px;
    margin: 30px 0;
    border-radius: 4px;
}

blockquote h4 {
    color: #395aa0;
    font-size: 18px;
    margin-bottom: 10px;
}

blockquote p {
    color: #555;
    margin-bottom: 0;
}

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

/* Hero-секція (перший екран) */
.hero-section {
    position: relative;
    height: calc(100vh - 118px);
	min-height: 650px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: white;
}
.logged-in .hero-section {
	height: calc(100vh - 150px);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

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

.hero-content {
    max-width: 800px;
    text-align: center;
    margin: 0 auto;
    padding: 100px 20px;
}

.hero-title {
    font-size: 56px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 30px;
    animation: fadeInUp 1s ease-out;
}

.hero-description {
    font-size: 20px;
    line-height: 1.6;
    margin-bottom: 40px;
    opacity: 0.95;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.hero-btn {
    padding: 16px 40px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s;
    display: inline-block;
}

.hero-btn-primary {
    background-color: #4a6fa5;
    color: white;
    box-shadow: 0 4px 15px rgba(74, 111, 165, 0.4);
}

.hero-btn-primary:hover {
    background-color: #3d5a85;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(74, 111, 165, 0.6);
}

.hero-btn-secondary {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.hero-btn-secondary:hover {
    background-color: white;
    color: #1A1A1A;
    transform: translateY(-2px);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: white;
    opacity: 0.8;
    z-index: 2;
    animation: fadeIn 1s ease-out 1s both;
}

.scroll-indicator span {
    display: block;
    font-size: 14px;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.scroll-arrow {
    font-size: 24px;
    animation: bounce 2s infinite;
}

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 0.8;
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Слайдер новин */
.hero-slider {
    padding: 60px 0;
    background-color: white;
    position: relative;
}

.slider-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.slides-wrapper {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.slide {
    min-width: 100%;
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
}

.slide-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    filter: brightness(0.6);
}

.slide-content {
    position: relative;
    z-index: 2;
    color: white;
    max-width: 700px;
    padding: 60px 80px;
}

.slide-content h2 {
    font-size: 42px;
    margin-bottom: 20px;
    line-height: 1.3;
}

.slide-content p {
    font-size: 18px;
    margin-bottom: 30px;
    line-height: 1.6;
}

.read-more-btn {
    display: inline-block;
    padding: 15px 40px;
    background-color: #4a6fa5;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-size: 16px;
    transition: background-color 0.3s;
    border: none;
    cursor: pointer;
}

.read-more-btn:hover {
    background-color: #3d5a85;
}

/* Навігація слайдера */
.slider-nav {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s;
}

.slider-dot.active {
    background-color: white;
    width: 30px;
    border-radius: 6px;
}

/* Стрілки слайдера */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    z-index: 3;
    transition: background-color 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.slider-arrow:hover {
    background-color: rgba(255, 255, 255, 0.4);
}

.slider-arrow.prev {
    left: 20px;
}

.slider-arrow.next {
    right: 20px;
}

/* Секція про компанію */
.about-section {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.about-content h2 {
    font-size: 36px;
    color: #2c3e50;
    margin-bottom: 20px;
}

.about-content p {
    font-size: 18px;
    color: #555;
    line-height: 1.8;
}

/* Секція послуг */
.services-section {
    padding: 60px 0;
    background-color: white;
}

.section-title {
    text-align: center;
    font-size: 36px;
    color: #2c3e50;
    margin-bottom: 50px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background-color: #4a6fa5;
    margin: 15px auto 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.service-card {
	display: flex;	
    flex-direction: column;
    align-items: center;
    text-align: center;
    background-color: #f8f9fa;
    padding: 0 0 30px 0;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}
.service-card .service-bg img {
    display: block;
    margin-bottom: 15px;
    width: 100%;
    height: auto;
}
.service-icon {
    width: 90px;
    height: 90px;
    background-color: #4a6fa5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: white;
    font-size: 26px;
}

.service-card h3 {
    font-size: 22px;
    color: #2c3e50;
    margin-bottom: 15px;
}

.service-card p {
    color: #666;
    line-height: 1.7;
    padding: 0 30px;
}

/* Секція партнерів */
.partners-section {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.partner-card {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 120px;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: relative;
}
.partner-card a {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.partner-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.partner-card img {
    display: block;
    max-width: 100%;
    max-height: 60px;
    object-fit: contain;
}

/* Секція новин */
.news-section {
    padding: 60px 0;
    background-color: white;
}

.news-filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 25px;
    background-color: white;
    border: 2px solid #4a6fa5;
    color: #4a6fa5;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 15px;
}

.filter-btn:hover,
.filter-btn.active {
    background-color: #4a6fa5;
    color: white;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.news-card {
    background-color: #f8f9fa;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.news-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 48px;
}

.news-content {
    padding: 25px;
}

.news-category {
    display: inline-block;
    padding: 5px 15px;
    background-color: #e3f2fd;
    color: #4a6fa5;
    border-radius: 15px;
    font-size: 12px;
    margin-bottom: 10px;
}

.news-card h3 {
    font-size: 20px;
    color: #2c3e50;
    margin-bottom: 10px;
}
.news-card h3 a {
    color: #2c3e50;
    text-decoration: none    ;
}
.news-date {
    color: #999;
    font-size: 14px;
    margin-bottom: 15px;
}

.news-card p {
    color: #666;
    line-height: 1.6;
}

/* Форма контактів */
.contact-section {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.contact-form {
    max-width: 800px;
    margin: 40px auto 0;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 15px;
}
.contact-form .wpcf7-not-valid {
    border-color: #ff0000 !important;
}
.contact-form .wpcf7-spinner {
    position: absolute;
}
.contact-form .wpcf7-not-valid-tip {
    display: none;
}
.wpcf7-form .wpcf7-response-output {
    display: none !important;
}
.wpcf7-form.sent .wpcf7-response-output {
    display: block !important;
    border-color: #46b450;
    border: 0;
    padding: 15px 40px;
    border-radius: 4px;
    background: #4471a5;
    text-align: center;
    color: #fff;
    max-width: 800px;
    margin: 30px auto 0;
}

input.form-input {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 15px;
}

input.form-input:focus {
    outline: none;
    border-color: #4a6fa5;
}

input.wpcf7-submit.submit-btn {
    grid-column: 1 / -1;
    background-color: #4a6fa5;
    color: white;
    border: none;
    padding: 15px 40px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
}

input.wpcf7-submit.submit-btn:hover {
    background-color: #3d5a85;
}

/* Футер */
footer {
    background-color: #2c3e50;
    color: white;
    padding: 40px 0 20px;
}
footer .toTop {
    position: fixed;
    right: 15px;
    bottom: 15px;
    padding: 0;
    transition: .4s;
    cursor: pointer;
    opacity: 0;
    width: auto;
}
footer .toTop.active {
    opacity: 1;
}
footer .toTop svg {
    width: 80px;
    height: 80px;
    display: block;
}
.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
}

.footer-section h4 {
    margin-bottom: 15px;
    color: #4a6fa5;
}
.footer-section ul {
    list-style: none;
}
.footer-section a {
    color: #ccc;
    text-decoration: none;
    display: block;
    margin-bottom: 8px;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #444;
    color: #999;
}
.page-template-default .content-section {
    padding-top: 0
}
.page-template-default .content-section h1 {
    text-align: center;
}
.page-template-default .content-section .section-thumbnail img {
    width: 100%;
        height: 500px;
    object-fit: cover;
    display: block;
}
@media screen and (max-width: 992px) {
	.slide-content {
		padding: 60px 100px;
	}
	.single-post .content-wrapper {
		display: block;
	}
	.single-post .content-section {
		padding: 40px 0;
	}
	.single-post .content-wrapper .sidebar,
	.single-post .steps-section {
		display: none;
	}
	.single-post .page-hero h1 {
		font-size: 32px;
	}
}
/* Адаптивність */
@media (max-width: 768px) {
    footer .toTop svg {
        width: 60px;
        height: 60px;
    }
	.top-bar {
		display: none;
	}
    .top-bar .container {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

    .top-bar-left {
        flex-direction: column;
        gap: 8px;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background-color: #395aa0;
        padding: 80px 20px 20px;
        transition: right 0.3s ease-in-out;
        overflow-y: auto;
        box-shadow: -2px 0 10px rgba(0,0,0,0.2);
    }

    nav.mobile-menu-open {
        right: 0;
    }

    nav ul {
        flex-direction: column;
        gap: 0;
    }

    nav li {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    nav a {
        padding: 15px 10px;
        display: block;
    }

    .dropdown-toggle {
        padding: 15px 10px;
        justify-content: space-between;
        width: 100%;
    }

    .dropdown-menu, .sub-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        margin-top: 0;
        padding: 0 0 0 20px;
        background-color: transparent;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-in-out;
    }

    .dropdown.mobile-dropdown-open .dropdown-menu, .sub-menu {
        max-height: 500px;
        padding: 10px 0 10px 20px;
    }

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

    .dropdown-menu a, .sub-menu a {
        padding: 10px;
    }

    .dropdown-menu li, .sub-menu li {
        border-bottom: none;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-description {
        font-size: 16px;
    }

    .hero-content {
        padding: 60px 20px;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .hero-btn {
        width: 100%;
        padding: 14px 30px;
    }

    .services-grid,
    .news-grid {
        grid-template-columns: 1fr;
    }

    .contact-form {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        gap: 30px;
    }

    .slide {
        height: auto;
    }

    .slide-content {
        padding: 30px 70px;
    }

    .slide-content h2 {
        font-size: 28px;
    }

    .slide-content p {
        font-size: 16px;
    }

    .slider-arrow {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }

    .slider-arrow.prev {
        left: 10px;
    }

    .slider-arrow.next {
        right: 10px;
    }
}

/* Оверлей для мобільного меню */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 99;
}

.mobile-menu-overlay.active {
    display: block;
}

@media (min-width: 769px) {
    .mobile-menu-overlay {
        display: none !important;
    }
}
