/* Base Styles */
:root {
    --bg-primary: #0f172a;
    --accent: #f59e0b;
    --heading: #f8fafc;
    --text: #94a3b8;
    --form-bg: #1e293b;
    --animation: #38bdf8;
    --accent-gradient-start: #f59e0b;
    --accent-gradient-end: #facc15;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    font-family: 'Arial', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    max-width: 100%;
    width: 100%;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--heading);
    margin-bottom: 1rem;
    text-align: center;
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    opacity: 0.8;
}

section {
    padding: 5rem 0;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    background: linear-gradient(135deg, var(--accent-gradient-start), var(--accent-gradient-end));
    color: var(--bg-primary);
    font-weight: bold;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

img {
    max-width: 100%;
    height: auto;
}

/* Header Styles */
header {
    background-color: rgba(15, 23, 42, 0.95);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    font-size: 2rem;
    font-weight: bold;
    color: var(--heading);
    text-transform: lowercase;
    letter-spacing: -1px;
}

.desktop-nav ul {
    display: flex;
    list-style: none;
}

.desktop-nav ul li {
    margin-left: 2rem;
}

.desktop-nav ul li a {
    color: var(--heading);
    position: relative;
}

.desktop-nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent);
    transition: width 0.3s ease;
}

.desktop-nav ul li a:hover::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
}

.mobile-nav {
    display: none;
}

/* Footer Styles */
footer {
    background-color: rgba(15, 23, 42, 0.8);
    padding: 3rem 0 1rem;
    margin-top: 3rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-info h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.footer-contact address {
    font-style: normal;
}

.footer-legal ul {
    list-style: none;
}

.footer-legal ul li {
    margin-bottom: 0.5rem;
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(148, 163, 184, 0.2);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.7)), url('./img/3Chx2e.jpg') no-repeat center center/cover;
    text-align: center;
    padding-top: 4rem;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

/* About Section */
.about {
    background-color: rgba(30, 41, 59, 0.5);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-img {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.about-img img {
    transition: transform 0.5s ease;
}

.about-img:hover img {
    transform: scale(1.05);
}

/* Benefits Section */
.benefits {
    text-align: center;
}

.benefits-heading {
    margin-bottom: 3rem;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.benefit-item {
    background-color: rgba(30, 41, 59, 0.5);
    padding: 2rem;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.benefit-icon {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 1rem;
}

/* Services Section */
.services {
    background-color: rgba(30, 41, 59, 0.5);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: var(--bg-primary);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-img {
    height: 200px;
    overflow: hidden;
}

.service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-img img {
    transform: scale(1.1);
}

.service-content {
    padding: 1.5rem;
}

/* Cases Section */
.cases {
    text-align: center;
}

.case-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.stat-item {
    background-color: rgba(30, 41, 59, 0.5);
    padding: 2rem;
    border-radius: 8px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

/* Form Section */
.contact {
    background-color: rgba(30, 41, 59, 0.5);
}

.form-container {
    max-width: 600px;
    margin: 0 auto;
    background-color: var(--form-bg);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--heading);
}

.form-control {
    width: 100%;
    padding: 12px;
    background-color: rgba(248, 250, 252, 0.1);
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 4px;
    color: var(--heading);
}

select.form-control {
    appearance: auto;
    color: var(--heading);
    background-color: rgba(30, 41, 59, 0.9);
    border-color: rgba(148, 163, 184, 0.5);
}

.form-control:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.2);
}

.checkbox-group {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.checkbox-group input {
    margin-right: 10px;
}

/* FAQ Section */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1rem;
    background-color: rgba(30, 41, 59, 0.5);
    border-radius: 8px;
    overflow: hidden;
}

.faq-question {
    padding: 1rem;
    background-color: rgba(30, 41, 59, 0.8);
    color: var(--heading);
    cursor: pointer;
    position: relative;
}

.faq-question form {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question button {
    background: none;
    border: none;
    color: var(--accent);
    font-size: 1.5rem;
    cursor: pointer;
}

.faq-answer {
    padding: 1rem;
    display: none;
}

.faq-answer.show {
    display: block;
}

/* Testimonials Section */
.testimonials {
    text-align: center;
    background-color: rgba(30, 41, 59, 0.5);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-card {
    background-color: var(--bg-primary);
    padding: 2rem;
    border-radius: 8px;
    position: relative;
}

.testimonial-text {
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    font-weight: bold;
    color: var(--heading);
}

.testimonial-position {
    font-size: 0.9rem;
}

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: -100%;
    left: 0;
    right: 0;
    background-color: var(--form-bg);
    padding: 1rem;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    transition: bottom 0.5s ease;
}

.cookie-popup.show {
    bottom: 0;
}

.cookie-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.cookie-content p {
    margin-right: 1rem;
}

#accept-cookies {
    background-color: var(--accent);
    color: var(--bg-primary);
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    white-space: nowrap;
}

/* Legal Pages */
.legal-page {
    padding-top: 7rem;
    padding-bottom: 3rem;
}

.legal-content {
    background-color: rgba(30, 41, 59, 0.5);
    padding: 2rem;
    border-radius: 8px;
    margin-top: 2rem;
}

.text-center {
    text-align: center;
}

.text-center p, .text-center h2 {
    text-align: center;
}

.centered-list {
    display: inline-block;
    text-align: left;
    margin-left: auto;
    margin-right: auto;
}

.legal-content h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.legal-content p {
    margin-bottom: 1rem;
}

.legal-content ul {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .desktop-nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .menu-button {
        background: none;
        border: none;
        color: var(--heading);
        font-size: 1.5rem;
        cursor: pointer;
    }
    
    .mobile-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--bg-primary);
        padding: 1rem;
    }
    
    .mobile-nav.show {
        display: block;
    }
    
    .mobile-nav ul {
        list-style: none;
    }
    
    .mobile-nav ul li {
        margin-bottom: 1rem;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .about-grid,
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .cookie-content {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .cookie-content p {
        margin-bottom: 1rem;
        margin-right: 0;
    }
}

@media (max-width: 480px) {
    section {
        padding: 3rem 0;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .benefit-item,
    .service-card,
    .testimonial-card {
        padding: 1.5rem;
    }
}