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

body {
    font-family: 'Segoe UI', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    line-height: 1.2;
}

p {
    margin-bottom: 1rem;
}

ul, ol {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: #4b78b5;
}

a:hover {
    text-decoration: underline;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #fff;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 1rem;
    display: none;
    border-radius: 5px 5px 0 0;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.cookie-content h2 {
    margin-bottom: 1rem;
}

.cookie-content p {
    margin-bottom: 1.5rem;
}

.cookie-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

/* Header */
.header {
    background-color: #000;
    color: #fff;
    padding: 1rem 2rem;
    text-align: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
}

/* Hero Section */
.hero {
    background-color: #4b78b5;
    color: #fff;
    padding: 4rem 2rem;
    text-align: center;
    background-image: linear-gradient(rgba(75, 120, 181, 0.85), rgba(75, 120, 181, 0.85)), url('./img/1.png');
    background-size: cover;
    background-position: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
}

.hero p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    border: none;
}

.btn-primary {
    background-color: #fff;
    color: #4b78b5;
}

.btn-primary:hover {
    background-color: #f5f5f5;
    text-decoration: none;
}

.btn-secondary {
    background-color: #6c757d;
    color: #fff;
}

.btn-secondary:hover {
    background-color: #5a6268;
    text-decoration: none;
}

/* Services Section */
.services {
    padding: 4rem 2rem;
    text-align: center;
}

.services h2 {
    margin-bottom: 3rem;
    font-size: 2rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.service-image {
    margin-bottom: 1.5rem;
    overflow: hidden;
    border-radius: 8px;
}

.service-card h3 {
    color: #4b78b5;
    margin-bottom: 1rem;
}

/* About Section */
.about {
    padding: 4rem 2rem;
    background-color: #f9f9f9;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    gap: 2rem;
}

.about-text {
    flex: 1;
    min-width: 300px;
}

.about-text h2 {
    color: #333;
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.about-images {
    flex: 1;
    min-width: 300px;
}

.image-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

/* Approach Section */
.approach {
    background-color: #4b78b5;
    color: #fff;
    padding: 4rem 2rem;
}

.approach-content {
    max-width: 800px;
    margin: 0 auto;
}

.approach h2 {
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.approach h3 {
    margin: 1.5rem 0 1rem;
}

.approach ul {
    margin-bottom: 1.5rem;
}

/* Projects Section */
.projects {
    padding: 4rem 2rem;
    text-align: center;
}

.projects h2 {
    margin-bottom: 3rem;
    font-size: 2rem;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.project-card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.project-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.project-card h3 {
    color: #4b78b5;
    padding: 1.5rem 1.5rem 0.5rem;
}

.project-card p {
    padding: 0 1.5rem 1.5rem;
}

/* FAQ Section */
.faq {
    padding: 4rem 2rem;
    background-color: #f9f9f9;
}

.faq h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2rem;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1rem;
    border-radius: 8px;
    overflow: hidden;
    background-color: #4b78b5;
    color: #fff;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    cursor: pointer;
}

.faq-question h3 {
    margin: 0;
    font-size: 1.1rem;
}

.faq-toggle {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    background-color: #fff;
    color: #333;
}

.faq-item.active .faq-answer {
    padding: 1.5rem;
    max-height: 500px;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

/* Tempo Section */
.tempo {
    padding: 4rem 2rem;
}

.tempo-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    gap: 2rem;
}

.tempo-image {
    flex: 1;
    min-width: 300px;
}

.tempo-text {
    flex: 1;
    min-width: 300px;
}

.tempo-text h2 {
    color: #333;
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.tempo-text h3 {
    margin: 1.5rem 0 1rem;
}

.tempo-text ul {
    margin-bottom: 1.5rem;
}

/* Contact Form */
.contact {
    padding: 4rem 2rem;
    background-color: #4b78b5;
}

.contact-content {
    max-width: 500px;
    margin: 0 auto;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-group input {
    width: 100%;
    padding: 1rem;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
}

.contact-form .btn {
    margin-top: 1rem;
}

/* Footer */
.footer {
    background-color: #000;
    color: #fff;
    padding: 2rem;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    gap: 1rem;
}

.footer-info p {
    margin-bottom: 0.5rem;
}

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

.footer-links a {
    color: #fff;
}

/* Legal Content */
.legal-content {
    max-width: 800px;
    margin: 4rem auto;
    padding: 0 2rem;
}

.legal-content h1 {
    text-align: center;
    margin-bottom: 2rem;
    color: #4b78b5;
}

.intro-text {
    margin-bottom: 2rem;
}

.legal-section {
    margin-bottom: 2.5rem;
}

.legal-section h2 {
    color: #4b78b5;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.company-info {
    margin-top: 3rem;
    text-align: center;
    color: #666;
}

/* Thank You Page */
.thank-you {
    height: 70vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
}

.thank-you-content {
    max-width: 600px;
}

.thank-you h1 {
    color: #4b78b5;
    margin-bottom: 1.5rem;
    font-size: 2.5rem;
}

.thank-you p {
    margin-bottom: 2rem;
    font-size: 1.2rem;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .about, .tempo-content {
        flex-direction: column;
    }
    
    .services-grid, .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .image-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .footer-links {
        margin-top: 1rem;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .thank-you h1 {
        font-size: 2rem;
    }
}