/* Base Styles */
:root {
    --primary-color: #B762C1;
    --secondary-color: #A357AB;
    --text-color: #333;
    --light-bg: #FAF5FB;
    --white: #ffffff;
    --shadow: 0 2px 15px rgba(183, 98, 193, 0.1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

/* Typography */
h1, h2, h3, h4, p {
    text-align: center;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
}

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

/* Navigation */
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.95);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
    justify-content: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    transition: color 0.3s ease;
}

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

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(183, 98, 193, 0.7), rgba(163, 87, 171, 0.7)),
                url('https://images.unsplash.com/photo-1512290923902-8a9f81dc236c?auto=format&fit=crop&q=80');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
}

.hero-content {
    max-width: 800px;
    padding: 2rem;
    text-align: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

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

/* Welcome Section */
.welcome {
    padding: 5rem 0;
    background-color: var(--light-bg);
    text-align: center;
}

.welcome p {
    max-width: 800px;
    margin: 0 auto;
}

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

.welcome a:hover {
    text-decoration: underline;
}

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

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.service-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
    text-align: center;
}

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

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

.service-card h3 {
    padding: 1rem;
    margin: 0;
}

.service-card p {
    padding: 0 1rem 1rem;
    margin: 0;
}

/* Buttons */
.cta-button {
    display: inline-block;
    padding: 12px 24px;
    background-color: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    margin: 1rem auto;
    text-align: center;
}

.cta-button:hover {
    background-color: var(--secondary-color);
}

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

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
}

.testimonial-card img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin: 0 auto 1rem;
    object-fit: cover;
}

.stars {
    color: #ffd700;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    text-align: center;
}

/* FAQ Section */
.faq {
    padding: 5rem 0;
    text-align: center;
}

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

details {
    background: var(--white);
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: 5px;
    box-shadow: var(--shadow);
    text-align: center;
}

summary {
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    list-style: none;
    padding: 1rem;
}

summary::-webkit-details-marker {
    display: none;
}

details p {
    margin-top: 1rem;
    padding: 0 1rem;
    text-align: center;
}

/* Blog Section */
.blog {
    padding: 5rem 0;
    background-color: var(--light-bg);
    text-align: center;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.blog-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    text-align: center;
}

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

.blog-card h3 {
    padding: 1rem;
    margin: 0;
}

.blog-card p {
    padding: 0 1rem;
    margin: 0 0 1rem 0;
}

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

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.footer-col h3,
.footer-col h4 {
    color: var(--white);
    margin-bottom: 1.5rem;
    text-align: center;
}

.footer-col ul {
    list-style: none;
    text-align: center;
}

.footer-col ul li {
    margin-bottom: 0.5rem;
    text-align: center;
}

.footer-col a {
    color: var(--white);
    text-decoration: none;
}

.footer-col a:hover {
    color: var(--light-bg);
}

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

/* WhatsApp Button */
.whatsapp-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25d366;
    padding: 15px;
    border-radius: 50%;
    box-shadow: var(--shadow);
    z-index: 1000;
    transition: transform 0.3s ease;
}

.whatsapp-button:hover {
    transform: scale(1.1);
}

.whatsapp-button img {
    width: 30px;
    height: 30px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        padding: 1rem;
    }

    .nav-links {
        flex-direction: column;
        width: 100%;
        gap: 1rem;
        margin-top: 1rem;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1.2rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* Performance Optimizations */
@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }
}