/* Global Styles */
:root {
    --bg-color: #2B1A47;
    --accent-color: #FF6B35;
    --secondary-accent: #4FD1C5;
    --text-color: #E4E4E4;
    --white: #FFFFFF;
    --highlight: #FFD369;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 40px;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
}

section[id] {
    scroll-margin-top: 40px;
}

div {
    word-break: break-word;
    overflow-wrap: break-word;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    color: var(--white);
}

a {
    color: var(--secondary-accent);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--accent-color);
}

section {
    padding: 5rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--accent-color);
    margin: 1rem auto;
}

.btn {
    display: inline-block;
    background: var(--accent-color);
    color: var(--white);
    padding: 12px 30px;
    border-radius: 30px;
    border: none;
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn:hover {
    background: var(--secondary-accent);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Header & Navigation */
header {
    background-color: rgba(43, 26, 71, 0.95);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--white);
}

nav ul {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 20px;
}

nav ul li a {
    color: var(--white);
    font-weight: 600;
}

nav ul li a:hover {
    color: var(--accent-color);
}

.nav-toggle {
    display: none;
}

.nav-toggle-label {
    display: none;
    cursor: pointer;
}

.nav-toggle-label span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--white);
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(43, 26, 71, 0.8), rgba(43, 26, 71, 0.9)), url('./img/JTwQL.jpg') no-repeat center center/cover;
    height: 100vh;
    display: flex;
    align-items: center;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--white);
}

/* About Section */
.about {
    background-color: #231538;
}

.about-content {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: center;
}

.about-text {
    flex: 1 1 500px;
}

.about-image {
    flex: 1 1 400px;
    border-radius: 10px;
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Services Section */
.services {
    background-color: var(--bg-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.service-card {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 2rem;
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-icon {
    background-color: var(--secondary-accent);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1rem;
}

.service-card h3 {
    color: var(--highlight);
    margin-bottom: 1rem;
}

/* Benefits Section */
.benefits {
    background-color: #231538;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.benefit-item {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.benefit-icon {
    width: 60px;
    height: 60px;
    background-color: var(--accent-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1rem;
}

.benefit-item h3 {
    margin: 1rem 0;
}

/* Case Studies */
.case-studies {
    background-color: var(--bg-color);
}

.case-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.case-card {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.case-card:hover {
    transform: translateY(-10px);
}

.case-image {
    height: 200px;
    overflow: hidden;
}

.case-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.case-content {
    padding: 1.5rem;
}

.case-content h3 {
    color: var(--highlight);
}

/* Testimonials */
.testimonials {
    background-color: #231538;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.testimonial-card {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 2rem;
    position: relative;
}

.testimonial-card::before {
    content: '"';
    font-size: 5rem;
    color: var(--accent-color);
    opacity: 0.3;
    position: absolute;
    top: 10px;
    left: 20px;
    line-height: 1;
}

.client-info {
    display: flex;
    align-items: center;
    margin-top: 1.5rem;
}

.client-name {
    margin-left: 1rem;
}

.client-name h4 {
    margin-bottom: 0.2rem;
}

.client-position {
    color: var(--secondary-accent);
    font-size: 0.9rem;
}

/* Form Section */
.order-form {
    background-color: var(--bg-color);
}

.form-container {
    max-width: 700px;
    margin: 0 auto;
    padding: 2rem;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

form {
    display: grid;
    gap: 1.5rem;
}

.form-group {
    position: relative;
}

form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

form input,
form select,
form textarea {
    width: 100%;
    padding: 12px 15px;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    color: var(--white);
    font-size: 1rem;
}

form select option {
    background-color: white;
    color: var(--bg-color);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-top: 5px;
}

form button {
    background-color: var(--accent-color);
    color: var(--white);
    border: none;
    padding: 12px 20px;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

form button:hover {
    background-color: var(--secondary-accent);
}

/* FAQ Section */
.faq {
    background-color: #231538;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1rem;
    border-radius: 5px;
    overflow: hidden;
}

.faq-question {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 1rem;
    cursor: pointer;
    position: relative;
    display: block;
}

.faq-checkbox {
    display: none;
}

.faq-question::after {
    content: "+";
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.3s ease;
}

.faq-answer {
    background-color: rgba(255, 255, 255, 0.02);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer-content {
    padding: 1rem;
}

.faq-checkbox:checked ~ .faq-question::after {
    content: "−";
}

.faq-checkbox:checked ~ .faq-answer {
    max-height: 500px;
}

/* Footer */
footer {
    background-color: #1a1128;
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.footer-info .logo {
    margin-bottom: 1rem;
}

.footer-contact ul,
.footer-links ul,
.footer-services ul {
    list-style: none;
}

.footer-contact ul li,
.footer-links ul li,
.footer-services ul li {
    margin-bottom: 0.5rem;
}

.footer-bottom {
    margin-top: 3rem;
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background-color: var(--bg-color);
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    display: none;
    max-width: 400px;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
    margin-top: 1rem;
}

.cookie-buttons button {
    background-color: var(--accent-color);
    color: var(--white);
    border: none;
    padding: 8px 20px;
    border-radius: 5px;
    cursor: pointer;
}

.cookie-buttons a {
    padding: 8px 20px;
}

/* Thank You Page */
.thanks-section {
    height: 100vh;
    display: grid;
    align-items: center;

}


.thanks-container {
    text-align: center;
    max-width: 600px;
    margin: 8rem auto 5rem;
    padding: 3rem;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

.thanks-container h1 {
    color: var(--accent-color);
    margin-bottom: 1.5rem;
}

/* === PRIVACY POLICY PAGE === */
.policy-page {
    padding: 6rem 0;
    background: #f9f9f9;
    color: #333;
    line-height: 1.7;
}

.policy-page .container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.policy-page .section-title {
    font-size: 2.2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 2.5rem;
    color: #0B5D57; /* зелений акцент */
    position: relative;
}

.policy-page .section-title::after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    background: #FF6F61; /* кораловий акцент */
    margin: 0.8rem auto 0;
    border-radius: 2px;
}

.policy-content h2 {
    font-size: 1.5rem;
    margin: 2rem 0 1rem;
    color: #3A2E5C; /* фіолетовий акцент */
}

.policy-content h3 {
    font-size: 1.2rem;
    margin: 1.5rem 0 0.7rem;
    color: #0B5D57; 
}

.policy-content p {
    margin-bottom: 1.2rem;
    font-size: 1rem;
}

.policy-content ul {
    margin: 1rem 0 1.5rem 1.5rem;
    padding: 0;
}

.policy-content ul li {
    margin-bottom: 0.6rem;
    padding-left: 0.5rem;
    position: relative;
}

.policy-content ul li::before {
    content: "✔";
    position: absolute;
    left: -1.3rem;
    color: #FF6F61;
    font-size: 0.9rem;
}

.policy-content address {
    font-style: normal;
    margin-top: 1rem;
    line-height: 1.6;
    color: #555;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .policy-page {
        padding: 4rem 0;
    }

    .policy-page .section-title {
        font-size: 1.8rem;
    }

    .policy-content h2 {
        font-size: 1.3rem;
    }

    .policy-content h3 {
        font-size: 1.1rem;
    }
}


/* Responsive Design */
@media (max-width: 768px) {
    .nav-toggle-label {
        display: block;
    }

    nav ul {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--bg-color);
        flex-direction: column;
        padding: 1rem 0;
        clip-path: circle(0 at top right);
        transition: clip-path 0.4s ease-in-out;
    }

    .nav-toggle:checked ~ ul {
        clip-path: circle(150% at top right);
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .about-content {
        flex-direction: column;
    }

    section {
        padding: 3rem 0;
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    section {
        padding: 2rem 0;
    }
}
