/* 
Color Palette:
- Background: #1F1235 (deep indigo)
- Accents: #FDC500 (neon yellow)
- Text: #FFFFFF (pure white)
- Buttons: #0E79B2 (electric blue)
- Block backgrounds: #F3F3F3 (light ash)
*/

/* Global Styles */
:root {
    --bg-color: #1F1235;
    --accent-color: #FDC500;
    --text-color: #FFFFFF;
    --button-color: #0E79B2;
    --block-bg: #F3F3F3;
    --shadow-color: rgba(253, 197, 0, 0.3);
    --glassmorphism-bg: rgba(31, 18, 53, 0.7);
    --glass-shadow: 0 8px 32px 0 rgba(31, 18, 53, 0.37);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

section {
    padding: 80px 0;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 20px;
    font-weight: 700;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--accent-color);
    border-radius: 2px;
}

p {
    margin-bottom: 15px;
}

a {
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--accent-color);
}

img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

/* Button Styles */
.btn {
    display: inline-block;
    background-color: var(--button-color);
    color: var(--text-color);
    padding: 12px 30px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(14, 121, 178, 0.3);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: all 0.6s ease;
}

.btn:hover {
    background-color: var(--accent-color);
    color: var(--bg-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(253, 197, 0, 0.4);
}

.btn:hover::before {
    left: 100%;
}

/* Glassmorphism Effect */
.glass-card {
    background: rgba(31, 18, 53, 0.25);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: var(--glass-shadow);
    padding: 30px;
    transition: all 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px 0 rgba(253, 197, 0, 0.2);
}

/* Header Styles */
header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    background: var(--glassmorphism-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 15px 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
}

.logo svg {
    margin-right: 10px;
}

.logo span {
    color: var(--text-color);
}

/* Navigation Menu */
.nav-menu ul {
    display: flex;
    list-style: none;
    gap: 10px;
}

.nav-menu li {
    margin-left: 30px;
    position: relative;
}

.nav-menu a {
    font-weight: 600;
    position: relative;
    padding: 5px 0;
    transition: all 0.3s ease;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
    box-shadow: 0 0 10px var(--accent-color);
}

.nav-menu a:hover {
    color: var(--accent-color);
    text-shadow: 0 0 10px rgba(253, 197, 0, 0.3);
}

.nav-menu a:hover::after {
    width: 100%;
}

/* Mobile Menu */
.menu-checkbox {
    display: none;
}

.menu-button {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
}

.menu-button span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--text-color);
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    background-image: url('../img/NHIhG.jpg');
    background-size: cover;
    background-position: center;
    min-height: 100vh;
    display: flex;
    align-items: center;
    text-align: center;
    position: relative;
    padding-top: 80px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(31, 18, 53, 0.8);
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 40px;
    color: var(--text-color);
}

/* About Section */
.about-content {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    align-items: center;
}

.about-text {
    flex: 1;
    min-width: 300px;
}

.about-icons {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.icon-item {
    text-align: center;
    padding: 25px;
    background: rgba(243, 243, 243, 0.05);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.icon-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(253, 197, 0, 0.2);
}

.icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    overflow: hidden;
    border-radius: 50%;
    border: 3px solid var(--accent-color);
}

.icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Advantages Section */
.advantages {
    background: linear-gradient(180deg, var(--bg-color) 0%, rgba(31, 18, 53, 0.9) 100%);
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.advantage-card {
    padding: 30px;
    text-align: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.advantage-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(253, 197, 0, 0.1), transparent);
    transform: translateX(-100%);
    transition: all 0.8s ease;
}

.advantage-card:hover::before {
    transform: translateX(100%);
}

.advantage-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(14, 121, 178, 0.2);
}

.advantage-card img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 20px;
    border: 3px solid var(--accent-color);
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.service-card {
    background: rgba(31, 18, 53, 0.25);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 30px;
    text-align: center;
    box-shadow: var(--glass-shadow);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(253, 197, 0, 0.2);
}

.service-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 20px;
}

.service-card h3 {
    color: var(--accent-color);
}

.service-card p {
    margin-bottom: 25px;
}

/* Order Form Section */
.order-form {
    background-color: rgba(31, 18, 53, 0.8);
    padding: 100px 0;
}

.order-form .container {
    max-width: 800px;
}

.order-form form {
    background: rgba(243, 243, 243, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 40px;
    box-shadow: var(--glass-shadow);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(31, 18, 53, 0.2);
    border-radius: 8px;
    color: var(--text-color);
    font-size: 1rem;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 2px rgba(253, 197, 0, 0.3);
}

.form-group.checkbox-group {
    display: flex;
    align-items: center;
}

.form-group.checkbox-group input {
    width: auto;
    margin-right: 10px;
}

.form-group.checkbox-group label {
    margin-bottom: 0;
}

/* Testimonials Section */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    display: flex;
    background: rgba(31, 18, 53, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(14, 121, 178, 0.2);
}

.testimonial-img {
    flex: 0 0 100px;
}

.testimonial-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
}

.testimonial-content {
    flex: 1;
    padding: 20px;
}

.testimonial-content p {
    font-style: italic;
    margin-bottom: 15px;
}

.testimonial-content h4 {
    color: var(--accent-color);
    margin-bottom: 5px;
}

.company {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Certificates Section */
.certificates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.certificate-item {
    text-align: center;
    padding: 30px;
    background: rgba(31, 18, 53, 0.3);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.certificate-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(253, 197, 0, 0.15);
}

.certificate-item img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    margin-bottom: 20px;
    border: 2px solid var(--accent-color);
}

/* Contact Section */
.contact {
    background: linear-gradient(180deg, var(--bg-color) 0%, rgba(31, 18, 53, 0.9) 100%);
}

.contact-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px;
}

.contact-item {
    margin-bottom: 30px;
}

.contact-item h3 {
    color: var(--accent-color);
    margin-bottom: 10px;
}

.contact-map img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Footer Styles */
footer {
    background-color: rgba(20, 10, 40, 0.95);
    padding: 80px 0 20px;
    position: relative;
    border-top: 1px solid rgba(253, 197, 0, 0.1);
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 50px;
}

.footer-logo {
    flex: 0 0 250px;
}

.footer-links {
    flex: 1;
    display: flex;
    justify-content: space-around;
    gap: 30px;
}

.footer-menu {
    flex: 0 0 auto;
}

.footer-contact {
    flex: 0 0 250px;
}

.footer-logo a {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    font-size: 1.3rem;
    transition: transform 0.3s ease;
}

.footer-logo a:hover {
    transform: translateY(-3px);
}

.footer-logo svg {
    margin-right: 10px;
    filter: drop-shadow(0 0 5px var(--accent-color));
}

.footer-menu h3,
.footer-contact h3 {
    color: var(--accent-color);
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
    font-size: 1.2rem;
}

.footer-menu h3::after,
.footer-contact h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}

.footer-menu h3:hover::after,
.footer-contact h3:hover::after {
    width: 100%;
}

.footer-menu ul {
    list-style: none;
}

.footer-menu li {
    margin-bottom: 15px;
}

.footer-menu a {
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-menu a:hover {
    color: var(--accent-color);
    transform: translateX(5px);
}

.footer-contact p {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-contact p i {
    color: var(--accent-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer-bottom a {
    color: var(--accent-color);
    transition: all 0.3s ease;
}

.footer-bottom a:hover {
    text-decoration: underline;
}

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    max-width: 400px;
    background: rgba(31, 18, 53, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    z-index: 9999;
}

.cookie-popup p {
    margin-bottom: 15px;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
}

/* Thank You Page */
.thank-you {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    background: var(--bg-color);
}

.thank-you-content {
    padding: 50px;
    background: rgba(31, 18, 53, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 600px;
    width: 100%;
    margin: 0 auto;
    box-shadow: var(--glass-shadow);
}

.thank-you h1 {
    color: var(--accent-color);
    margin-bottom: 30px;
    font-size: 2.5rem;
}

.thank-you p {
    margin-bottom: 30px;
    font-size: 1.2rem;
    line-height: 1.6;
}

.thank-you .btn {
    margin-top: 20px;
}

/* Media Queries */
@media (max-width: 992px) {
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    section {
        padding: 60px 0;
    }
    
    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .footer-logo {
        flex: 0 0 auto;
    }
    
    .footer-links {
        flex-direction: column;
        align-items: center;
        gap: 40px;
    }
    
    .footer-menu {
        width: 100%;
    }
    
    .footer-contact {
        flex: 0 0 auto;
    }
    
    .footer-menu h3::after,
    .footer-contact h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

@media (max-width: 768px) {
    .menu-button {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: var(--glassmorphism-bg);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        padding: 20px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        transform: translateY(-150%);
        opacity: 0;
        transition: all 0.3s ease;
        z-index: 999;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .hero {
        min-height: 80vh;
    }
    
    .hero p {
        font-size: 1.2rem;
    }
    
    .btn {
        padding: 10px 20px;
    }
    
    .order-form form {
        padding: 20px;
    }
    
    .cookie-buttons {
        flex-direction: column;
    }
}

/* Стилі для option */
select option {
    background-color: #f5f5f5;
    color: #333;
    padding: 8px;
}

select option:hover {
    background-color: #e0e0e0;
} 