/* Base */
:root {
    --primary-color: #4CAF50;
    --secondary-color: #45a049;
    --text-color: #333;
    --light-bg: #f9f9f9;
    --spacing: 2rem;
}

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

html {
    font-size: 16px;
    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 var(--spacing);
    text-align: center;
}

/* Section Headers */
section h2 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2.5rem;
    color: var(--text-color);
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
                url('https://images.unsplash.com/photo-1544367567-0f2fcb009e0b?auto=format&fit=crop&w=1920') center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.hero-content {
    max-width: 800px;
    padding: var(--spacing);
}

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

/* Welcome Section */
.welcome {
    padding: var(--spacing) 0;
    text-align: center;
}

.welcome p {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
}

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

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

/* Services */
.services {
    padding: var(--spacing) 0;
    background: var(--light-bg);
}

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

.service-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    text-align: center;
    padding-bottom: 1.5rem;
}

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

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

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

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

.service-cta {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s ease;
    margin: 0.5rem auto;
}

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

/* Testimonials */
.testimonials {
    padding: var(--spacing) 0;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing);
}

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

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

.stars {
    color: #ffd700;
    font-size: 1.2rem;
    margin: 0.5rem 0;
}

/* FAQ */
.faq {
    padding: var(--spacing) 0;
    background: var(--light-bg);
}

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

details {
    margin-bottom: 1rem;
    padding: 1.5rem;
    background: white;
    border-radius: 5px;
    cursor: pointer;
    text-align: center;
}

summary {
    font-weight: bold;
    padding: 0.5rem 0;
    text-align: center;
    list-style: none;
}

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

details p {
    padding: 1rem 0 0;
    color: #666;
    text-align: center;
}

/* Blog */
.blog {
    padding: var(--spacing) 0;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing);
}

.blog-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}

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

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

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

.blog-cta {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s ease;
    margin: 1rem auto;
}

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

/* Footer */
.footer {
    background: #333;
    color: white;
    padding: var(--spacing) 0;
    text-align: center;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing);
}

.footer-col {
    text-align: center;
}

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

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

.footer-col ul li {
    margin: 0.5rem 0;
}

.footer-col a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

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

/* WhatsApp Button */
.whatsapp-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #25d366;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

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

.whatsapp-button img {
    width: 35px;
    height: 35px;
    filter: brightness(0) invert(1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }

    .container {
        padding: 0 1rem;
    }

    section h2 {
        font-size: 2rem;
    }
}

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

/* Print Styles */
@media print {
    .whatsapp-button {
        display: none;
    }
}