/* ======================
   CSS Reset & Base Styles
   ====================== */

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

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

body {
    font-family: 'Crimson Text', 'Georgia', 'Times New Roman', serif;
    line-height: 1.8;
    color: #2c3e50;
    background-color: #fefefe;
    font-weight: 400;
}

/* ======================
   Typography
   ====================== */

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Playfair Display', 'Georgia', 'Times New Roman', serif;
    font-weight: 500;
    margin-bottom: 1.5rem;
    color: #2d5a3d;
    letter-spacing: -0.01em;
}

h1 {
    font-size: 2.75rem;
    font-weight: 700;
    line-height: 1.2;
}

h2 {
    font-size: 2.25rem;
    font-weight: 600;
    line-height: 1.3;
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.4;
}

p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: #5a6c7d;
    line-height: 1.9;
}

/* ======================
   Layout & Containers
   ====================== */

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

.section {
    padding: 6rem 0;
    min-height: auto;
}

/* ======================
   Header & Navigation
   ====================== */

.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(45, 90, 61, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(45, 90, 61, 0.1);
}

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

.logo h1 {
    color: #2d5a3d;
    font-size: 1.6rem;
    font-weight: 500;
    margin: 0;
    letter-spacing: -0.01em;
}

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

.nav-link {
    color: #5a6c7d;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 400;
    transition: all 0.3s ease;
    padding: 0.75rem 1rem;
    position: relative;
    border-radius: 4px;
}

.nav-link:hover {
    color: #2d5a3d;
    background-color: rgba(45, 90, 61, 0.05);
}

/* Mobile Menu Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
    border: none;
    background: none;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.nav-toggle:hover {
    background-color: rgba(45, 90, 61, 0.05);
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: #2d5a3d;
    margin: 2px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

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

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* ======================
   Home Section
   ====================== */

.home-section {
    background: linear-gradient(135deg, #f8fdf9 0%, #eef7f0 100%);
    padding-top: 8rem;
    min-height: 90vh;
    display: flex;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.home-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 40%;
    height: 200%;
    background: radial-gradient(circle, rgba(163, 197, 133, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 1;
}

.home-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 30%;
    height: 150%;
    background: radial-gradient(circle, rgba(107, 142, 90, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 720px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3.2rem;
    color: #2d5a3d;
    margin-bottom: 2rem;
    font-weight: 500;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: #5a6c7d;
    margin-bottom: 3rem;
    line-height: 1.8;
    font-weight: 400;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ======================
   Buttons
   ====================== */

.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-family: 'Crimson Text', 'Georgia', 'Times New Roman', serif;
    letter-spacing: 0.01em;
}

.btn-primary {
    background: #6b8e5a;
    color: white;
    box-shadow: 0 4px 15px rgba(107, 142, 90, 0.3);
}

.btn-primary:hover {
    background: #5a7a49;
    box-shadow: 0 6px 20px rgba(107, 142, 90, 0.4);
    transform: translateY(-2px);
}

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

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

/* ======================
   About Section
   ====================== */

.about-section {
    background-color: #ffffff;
    padding: 8rem 0;
}

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

.section-title {
    color: #2d5a3d;
    margin-bottom: 2rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 3px;
    background: #a3c585;
    border-radius: 2px;
}

.about-image {
    text-align: center;
}

.image-placeholder {
    width: 300px;
    height: 380px;
    background: linear-gradient(135deg, #f0f7f0 0%, #e8f3e8 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #6b8e5a;
    font-size: 1.1rem;
    line-height: 1.5;
    box-shadow: 0 10px 30px rgba(107, 142, 90, 0.15);
    margin: 0 auto;
    border: 2px solid #d4e7c5;
    position: relative;
}

.image-placeholder::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: linear-gradient(45deg, #a3c585, #6b8e5a);
    border-radius: 25px;
    z-index: -1;
    opacity: 0.1;
}

/* ======================
   Services Section
   ====================== */

.services-section {
    background: linear-gradient(135deg, #f8fdf9 0%, #f0f7f0 100%);
    padding: 8rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.services-section::before {
    content: '';
    position: absolute;
    top: 20%;
    left: -5%;
    width: 25%;
    height: 60%;
    background: radial-gradient(ellipse, rgba(163, 197, 133, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 1;
}

.services-section .container {
    position: relative;
    z-index: 2;
}

.services-section .section-title {
    color: #2d5a3d;
    text-align: center;
}

.services-section .section-title::after {
    left: 50%;
    transform: translateX(-50%);
    background: #a3c585;
}

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

.service-card {
    background: white;
    padding: 3rem 2rem;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(107, 142, 90, 0.1);
    transition: all 0.3s ease;
    text-align: center;
    border: 2px solid #f0f7f0;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #a3c585, #6b8e5a);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(107, 142, 90, 0.2);
    border-color: #d4e7c5;
}

.service-card:hover::before {
    opacity: 1;
}

.service-card h3 {
    color: #2d5a3d;
    margin-bottom: 1rem;
    font-size: 1.4rem;
    font-weight: 500;
}

.service-card p {
    color: #5a6c7d;
    line-height: 1.8;
    font-size: 1rem;
}

/* ======================
   Contact Section
   ====================== */

.contact-section {
    background-color: #ffffff;
    padding: 8rem 0;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    margin-top: 3rem;
}

.contact-content-centered {
    display: flex;
    justify-content: center;
    margin-top: 3rem;
}

.contact-content-centered .contact-info {
    max-width: 600px;
    text-align: center;
}

.contact-info h3 {
    color: #2d5a3d;
    margin-bottom: 2rem;
    font-size: 1.6rem;
    font-weight: 500;
}

.contact-item {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: #5a6c7d;
}

.contact-item strong {
    color: #2d5a3d;
    display: inline-block;
    width: 80px;
    font-weight: 500;
}

.contact-form-container {
    background: white;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-form input,
.contact-form textarea {
    padding: 0.875rem 1rem;
    border: 1px solid #cbd5e0;
    border-radius: 6px;
    font-size: 0.95rem;
    font-family: inherit;
    transition: all 0.2s ease;
    background-color: #ffffff;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #2b6cb0;
    background-color: white;
    box-shadow: 0 0 0 3px rgba(43, 108, 176, 0.1);
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

/* ======================
   Footer
   ====================== */

.footer {
    background: linear-gradient(135deg, #2d5a3d 0%, #1f4529 100%);
    color: white;
    text-align: center;
    padding: 3rem 0;
    border-top: 1px solid rgba(163, 197, 133, 0.2);
}

.footer p {
    color: #d4e7c5;
    margin: 0;
    font-size: 0.95rem;
}

/* ======================
   Responsive Design
   ====================== */

@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }

    .nav-container {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }

    .nav-menu {
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }

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

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

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

    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-content-centered .contact-info {
        max-width: 100%;
        padding: 0 1rem;
    }

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

    .section {
        padding: 3rem 0;
    }

    .home-section {
        padding-top: 6rem;
        min-height: auto;
    }

    .contact-form-container {
        padding: 1.5rem;
    }

    .image-placeholder {
        width: 220px;
        height: 280px;
        font-size: 1rem;
    }
}

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

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

    .btn {
        padding: 0.8rem 2rem;
        font-size: 1rem;
    }

    .service-card {
        padding: 2rem 1.5rem;
    }

    .nav-menu {
        gap: 0.5rem;
    }

    .nav-link {
        font-size: 1rem;
        padding: 0.5rem 0.8rem;
    }
}

/* ======================
   Smooth Animations
   ====================== */

.section {
    opacity: 1;
    transition: opacity 0.6s ease-in-out;
}

/* Accessibility Improvements */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Focus states for accessibility */
.nav-link:focus,
.btn:focus,
.contact-form input:focus,
.contact-form textarea:focus {
    outline: 3px solid #6b8e5a;
    outline-offset: 2px;
}

/* Additional Styling for Enhanced Appeal */
.section-subtitle {
    font-size: 1.2rem;
    color: #5a6c7d;
    margin-bottom: 4rem;
    font-style: italic;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Enhanced Button Styles */
.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 3rem;
}

/* Responsive Design for Service Details */
@media (max-width: 768px) {
    .service-detail div[style*="grid-template-columns"] {
        display: block !important;
    }

    .service-detail div[style*="gap: 3rem"]>div:first-child {
        margin-bottom: 2rem;
    }

    .credentials-grid {
        grid-template-columns: 1fr !important;
    }

    .approach-grid {
        grid-template-columns: 1fr !important;
    }

    .expectation-grid {
        grid-template-columns: 1fr !important;
    }
}

/* Enhanced Mobile Navigation */
@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 1rem 2rem 2rem;
        box-shadow: 0 4px 20px rgba(45, 90, 61, 0.1);
        border-top: 1px solid rgba(45, 90, 61, 0.1);
        gap: 0.5rem;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-link {
        padding: 1rem;
        text-align: center;
        border-radius: 8px;
        margin: 0;
    }

    .nav-link:hover {
        background-color: rgba(45, 90, 61, 0.1);
    }
}

/* Additional Mobile Responsiveness */
@media (max-width: 768px) {
    .trust-indicators {
        flex-direction: column !important;
        gap: 1rem !important;
    }

    .testimonial-card {
        margin-bottom: 1rem;
    }

    .hero-title {
        font-size: 2.5rem !important;
    }

    .hero-badge {
        font-size: 0.8rem !important;
        padding: 0.4rem 0.8rem !important;
    }

    .service-card h3 {
        font-size: 1.1rem;
    }

    /* Contact cards on mobile */
    .contact-methods>div {
        grid-template-columns: 1fr !important;
    }
}

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

    .hero-subtitle {
        font-size: 1rem !important;
    }

    .btn {
        padding: 0.75rem 1.5rem !important;
        font-size: 0.9rem !important;
    }

    .testimonial-card {
        padding: 1.5rem !important;
    }

    .service-card {
        padding: 2rem 1.5rem !important;
    }
}

/* Enhanced Hover Effects */
.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(107, 142, 90, 0.15);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-3px);
    transition: all 0.3s ease;
}

/* Trust indicators animations */
.trust-indicators>div {
    transition: all 0.2s ease;
}

.trust-indicators>div:hover {
    color: #2d5a3d !important;
    transform: scale(1.05);
}

/* Footer Mobile Responsiveness */
@media (max-width: 768px) {
    .footer div[style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
        text-align: center;
    }

    .footer h3,
    .footer h4 {
        margin-bottom: 0.75rem !important;
    }

    .footer p,
    .footer li {
        font-size: 0.85rem !important;
    }

    .footer ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }

    .footer li {
        margin-bottom: 0 !important;
    }
}

/* Print Styles */
@media print {

    .header,
    .footer,
    .btn,
    .hero-buttons,
    .social-proof-section,
    .trust-indicators {
        display: none;
    }

    body {
        font-size: 12pt;
        line-height: 1.4;
    }

    .section {
        page-break-inside: avoid;
        margin-bottom: 2rem;
    }
}