/* Variables */
:root {
    --primary-color: #2d5a27; /* Farming Green */
    --primary-dark: #1e3d1a;
    --secondary-color: #d4a017; /* Wheat Gold */
    --text-main: #1f2937;
    --text-light: #4b5563;
    --bg-light: #f3f4f6;
    --bg-white: #ffffff;
    --bg-dark: #111827;
    --spacing-unit: 1rem;
    --container-width: 1200px;
    --border-radius: 8px;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Manrope', sans-serif;
    line-height: 1.6;
    color: var(--text-main);
    background-color: var(--bg-white);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--text-main);
}

h1 { font-size: clamp(2.5rem, 5vw, 3.5rem); }
h2 { font-size: clamp(2rem, 4vw, 2.5rem); }
h3 { font-size: 1.5rem; }

p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Utilities */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.bg-light { background-color: var(--bg-light); }
.bg-dark { background-color: var(--bg-dark); color: white !important; }
.bg-dark p { color: #9ca3af; }
.bg-dark h2, .bg-dark h3 { color: white; }

.text-center { text-align: center; }
.w-100 { width: 100%; }
.mb-2 { margin-bottom: 2rem; }

.grid-2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

.grid-3 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.grid-4 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.align-center { align-items: center; }

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1.1rem;
}

.btn-primary {
    background-color: var(--secondary-color);
    color: var(--bg-dark);
}

.btn-primary:hover {
    background-color: #b38610;
    transform: translateY(-2px);
}

.btn-outline {
    border-color: white;
    color: white;
}

.btn-outline:hover {
    background-color: white;
    color: var(--primary-color);
}

/* Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
    z-index: 1000;
    padding: 15px 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--primary-color);
}

.logo-icon {
    font-size: 2rem;
}

.logo-text span {
    color: var(--secondary-color);
}

.logo-text small {
    display: block;
    font-size: 0.7rem;
    color: var(--text-light);
    font-weight: 400;
    font-family: 'Manrope', sans-serif;
    letter-spacing: 1px;
}

.nav-list {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-list a {
    font-weight: 600;
    font-size: 0.95rem;
}

.nav-list a:hover {
    color: var(--secondary-color);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    position: relative;
    height: 90vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-top: 0;
}

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

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

.hero-bg .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.8));
}

.hero-content {
    text-align: center;
    max-width: 900px;
    z-index: 1;
    padding-top: 60px;
}

.hero h1 {
    color: white;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.hero .lead {
    color: #e5e7eb;
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Section Headers */
.section-header {
    max-width: 700px;
    margin: 0 auto 60px;
}

.subtitle {
    color: var(--secondary-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

/* Stats Section */
.stats-section {
    padding: 40px 0;
    background-color: var(--primary-color);
    color: white;
    margin-top: -80px;
    position: relative;
    z-index: 10;
    border-radius: var(--border-radius);
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.stat-item {
    text-align: center;
    padding: 10px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    display: block;
    margin-bottom: 5px;
    font-family: 'Playfair Display', serif;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Cards */
.card {
    background: white;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
    height: 100%;
}

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

.icon-card .icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.icon-card h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
}

/* About Section */
.tag {
    display: inline-block;
    padding: 5px 15px;
    background-color: rgba(45, 90, 39, 0.1);
    color: var(--primary-color);
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 20px;
}

.image-wrapper img {
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.check-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 10px;
}

.check-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
}

/* Service Cards */
.service-card {
    background: #1f2937;
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: transform 0.3s ease;
    border: 1px solid rgba(255,255,255,0.1);
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--secondary-color);
}

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

.service-content {
    padding: 30px;
    flex-grow: 1;
}

.service-content h3 {
    color: var(--secondary-color);
}

/* Timeline */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50px;
    top: 0;
    height: 100%;
    width: 2px;
    background: var(--primary-color);
    opacity: 0.2;
}

.timeline-item {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
    position: relative;
}

.step-number {
    min-width: 100px;
    height: 100px;
    border-radius: 50%;
    background: white;
    border: 3px solid var(--primary-color);
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    font-family: 'Playfair Display', serif;
    box-shadow: var(--shadow);
}

/* Testimonials */
.testimonials-section {
    background-color: var(--bg-light);
}

.testimonial-card {
    background: white;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    position: relative;
}

.quote-icon {
    font-size: 4rem;
    color: rgba(45, 90, 39, 0.1);
    position: absolute;
    top: 20px;
    right: 20px;
    line-height: 1;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.client-info h4 {
    margin-bottom: 0;
    font-size: 1.1rem;
    color: var(--primary-color);
}

.client-info small {
    color: var(--text-light);
}

/* FAQ Section */
.faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.faq-item {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 25px;
}

.faq-item h3 {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.faq-item p {
    margin-bottom: 0;
    font-size: 0.95rem;
}

/* CTA Section */
.cta-section {
    background-image: linear-gradient(rgba(45, 90, 39, 0.9), rgba(45, 90, 39, 0.95)), url('https://images.unsplash.com/photo-1500382017468-9049fed747ef?auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    color: white;
    text-align: center;
    padding: 100px 0;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.cta-content p {
    color: #e5e7eb;
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
}

/* Footer */
.site-footer {
    background-color: #0b101b;
    color: #9ca3af;
    padding: 80px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 60px;
}

.footer-brand h4 {
    color: white;
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.footer-brand span {
    color: var(--secondary-color);
}

.footer-links h5, .footer-legal h5 {
    color: white;
    margin-bottom: 25px;
    font-size: 1.1rem;
}

.footer-links ul, .footer-legal ul {
    line-height: 2.5;
}

.footer-links a, .footer-legal a {
    color: #9ca3af;
    transition: 0.3s;
}

.footer-links a:hover, .footer-legal a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    font-size: 0.9rem;
    gap: 20px;
    opacity: 0.6;
}

/* Article Rich Content Styling */
.article-toc {
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 25px;
    margin: 30px 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.article-toc h4 {
    margin-top: 0;
    color: var(--primary-color);
    border-bottom: 2px solid var(--secondary-color);
    padding-bottom: 10px;
    margin-bottom: 15px;
}

.article-toc ul {
    list-style: none;
    padding-left: 0;
}

.article-toc ul li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.article-toc ul li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--secondary-color);
}

.article-toc a {
    color: var(--text-main);
    font-weight: 500;
    text-decoration: none;
}

.article-toc a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.info-box {
    background-color: #e0f2f1; /* Light teal */
    border-left: 5px solid #00897b;
    padding: 20px;
    margin: 30px 0;
    border-radius: 0 8px 8px 0;
    position: relative;
}

.info-box::before {
    content: "💡";
    font-size: 1.5rem;
    margin-right: 10px;
    vertical-align: middle;
}

.warning-box {
    background-color: #fff3e0; /* Light orange */
    border-left: 5px solid #ef6c00;
    padding: 20px;
    margin: 30px 0;
    border-radius: 0 8px 8px 0;
}

.warning-box::before {
    content: "⚠️";
    font-size: 1.5rem;
    margin-right: 10px;
    vertical-align: middle;
}

.quote-box {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    font-style: italic;
    color: var(--primary-dark);
    border-left: 4px solid var(--secondary-color);
    padding: 20px 30px;
    margin: 40px 0;
    background: #fafafa;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
    font-size: 0.95rem;
    box-shadow: var(--shadow);
}

.comparison-table th, .comparison-table td {
    border: 1px solid #dee2e6;
    padding: 15px;
    text-align: left;
}

.comparison-table th {
    background-color: var(--primary-color);
    color: white;
    font-weight: 600;
}

.comparison-table tr:nth-child(even) {
    background-color: #f8f9fa;
}

.comparison-table tr:hover {
    background-color: #f1f3f5;
}

.author-bio {
    background-color: #f8f9fa;
    padding: 30px;
    border-radius: 8px;
    margin-top: 60px;
    display: flex;
    align-items: center;
    gap: 20px;
    border: 1px solid #e9ecef;
}

.author-avatar {
    font-size: 3rem;
    background: white;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
}

.breadcrumbs {
    padding: 15px 0;
    font-size: 0.9rem;
    color: #6b7280;
    border-bottom: 1px solid #e5e7eb;
    margin-bottom: 30px;
}

.breadcrumbs a {
    color: var(--primary-color);
    font-weight: 600;
}

.breadcrumbs span {
    margin: 0 5px;
}

/* Blog Section Styles */
.blog-card {
    padding: 0 !important;
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: box-shadow 0.3s ease;
    cursor: pointer;
    overflow: hidden;
}

.blog-card:hover {
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.article-thumb {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px 8px 0 0;
}

.blog-card .card-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.blog-card .card-content p {
    flex-grow: 1;
    margin-bottom: 20px;
}

.blog-card .btn::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* Responsive */
@media (min-width: 992px) {
    .grid-3 { grid-template-columns: repeat(3, 1fr); }
    .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 991px) {
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .stats-section .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 768px) {
    .grid-2 { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    h1 { font-size: 2.2rem; }
    .hero .lead { font-size: 1.1rem; }
    
    .stats-section {
        margin-top: 0;
        margin-left: 20px;
        margin-right: 20px;
        border-radius: 0;
        box-shadow: none;
        padding: 30px 0;
    }
    
    .nav-list {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: var(--shadow);
        text-align: center;
    }
    
    .nav-list.active { display: flex; }
    
    .mobile-menu-toggle { display: block; }
    
    .footer-content { grid-template-columns: 1fr; }
    .faq-grid { grid-template-columns: 1fr; }
    .grid-3 { grid-template-columns: 1fr; }
    
    .timeline::before { left: 20px; }
    .step-number { width: 50px; height: 50px; min-width: 50px; font-size: 1rem; }
}
