/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 10px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

.container {
    max-width: 120rem;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 2rem;
    z-index: 1000;
    display: none;
}

.cookie-popup.show {
    display: block;
}

.cookie-content {
    max-width: 120rem;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.cookie-btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 0.5rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cookie-btn.accept {
    background: #271D55;
    color: white;
}

.cookie-btn.decline {
    background: transparent;
    color: white;
    border: 1px solid white;
}

.cookie-btn:hover {
    transform: translateY(-0.2rem);
}

/* Header */
.header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    box-shadow: 0 0.2rem 1rem rgba(0, 0, 0, 0.1);
}

.navbar {
    padding: 1rem 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand h1 {
    color: white;
    font-size: 2.4rem;
    font-weight: 700;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 3rem;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.6rem;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: #ffd700;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 0.3rem;
}

.hamburger span {
    width: 2.5rem;
    height: 0.3rem;
    background: white;
    border-radius: 0.2rem;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    background: url("img/bg.png") no-repeat center center;
    background-size: cover; /* забезпечує, що зображення покриває всю секцію */
    color: white;
    padding: 12rem 0 8rem;

    position: relative;
    z-index: 1;
    height: 100vh;
}


.hero-content {
    display: flex;
    align-items: flex-end;
    gap: 6rem;
    justify-content: flex-end;
}

.hero-text {
    /*flex: 1;*/
    border: 1px solid #FFF;
    display: flex;
max-width: 490px;
padding: 60px 40px;
flex-direction: column;
align-items: center;
gap: 30px;
}

.hero-text h2 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 2rem;
    line-height: 1.2;
}

.hero-text p {
    font-size: 1.8rem;
    margin-bottom: 3rem;
    opacity: 0.9;
}

.cta-button {
    background: #fafaf8;
    color: #333;
    padding: 1.5rem 3rem;
    border: none;
    border-radius: 0.5rem;
    font-size: 1.6rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-0.2rem);
    box-shadow: 0 0.5rem 1.5rem rgba(255, 215, 0, 0.3);
}

.hero-image {
    flex: 1;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 1rem;
}

/* About Section */
.about {
    padding: 8rem 0;
    background: white;
}

.about h2 {
    text-align: center;
    font-size: 3.6rem;
    margin-bottom: 6rem;
    color: #333;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 6rem;
}

.about-text {
    flex: 1;
}

.about-text h3 {
    font-size: 2.4rem;
    margin-bottom: 2rem;
    color: #271D55;
}

.about-text p {
    font-size: 1.6rem;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.about-image {
    flex: 1;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 1rem;
}

/* Steps Section */
.steps {
    padding: 8rem 0;
    background: url("img/p2.png");
}

.steps h2 {
    text-align: center;
    font-size: 3.6rem;
    margin-bottom: 6rem;
    color: #fffdfd;
}

.steps-content {
    display: flex;
    gap: 4rem;
    flex-wrap: wrap;
}

.step {
    flex: 1;
    min-width: 25rem;
    background: white;
    padding: 4rem 2rem;
    border-radius: 1rem;
    text-align: center;
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.step:hover {
    transform: translateY(-0.5rem);
}

.step-number {
    width: 6rem;
    height: 6rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.4rem;
    font-weight: 700;
    margin: 0 auto 2rem;
}

.step h3 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    color: #333;
}

.step p {
    font-size: 1.6rem;
    line-height: 1.8;
    color: #666;
}

/* Services Section */
.services {
    padding: 8rem 0;
    background: white;
}

.services h2 {
    text-align: center;
    font-size: 3.6rem;
    margin-bottom: 6rem;
    color: #333;
}

.services-grid {
    display: flex;
    gap: 3rem;
    flex-wrap: wrap;
}

.service-card {
    flex: 1;
    min-width: 25rem;
    background: #f8f9fa;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-0.5rem);
}

.service-image {
    height: 20rem;
    overflow: hidden;
}

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

.service-content {
    padding: 3rem 2rem;
}

.service-content h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #333;
}

.service-content p {
    font-size: 1.4rem;
    line-height: 1.8;
    color: #666;
}

/* Why Us Section */
.why-us {
    padding: 8rem 0;
    background: #f8f9fa;
}

.why-us h2 {
    text-align: center;
    font-size: 3.6rem;
    margin-bottom: 6rem;
    color: #333;
}

.why-us-content {
    display: flex;
    align-items: center;
    gap: 6rem;
}

.why-us-image {
    flex: 1;
}

.why-us-image img {
    width: 100%;
    height: auto;
    border-radius: 1rem;
}

.why-us-text {
    flex: 1;
}

.why-us-text p {
    font-size: 1.6rem;
    margin-bottom: 3rem;
    line-height: 1.8;
}

.features-list {
    list-style: none;
}

.features-list li {
    display: flex;
    align-items: flex-start;
    /*gap: 10px;*/
    margin-bottom: 2rem;
    font-size: 1.4rem;
    line-height: 1.6;
        justify-content: flex-start;
    flex-direction: column;
}

.feature-icon {
    color: #271D55;
    font-weight: 700;
    font-size: 1.8rem;
}

/* Contact Section */
.contact {
    padding: 8rem 0;
    background: white;
}

.contact h2 {
    text-align: center;
    font-size: 3.6rem;
    margin-bottom: 6rem;
    color: #333;
}

.contact-content {
    display: flex;
    align-items: center;
    gap: 6rem;
}

.contact-image {
    flex: 1;
}

.contact-image img {
    width: 100%;
    height: auto;
    border-radius: 1rem;
}

.contact-form {
    flex: 1;
}

.form-group {
    margin-bottom: 2rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1.5rem;
    border: 1px solid #ddd;
    border-radius: 0.5rem;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.6rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #271D55;
}

.submit-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1.5rem 3rem;
    border: none;
    border-radius: 0.5rem;
    font-size: 1.6rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    transform: translateY(-0.2rem);
    box-shadow: 0 0.5rem 1.5rem rgba(102, 126, 234, 0.3);
}

/* Footer */
.footer {
    background: #333;
    color: white;
    padding: 4rem 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-links {
    display: flex;
    gap: 3rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: white;
    text-decoration: none;
    font-size: 1.4rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #271D55;
}

.footer-copy p {
    font-size: 1.4rem;
    opacity: 0.8;
}

/* Mobile Styles */
@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }

    .nav-menu {
        position: fixed;
        top: 7rem;
        right: -100%;
        width: 100%;
        height: calc(100vh - 7rem);
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding: 4rem 0;
        transition: right 0.3s ease;
    }

    .nav-menu.active {
        right: 0;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(0.5rem, 0.5rem);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(0.7rem, -0.6rem);
    }

    .hero {
        padding: 8rem 0 6rem;
    }

    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 4rem;
    }

    .hero-text h2 {
        font-size: 3rem;
    }

    .hero-text p {
        font-size: 1.6rem;
    }

    .about-content {
        flex-direction: column;
        text-align: center;
        gap: 4rem;
    }

    .steps-content {
        flex-direction: column;
    }

    .step {
        min-width: auto;
    }

    .services-grid {
        flex-direction: column;
    }

    .service-card {
        min-width: auto;
    }

    .why-us-content {
        flex-direction: column;
        text-align: center;
        gap: 4rem;
    }

    .contact-content {
        flex-direction: column;
        gap: 4rem;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

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

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

@media (max-width: 480px) {
    .hero-text h2 {
        font-size: 2.4rem;
    }

    .about h2,
    .steps h2,
    .services h2,
    .why-us h2,
    .contact h2 {
        font-size: 2.8rem;
    }

    .step {
        padding: 3rem 1.5rem;
    }

    .service-content {
        padding: 2rem 1.5rem;
    }
}