/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 40px;
}

section[id] {
    scroll-margin-top: 40px;
}

div {
    word-break: break-word;
    overflow-wrap: break-word;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #1E293B;
    background-color: #F1F5F9;
}

body:has(#menu-toggle:checked) {
    overflow: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    background-color: #111827;
    color: #FFFFFF;
    padding: 1rem 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    font-size: 1.8rem;
    font-weight: bold;
    color: #FFD166;
    text-decoration: none;
    transition: color 0.3s ease;
}

.logo a:hover {
    color: #FFFFFF;
}

.menu-checkbox {
    display: none;
}

.menu-toggle-label {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
}

.menu-toggle-label span {
    width: 25px;
    height: 3px;
    background-color: #FFFFFF;
    margin: 3px 0;
    transition: 0.3s;
}

.nav ul {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 20px;
}

.nav a {
    color: #FFFFFF;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 5px;
}

.nav a:hover {
    color: #FFD166;
    background-color: rgba(255, 209, 102, 0.1);
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(17, 24, 39, 0.7), rgba(17, 24, 39, 0.7)), url('./img/A5IXt.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 100vh;
    display: flex;
    align-items: center;
    text-align: center;
    color: #FFFFFF;
    margin-top: 78px;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: #FFD166;
    color: #111827;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn:hover {
    background-color: #F59E0B;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 209, 102, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: #FFD166;
    border: 2px solid #FFD166;
}

.btn-secondary:hover {
    background-color: #FFD166;
    color: #111827;
}

/* Section Styles */
.section {
    padding: 5rem 0;
}

.section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #111827;
}

.section h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #111827;
}

/* About Section */
.about {
    background-color: #FFFFFF;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
}

.about-image {
    text-align: center;
}

.about-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Services Section */
.services {
    background-color: #F1F5F9;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: #FFFFFF;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.service-card h3 {
    color: #111827;
    margin-bottom: 1rem;
}

.service-card p {
    color: #64748B;
    line-height: 1.6;
}

/* Advantages Section */
.advantages {
    background-color: #FFFFFF;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 2rem;
}

.advantage-item {
    background: #e4ecff91;
    border-radius: 2rem;
    text-align: center;
    padding: 2rem;
}

.advantage-item h3 {
    color: #00aeff;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.advantage-item p {
    color: #64748B;
    line-height: 1.6;
}

/* Testimonials Section */
.testimonials {
    background-color: #F1F5F9;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background-color: #FFFFFF;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    font-size: 4rem;
    color: #FFD166;
    position: absolute;
    top: -10px;
    left: 20px;
    font-family: serif;
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 1rem;
    color: #64748B;
}

.testimonial-author {
    font-weight: 600;
    color: #111827;
}

/* Steps Section */
.steps {
    background-color: #FFFFFF;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.step-item {
    text-align: center;
    padding: 2rem;
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    background-color: #FFD166;
    color: #111827;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 1rem;
}

.step-item h3 {
    margin-bottom: 1rem;
    color: #111827;
}

.step-item p {
    color: #64748B;
    line-height: 1.6;
}

/* Contact Form */
.contact {
    background-color: #F1F5F9;
}

.form-container {
    max-width: 600px;
    margin: 0 auto;
    background-color: #FFFFFF;
    padding: 3rem;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #111827;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #E2E8F0;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #FFD166;
}

.form-group select option {
    background-color: #FFFFFF;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 1rem;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-top: 5px;
}

.checkbox-group label {
    margin-bottom: 0;
    font-size: 0.9rem;
    line-height: 1.4;
}

.checkbox-group a {
    color: #00aeff;
    text-decoration: none;
}

.checkbox-group a:hover {
    text-decoration: underline;
}

/* FAQ Section */
.faq {
    background-color: #FFFFFF;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1rem;
    border: 1px solid #E2E8F0;
    border-radius: 5px;
    overflow: hidden;
}

.faq-checkbox {
    display: none;
}

.faq-question {
    display: block;
    padding: 1rem;
    background-color: #F8FAFC;
    cursor: pointer;
    font-weight: 600;
    color: #111827;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: #F1F5F9;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background-color: #FFFFFF;
}

.faq-checkbox:checked ~ .faq-answer {
    max-height: 200px;
}

.faq-answer p {
    padding: 1rem;
    color: #64748B;
    line-height: 1.6;
}

/* Footer */
.footer {
    background-color: #111827;
    color: #FFFFFF;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    color: #FFD166;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #FFFFFF;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #FFD166;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #374151;
    color: #9CA3AF;
}

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background-color: #111827;
    color: #FFFFFF;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    z-index: 10000;
    display: none;
}

.cookie-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
}

.cookie-buttons .btn {
    padding: 8px 20px;
    font-size: 0.9rem;
}

/* Thanks Page */
.thanks-section {
    min-height: 100vh;
    display: grid;
    align-items: center;
    background-color: #F1F5F9;
    padding: 2rem 0;
}

.thanks-content {
    max-width: 600px;
    margin: 8rem auto 5rem;
    background-color: #FFFFFF;
    padding: 3rem;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    text-align: center;
    border: 2px solid #FFD166;
}

.thanks-content h1 {
    color: #111827;
    margin-bottom: 1rem;
    font-size: 2.5rem;
}

.thanks-content p {
    color: #64748B;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

/* Policy Pages */
.policy-section {
    min-height: 100vh;
    background-color: #F1F5F9;
    padding: 2rem 0;
}

.policy-content {
    max-width: 800px;
    margin: 8rem auto 5rem;
    background-color: #FFFFFF;
    padding: 3rem;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border: 2px solid #E2E8F0;
}

.policy-content h1 {
    color: #111827;
    margin-bottom: 2rem;
    font-size: 2.5rem;
    text-align: center;
}

.policy-content h2 {
    color: #111827;
    margin: 2rem 0 1rem;
    font-size: 1.8rem;
}

.policy-content p {
    color: #64748B;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.policy-content ul {
    margin: 1rem 0;
    padding-left: 2rem;
}

.policy-content li {
    color: #64748B;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .menu-toggle-label {
        display: flex;
    }
    
    .nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #111827;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    
    .menu-checkbox:checked ~ nav {
        max-height: 100vh;
        height: 100vh;
    }
    
    .nav ul {
        flex-direction: column;
        padding: 2rem;
        gap: 1rem;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .services-grid,
    .advantages-grid,
    .testimonials-grid,
    .steps-grid {
        grid-template-columns: 1fr;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-buttons {
        justify-content: center;
    }
    
    .thanks-section {
        height: auto;
    }
    
    .thanks-content,
    .policy-content {
        margin: 6rem auto 3rem;
        padding: 2rem;
    }
    
    .thanks-content h1,
    .policy-content h1 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-content {
        padding: 1rem;
    }
    
    .form-container,
    .thanks-content,
    .policy-content {
        padding: 1.5rem;
    }
    
    .cookie-popup {
        left: 10px;
        right: 10px;
        bottom: 10px;
    }
}
