/* Загальні стилі */
body {
    margin: 0;
    font-family: "Manrope", sans-serif;
    color: #333;
    background-color: #f9f9f9;
}

/* Hero Section */


.hero {
    background: url('../pic/7.jpg') no-repeat center center/cover;
    color: white;
    padding: 150px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

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

.hero h1 {
    font-size: 3.5rem;
    font-weight: bold;
    margin-bottom: 15px;
    line-height: 1.2;
    color: #ffffff;
    text-transform: uppercase;
}

.hero .highlight {
    color: #FFD700; /* золотистый для выделения */
    font-weight: bold;
}

.hero .subheading {
    font-size: 1.5rem;
    margin-bottom: 20px;
    font-style: italic;
    opacity: 0.8;
}

.hero .description {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 30px;
    line-height: 1.5;
}

.hero .cta-button {
    background-color: #007BFF;
    color: white;
    font-size: 1.2rem;
    padding: 15px 30px;
    text-transform: uppercase;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.hero .cta-button:hover {
    background-color: #0056b3;
    transform: scale(1.05);
}

.hero::before {
    content: '';
    background: rgba(0, 0, 0, 0.4); /* затемнение фона для улучшения видимости текста */
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}


/* Services Section */
.services {
    background-color: white;
    padding: 50px 20px;
    text-align: center;
}

.services h2 {
    font-size: 32px;
    margin-bottom: 30px;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.service-item {
    background-color: #f4f4f4;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.service-item h3 {
    font-size: 24px;
    margin-bottom: 15px;
}

.service-item p {
    font-size: 16px;
    margin-bottom: 20px;
}

.service-link {
    display: inline-block;
    color: #003366;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    border: 1px solid #003366;
    padding: 10px 15px;
    border-radius: 5px;
    transition: background-color 0.3s, color 0.3s;
}

.service-link:hover {
    background-color: #003366;
    color: white;
}




/* Contact Section */
.contact {
    background-color: #f9f9f9;
    padding: 50px 20px;
    text-align: center;
    box-sizing: border-box;
}

.contact h2 {
    font-size: 32px;
    margin-bottom: 20px;
    color: #003366;
}

.contact-details {
    margin-bottom: 30px;
    font-size: 18px;
    line-height: 1.6;
    color: #555;
}

.contact-details a {
    color: #003366;
    text-decoration: none;
}

.contact-details a:hover {
    text-decoration: underline;
}

/* Styled Form */
.styled-form {
    max-width: 600px; /* Максимальна ширина форми */
    width: 100%; /* Залишаємо форму адаптивною */
    margin: 0 auto;
    background: #fff;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    box-sizing: border-box;
}

.styled-form .form-group {
    margin-bottom: 15px;
}

.styled-form input, 
.styled-form textarea {
    width: 100%; /* Встановлюємо ширину полів на 100% */
    padding: 12px 15px;
    font-size: 16px;
    border: 1px solid #ddd;
    border-radius: 5px;
    outline: none;
    transition: border-color 0.3s, box-shadow 0.3s;
    box-sizing: border-box; /* Забезпечуємо коректне врахування padding */
}

.styled-form input:focus, 
.styled-form textarea:focus {
    border-color: #003366;
    box-shadow: 0 0 8px rgba(0, 51, 102, 0.2);
}

.styled-form input::placeholder, 
.styled-form textarea::placeholder {
    color: #aaa;
}

.styled-form button.cta-button {
    background-color: #003366;
    color: #fff;
    font-size: 18px;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
    display: inline-block;
    width: 100%;
    box-sizing: border-box; /* Враховуємо padding і border */
}

.styled-form button.cta-button:hover {
    background-color: #00509e;
}

/* Стиль для секции консультаций */
.consultation {
    background-color: #f9f9f9;
    padding: 50px 20px;
    text-align: center;
    box-sizing: border-box;
}

.consultation h2 {
    font-size: 32px;
    margin-bottom: 20px;
    color: #003366;
}

.consultation p {
    font-size: 18px;
    margin-bottom: 40px;
    color: #555;
}

.styled-form {
    max-width: 600px;
    width: 100%;
    margin: 0 auto;
    background: #fff;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    box-sizing: border-box;
}

.styled-form .form-group {
    margin-bottom: 15px;
}

.styled-form input,
.styled-form textarea,
.styled-form select {
    width: 100%;
    padding: 12px 15px;
    font-size: 16px;
    border: 1px solid #ddd;
    border-radius: 5px;
    outline: none;
    transition: border-color 0.3s, box-shadow 0.3s;
    box-sizing: border-box;
}

.styled-form input:focus,
.styled-form textarea:focus,
.styled-form select:focus {
    border-color: #003366;
    box-shadow: 0 0 8px rgba(0, 51, 102, 0.2);
}

.styled-form input::placeholder,
.styled-form textarea::placeholder {
    color: #aaa;
}

.styled-form button.cta-button {
    background-color: #003366;
    color: #fff;
    font-size: 18px;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
    display: inline-block;
    width: 100%;
    box-sizing: border-box;
}

.styled-form button.cta-button:hover {
    background-color: #00509e;
}


/* Footer */
footer {
    background-color: #003366;
    color: white;
    padding: 20px 0;
    text-align: center;
}

footer p {
    margin: 5px 0;
}

footer a {
    color: #ffd700;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}


/* Заголовок */
.service-title {
    font-size: 32px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 40px;
    
}

/* Опис послуги */
.service-description p {
    font-size: 18px;
    line-height: 1.6;
}

.service-blocks {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    margin-top: 30px;
}

.service-block {
    background-color: #f5f5f5;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    width: 30%;
}

.service-block i {
    font-size: 40px;
    margin-bottom: 15px;
    color: #007bff;
}

.service-block h4 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
}

/* Переваги */
.service-advantages {
    margin-top: 60px;
}

.advantages-blocks {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 30px;
}

.advantages-item {
    background-color: #f5f5f5;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    width: 23%;
}

.advantages-item i {
    font-size: 40px;
    margin-bottom: 15px;
    color: #28a745;
}

.advantages-item h4 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
}

/* Блоксхема процесу */
.service-process {
    margin-top: 60px;
}

.process-diagram {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.process-step {
    background-color: #f8f9fa;
    padding: 25px;
    border-radius: 8px;
    text-align: center;
}

.process-step i {
    font-size: 40px;
    margin-bottom: 15px;
    color: #007bff;
}

.process-step p {
    font-size: 16px;
    line-height: 1.6;
    font-weight: 500;
}

/* Чому варто обрати нас */
.why-choose-us {
    margin-top: 60px;
}

.choose-item {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
}

.choose-item i {
    font-size: 35px;
    color: #007bff;
}

.choose-item h4 {
    font-size: 22px;
    font-weight: bold;
}

/* Адаптивні стилі для мобільних пристроїв */
@media screen and (max-width: 768px) {
    /* Заголовок */
    .service-title {
        font-size: 28px;
        font-family: "Manrope", sans-serif;
    }

    /* Опис послуги */
    .service-description p {
        font-size: 16px;
    }

    .service-blocks {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .service-block {
        width: 80%; /* Ширина блоків для мобільних */
        text-align: center;
    }

    .service-block i {
        font-size: 30px; /* Зменшення іконок */
    }

    /* Переваги */
    .advantages-blocks {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .advantages-item {
        width: 80%; /* Ширина блоків для мобільних */
    }

    .advantages-item i {
        font-size: 35px; /* Зменшення іконок */
    }

    /* Блоксхема процесу */
    .process-diagram {
        grid-template-columns: 1fr; /* Одностовпчик для мобільних */
    }

    .process-step {
        width: 80%; /* Зменшення ширини для мобільних */
        padding: 20px; /* Зменшення відступів */
    }

    .process-step i {
        font-size: 30px; /* Зменшення іконок */
    }

    /* Чому варто обрати нас */
    .choose-item {
        flex-direction: column;
        align-items: center;
        margin-bottom: 20px;
    }

    .choose-item i {
        font-size: 30px; /* Зменшення іконок */
    }

    .choose-item h4 {
        font-size: 18px; /* Зменшення шрифтів */
    }
}

/* Адаптивні стилі для малих екранів (наприклад, смартфони) */
@media screen and (max-width: 480px) {
    /* Заголовок */
    .service-title {
        font-size: 24px;
        font-family: "Manrope", sans-serif;
    }

    /* Опис послуги */
    .service-description p {
        font-size: 14px;
    }

    .service-blocks {
        gap: 15px;
    }

    .service-block {
        width: 90%;
    }

    .service-block i {
        font-size: 25px;
    }

    /* Переваги */
    .advantages-blocks {
        gap: 15px;
    }

    .advantages-item {
        width: 90%;
    }

    .advantages-item i {
        font-size: 30px;
    }

    /* Блоксхема процесу */
    .process-diagram {
        grid-template-columns: 1fr; /* Одностовпчик для мобільних */
    }

    .process-step {
        width: 90%;
    }

    .process-step i {
        font-size: 25px; /* Зменшення іконок */
    }

    /* Чому варто обрати нас */
    .choose-item {
        margin-bottom: 15px;
    }

    .choose-item i {
        font-size: 25px; /* Зменшення іконок */
    }

    .choose-item h4 {
        font-size: 16px; /* Зменшення шрифтів */
    }
}



/* Медиа-запросы для мобильных устройств */
@media (max-width: 768px) {
    .nav {
        display: none;  /* Скрыть навигацию для мобильных */
    }

    .hamburger-menu {
        display: flex;  /* Показать гамбургер */
    }
    .styled-form {
        padding: 15px;
    }
    
    .hero h1 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 15px;
    line-height: 1.2;
    color: #ffffff;
    text-transform: uppercase;
}
}

.cta-button {
    padding: 12px 30px;
    font-size: 18px;
    background-color: #007BFF;
    color: /*white*/#FFFF00;
    text-decoration: none;
    border-radius: 5px;
    transition: transform 0.5s, background-color 0.3s;
}

.cta-button:hover {
    transform: scale(1.1);
    background-color: #FFFF00;
    color: /*white*/#007BFF;
}


.service-title {
    font-size: 2.5rem;
    text-align: center;
    color: #2c3e50;
    font-weight: bold;
    margin-bottom: 20px;
    
}

.service-title .highlight {
    color: #e74c3c;
    font-weight: 700;
    
}


.service-title {
    font-family: "Manrope", sans-serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: #2c3e50; /* Темно-сірий колір для основного тексту */
    text-align: center;
    line-height: 1.4;
}

.advantages-title {
    color: #007bff;
    font-size: 1.5em;
    font-weight: bold;
}

.advantages-title1 {
    color: #28a745;
    font-size: 1.5em;
    font-weight: bold;
}





.receipt-block {
    display: flex;
    justify-content: center;
    padding: 40px 0;
    background-color: #f9f9f9;
    
}

.receipt {
    background: #ffffff;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    width: 400px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    font-family: "Manrope", sans-serif;
}

.receipt-header {
    text-align: center;
    margin-bottom: 20px;
}

.receipt-header h2 {
    font-size: 24px;
    color: #333;
    margin-bottom: 5px;
}

.receipt-header p {
    font-size: 14px;
    color: #777;
}

.receipt-body {
    border-top: 2px dashed #ccc;
    border-bottom: 2px dashed #ccc;
    padding: 15px 0;
    margin: 15px 0;
}

.receipt-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 16px;
    color: #555;
}

.receipt-total {
    display: flex;
    justify-content: space-between;
    font-size: 18px;
    font-weight: bold;
    color: #000;
    margin-top: 10px;
}

.receipt-footer {
    text-align: center;
    margin-top: 20px;
}

.receipt-footer p {
    font-size: 14px;
    color: #777;
    margin-bottom: 15px;
}

.pay-button {
    background-color: #007bff;
    color: #fff;
    padding: 10px 20px;
    font-size: 16px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.pay-button:hover {
    background-color: #0056b3;
}

.separator {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px; /* Отступ под разделителем */
    text-align: center;
}

.separator .line {
    flex: 1; /* Линии занимают доступное пространство */
    height: 2px; /* Толщина линии */
    background-color: #ddd; /* Цвет линии */
    margin: 0 15px; /* Отступы между линией и текстом */
}

.separator-text {
    font-size: 18px; /* Размер текста */
    font-weight: bold;
    color: #555; /* Цвет текста */
    text-transform: uppercase; /* Все буквы заглавные */
}

