/* Global Styles */
:root {
    --background: #fffdf8;
    --primary: #5c17ac;
    --secondary: #f36e6e;
    --accent: #00c4b4;
    --text: #3a3a3a;
    --heading: #1e1e1e;
    --light-bg: #f9f7f3;
    --border: #e6e6e6;
    --shadow: rgba(0, 0, 0, 0.05);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: var(--background);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--heading);
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 0.5rem;
}

h2:after {
    content: "";
    position: absolute;
    width: 60px;
    height: 3px;
    background-color: var(--secondary);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    color: var(--secondary);
}

img {
    max-width: 100%;
    height: auto;
}

section {
    padding: 60px 0;
    position: relative;
    overflow: hidden;
    scroll-margin-top: 80px; /* Add space for fixed header */
}

section:nth-child(even) {
    background-color: var(--light-bg);
}

.btn-primary {
    display: inline-block;
    padding: 12px 24px;
    background-color: var(--primary);
    color: white;
    border: none;
    border-radius: 4px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s;
    cursor: pointer;
}

.btn-primary:hover {
    background-color: var(--secondary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px var(--shadow);
}

.btn-secondary {
    display: inline-block;
    padding: 10px 20px;
    background-color: white;
    color: var(--primary);
    border: 1px solid var(--primary);
    border-radius: 4px;
    font-weight: bold;
    transition: all 0.3s;
    cursor: pointer;
}

.btn-secondary:hover {
    background-color: var(--primary);
    color: white;
}

/* Header Styles */
.site-header {
    background-color: white;
    box-shadow: 0 2px 10px var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
    transition: all 0.3s;
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo a {
    display: block;
}

.main-nav {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    list-style: none;
}

.nav-list li {
    margin-left: 20px;
}

.nav-list a {
    color: var(--text);
    font-weight: 500;
    padding: 5px 10px;
    position: relative;
}

.nav-list a:before {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    background-color: var(--accent);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    transition: width 0.3s;
}

.nav-list a:hover:before {
    width: 100%;
}

.nav-cta {
    background-color: var(--primary);
    color: white !important;
    padding: 8px 16px !important;
    border-radius: 4px;
}

.nav-cta:hover {
    background-color: var(--secondary);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    transition: all 0.3s;
    background-color: var(--heading);
}

/* Hero Section */
.hero {
    padding: 80px 0;
    position: relative;
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero h1 {
    margin-bottom: 20px;
    font-size: 2.8rem;
    line-height: 1.2;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.hero-image {
    flex: 1;
    padding-left: 40px;
    display: flex;
    justify-content: flex-end;
}

.hero-image img {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 15px 30px var(--shadow);
}

/* About Section */
.about-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.about-text {
    flex: 1;
}

.about-image {
    flex: 1;
}

.about-image img {
    border-radius: 10px;
    box-shadow: 0 10px 20px var(--shadow);
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-card {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px var(--shadow);
    transition: all 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px var(--shadow);
}

.service-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
}

.service-icon svg {
    width: 100%;
    height: 100%;
}

/* Benefits Grid */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

.benefit-item {
    background-color: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 5px 15px var(--shadow);
    transition: all 0.3s;
}

.benefit-item:hover {
    transform: translateY(-5px);
}

.benefit-icon {
    width: 100%;
    margin-bottom: 15px;
    overflow: hidden;
    border-radius: 8px;
}

.benefit-icon img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    transition: transform 0.3s;
}

.benefit-item:hover .benefit-icon img {
    transform: scale(1.05);
}

/* Process Section */
.process-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-top: 50px;
}

.process-steps:before {
    content: "";
    position: absolute;
    height: 2px;
    background-color: var(--accent);
    width: 100%;
    top: 25px;
    left: 0;
    z-index: 0;
}

.process-step {
    text-align: center;
    position: relative;
    z-index: 1;
    flex: 1;
    padding: 0 15px;
}

.step-number {
    width: 50px;
    height: 50px;
    background-color: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 20px;
    font-size: 1.5rem;
    font-weight: bold;
}

/* Testimonials Section */
.testimonials-slider {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    padding: 20px 0;
    scrollbar-width: thin;
}

.testimonial {
    min-width: 350px;
    flex: 1;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px var(--shadow);
    padding: 30px;
}

.testimonial-content {
    margin-bottom: 20px;
}

.testimonial-content p {
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
}

.author-info h4 {
    margin-bottom: 5px;
}

.author-info p {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
}

/* FAQ Section */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 8px var(--shadow);
}

.faq-question {
    background-color: white;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.3s;
}

.faq-question:hover {
    background-color: #f8f8f8;
}

.faq-question h3 {
    margin: 0;
    font-size: 1.1rem;
}

.faq-toggle {
    font-size: 1.5rem;
    transition: transform 0.3s;
    text-decoration: none;
    color: var(--primary);
    display: block;
}

.faq-answer {
    background-color: #f8f8f8;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s;
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer p {
    padding: 20px;
    margin: 0;
}

/* Contact Form Section */
.custom-form {
    max-width: 600px;
    margin: 0 auto;
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px var(--shadow);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--border);
    border-radius: 4px;
    font-size: 1rem;
}

.form-checkbox {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

.form-checkbox input {
    margin-right: 10px;
}

.custom-form button {
    width: 100%;
    font-size: 1.1rem;
}

.form-errors {
    background-color: rgba(255, 0, 0, 0.1);
    border-left: 4px solid #f36e6e;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 4px;
}

.form-errors p {
    color: #d32f2f;
    margin-bottom: 5px;
}

/* Footer Styles */
.site-footer {
    background-color: var(--heading);
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-description {
    margin-top: 15px;
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-contact h3,
.footer-links h3 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-contact ul,
.footer-links ul {
    list-style: none;
}

.footer-contact li,
.footer-links li {
    margin-bottom: 10px;
}

.footer-contact li {
    display: flex;
    align-items: center;
}

.footer-contact svg {
    margin-right: 10px;
}

.footer-contact a,
.footer-links a {
    color: #ccc;
    transition: color 0.3s;
}

.footer-contact a:hover,
.footer-links a:hover {
    color: var(--secondary);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    font-size: 0.9rem;
    color: #aaa;
    margin: 0;
}

/* Policy Pages */
.policy-page {
    padding: 60px 0;
}

.policy-content {
    background-color: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 15px var(--shadow);
    border-left: 5px solid var(--primary);
    max-width: 900px;
    margin: 0 auto;
}

.policy-content h1 {
    color: var(--primary);
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border);
}

.policy-content h2 {
    font-size: 1.4rem;
    text-align: left;
    margin-top: 30px;
    padding-bottom: 0;
}

.policy-content h2:after {
    display: none;
}

.policy-content p {
    margin-bottom: 15px;
    line-height: 1.6;
}

.policy-content ul {
    margin-bottom: 20px;
    padding-left: 20px;
}

.policy-content ul li {
    margin-bottom: 8px;
    line-height: 1.6;
}

/* Cookie Consent Popup */
.cookie-popup {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    max-width: 400px;
    background-color: white;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 1000;
    display: none;
}

/* Menu toggle for mobile version */
.menu-status {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 90;
    display: none;
}

.menu-toggle {
    display: inline-block;
    padding: 10px 15px;
    background-color: var(--primary);
    color: white;
    border-radius: 4px;
}

/* Responsive Styles */
@media (max-width: 992px) {
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .hero .container {
        flex-direction: column;
    }
    
    .hero-content {
        margin-bottom: 40px;
        text-align: center;
    }
    
    .hero-image {
        padding-left: 0;
        justify-content: center;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .process-steps {
        flex-direction: column;
        gap: 30px;
    }
    
    .process-steps:before {
        display: none;
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }
    
    .nav-list {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background-color: white;
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
        box-shadow: 0 5px 10px var(--shadow);
        transform: translateY(-150%);
        transition: transform 0.3s;
        z-index: 99;
    }
    
    .nav-list.open {
        transform: translateY(0);
    }
    
    .nav-list li {
        margin: 10px 0;
    }
    
    .menu-status {
        display: block;
    }
    
    .services-grid,
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-slider {
        flex-direction: column;
    }
    
    .testimonial {
        min-width: auto;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.fadeIn {
    animation: fadeIn 1s;
}

.slideUp {
    animation: slideUp 1s;
}