/* --- Global Styles & Variables --- */
:root {
    --primary-green: #4CAF50; /* A vibrant, modern green */
    --light-green-bg: #E8F5E9;
    --dark-text: #333333;
    --light-text: #6c757d;
    --white: #FFFFFF;
    --border-color: #E0E0E0;
    --box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    --font-family: 'Poppins', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    color: var(--dark-text);
    background-color: var(--white);
    line-height: 1.6;
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Logo Styling */
.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-img {
  height: 40px; /* Adjust the height of your logo as needed */
  width: auto;  /* This will maintain the aspect ratio */
}


/* --- Buttons --- */
.btn {
    display: inline-block;
    background-color: var(--primary-green);
    color: var(--white);
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4);
}

.btn-dark {
    background-color: var(--dark-text);
}
.btn-dark:hover {
    background-color: #000;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* --- Hero Section --- */
.hero-section {
    background-color: var(--light-green-bg);
    padding: 60px 0;
}

.hero-container {
    display: flex;
    align-items: center;
    gap: 40px;
}

.hero-text-content {
    flex: 1;
}

.hero-text-content h1 {
    font-size: 2.8rem;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-text-content p {
    font-size: 1.1rem;
    color: var(--light-text);
    margin-bottom: 30px;
}

.hero-image-content {
    flex: 1;
    text-align: right;
}

.hero-image-content img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
}


/* --- Main Content Layout --- */
.page-wrapper {
    background-color: var(--light-green-bg);
}
.main-content {
    background-color: var(--white);
    border-top-left-radius: 80px;
    border-top-right-radius: 80px;
    padding-top: 80px;
    padding-bottom: 80px;
}

/* --- Section Header (Used by multiple sections) --- */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.2rem;
    margin-bottom: 10px;
}

.section-header p {
    max-width: 600px;
    margin: 0 auto;
    color: var(--light-text);
}

/* --- Main Services Section --- */
.services-section {
    padding-bottom: 80px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.service-icon {
    color: var(--primary-green);
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 15px;
}

.service-card p {
    color: var(--light-text);
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.learn-more {
    color: var(--primary-green);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.learn-more:hover {
    color: var(--dark-text);
}

/* --- Why Choose Us Section --- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.feature-card {
    text-align: center;
}

.icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--light-green-bg);
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 20px;
    color: var(--primary-green);
}

.feature-card h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.feature-card p {
    color: var(--light-text);
    font-size: 0.95rem;
}

/* --- Testimonial & CTA Section --- */
.testimonial-cta-section {
    padding-top: 80px;
}

.testimonial-cta-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.testimonial-card, .cta-card {
    padding: 30px;
}

.testimonial-card h4, .cta-card h4 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.testimonial-card blockquote {
    font-style: italic;
    border-left: 3px solid var(--primary-green);
    padding-left: 20px;
    margin-bottom: 15px;
    color: var(--dark-text);
}

.testimonial-card cite {
    font-weight: 600;
    color: var(--light-text);
    font-style: normal;
}

.cta-card {
    background-color: var(--light-green-bg);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* --- Final Footer & Contact Form --- */
.main-footer {
    background-color: #f8f9fa;
    padding: 80px 0;
    text-align: center;
}

.main-footer h4 {
    font-size: 2rem;
    margin-bottom: 40px;
}

.contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr 2fr;
    gap: 20px;
    align-items: end; 
    max-width: 1000px;
    margin: 0 auto;
}

.form-group {
    text-align: left;
    width: 100%;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--dark-text);
}

.form-group input {
    width: 100%;
    padding: 15px 20px;
    border: 1px solid var(--border-color);
    background-color: var(--white);
    font-family: var(--font-family);
    font-size: 1rem;
    border-radius: 20px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    height: 55px; 
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-green);
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.2);
}

.message-group {
    display: flex;
    flex-wrap: wrap; 
}

.message-group textarea,
.message-group .btn {
    height: 55px; 
    padding-top: 15px;
    padding-bottom: 15px;
}

.message-group textarea {
    flex-grow: 1; 
    border: 1px solid var(--border-color);
    border-right: none; 
    border-radius: 20px 0 0 20px; 
    resize: none;
    padding-left: 20px;
    font-family: var(--font-family);
    font-size: 1rem;
}

.message-group .btn {
    border-radius: 0 20px 20px 0; 
    white-space: nowrap; 
}


/* --- Responsive Design --- */
@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-form {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .message-group {
        display: flex;
        flex-wrap: nowrap;
    }
}

@media (max-width: 768px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
    }
    .hero-image-content {
        text-align: center;
    }
    .main-content {
        border-top-left-radius: 40px;
        border-top-right-radius: 40px;
        padding-top: 50px;
    }
    .testimonial-cta-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
}