/* Main Styles for Financial Audit Website */

:root {
    /* Color Palette */
    --bg-dark: #0B132B;
    --accent-gradient-start: #00C9FF;
    --accent-gradient-end: #92FE9D;
    --text-light: #FAFAFA;
    --text-dark: #222;
    --shadow: rgba(0, 0, 0, 0.2);
    --overlay: rgba(11, 19, 43, 0.7);
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 70px; /* Збільшено для врахування фіксованого заголовка */
    overflow-x: hidden; /* Запобігає горизонтальному скролу */
    width: 100%;
}

body {
    font-family: 'Montserrat', 'Segoe UI', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden; /* Запобігає горизонтальному скролу */
    width: 100%;
    position: relative;
    min-height: 100vh;
}

section[id] {
    scroll-margin-top: 70px; /* Збільшено для врахування фіксованого заголовка */
}
option {
    background-color: #232b44;
}
a {
    text-decoration: none;
    color: var(--text-light);
    transition: all 0.3s ease;
}

a:hover {
    color: var(--accent-gradient-end);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px; /* Збільшено відступи по боках */
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: clamp(2rem, 5vw, 2.8rem); /* Адаптивний розмір шрифту */
}

h2 {
    font-size: clamp(1.5rem, 4vw, 2.2rem); /* Адаптивний розмір шрифту */
    position: relative;
    margin-bottom: 2.5rem;
}

h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-gradient-start), var(--accent-gradient-end));
}

h3 {
    font-size: clamp(1.3rem, 3vw, 1.8rem); /* Адаптивний розмір шрифту */
}

p {
    margin-bottom: 1.5rem;
    font-size: clamp(0.9rem, 2vw, 1rem); /* Адаптивний розмір шрифту */
}

.text-center {
    text-align: center;
}

.text-center h2::after {
    left: 50%;
    transform: translateX(-50%);
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: clamp(8px, 2vw, 12px) clamp(16px, 4vw, 28px); /* Адаптивні відступи */
    border: 2px solid transparent;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    font-size: clamp(0.9rem, 2vw, 1rem); /* Адаптивний розмір шрифту */
    z-index: 1;
    text-align: center; /* Центрування тексту */
}

.btn-primary {
    color: var(--bg-dark);
    background: linear-gradient(90deg, var(--accent-gradient-start), var(--accent-gradient-end));
    box-shadow: 0 4px 15px var(--shadow);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 7px 20px var(--shadow);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--accent-gradient-end);
    color: var(--text-light);
}

.btn-outline:hover {
    background: linear-gradient(90deg, var(--accent-gradient-start), var(--accent-gradient-end));
    color: var(--bg-dark);
}

/* Header & Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(11, 19, 43, 0.95);
    backdrop-filter: blur(5px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    flex-wrap: nowrap; /* Запобігає переносу елементів */
}

.logo {
    display: flex;
    align-items: center;
    z-index: 1001; /* Вищий z-index для перекриття меню */
}

.logo svg {
    height: 40px;
    width: 40px;
    min-width: 40px; /* Фіксована мінімальна ширина */
    margin-right: 10px;
    fill: url(#logo-gradient);
}

.logo-text {
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    font-weight: 700;
    white-space: nowrap; /* Запобігає переносу тексту */
}

/* CSS-only hamburger menu */
.nav-toggle {
    display: none; /* Сховати чекбокс */
}

.nav-toggle-label {
    display: none;
    cursor: pointer;
    z-index: 1001; /* Вищий z-index для перекриття меню */
}

.nav-toggle-label span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--text-light);
    margin: 5px 0;
    transition: all 0.3s ease;
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-item {
    margin-left: 30px;
}

.nav-link {
    font-weight: 600;
    position: relative;
    padding: 5px 0;
    white-space: nowrap; /* Запобігає переносу тексту */
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-gradient-start), var(--accent-gradient-end));
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 500px; /* Мінімальна висота для малих екранів */
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background-color: var(--bg-dark);
    padding-top: 70px; /* Відступ від фіксованого заголовка */
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--overlay);
    z-index: 1;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%; /* Повна ширина контейнера */
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hero-content h1 {
    margin-bottom: 1.5rem;
    font-size: clamp(1.8rem, 5vw, 3rem); /* Адаптивний розмір шрифту */
}

.hero-content p {
    font-size: clamp(1rem, 2vw, 1.2rem); /* Адаптивний розмір шрифту */
    margin-bottom: 2rem;
}

/* Sections Common Styles */
.section {
    padding: clamp(60px, 10vw, 100px) 0; /* Адаптивні відступи */
    width: 100%;
    overflow: hidden; /* Запобігає проблемам з вмістом, що виходить за межі */
}

.section-header {
    margin-bottom: clamp(40px, 8vw, 60px); /* Адаптивні відступи */
    width: 100%;
}

/* About Section */
.about {
    background-color: rgba(15, 25, 55, 0.8);
}

.about-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: clamp(20px, 4vw, 40px); /* Адаптивні відступи */
    width: 100%;
}

.about-text {
    flex: 1;
    min-width: 280px; /* Зменшено для кращої підтримки малих екранів */
}

.about-image {
    flex: 1;
    min-width: 280px; /* Зменшено для кращої підтримки малих екранів */
    max-width: 100%; /* Обмежуємо ширину зображення */
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.about-image:hover img {
    transform: scale(1.05);
}

/* Services Section */
.services {
    background: linear-gradient(180deg, var(--bg-dark), #0d1a3b);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* Зменшено для кращої підтримки малих екранів */
    gap: clamp(20px, 3vw, 30px); /* Адаптивні відступи */
    width: 100%;
}

.service-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: clamp(20px, 4vw, 30px); /* Адаптивні відступи */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    border-color: var(--accent-gradient-start);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--accent-gradient-start), var(--accent-gradient-end));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    margin-bottom: 20px;
    width: 100%;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 8px;
    position: relative;
}

.service-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-icon img {
    transform: scale(1.05);
}

.service-title {
    margin-bottom: 15px;
    font-size: clamp(1.2rem, 3vw, 1.4rem); /* Адаптивний розмір шрифту */
}

/* Benefits Section */
.benefits {
    background-color: #0d1a3b;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); /* Зменшено для кращої підтримки малих екранів */
    gap: clamp(15px, 3vw, 25px); /* Адаптивні відступи */
    width: 100%;
}

.benefit-item {
    text-align: center;
    padding: clamp(15px, 3vw, 25px); /* Адаптивні відступи */
    transition: all 0.3s ease;
}

.benefit-icon {
    height: clamp(50px, 10vw, 70px); /* Адаптивний розмір */
    width: clamp(50px, 10vw, 70px); /* Адаптивний розмір */
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(0, 201, 255, 0.1), rgba(146, 254, 157, 0.1));
    border: 2px solid transparent;
    background-origin: border-box;
    background-clip: content-box, border-box;
    transition: all 0.3s ease;
}

.benefit-item:hover .benefit-icon {
    transform: scale(1.1) rotate(5deg);
}

/* Process Section */
.process {
    background: linear-gradient(180deg, #0d1a3b, var(--bg-dark));
}

.process-steps {
    position: relative;
    width: 100%;
}

.process-steps::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background: linear-gradient(var(--accent-gradient-start), var(--accent-gradient-end));
    transform: translateX(-50%);
}

.step {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: clamp(30px, 6vw, 60px); /* Адаптивні відступи */
    position: relative;
    width: 100%;
}

.step:last-child {
    margin-bottom: 0;
}

.step-content {
    width: calc(50% - 50px);
    background: rgba(255, 255, 255, 0.05);
    padding: clamp(15px, 3vw, 25px); /* Адаптивні відступи */
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.step:nth-child(odd) .step-content {
    margin-right: auto;
}

.step:nth-child(even) .step-content {
    margin-left: auto;
}

.step-number {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: clamp(30px, 6vw, 40px); /* Адаптивний розмір */
    height: clamp(30px, 6vw, 40px); /* Адаптивний розмір */
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-gradient-start), var(--accent-gradient-end));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    z-index: 2;
}

/* Testimonials Section */
.testimonials {
    background-color: var(--bg-dark);
}

.testimonial-container {
    position: relative;
    width: 100%;
}

.testimonial-items {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: clamp(20px, 3vw, 30px); /* Адаптивні відступи */
    width: 100%;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: clamp(20px, 4vw, 30px); /* Адаптивні відступи */
    max-width: 350px;
    width: 100%; /* Повна доступна ширина */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
    position: relative;
}

.testimonial-text::before {
    content: '"';
    font-size: 4rem;
    position: absolute;
    top: -20px;
    left: -15px;
    opacity: 0.2;
    font-family: Georgia, serif;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.author-image {
    width: 50px;
    height: 50px;
    min-width: 50px; /* Фіксована мінімальна ширина */
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
}

.author-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h5 {
    margin-bottom: 5px;
}

.author-info p {
    margin: 0;
    font-size: clamp(0.8rem, 1.5vw, 0.9rem); /* Адаптивний розмір шрифту */
    opacity: 0.7;
}

/* FAQ Section with CSS-only accordion */
.faq {
    background-color: #0d1a3b;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
}

.faq-item {
    margin-bottom: 20px;
    border-radius: 10px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
}

.faq-toggle {
    display: none; /* Сховати чекбокс */
}

.faq-question {
    padding: clamp(15px, 3vw, 20px); /* Адаптивні відступи */
    cursor: pointer;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    transition: all 0.3s ease;
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    transition: all 0.3s ease;
    min-width: 20px; /* Фіксована мінімальна ширина */
    text-align: center;
}

.faq-toggle:checked ~ .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 clamp(15px, 3vw, 20px); /* Адаптивні відступи */
    width: 100%;
}

.faq-toggle:checked ~ .faq-answer {
    max-height: 300px;
    padding: 0 clamp(15px, 3vw, 20px) clamp(15px, 3vw, 20px); /* Адаптивні відступи */
}

/* Contact Form Section */
.contact-form-section {
    background: linear-gradient(180deg, #0d1a3b, var(--bg-dark));
}

.form-container {
    max-width: 700px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.05);
    padding: clamp(20px, 4vw, 40px); /* Адаптивні відступи */
    border-radius: 10px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
}

.form-group {
    margin-bottom: 20px;
    width: 100%;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: clamp(10px, 2vw, 12px) clamp(12px, 2vw, 15px); /* Адаптивні відступи */
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-light);
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-gradient-start);
    box-shadow: 0 0 0 2px rgba(0, 201, 255, 0.2);
}

select.form-control {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23FAFAFA' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    padding-right: 40px;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.checkbox-group input {
    margin-right: 10px;
    margin-top: 5px;
}

.form-submit {
    width: 100%;
    margin-top: 10px;
}

/* Contact Section */
.contact-section {
    background-color: var(--bg-dark);
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); /* Зменшено для кращої підтримки малих екранів */
    gap: clamp(20px, 3vw, 30px); /* Адаптивні відступи */
    width: 100%;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.contact-icon {
    margin-right: 15px;
    color: var(--accent-gradient-start);
    font-size: clamp(1.2rem, 2.5vw, 1.5rem); /* Адаптивний розмір шрифту */
    min-width: 20px; /* Фіксована мінімальна ширина */
}

/* Footer */
footer {
    background-color: rgba(8, 14, 32, 0.95);
    padding: clamp(40px, 6vw, 60px) 0 clamp(20px, 3vw, 30px); /* Адаптивні відступи */
    position: relative;
    width: 100%;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); /* Зменшено для кращої підтримки малих екранів */
    gap: clamp(20px, 4vw, 40px); /* Адаптивні відступи */
    margin-bottom: clamp(20px, 4vw, 40px); /* Адаптивні відступи */
    width: 100%;
}

.footer-column h3 {
    margin-bottom: clamp(15px, 3vw, 20px); /* Адаптивні відступи */
    font-size: clamp(1.1rem, 2.5vw, 1.3rem); /* Адаптивний розмір шрифту */
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    opacity: 0.8;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--accent-gradient-end);
}

.footer-bottom {
    text-align: center;
    padding-top: clamp(20px, 3vw, 30px); /* Адаптивні відступи */
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: clamp(0.8rem, 1.5vw, 0.9rem); /* Адаптивний розмір шрифту */
    opacity: 0.7;
    width: 100%;
}

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: -100px;
    left: 0;
    width: 100%;
    background: rgba(15, 25, 55, 0.95);
    backdrop-filter: blur(5px);
    padding: clamp(15px, 3vw, 20px); /* Адаптивні відступи */
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    transition: bottom 0.5s ease;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0;
}

.cookie-popup.show {
    bottom: 0;
    opacity: 1;
}

.cookie-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: clamp(10px, 3vw, 20px); /* Адаптивні відступи */
}

.cookie-text {
    flex: 1;
    min-width: 260px; /* Зменшено для кращої підтримки малих екранів */
}

.cookie-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap; /* Дозволяємо кнопкам переноситися */
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fadeIn {
    animation: fadeIn 1s ease forwards;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .section {
        padding: 70px 0;
    }
    
    .process-steps::before {
        left: 30px;
    }
    
    .step {
        flex-direction: column;
    }
    
    .step-content {
        width: calc(100% - 60px);
        margin-left: 60px !important;
    }
    
    .step-number {
        left: 30px;
        transform: none;
    }
}

@media (max-width: 768px) {
    body {
        font-size: 15px; /* Зменшуємо базовий розмір шрифту */
    }
    
    .container {
        padding: 0 15px; /* Зменшуємо бічні відступи */
    }
    
    /* CSS-only Mobile Menu */
    .nav-toggle-label {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 250px;
        height: calc(100vh - 70px); /* Виправляємо висоту меню */
        background: rgba(11, 19, 43, 0.98);
        flex-direction: column;
        padding: 20px 0;
        transition: right 0.3s ease;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        overflow-y: auto; /* Додаємо прокрутку, якщо меню довге */
    }
    
    .nav-toggle:checked ~ .nav-menu {
        right: 0;
    }
    
    .nav-toggle:checked ~ .nav-toggle-label span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }
    
    .nav-toggle:checked ~ .nav-toggle-label span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle:checked ~ .nav-toggle-label span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }
    
    .nav-item {
        margin: 0 0 15px 0;
        width: 100%;
        text-align: center;
    }
    
    /* Покращення для мобільних пристроїв */
    .about-content {
        flex-direction: column;
    }
    
    .about-image {
        order: -1; /* Показуємо зображення першим на мобільних */
    }
    
    /* Поліпшуємо макет для інших секцій */
    .services-grid,
    .benefits-grid,
    .contact-info {
        grid-template-columns: 1fr;
    }
    
    /* Покращуємо контактну форму */
    .form-container {
        padding: 25px 15px;
    }
    
    /* Покращуємо footer */
    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .section {
        padding: 50px 0; /* Зменшуємо відступи секцій */
    }
    
    /* Зменшуємо розміри для кнопок */
    .btn {
        padding: 8px 16px;
        font-size: 0.85rem;
    }
    
    /* Покращуємо cookie popup */
    .cookie-buttons {
        width: 100%;
        justify-content: center;
    }
    
    /* Покращуємо крихітні мобільні макети */
    .testimonial-card,
    .service-card {
        padding: 15px;
    }
    
    /* Покращуємо процесні кроки */
    .step-content {
        width: calc(100% - 40px);
        margin-left: 40px !important;
        padding: 15px;
    }
    
    .step-number {
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
        left: 20px;
    }
    
    /* Встановлюємо мінімальну ширину контейнерів */
    .container {
        min-width: 280px;
    }
}

@media (max-width: 360px) {
    /* Додаткові налаштування для дуже маленьких екранів */
    body {
        font-size: 14px;
    }
    
    .container {
        padding: 20px 10px;
    }
    
    .logo svg {
        height: 30px;
        width: 30px;
        min-width: 30px;
    }
    
    .logo-text {
        font-size: 1rem;
    }
    
    .nav-toggle-label span {
        width: 20px;
        height: 2px;
    }
    
    .form-container,
    .step-content,
    .service-card,
    .testimonial-card {
        padding: 12px;
    }
} 