/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: #2c3e2d;
    background-color: #faf9f6;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
    font-weight: 700;
}

h2 {
    font-size: 2.8rem;
}

h3 {
    font-size: 1.8rem;
}

h4 {
    font-size: 1.4rem;
}

p {
    margin-bottom: 1rem;
    font-weight: 400;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.875rem 1.75rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 500;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 1rem;
    font-family: 'Open Sans', sans-serif;
}

.btn-primary {
    background-color: #2d5016;
    color: white;
}

.btn-primary:hover {
    background-color: #1a3009;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(45, 80, 22, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: #2d5016;
    border: 2px solid #2d5016;
}

.btn-secondary:hover {
    background-color: #2d5016;
    color: white;
    transform: translateY(-2px);
}

.btn-large {
    padding: 1.125rem 2.25rem;
    font-size: 1.1rem;
}

/* Section Styles */
section {
    padding: 5rem 0;
}

.section-title {
    color: #2d5016;
    margin-bottom: 1rem;
}

.section-title.centered {
    text-align: center;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #5a6c5b;
    margin-bottom: 2rem;
    line-height: 1.5;
}

.section-subtitle.centered {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(250, 249, 246, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav {
    padding: 1rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo .logo {
    height: 40px;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #2c3e2d;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #2d5016;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #7fb069;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.nav-toggle-line {
    width: 25px;
    height: 3px;
    background-color: #2d5016;
    margin: 2px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(45, 80, 22, 0.7), rgba(127, 176, 105, 0.4));
    z-index: -1;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    color: white;
    text-align: center;
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: fadeInUp 1s ease 0.5s forwards;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    opacity: 0;
    animation: fadeInUp 1s ease 0.7s forwards;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-bottom: 4rem;
    opacity: 0;
    animation: fadeInUp 1s ease 0.9s forwards;
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 3rem;
    opacity: 0;
    animation: fadeInUp 1s ease 1.1s forwards;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.feature-icon {
    width: 48px;
    height: 48px;
    stroke-width: 1.5;
    margin-bottom: 0.5rem;
}

/* About Section */
.about {
    background-color: white;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text {
    padding-right: 2rem;
}

.about-stats {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #2d5016;
    font-family: 'Playfair Display', serif;
}

.stat-label {
    font-size: 0.9rem;
    color: #5a6c5b;
    font-weight: 500;
}

.about-image {
    position: relative;
}

.about-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(45, 80, 22, 0.1);
}

/* Services Section */
.services {
    background: linear-gradient(135deg, #f8f9f5, #ffffff);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
}

.service-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(45, 80, 22, 0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(45, 80, 22, 0.15);
}

.service-icon {
    width: 60px;
    height: 60px;
    color: #7fb069;
    margin-bottom: 1.5rem;
    stroke-width: 1.5;
}

.service-card h3 {
    color: #2d5016;
    margin-bottom: 1rem;
}

.service-card p {
    color: #5a6c5b;
    margin-bottom: 1.5rem;
}

.service-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 15px;
    margin-top: 1rem;
}

/* Benefits Section */
.benefits {
    background: white;
}

.benefits-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.benefits-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.benefit-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.benefit-icon {
    width: 24px;
    height: 24px;
    color: #7fb069;
    margin-top: 0.25rem;
    flex-shrink: 0;
    stroke-width: 2;
}

.benefit-text h4 {
    color: #2d5016;
    margin-bottom: 0.5rem;
}

.benefit-text p {
    color: #5a6c5b;
    margin-bottom: 0;
}

.benefits-img {
    width: 100%;
    height: 650px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(45, 80, 22, 0.1);
}

/* Testimonials Section */
.testimonials {
    background: linear-gradient(135deg, #f8f9f5, #ffffff);
}

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

.testimonial-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(45, 80, 22, 0.08);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(45, 80, 22, 0.12);
}

.testimonial-content p {
    font-style: italic;
    font-size: 1.1rem;
    color: #2c3e2d;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.testimonial-author strong {
    color: #2d5016;
    display: block;
    margin-bottom: 0.25rem;
}

.testimonial-author span {
    color: #5a6c5b;
    font-size: 0.9rem;
}

.testimonial-rating {
    display: flex;
    gap: 0.25rem;
    margin-top: 1rem;
}

.star {
    width: 18px;
    height: 18px;
    color: #ffd700;
}

/* Location Section */
.location {
    background: white;
}

.location-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.location-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.location-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.location-icon {
    width: 32px;
    height: 32px;
    color: #7fb069;
    margin-top: 0.25rem;
    flex-shrink: 0;
    stroke-width: 1.5;
}

.location-text h4 {
    color: #2d5016;
    margin-bottom: 0.5rem;
}

.location-text p {
    color: #5a6c5b;
    margin-bottom: 0;
}

.location-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(45, 80, 22, 0.1);
}

/* Contact Section */
.contact {
    background: linear-gradient(135deg, #f8f9f5, #ffffff);
}

.contact-form-wrapper {
    max-width: 600px;
    margin: 0 auto;
}

.contact-form {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(45, 80, 22, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #2d5016;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.875rem;
    border: 2px solid #e8f2e5;
    border-radius: 10px;
    font-family: 'Open Sans', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    background-color: #fafafa;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #7fb069;
    background-color: white;
}

.form-group textarea {
    resize: vertical;
}

/* Footer */
.footer {
    background-color: #2d5016;
    color: white;
    padding: 3rem 0 1rem;
}

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

.footer-section h4 {
    color: #7fb069;
    margin-bottom: 1rem;
}

.footer-logo {
    height: 40px;
    width: auto;
    margin-bottom: 1rem;
    filter: brightness(0) invert(1);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #cccccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #7fb069;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #4a6b31;
    color: #cccccc;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background-color: #2d5016;
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: #7fb069;
    transform: translateY(-2px);
}

.back-to-top svg {
    width: 24px;
    height: 24px;
    stroke-width: 2;
}

/* Legal Pages Styles */
.legal-content {
    padding: 8rem 0 5rem;
    background: white;
}

.legal-header {
    text-align: center;
    margin-bottom: 3rem;
}

.legal-header h1 {
    color: #2d5016;
    margin-bottom: 0.5rem;
}

.legal-header p {
    color: #5a6c5b;
    font-style: italic;
}

.legal-body {
    max-width: 800px;
    margin: 0 auto;
}

.legal-section {
    margin-bottom: 3rem;
}

.legal-section h2 {
    color: #2d5016;
    border-bottom: 2px solid #7fb069;
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
}

.legal-section h3 {
    color: #2d5016;
    margin: 1.5rem 0 1rem;
}

.legal-section ul {
    margin: 1rem 0;
    padding-left: 2rem;
}

.legal-section li {
    margin-bottom: 0.5rem;
    color: #2c3e2d;
}

.legal-section ol {
    margin: 1rem 0;
    padding-left: 2rem;
}

.legal-section ol li {
    margin-bottom: 0.5rem;
    color: #2c3e2d;
}

.legal-section a {
    color: #7fb069;
    text-decoration: none;
    transition: color 0.3s ease;
}

.legal-section a:hover {
    color: #2d5016;
    text-decoration: underline;
}

.contact-info {
    background: #f8f9f5;
    padding: 2rem;
    border-radius: 10px;
    border-left: 4px solid #7fb069;
    margin-top: 1rem;
}

.contact-info p {
    margin-bottom: 0.5rem;
    color: #2c3e2d;
}

/* Success Page Styles */
.success-section {
    padding: 8rem 0 5rem;
    background: linear-gradient(135deg, #f8f9f5, #ffffff);
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.success-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.success-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 2rem;
    color: #7fb069;
}

.success-icon svg {
    width: 100%;
    height: 100%;
    stroke-width: 1.5;
}

.success-title {
    color: #2d5016;
    margin-bottom: 1rem;
    font-size: 3rem;
}

.success-subtitle {
    font-size: 1.2rem;
    color: #5a6c5b;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.success-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
    margin: 3rem 0;
}

.success-item {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(45, 80, 22, 0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.success-item-icon {
    width: 48px;
    height: 48px;
    color: #7fb069;
    margin-bottom: 1rem;
    stroke-width: 1.5;
}

.success-item-text h3 {
    color: #2d5016;
    margin-bottom: 0.5rem;
}

.success-item-text p {
    color: #5a6c5b;
    margin-bottom: 0;
    font-size: 0.95rem;
}

.success-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin: 3rem 0;
}

.success-contact {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #e8f2e5;
}

.success-contact p {
    color: #5a6c5b;
    margin-bottom: 1rem;
}

.contact-options {
    display: flex;
    gap: 2rem;
    justify-content: center;
}

.contact-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #2d5016;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.contact-option:hover {
    color: #7fb069;
}

.contact-option svg {
    width: 20px;
    height: 20px;
    stroke-width: 1.5;
}

/* Form Error Styles */
.form-group input.error,
.form-group select.error,
.form-group textarea.error {
    border-color: #e74c3c;
    background-color: #fdf2f2;
}

.form-message {
    padding: 1rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.form-message.error {
    background-color: #fdf2f2;
    color: #e74c3c;
    border: 1px solid #e74c3c;
}

.form-message.success {
    background-color: #f2f8f0;
    color: #2d5016;
    border: 1px solid #7fb069;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 768px) {
    html {
        font-size: 14px;
    }

    .container {
        padding: 0 1rem;
    }

    /* Navigation */
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active .nav-toggle-line:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active .nav-toggle-line:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .nav-toggle.active .nav-toggle-line:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    /* Hero */
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-features {
        flex-direction: column;
        gap: 1.5rem;
    }

    /* Grid Layouts */
    .about-content,
    .benefits-content,
    .location-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-text {
        padding-right: 0;
        order: 2;
    }

    .about-image {
        order: 1;
    }

    .about-stats {
        justify-content: space-around;
    }

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

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

    /* Form */
    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: 2rem;
    }

    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    /* Sections */
    section {
        padding: 3rem 0;
    }

    /* Legal and Success Pages */
    .legal-content,
    .success-section {
        padding: 6rem 0 3rem;
    }
    
    .legal-body {
        padding: 0 1rem;
    }
    
    .success-title {
        font-size: 2.2rem;
    }
    
    .success-details {
        grid-template-columns: 1fr;
    }
    
    .success-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .contact-options {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .service-card,
    .testimonial-card {
        padding: 1.5rem;
    }

    .contact-form {
        padding: 1.5rem;
    }

    .back-to-top {
        width: 45px;
        height: 45px;
        bottom: 1rem;
        right: 1rem;
    }
    
    .success-title {
        font-size: 1.8rem;
    }
    
    .success-item {
        padding: 1.5rem;
    }
}