/* Variables */
:root {
    --primary-color: #4f46e5;
    --primary-dark: #3c3799;
    --secondary-color: #06b6d4;
    --accent-color: #f59e0b;
    --text-color: #1f2937;
    --text-light: #4b5563;
    --background-color: #ffffff;
    --background-light: #f9fafb;
    --background-dark: #f3f4f6;
    --border-color: #e5e7eb;
    --success-color: #10b981;
    --error-color: #ef4444;
    --warning-color: #f59e0b;
    --box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --border-radius: 8px;
    --transition: all 0.3s ease;
    --font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--background-color);
}

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

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

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

ul {
    list-style: none;
}

.btn, button[type="submit"] {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    border: none;
    cursor: pointer;
    text-align: center;
    font-weight: 600;
    transition: var(--transition);
    text-decoration: none;
}

.btn:hover, button[type="submit"]:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--box-shadow);
}

.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

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

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.center {
    text-align: center;
    margin-top: 2rem;
}

/* Header */
header {
    background-color: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo-container img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 50%;
    margin-right: 1rem;
}

.logo-container h1 {
    font-size: 1.5rem;
    margin-bottom: 0;
    color: var(--primary-color);
}

nav ul {
    display: flex;
}

nav li {
    margin-left: 1.5rem;
}

nav a {
    color: var(--text-color);
    font-weight: 600;
    position: relative;
}

nav a:hover, nav a.active {
    color: var(--primary-color);
}

nav a.active:after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
}

/* Hero Section */
.hero {
    position: relative;
    height: 600px;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    filter: brightness(0.7);
}

.hero-content {
    max-width: 800px;
    margin-left: 10%;
    color: white;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.hero-content h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

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

/* Page Header */
.page-header {
    background-color: var(--primary-color);
    color: white;
    padding: 4rem 10%;
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.page-header p {
    font-size: 1.25rem;
    max-width: 800px;
    margin: 0 auto;
}

/* Features Section */
.features {
    padding: 5rem 5%;
    background-color: var(--background-light);
}

.features h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.feature-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.card {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    overflow: hidden;
    transition: var(--transition);
    width: 300px;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

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

.card h3 {
    padding: 1.5rem 1.5rem 0.5rem;
    color: var(--primary-color);
}

.card p {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-light);
}

/* Recent Posts */
.recent-posts {
    padding: 5rem 5%;
}

.recent-posts h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.post-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.post-card {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    overflow: hidden;
    transition: var(--transition);
    width: 350px;
}

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.post-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.post-card h3 {
    padding: 1.5rem 1.5rem 0.5rem;
    color: var(--primary-color);
}

.post-card p {
    padding: 0 1.5rem;
    color: var(--text-light);
}

.post-card .btn-small {
    margin: 0 1.5rem 1.5rem;
}

/* Testimonials */
.testimonials {
    padding: 5rem 5%;
    background-color: var(--background-light);
    text-align: center;
}

.testimonials h2 {
    margin-bottom: 3rem;
}

.testimonial-slider {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.testimonial {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 2rem;
    width: 100%;
    max-width: 500px;
}

.testimonial-content {
    position: relative;
}

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

.testimonial-content h4 {
    margin-bottom: 0.25rem;
    color: var(--primary-color);
}

.testimonial-position {
    color: var(--text-light);
    font-size: 0.875rem;
}

/* Blog Section */
.blog-section {
    padding: 5rem 5%;
}

.blog-container {
    max-width: 1200px;
    margin: 0 auto;
}

.blog-card {
    display: flex;
    flex-direction: column;
    margin-bottom: 3rem;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    background-color: white;
}

@media (min-width: 768px) {
    .blog-card {
        flex-direction: row;
    }
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.blog-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

@media (min-width: 768px) {
    .blog-card img {
        width: 40%;
        height: auto;
    }
}

.blog-content {
    padding: 2rem;
}

.blog-meta {
    color: var(--text-light);
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

/* Service Section */
.services-section {
    padding: 5rem 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    display: flex;
    flex-direction: column;
    margin-bottom: 4rem;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    background-color: white;
}

@media (min-width: 992px) {
    .service-card {
        flex-direction: row;
    }
    
    .service-card:nth-child(even) {
        flex-direction: row-reverse;
    }
}

.service-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

@media (min-width: 992px) {
    .service-card img {
        width: 40%;
        height: auto;
    }
}

.service-content {
    padding: 2rem;
}

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

.service-content ul {
    margin: 1.5rem 0;
    padding-left: 1.25rem;
    list-style-type: disc;
}

.service-content li {
    margin-bottom: 0.5rem;
}

.service-price {
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

@media (min-width: 768px) {
    .service-price {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

.service-price p {
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .service-price p {
        margin-bottom: 0;
        margin-right: 1rem;
    }
}

/* Process Section */
.process-section {
    padding: 5rem 5%;
    background-color: var(--background-light);
    text-align: center;
}

.process-section h2 {
    margin-bottom: 3rem;
}

.process-steps {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.process-step {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 2rem;
    width: 220px;
    text-align: center;
    position: relative;
}

.step-number {
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
}

/* FAQ Section */
.faq-section {
    padding: 5rem 5%;
    max-width: 900px;
    margin: 0 auto;
}

.faq-section h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.faq-container {
    display: grid;
    gap: 1.5rem;
}

.faq-item {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 2rem;
}

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

.faq-item p {
    margin-bottom: 0;
}

/* CTA Section */
.cta-section {
    background-color: var(--primary-color);
    color: white;
    padding: 5rem 5%;
    text-align: center;
}

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

.cta-section h2 {
    margin-bottom: 1rem;
    font-size: 2.5rem;
}

.cta-section p {
    margin-bottom: 2rem;
    font-size: 1.25rem;
}

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

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

.cta-section .btn:hover {
    background-color: var(--background-light);
}

.cta-section .btn-outline {
    background-color: transparent;
    border-color: white;
    color: white;
}

.cta-section .btn-outline:hover {
    background-color: white;
    color: var(--primary-color);
}

/* About Section */
.about-section {
    padding: 5rem 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.about-content {
    display: flex;
    flex-direction: column;
    margin-bottom: 4rem;
}

@media (min-width: 992px) {
    .about-content {
        flex-direction: row;
        align-items: center;
        gap: 4rem;
    }
}

.about-image {
    width: 100%;
    margin-bottom: 2rem;
}

@media (min-width: 992px) {
    .about-image {
        width: 40%;
        margin-bottom: 0;
    }
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.about-text {
    width: 100%;
}

@media (min-width: 992px) {
    .about-text {
        width: 60%;
    }
}

.about-text h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.about-mission {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-top: 4rem;
}

.mission-card {
    background-color: var(--background-light);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--box-shadow);
    width: 100%;
    max-width: 350px;
}

.mission-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    text-align: center;
}

/* Team Section */
.team-section {
    padding: 5rem 5%;
    background-color: var(--background-light);
    text-align: center;
}

.team-section h2 {
    margin-bottom: 1rem;
}

.team-intro {
    max-width: 600px;
    margin: 0 auto 3rem;
}

.team-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2.5rem;
}

.team-member {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    overflow: hidden;
    width: 280px;
    transition: var(--transition);
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.team-member img {
    width: 100%;
    height: 280px;
    object-fit: cover;
}

.team-member h3 {
    margin: 1.5rem 1rem 0.5rem;
    color: var(--primary-color);
}

.team-member p {
    padding: 0 1rem;
    margin-bottom: 0.5rem;
}

.team-member p:nth-child(3) {
    color: var(--text-light);
    font-weight: 600;
    margin-bottom: 1rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    padding: 1rem;
    border-top: 1px solid var(--border-color);
    margin-top: 1rem;
}

.social-links a {
    color: var(--text-light);
}

.social-links a:hover {
    color: var(--primary-color);
}

/* Certifications Section */
.certifications-section {
    padding: 5rem 5%;
    text-align: center;
}

.certifications-section h2 {
    margin-bottom: 3rem;
}

.certifications-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.certification {
    background-color: var(--background-light);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--box-shadow);
    width: 300px;
}

.certification img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 1.5rem;
}

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

/* Contact Section */
.contact-section {
    padding: 5rem 5%;
}

.contact-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

@media (min-width: 992px) {
    .contact-container {
        flex-direction: row;
    }
}

.contact-info {
    background-color: var(--background-light);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--box-shadow);
    width: 100%;
}

@media (min-width: 992px) {
    .contact-info {
        width: 40%;
    }
}

.contact-info h2 {
    color: var(--primary-color);
    margin-bottom: 2rem;
    text-align: center;
}

.info-item {
    display: flex;
    margin-bottom: 1.5rem;
}

.info-item svg {
    margin-right: 1rem;
    color: var(--primary-color);
    flex-shrink: 0;
}

.info-item h3 {
    margin-bottom: 0.25rem;
    color: var(--primary-color);
}

.info-item p {
    margin-bottom: 0;
    color: var(--text-light);
}

.social-contact {
    margin-top: 2rem;
}

.social-contact h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    text-align: center;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.social-icons a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-icons a:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
}

.contact-form {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--box-shadow);
    width: 100%;
}

@media (min-width: 992px) {
    .contact-form {
        width: 60%;
    }
}

.contact-form h2 {
    color: var(--primary-color);
    margin-bottom: 2rem;
    text-align: center;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    background-color: var(--background-light);
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.2);
}

.checkbox-group {
    display: flex;
    align-items: center;
}

.checkbox-group input {
    width: auto;
    margin-right: 0.5rem;
}

.checkbox-group label {
    margin-bottom: 0;
    font-weight: normal;
}

/* Map Section */
.map-section {
    padding: 5rem 5% 0;
    text-align: center;
}

.map-section h2 {
    margin-bottom: 2rem;
}

.map-container {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    height: 450px;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1100;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
    padding: 2rem;
}

.modal-content {
    background-color: white;
    border-radius: var(--border-radius);
    max-width: 600px;
    margin: 5% auto;
    padding: 2rem;
    box-shadow: var(--box-shadow);
    position: relative;
    animation: modalOpen 0.3s;
}

@keyframes modalOpen {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.close, .close-thank-you {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 1.5rem;
    color: var(--text-light);
    cursor: pointer;
}

.close:hover, .close-thank-you:hover {
    color: var(--text-color);
}

.modal h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    text-align: center;
}

.thank-you-content {
    text-align: center;
    padding: 2rem 0;
}

.thank-you-content svg {
    color: var(--success-color);
    margin-bottom: 1rem;
}

.close-btn {
    margin-top: 1.5rem;
}

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

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

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

.btn-cookie {
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 600;
}

#accept-cookies {
    background-color: var(--primary-color);
    color: white;
}

#accept-cookies:hover {
    background-color: var(--primary-dark);
}

#customize-cookies {
    background-color: var(--background-dark);
    color: var(--text-color);
}

#customize-cookies:hover {
    background-color: var(--border-color);
}

#decline-cookies {
    background-color: var(--text-light);
    color: white;
}

#decline-cookies:hover {
    background-color: var(--text-color);
}

.cookie-policy {
    font-size: 0.875rem;
    margin-bottom: 0;
}

/* Footer */
footer {
    background-color: var(--text-color);
    color: white;
    padding: 5rem 5% 2rem;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-about {
    width: 100%;
    max-width: 300px;
}

.footer-logo {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 1rem;
}

.footer-about h3 {
    margin-bottom: 1rem;
}

.footer-about .social-icons {
    margin-top: 1.5rem;
}

.footer-contact, .footer-links, .footer-legal {
    width: 100%;
    max-width: 200px;
}

.footer-contact h3, .footer-links h3, .footer-legal h3 {
    margin-bottom: 1.5rem;
    position: relative;
}

.footer-contact h3:after, .footer-links h3:after, .footer-legal h3:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-contact p {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
}

.footer-contact svg {
    margin-right: 0.5rem;
    color: var(--primary-color);
}

.footer-links ul, .footer-legal ul {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-links a, .footer-legal a {
    color: white;
    opacity: 0.8;
}

.footer-links a:hover, .footer-legal a:hover {
    opacity: 1;
    color: var(--primary-color);
}

.footer-legal p {
    margin-top: 1rem;
    font-size: 0.875rem;
    opacity: 0.7;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.875rem;
    opacity: 0.7;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        padding: 1rem;
    }
    
    .logo-container {
        margin-bottom: 1rem;
    }
    
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    nav li {
        margin: 0.5rem;
    }
    
    .hero-content {
        margin: 0 5%;
        text-align: center;
    }
    
    .hero-content h2 {
        font-size: 2rem;
    }
    
    .page-header {
        padding: 3rem 5%;
    }
    
    .page-header h1 {
        font-size: 2.5rem;
    }
    
    .features, .recent-posts, .testimonials, .blog-section, .services-section, .process-section, .faq-section, .about-section, .team-section, .certifications-section, .contact-section, .map-section {
        padding: 3rem 5%;
    }
    
    .cta-section {
        padding: 3rem 5%;
    }
    
    .cta-section h2 {
        font-size: 2rem;
    }
    
    footer {
        padding: 3rem 5% 1rem;
    }
    
    .footer-container {
        justify-content: center;
        text-align: center;
    }
    
    .footer-about {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .footer-contact h3:after, .footer-links h3:after, .footer-legal h3:after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-contact p {
        justify-content: center;
    }
    
    .footer-links ul, .footer-legal ul {
        align-items: center;
    }
}
