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

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

:root {
    /* Brand Colors */
    --deep-green: #2d5016;
    --forest-green: #3d6b1f;
    --light-green: #4a7f28;
    --white: #ffffff;
    --cream: #fefefe;
    --soft-white: #f9f9f9;
    --text-dark: #1a1a1a;
    --text-gray: #666;
    
    /* Typography */
    --font-serif: 'Georgia', 'Times New Roman', serif;
    --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    
    /* Transitions */
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    color: var(--text-dark);
    line-height: 1.7;
    background-color: var(--cream);
    overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--forest-green), var(--deep-green));
    border-radius: 6px;
    border: 2px solid #f1f1f1;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--light-green), var(--forest-green));
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    font-weight: 600;
    line-height: 1.3;
    color: var(--deep-green);
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: var(--spacing-md);
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: var(--spacing-md);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: var(--spacing-sm);
}

p {
    margin-bottom: var(--spacing-sm);
}

.lead {
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--text-gray);
    margin-bottom: var(--spacing-lg);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* ===========================
   Layout Components
   =========================== */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
    animation: fadeInDown 0.8s ease-out;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.underline {
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--forest-green), var(--light-green), var(--forest-green));
    background-size: 200% 100%;
    margin: var(--spacing-sm) auto;
    border-radius: 2px;
    box-shadow: 0 2px 8px rgba(74, 127, 40, 0.3);
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

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

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, rgba(45, 80, 22, 0.98) 0%, rgba(35, 65, 18, 0.98) 100%);
    background-image: 
        linear-gradient(180deg, rgba(45, 80, 22, 0.98) 0%, rgba(35, 65, 18, 0.98) 100%),
        repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0, 0, 0, 0.03) 2px, rgba(0, 0, 0, 0.03) 4px),
        repeating-linear-gradient(90deg, transparent, transparent 2px, rgba(0, 0, 0, 0.03) 2px, rgba(0, 0, 0, 0.03) 4px);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: var(--spacing-sm) 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
    border-bottom: 2px solid rgba(74, 127, 40, 0.3);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo-container a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo {
    height: 50px;
    width: auto;
    transition: var(--transition-smooth);
}

.logo:hover {
    transform: scale(1.05);
    filter: brightness(1.1);
}

.footer-logo {
    cursor: pointer;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: var(--spacing-md);
}

.nav-links a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: var(--transition-smooth);
    position: relative;
    padding: 8px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 3px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--white), rgba(255, 255, 255, 0.7));
    transition: var(--transition-smooth);
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
}

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

.nav-links a:hover {
    color: var(--cream);
    transform: translateY(-2px);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

/* ===========================
   Hero Section
   =========================== */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: 
        radial-gradient(ellipse at top, rgba(74, 127, 40, 0.3), transparent 70%),
        radial-gradient(ellipse at bottom, rgba(45, 80, 22, 0.5), transparent 70%),
        linear-gradient(135deg, #1a3d0f 0%, var(--deep-green) 30%, var(--forest-green) 70%, var(--light-green) 100%);
    position: relative;
    padding: var(--spacing-xl) var(--spacing-md);
    margin-top: 70px;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.hero-background-shapes {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    z-index: 0;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    animation: float 20s infinite ease-in-out;
}

.shape-1 {
    width: 300px;
    height: 300px;
    top: 10%;
    left: -100px;
    animation-delay: 0s;
}

.shape-2 {
    width: 200px;
    height: 200px;
    bottom: 20%;
    right: -50px;
    animation-delay: -7s;
}

.shape-3 {
    width: 150px;
    height: 150px;
    top: 60%;
    left: 50%;
    animation-delay: -14s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
        opacity: 0.05;
    }
    33% {
        transform: translate(30px, -30px) rotate(120deg);
        opacity: 0.1;
    }
    66% {
        transform: translate(-20px, 20px) rotate(240deg);
        opacity: 0.08;
    }
}

.hero-content {
    text-align: center;
    color: var(--white);
    max-width: 900px;
    position: relative;
    z-index: 1;
}

.hero h1 {
    color: var(--white);
    text-shadow: 
        2px 2px 4px rgba(0, 0, 0, 0.3),
        0 0 10px rgba(255, 255, 255, 0.1),
        0 0 20px rgba(255, 255, 255, 0.05);
    margin-bottom: var(--spacing-md);
    animation: textGlow 4s ease-in-out infinite alternate;
}

@keyframes textGlow {
    from {
        text-shadow: 
            2px 2px 4px rgba(0, 0, 0, 0.3),
            0 0 10px rgba(255, 255, 255, 0.1),
            0 0 20px rgba(255, 255, 255, 0.05);
    }
    to {
        text-shadow: 
            2px 2px 4px rgba(0, 0, 0, 0.3),
            0 0 15px rgba(255, 255, 255, 0.15),
            0 0 30px rgba(255, 255, 255, 0.08);
    }
}

.hero-subtitle {
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    margin-bottom: var(--spacing-lg);
    color: var(--cream);
    font-weight: 300;
    letter-spacing: 0.5px;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, var(--white) 0%, var(--cream) 100%);
    color: var(--deep-green);
    text-decoration: none;
    font-weight: 600;
    border-radius: 50px;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    font-size: 1.1rem;
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(74, 127, 40, 0.1);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.cta-button:hover::before {
    width: 300px;
    height: 300px;
}

.cta-button:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 30px rgba(45, 80, 22, 0.4);
}

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

.about {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(180deg, #ffffff 0%, #f8fdf8 100%);
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 200px;
    background: radial-gradient(ellipse, rgba(74, 127, 40, 0.08), transparent 70%);
    filter: blur(40px);
}

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

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
}

.feature-card {
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
}

.feature-card:nth-child(1) { animation-delay: 0.1s; }
.feature-card:nth-child(2) { animation-delay: 0.2s; }
.feature-card:nth-child(3) { animation-delay: 0.3s; }

.feature-card {
    padding: var(--spacing-lg);
    background: linear-gradient(135deg, var(--soft-white) 0%, #ffffff 100%);
    border-radius: 16px;
    transition: var(--transition-smooth);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(74, 127, 40, 0.05) 0%, rgba(61, 107, 31, 0.08) 100%);
    opacity: 0;
    transition: var(--transition-smooth);
    z-index: 0;
}

.feature-card > * {
    position: relative;
    z-index: 1;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(45, 80, 22, 0.2);
    border-color: var(--light-green);
}

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

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--spacing-md);
    transition: var(--transition-smooth);
    filter: drop-shadow(0 4px 8px rgba(45, 80, 22, 0.15));
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotateY(5deg);
    filter: drop-shadow(0 8px 16px rgba(45, 80, 22, 0.25));
}

.feature-icon svg {
    width: 100%;
    height: 100%;
}

.feature-card h3 {
    color: var(--forest-green);
    margin-bottom: var(--spacing-sm);
}

.feature-card p {
    color: var(--text-gray);
    line-height: 1.7;
}

/* ===========================
   Philosophy Section
   =========================== */

.philosophy {
    padding: var(--spacing-xl) 0;
    background: 
        linear-gradient(to bottom, transparent, rgba(74, 127, 40, 0.03), transparent),
        repeating-linear-gradient(45deg, transparent, transparent 10px, rgba(45, 80, 22, 0.01) 10px, rgba(45, 80, 22, 0.01) 20px),
        var(--soft-white);
    position: relative;
    overflow: hidden;
}

.philosophy::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(74, 127, 40, 0.1), transparent 70%);
    border-radius: 50%;
    animation: pulse 8s ease-in-out infinite;
}

.philosophy::after {
    content: '';
    position: absolute;
    bottom: -50px;
    left: -50px;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(61, 107, 31, 0.08), transparent 70%);
    border-radius: 50%;
    animation: pulse 10s ease-in-out infinite reverse;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.7;
    }
}

.philosophy-content {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.philosophy-item {
    background: linear-gradient(to right, #ffffff 0%, var(--soft-white) 100%);
    padding: var(--spacing-lg);
    border-radius: 12px;
    border-left: 4px solid var(--forest-green);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.philosophy-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(74, 127, 40, 0.1), transparent);
    transition: left 0.5s ease;
}

.philosophy-item:hover {
    border-left-width: 8px;
    transform: translateX(8px);
    box-shadow: 0 8px 30px rgba(45, 80, 22, 0.15);
}

.philosophy-item:hover::after {
    left: 100%;
}

.philosophy-item h3 {
    color: var(--deep-green);
    margin-bottom: var(--spacing-sm);
    font-size: 1.75rem;
}

.philosophy-item p {
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 0;
}

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

.contact {
    padding: var(--spacing-xl) 0;
    background: 
        radial-gradient(ellipse at top left, rgba(74, 127, 40, 0.05), transparent 50%),
        radial-gradient(ellipse at bottom right, rgba(45, 80, 22, 0.05), transparent 50%),
        linear-gradient(to bottom, #ffffff, #fafffe);
    position: relative;
}

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

.contact-intro {
    font-size: 1.2rem;
    color: var(--text-gray);
    margin-bottom: var(--spacing-lg);
}

.contact-info {
    margin-top: var(--spacing-lg);
}

.contact-link {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--deep-green);
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    border-radius: 50px;
    transition: var(--transition-smooth);
    font-size: 1.1rem;
}

.contact-link:hover {
    background: var(--forest-green);
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(45, 80, 22, 0.3);
}

/* ===========================
   Contact Form
   =========================== */

.contact-form {
    max-width: 700px;
    margin: 0 auto var(--spacing-lg);
    background: var(--white);
    padding: var(--spacing-lg);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-md);
}

.form-group {
    margin-bottom: var(--spacing-md);
}

.form-group label {
    display: block;
    margin-bottom: var(--spacing-xs);
    color: var(--deep-green);
    font-weight: 600;
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-family: var(--font-sans);
    font-size: 1rem;
    transition: var(--transition-smooth);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--forest-green);
    box-shadow: 
        0 0 0 3px rgba(61, 107, 31, 0.1),
        0 4px 12px rgba(74, 127, 40, 0.15);
    transform: translateY(-2px);
    background: #fafffe;
}

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

.checkbox-group {
    margin-bottom: var(--spacing-md);
    text-align: left;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-xs);
    cursor: pointer;
    font-size: 0.95rem;
    line-height: 1.6;
    justify-content: flex-start;
}

.checkbox-label input[type="checkbox"] {
    margin-top: 4px;
    width: 18px;
    height: 18px;
    cursor: pointer;
    flex-shrink: 0;
}

.checkbox-label span {
    color: var(--text-gray);
}

.checkbox-label a {
    color: var(--forest-green);
    text-decoration: underline;
}

.checkbox-label a:hover {
    color: var(--deep-green);
}

.form-note {
    color: var(--text-gray);
    font-size: 0.9rem;
    margin-bottom: var(--spacing-md);
    font-style: italic;
}

.submit-button {
    width: 100%;
    padding: 1rem 2rem;
    background: var(--deep-green);
    color: var(--white);
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.submit-button:hover {
    background: var(--forest-green);
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(45, 80, 22, 0.3);
}

.submit-button:active {
    transform: translateY(-1px);
}

.form-success {
    text-align: center;
    padding: var(--spacing-lg);
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2f1 100%);
    border-radius: 12px;
    margin: var(--spacing-lg) auto;
    max-width: 500px;
    animation: fadeInUp 0.5s ease-out;
}

.success-icon {
    width: 80px;
    height: 80px;
    background: var(--forest-green);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    margin: 0 auto var(--spacing-md);
    animation: scaleIn 0.5s ease-out;
}

@keyframes scaleIn {
    from {
        transform: scale(0);
    }
    to {
        transform: scale(1);
    }
}

.form-success h3 {
    color: var(--deep-green);
    margin-bottom: var(--spacing-sm);
}

.form-success p {
    color: var(--text-gray);
    margin-bottom: 0;
}

.contact-direct {
    text-align: center;
    margin-top: var(--spacing-lg);
    padding-top: var(--spacing-md);
    border-top: 1px solid #e0e0e0;
}

.contact-direct p {
    color: var(--text-gray);
    margin-bottom: 0;
}

.contact-direct a {
    color: var(--forest-green);
    text-decoration: none;
    font-weight: 600;
}

.contact-direct a:hover {
    text-decoration: underline;
}

.form-disclaimer {
    max-width: 700px;
    margin: 0 auto var(--spacing-md);
    background: #fff9e6;
    border-left: 4px solid #f39c12;
    padding: var(--spacing-md);
    border-radius: 8px;
}

.form-disclaimer p {
    color: var(--text-dark);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 0;
}

.form-disclaimer strong {
    color: var(--deep-green);
}

.form-disclaimer a {
    color: var(--forest-green);
    text-decoration: underline;
}

.form-disclaimer a:hover {
    color: var(--deep-green);
}

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

.footer {
    background: var(--deep-green);
    color: var(--white);
    padding: var(--spacing-lg) 0;
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-sm);
}

.footer-logo {
    height: 60px;
    width: auto;
    margin-bottom: var(--spacing-sm);
}

.footer p {
    color: var(--cream);
    margin-bottom: 0;
}

.footer-links {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin: var(--spacing-sm) 0;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-links a {
    color: var(--cream);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.footer-links a:hover {
    color: var(--white);
    text-decoration: underline;
}

.footer-links .separator {
    color: var(--cream);
    opacity: 0.5;
}

/* ===========================
    
    .form-row {
        grid-template-columns: 1fr;
        gap: var(--spacing-sm);
    }
    
    .contact-form {
        padding: var(--spacing-md);
    }
   Responsive Design
   =========================== */

@media (max-width: 768px) {
    .nav-links {
        gap: var(--spacing-sm);
    }
    
    .nav-links a {
        font-size: 0.9rem;
    }
    
    .hero {
        min-height: 80vh;
        padding: var(--spacing-lg) var(--spacing-sm);
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    .philosophy-item {
        padding: var(--spacing-md);
    }
}

@media (max-width: 480px) {
    .logo {
        height: 40px;
    }
    
    .nav-links {
        gap: var(--spacing-xs);
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .cta-button,
    .contact-link {
        padding: 0.8rem 2rem;
        font-size: 1rem;
    }
}

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

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

.hero-content {
    animation: fadeInUp 1s ease-out;
}

/* Smooth scroll offset for fixed header */
section {
    scroll-margin-top: 90px;
}
