/* Global styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #f5f5f5;
    color: #333;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* Header styling */
header {
    background: linear-gradient(90deg, #004d40, #00d1b2);
    color: #fff;
    padding: 1.5rem 2rem;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

header.sticky {
    padding: 1rem 2rem;
    background: #004d40;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: auto;
}

.logo {
    font-size: 2rem;
    font-weight: bold;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: color 0.3s ease, background 0.3s ease;
}

.nav-links a:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #f5f5f5;
}

/* Hero section */
#hero {
    background: linear-gradient(135deg, #00d1b2, #00796b);
    color: #fff;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    animation: fadeIn 1.2s ease-in-out both;
}

.hero-content h2 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    animation: slideUp 1s ease-out;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    max-width: 600px;
    animation: slideUp 1.2s ease-out;
}

.btn {
    padding: 0.75rem 1.5rem;
    background: #00d1b2;
    color: #fff;
    font-weight: bold;
    border-radius: 8px;
    transition: background 0.3s ease, transform 0.3s ease;
}

.btn:hover {
    background: #00796b;
    transform: translateY(-3px);
}

/* Content section */
.content-section {
    padding: 6rem 2rem;
    max-width: 1200px;
    margin: auto;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

/* Card styles */
.service, .testimonial, .faq {
    background: linear-gradient(135deg, #ffffff, #f3f3f3);
    border-radius: 15px;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    margin: 1.5rem 0;
    transition: all 0.3s ease;
    overflow: hidden;
    position: relative;
    max-width: 400px;
    margin: auto;
}

/* Decorative hover animations */
.service:hover, .testimonial:hover, .faq:hover {
    transform: translateY(-8px);
    box-shadow: 0px 15px 30px rgba(0, 0, 0, 0.15);
    background: linear-gradient(135deg, #f0fdfa, #f3f4f6);
}

/* Service, testimonial, and FAQ titles */
.service h3, .testimonial h3, .faq h3 {
    font-size: 1.6rem;
    font-weight: 700;
    color: #004d40;
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

.service p, .testimonial p, .faq p {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
}

/* Button within cards */
.card-btn {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.75rem 1.5rem;
    background: #00d1b2;
    color: #fff;
    font-weight: bold;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.3s ease, transform 0.3s ease;
}

.card-btn:hover {
    background: #00796b;
    transform: translateY(-3px);
}

/* Contact form styling */
#contact-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
}

#contact-form input, #contact-form textarea {
    width: 100%;
    max-width: 600px;
    padding: 0.75rem;
    border-radius: 5px;
    border: 1px solid #ccc;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

#contact-form input:focus, #contact-form textarea:focus {
    border-color: #00d1b2;
    outline: none;
}

/* Footer styling */
footer {
    text-align: center;
    background: #222;
    color: #fff;
    padding: 2rem;
    font-size: 0.9rem;
}

footer p {
    margin: 0;
}

/* Responsive styling */
@media (max-width: 768px) {
    .hero-content h2 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    .nav-links {
        display: none;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(20px);
    }
    to {
        transform: translateY(0);
    }
}
