/* Base Styles */
:root {
    --primary: #673AB7;
    --secondary: #FF6F61;
    --accent: #40E0D0;
    --background: #F8F6F2;
    --text: #333333;
    --link-hover: #FFC107;
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    color: var(--text);
    background-color: var(--background);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
    -webkit-overflow-scrolling: touch;
}

a {
    text-decoration: none;
    color: var(--primary);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--link-hover);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    margin-bottom: 1rem;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

section {
    padding: 80px 0;
    position: relative;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: var(--primary);
}

/* Header & Navigation */
.site-header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo a {
    font-size: 1.8rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    color: var(--primary);
}

.desktop-menu {
    display: flex;
    list-style: none;
}

.desktop-menu li {
    margin-left: 25px;
}

.desktop-menu a {
    font-weight: 500;
    position: relative;
}

.desktop-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary);
    transition: width 0.3s ease;
}

.desktop-menu a:hover::after {
    width: 100%;
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
}

.mobile-menu {
    display: none;
}

.menu-open, .menu-close {
    display: block;
    width: 30px;
    height: 3px;
    background: var(--primary);
    position: relative;
}

.menu-open::before, .menu-open::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 3px;
    background: var(--primary);
}

.menu-open::before {
    top: -8px;
}

.menu-open::after {
    bottom: -8px;
}

.menu-close {
    background: transparent;
}

.menu-close::before, .menu-close::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 3px;
    background: var(--primary);
    top: 0;
}

.menu-close::before {
    transform: rotate(45deg);
}

.menu-close::after {
    transform: rotate(-45deg);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    padding: 120px 0 80px;
    text-align: center;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-section h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.hero-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-block;
    background: white;
    color: var(--primary);
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 30px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
    color: var(--primary);
}

/* Section Dividers */
.diagonal-divider {
    position: relative;
    height: 1px;
    background-color: #eee;
    margin: 50px 0;
}

/* About Section */
.about-section {
    background-color: var(--background);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.about-text p {
    margin-bottom: 1rem;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Services Section */
.services-section {
    background-color: white;
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.service-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    border-bottom: 3px solid var(--accent);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.service-icon {
    margin-bottom: 20px;
    overflow: hidden;
    border-radius: 8px;
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-icon:hover img {
    transform: scale(1.1);
}

.service-card h3 {
    color: var(--primary);
    margin-bottom: 15px;
}

.service-card p {
    margin-bottom: 20px;
}

.learn-more {
    display: inline-block;
    color: var(--secondary);
    font-weight: 500;
    position: relative;
}

.learn-more::after {
    content: '→';
    margin-left: 5px;
    transition: transform 0.3s ease;
    display: inline-block;
}

.learn-more:hover::after {
    transform: translateX(5px);
}

/* Testimonials Section */
.testimonials-section {
    background-color: var(--background);
    padding-bottom: 100px;
}

.testimonials-container {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 20px;
    justify-content: space-between;
    overflow-x: visible;
}

.testimonial {
    flex: 1;
    min-width: calc(33.33% - 14px);
    max-width: calc(33.33% - 14px);
    height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    margin-bottom: 0;
}

.testimonial-text {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 20px;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-author {
    font-weight: 600;
    color: var(--primary);
    margin-top: auto;
}

/* Benefits Section */
.benefits-section {
    background-color: white;
}

.benefits-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.benefit-card {
    text-align: center;
    padding: 20px;
}

.benefit-icon {
    margin-bottom: 15px;
}

.benefit-icon img {
    width: 50px;
    height: 50px;
}

.benefit-card h3 {
    color: var(--primary);
    margin-bottom: 10px;
}

/* Contact Form Section */
.contact-form-section {
    background-color: var(--background);
}

.form-container {
    max-width: 700px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.error-messages {
    margin-bottom: 20px;
    padding: 15px;
    background: #ffebee;
    border-left: 4px solid #f44336;
    border-radius: 4px;
}

.error-messages p {
    margin-bottom: 5px;
    color: #d32f2f;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

.form-group.checkbox {
    display: flex;
    align-items: flex-start;
}

.form-group.checkbox input {
    width: auto;
    margin-right: 10px;
    margin-top: 6px;
}

.form-group.checkbox label {
    margin-bottom: 0;
}

.form-submit {
    text-align: center;
}

.submit-button {
    background: var(--secondary);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-button:hover {
    background: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

/* FAQ Section */
.faq-section {
    background-color: white;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 15px;
    border: 1px solid #eee;
    border-radius: 5px;
    overflow: hidden;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background-color: #f9f9f9;
    cursor: pointer;
    font-weight: 600;
    color: var(--text);
}

.faq-question:hover {
    background-color: #f0f0f0;
}

.faq-question.active {
    background-color: var(--primary);
    color: white;
}

.faq-icon {
    font-size: 1.5rem;
    font-weight: bold;
}

.faq-answer {
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-answer.active {
    padding: 15px 20px;
    max-height: 500px;
}

/* Contact Info Section */
.contact-section {
    background-color: var(--background);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.contact-info {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.contact-item img {
    width: 24px;
    height: 24px;
    margin-right: 15px;
    margin-top: 3px;
}

.contact-map {
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.contact-map img {
    width: 100%;
    height: auto;
    display: block;
}

/* Footer */
.site-footer {
    background-color: #2c2c2c;
    color: #fff;
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

.footer-company h3 {
    color: white;
    margin-bottom: 15px;
}

.footer-links h4,
.footer-legal h4,
.footer-contact h4 {
    color: white;
    margin-bottom: 15px;
}

.footer-links ul,
.footer-legal ul {
    list-style: none;
}

.footer-links li,
.footer-legal li {
    margin-bottom: 10px;
}

.footer-links a,
.footer-legal a {
    color: #bbb;
}

.footer-links a:hover,
.footer-legal a:hover {
    color: var(--link-hover);
}

.footer-contact p {
    margin-bottom: 10px;
    color: #bbb;
}

.footer-bottom {
    border-top: 1px solid #444;
    padding-top: 20px;
    text-align: center;
}

.footer-bottom p {
    color: #bbb;
    font-size: 0.9rem;
}

/* Cookie Consent */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #333;
    color: white;
    padding: 15px 0;
    z-index: 9999;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.2);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.cookie-content p {
    margin-right: 20px;
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.cookie-content a {
    color: var(--accent);
    text-decoration: underline;
}

.cookie-button {
    background: var(--accent);
    color: #333;
    border: none;
    padding: 8px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.cookie-button:hover {
    background-color: var(--link-hover);
}

/* Policy Pages */
.policy-page {
    padding: 80px 0;
}

.policy-frame {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    padding: 50px;
    border-radius: 10px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
    border: 1px solid #eee;
}

.policy-frame h1 {
    color: var(--primary);
    margin-bottom: 30px;
    text-align: center;
}

.policy-content section {
    margin-bottom: 30px;
    padding: 0;
}

.policy-content h2 {
    color: var(--secondary);
    margin-bottom: 15px;
    font-size: 1.6rem;
}

.policy-content p {
    margin-bottom: 15px;
}

/* Thank You Page */
.thank-you-section {
    text-align: center;
    padding: 100px 0;
}

.thank-you-frame {
    max-width: 600px;
    margin: 0 auto;
    padding: 40px;
    border: 2px solid var(--primary);
    border-radius: 10px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.1);
    background-color: white;
}

.thank-you-section h1 {
    color: var(--primary);
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.thank-you-section p {
    margin-bottom: 30px;
    font-size: 1.2rem;
}

.back-button {
    display: inline-block;
    background: var(--secondary);
    color: white;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.back-button:hover {
    background: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
    color: white;
}
