/* 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: inherit;
}

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

/* Variables */
:root {
    --primary-color: #4d3b76;
    --secondary-color: #6a5698;
    --light-color: #f9f9f9;
    --dark-color: #333;
    --text-color: #333;
    --white-color: #fff;
    --border-radius: 5px;
    --transition: all 0.3s ease;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* 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: 1.5rem;
    display: none;
    border-radius: 5px 5px 0 0;
}

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

.cookie-content h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

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

/* Header */
.header {
    background-color: var(--primary-color);
    color: var(--white-color);
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo a {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--white-color);
}

.nav-list {
    display: flex;
    list-style: none;
    margin: 0;
}

.nav-list li {
    margin-left: 2rem;
}

.nav-list a {
    color: var(--white-color);
    transition: var(--transition);
}

.nav-list a:hover {
    color: #ddd;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background-color: var(--white-color);
    margin: 2px 0;
}

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

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white-color);
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    text-decoration: none;
}

.btn-secondary {
    background-color: #6c757d;
    color: var(--white-color);
}

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

/* Hero Section */
.hero {
    background-color: var(--primary-color);
    color: var(--white-color);
    padding: 4rem 2rem;
    text-align: center;
    background-image: linear-gradient(rgba(77, 59, 118, 0.9), rgba(77, 59, 118, 0.9)), 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;
}

/* Team Section */
.team {
    padding: 4rem 2rem;
    background-color: var(--light-color);
}

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

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

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

.team-text h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

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

.services h2 {
    color: var(--primary-color);
    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: var(--light-color);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-icon {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
}

.service-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Approach Section */
.approach {
    padding: 4rem 2rem;
    background-color: var(--light-color);
}

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

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

.approach-text h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

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

/* Implementation Section */
.implementation {
    padding: 4rem 2rem;
}

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

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

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

.implementation-text h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

/* FAQ Section */
.faq {
    padding: 4rem 2rem;
    background-color: var(--light-color);
}

.faq h2 {
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2rem;
}

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

.faq-item {
    margin-bottom: 1rem;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    background-color: var(--white-color);
    cursor: pointer;
}

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

.faq-toggle {
    font-size: 1.5rem;
    transition: var(--transition);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: var(--transition);
    background-color: var(--white-color);
}

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

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

/* Testimonials Section */
.testimonials {
    padding: 4rem 2rem;
}

.testimonials h2 {
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2rem;
}

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

.testimonial-card {
    background-color: var(--primary-color);
    color: var(--white-color);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--box-shadow);
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    text-align: right;
    font-weight: 600;
}

/* Contact Form */
.contact {
    padding: 4rem 2rem;
    background-color: var(--primary-color);
    background-image: linear-gradient(rgba(77, 59, 118, 0.9), rgba(77, 59, 118, 0.9)), url('./img/5.png');
    background-size: cover;
    background-position: center;
}

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

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

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

.contact-form .btn {
    margin-top: 1rem;
    background-color: var(--white-color);
    color: var(--primary-color);
}

.contact-form .btn:hover {
    background-color: var(--light-color);
}

/* Footer */
.footer {
    background-color: var(--primary-color);
    color: var(--white-color);
    padding: 2rem;
}

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

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

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

.footer-links a {
    color: var(--white-color);
    transition: var(--transition);
}

.footer-links a:hover {
    color: #ddd;
    text-decoration: underline;
}

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

.legal-content h1 {
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2rem;
}

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

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

.legal-section h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.company-info {
    margin-bottom: 2rem;
    color: #666;
}

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

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

.thank-you h1 {
    color: var(--primary-color);
    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) {
    .nav-list {
        display: none;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background-color: var(--primary-color);
        flex-direction: column;
        padding: 1rem 0;
        z-index: 100;
    }
    
    .nav-list.active {
        display: flex;
    }
    
    .nav-list li {
        margin: 0;
        padding: 0.75rem 2rem;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .team-content, .approach-content, .implementation-content {
        flex-direction: column;
    }
    
    .implementation-image {
        order: -1; /* Move image above text on mobile */
    }
    
    .services-grid, .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .footer-links {
        flex-direction: column;
        align-items: center;
    }
}

@media screen and (min-width: 769px) and (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}