/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.nav-logo .logo {
    height: 50px;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #2d5016;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #4a7c59;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: #2d5016;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section - Responsive Grid Layout */
.hero {
    background: linear-gradient(135deg, #2d5016 0%, #4a7c59 100%);
    color: white;
    padding: 120px 0 80px;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-layout {
    display: grid !important;
    grid-template-columns: minmax(120px, clamp(140px, 22vw, 220px)) 1fr !important;
    align-items: center !important;
    justify-items: center !important;
    gap: clamp(12px, 3vw, 28px) !important;
    position: relative !important;
    overflow: visible !important;
    padding: clamp(40px, 8vw, 80px) 20px !important;
    min-height: 400px !important;
}

.hero,
.hero-container,
.hero .hero-container,
.hero .hero-container .hero-layout {
    position: relative !important;
    overflow: visible !important;
}

.hero .hero-container .hero-layout .hero-logo,
.hero .hero-container .hero-logo,
.hero-container .hero-layout .hero-logo,
.hero .hero-logo,
.hero-logo {
    position: relative !important;
    left: auto !important;
    top: auto !important;
    transform: none !important;
    grid-column: 1 !important;
    justify-self: start !important;
    align-self: center !important;
    margin-left: clamp(8px, 2vw, 20px) !important;
    z-index: 1 !important;
}

.hero .hero-logo-img,
.hero-container .hero-logo-img,
.hero-logo-img {
    width: clamp(120px, 22vw, 180px) !important;
    height: auto !important;
}

@media (max-width: 768px) {
    .hero-layout {
        grid-template-columns: 1fr !important;
        grid-auto-rows: auto !important;
        justify-items: center !important;
    }

    .hero .hero-container .hero-layout .hero-logo,
    .hero .hero-container .hero-logo,
    .hero-container .hero-layout .hero-logo,
    .hero .hero-logo,
    .hero-logo {
        grid-column: 1 !important;
        justify-self: center !important;
        margin-left: 0 !important;
    }

    .hero .hero-logo-img,
    .hero-container .hero-logo-img,
    .hero-logo-img {
        width: clamp(110px, 32vw, 150px) !important;
    }
}

@media (max-width: 480px) {
    .hero .hero-logo-img,
    .hero-container .hero-logo-img,
    .hero-logo-img {
        width: clamp(100px, 36vw, 140px) !important;
    }
}

.hero-content {
    position: static !important;
    width: 100% !important;
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    padding: 0 !important;
    margin: 0 !important;
    z-index: 10 !important;
}

.hero-title {
    white-space: nowrap !important;
    font-size: 3rem !important;
    margin-bottom: 1rem !important;
    text-align: center !important;
    width: 100% !important;
    font-weight: 700;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    text-align: center !important;
    margin-bottom: 2rem !important;
    width: 100% !important;
    opacity: 0.9;
}

.hero-buttons {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 1rem !important;
    flex-wrap: wrap !important;
    width: 100% !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-layout {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-logo {
        flex: none;
    }
    
    .hero-logo-img {
        width: 200px;
    }
    
    .hero-content {
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        justify-content: center;
        flex-direction: column;
        align-items: center;
    }
    
    .hero-buttons .btn {
        width: 250px;
    }
}

@media (max-width: 480px) {
    .hero-logo-img {
        width: 150px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
}

/* Desktop: 3-column grid so content centers; keep photo background */
html body .hero,
body .hero.hero {
    background: url("./border_background_photo.png") center/cover no-repeat !important;
    position: relative !important;
    overflow: visible !important;
}

html body .hero .hero-container {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    padding: clamp(16px, 3vw, 24px) !important;
}

html body .hero .hero-container .hero-layout {
    display: grid !important;
    grid-template-columns: minmax(140px, 24vw) 1fr minmax(140px, 24vw) !important; /* left logo, centered content, empty right spacer */
    align-items: center !important;
    justify-items: stretch !important;
    gap: clamp(12px, 3vw, 24px) !important;
    position: relative !important;
    overflow: visible !important;
}

/* Logo stays left, content centered in middle column */
html body .hero .hero-container .hero-layout .hero-logo {
    grid-column: 1 !important;
    position: relative !important;
    left: auto !important;
    top: auto !important;
    transform: none !important;
    justify-self: start !important;
    margin-left: clamp(8px, 2vw, 20px) !important;
    align-self: center !important;
    z-index: 1 !important; /* behind content */
    pointer-events: none !important;
}

html body .hero .hero-container .hero-layout .hero-content {
    grid-column: 2 !important;
    position: relative !important;
    z-index: 2 !important; /* above logo */
    width: 100% !important;
    text-align: center !important;
    margin: 0 !important;
    padding: 0 !important;
}

html body .hero .hero-logo-img {
    width: clamp(120px, 22vw, 180px) !important;
    height: auto !important;
}

/* Mobile/tablets: stronger overrides, bigger breakpoint so phones definitely match */
@media (max-width: 900px) {
    /* Fit border to screen and prevent horizontal overflow */
    html, body {
        overflow-x: hidden !important;
    }
    html body .hero {
        background: url("./border_background_photo.png") center/contain no-repeat, #2d5016 !important;
    }

    /* Stack logo above content; kill any absolute positioning */
    html body .hero .hero-container .hero-layout {
        display: grid !important;
        grid-template-columns: 1fr !important;
        grid-auto-rows: auto !important;
        justify-items: center !important;
        align-items: center !important;
        gap: clamp(10px, 4vw, 18px) !important;
        position: relative !important;
        overflow: visible !important;
    }

    html body .hero .hero-container .hero-layout .hero-logo,
    html body .hero .hero-logo {
        grid-column: 1 !important;
        grid-row: 1 !important;
        position: relative !important;
        left: auto !important;
        top: auto !important;
        transform: none !important;
        justify-self: center !important; /* center logo above words */
        margin-left: 0 !important;
        z-index: 1 !important;
        pointer-events: none !important;
    }

    html body .hero .hero-container .hero-layout .hero-content {
        grid-column: 1 !important;
        grid-row: 2 !important;
        position: relative !important;
        z-index: 2 !important; /* above logo */
        width: 100% !important;
        text-align: center !important;
        margin: 0 !important;
        padding: 0 6vw !important; /* side padding so text doesn't hit edges */
    }

    /* Force wrapping and scale text so it cannot run off screen */
    html body .hero .hero-container .hero-layout .hero-content .hero-title,
    .hero-title {
        white-space: normal !important;
        overflow-wrap: anywhere !important;
        word-break: break-word !important;
        font-size: clamp(20px, 7vw, 28px) !important;
        line-height: 1.15 !important;
        margin-bottom: 0.75rem !important;
    }

    html body .hero .hero-container .hero-layout .hero-content .hero-subtitle,
    .hero-subtitle {
        white-space: normal !important;
        overflow-wrap: anywhere !important;
        word-break: break-word !important;
        font-size: clamp(14px, 5vw, 18px) !important;
        line-height: 1.4 !important;
        margin-bottom: 0.75rem !important;
        padding: 0 4vw !important;
    }

    .hero-buttons .btn {
        font-size: clamp(12px, 4.5vw, 16px) !important;
        padding: clamp(8px, 2.8vw, 12px) clamp(14px, 6vw, 20px) !important;
    }

    html body .hero .hero-logo-img {
        width: clamp(100px, 36vw, 140px) !important;
        height: auto !important;
    }
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: #fff;
    color: #2d5016;
    border-color: #fff;
}

.btn-primary:hover {
    background: transparent;
    color: #fff;
    border-color: #fff;
}

.btn-secondary {
    background: transparent;
    color: #fff;
    border-color: #fff;
}

.btn-secondary:hover {
    background: #fff;
    color: #2d5016;
}

.btn-full {
    width: 100%;
}

/* Services Section */
.services {
    padding: 80px 0;
    background: #f8f9fa;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    color: #2d5016;
    margin-bottom: 1rem;
    font-weight: 700;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

/* Clickable card overlay */
.services-grid .service-card {
    position: relative;
}
.services-grid .service-card .card-link {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    text-indent: -9999px; /* hide text, keep accessible */
    cursor: pointer;
}
.services-grid .service-card .card-link:focus {
    outline: 2px solid #2d5016;
    outline-offset: 4px;
}
.services-grid .service-card:hover {
    transform: translateY(-2px);
    transition: transform 0.2s ease;
}

.service-icon {
    width: 80px;
    height: 80px;
    background: #2d5016;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.service-icon i {
    font-size: 2rem;
    color: white;
}

.service-title {
    font-size: 1.5rem;
    color: #2d5016;
    margin-bottom: 1rem;
    font-weight: 600;
}

.service-description {
    color: #666;
    line-height: 1.6;
}

/* Clickable card overlay */
.services-grid .service-card {
    position: relative;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.services-grid .service-card .card-link {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    text-indent: -9999px; /* hide text, keep accessible */
    cursor: pointer;
}
.services-grid .service-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(0,0,0,0.12);
}
.services-grid .service-card .card-link:focus-visible {
    outline: 3px solid #2d5016;
    outline-offset: 4px;
}
@media (hover: hover) {
    .services-grid .service-card:hover .service-title {
        color: #2d5016;
    }
}

/* About Section */
.about {
    padding: 80px 0;
    background: white;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-description {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.feature {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: #2d5016;
    font-weight: 500;
}

.feature i {
    color: #4a7c59;
}

/* FAQ Section */
.faq {
    padding: 80px 0;
    background: #f8f9fa;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    margin-bottom: 1rem;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.faq-question {
    padding: 1.5rem;
    background: white;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: #f8f9fa;
}

.faq-question h3 {
    color: #2d5016;
    font-weight: 600;
    margin: 0;
}

.faq-question i {
    color: #2d5016;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 1.5rem;
    max-height: 200px;
}

.faq-answer p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background: white;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: #2d5016;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon i {
    color: white;
    font-size: 1.5rem;
}

.contact-details h3 {
    color: #2d5016;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.contact-details p {
    color: #666;
    line-height: 1.6;
}

.contact-details a {
    color: #2d5016;
    text-decoration: none;
}

.contact-details a:hover {
    text-decoration: underline;
}

/* Form Styles */
.contact-form {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e9ecef;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2d5016;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Footer */
.footer {
    background: #2d5016;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo .logo {
    height: 40px;
    margin-bottom: 1rem;
}

.footer-logo p {
    opacity: 0.8;
    line-height: 1.6;
}

.footer-links h4,
.footer-contact h4 {
    margin-bottom: 1rem;
    font-weight: 600;
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 0.5rem;
}

.footer-links ul li a {
    color: white;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-links ul li a:hover {
    opacity: 1;
}

.footer-contact a {
    color: white;
    text-decoration: none;
    opacity: 0.8;
}

.footer-contact a:hover {
    opacity: 1;
    text-decoration: underline;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.2);
    padding-top: 1rem;
    text-align: center;
    opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        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 .bar:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-buttons .btn {
        width: 250px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .about-features {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        padding: 1.5rem;
    }

    .container {
        padding: 0 15px;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Badge styles */
.site-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 999px;
    border: 2px solid currentColor;
    font-weight: 600;
    letter-spacing: 0.2px;
    line-height: 1;
}

.hero .site-badge {
    color: #fff;
    border-color: #fff;
    margin-bottom: 1rem;
}

.contact .site-badge {
    color: #2d5016;
    border-color: #2d5016;
    margin-top: 0.5rem;
}

@media (max-width: 768px) {
    .site-badge {
        font-size: 0.9rem;
        padding: 5px 10px;
    }
}

/* Optional: small icon size for badge */
.site-badge .fas {
    font-size: 0.95em;
}

/* Loading animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-card,
.faq-item,
.contact-item {
    animation: fadeInUp 0.6s ease forwards;
}

/* Diagram components */
.diagram-section {
    margin-top: 32px;
}
.diagram-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(260px, 1fr));
    gap: clamp(16px, 3vw, 24px);
}
.diagram-card {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 12px 30px rgba(34, 67, 41, 0.08);
    border: 1px solid rgba(45, 80, 22, 0.1);
    padding: clamp(16px, 2.5vw, 20px);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.diagram-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(34, 67, 41, 0.12);
}
.diagram-title {
    font-size: clamp(1.1rem, 2.2vw, 1.25rem);
    color: #2d5016;
    margin-bottom: 12px;
    font-weight: 600;
}
.diagram-svg {
    width: 100%;
    height: auto;
    max-height: 340px;
    display: block;
    border-radius: 12px;
    background: #f7faf7;
    border: 1px solid rgba(45, 80, 22, 0.08);
}
.diagram-caption {
    margin-top: 10px;
    font-size: 0.95rem;
    color: #3c5b2d;
}

@media (max-width: 1024px) {
    .diagram-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .diagram-grid { grid-template-columns: 1fr; }
}

/* Ensure inline SVG uses theme colors where needed */
svg text { font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif; }

/* FINAL MOBILE OVERRIDES: center logo above words and prevent text overflow */
@media (max-width: 1100px), (max-device-width: 1100px) {
    /* Prevent horizontal scroll and fit border image on phones */
    html, body {
        overflow-x: hidden !important;
    }
    html body .hero {
        background: url("./border_background_photo.png") center/contain no-repeat, #2d5016 !important;
    }

    /* Stack logo above content and neutralize any absolute positioning offsets */
    html body .hero .hero-container {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto !important;
        padding: clamp(12px, 4vw, 20px) !important;
    }

    html body .hero .hero-container .hero-layout {
        display: grid !important;
        grid-template-columns: 1fr !important;
        grid-auto-rows: auto !important;
        justify-items: center !important;
        align-items: center !important;
        gap: clamp(10px, 4vw, 18px) !important;
        position: relative !important;
        overflow: visible !important;
    }

    /* Hard-center the logo above the content */
    html body .hero .hero-container .hero-layout .hero-logo,
    html body .hero .hero-logo,
    .hero .hero-logo,
    .hero-logo {
        grid-column: 1 !important;
        grid-row: 1 !important;
        position: relative !important;
        left: 50% !important;
        top: auto !important;
        transform: translateX(-50%) !important;
        justify-self: center !important;
        align-self: center !important;
        margin-left: 0 !important;
        z-index: 1 !important;
        pointer-events: none !important;
    }

    html body .hero .hero-logo-img,
    .hero-logo-img {
        width: clamp(100px, 34vw, 150px) !important;
        height: auto !important;
    }

    /* Content below logo, full width and centered, with safe side padding */
    html body .hero .hero-container .hero-layout .hero-content {
        grid-column: 1 !important;
        grid-row: 2 !important;
        position: relative !important;
        z-index: 2 !important;
        width: 100% !important;
        text-align: center !important;
        margin: 0 !important;
        padding: 0 6vw !important;
    }

    /* Force wrapping and scale text so it cannot run off the right side */
    .hero-title {
        white-space: normal !important;
        overflow-wrap: anywhere !important;
        word-break: break-word !important;
        font-size: clamp(20px, 6.5vw, 28px) !important;
        line-height: 1.2 !important;
        margin-bottom: 0.75rem !important;
    }

    .hero-subtitle {
        white-space: normal !important;
        overflow-wrap: anywhere !important;
        word-break: break-word !important;
        font-size: clamp(14px, 4.8vw, 18px) !important;
        line-height: 1.4 !important;
        margin-bottom: 0.75rem !important;
        padding: 0 4vw !important;
    }

    .hero-buttons .btn {
        font-size: clamp(12px, 4.5vw, 16px) !important;
        padding: clamp(8px, 2.8vw, 12px) clamp(14px, 6vw, 20px) !important;
    }
}

/* Desktop: 3-column grid so content centers; keep photo background */
html body .hero,
body .hero.hero {
    background: url("./border_background_photo.png") center/cover no-repeat !important;
    position: relative !important;
    overflow: visible !important;
}

html body .hero .hero-container {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    padding: clamp(16px, 3vw, 24px) !important;
}

html body .hero .hero-container .hero-layout {
    display: grid !important;
    grid-template-columns: minmax(140px, 24vw) 1fr minmax(140px, 24vw) !important;
    align-items: center !important;
    justify-items: stretch !important;
    gap: clamp(12px, 3vw, 24px) !important;
    position: relative !important;
    overflow: visible !important;
}

/* Logo stays left, content centered in middle column */
html body .hero .hero-container .hero-layout .hero-logo {
    grid-column: 1 !important;
    position: relative !important;
    left: auto !important;
    top: auto !important;
    transform: none !important;
    justify-self: start !important;
    margin-left: clamp(8px, 2vw, 20px) !important;
    align-self: center !important;
    z-index: 1 !important;
    pointer-events: none !important;
}

html body .hero .hero-container .hero-layout .hero-content {
    grid-column: 2 !important;
    position: relative !important;
    z-index: 2 !important;
    width: 100% !important;
    text-align: center !important;
    margin: 0 !important;
    padding: 0 !important;
}

html body .hero .hero-logo-img {
    width: clamp(120px, 22vw, 180px) !important;
    height: auto !important;
}

/* Mobile/tablets: stronger overrides, bigger breakpoint so phones definitely match */
@media (max-width: 900px) {
    /* Fit border to screen and prevent horizontal overflow */
    html, body {
        overflow-x: hidden !important;
    }
    html body .hero {
        background: url("./border_background_photo.png") center/contain no-repeat, #2d5016 !important;
    }

    /* Stack logo above content; kill any absolute positioning */
    html body .hero .hero-container .hero-layout {
        display: grid !important;
        grid-template-columns: 1fr !important;
        grid-auto-rows: auto !important;
        justify-items: center !important;
        align-items: center !important;
        gap: clamp(10px, 4vw, 18px) !important;
        position: relative !important;
        overflow: visible !important;
    }

    html body .hero .hero-container .hero-layout .hero-logo,
    html body .hero .hero-logo {
        grid-column: 1 !important;
        grid-row: 1 !important;
        position: relative !important;
        left: auto !important;
        top: auto !important;
        transform: none !important;
        justify-self: center !important;
        margin-left: 0 !important;
        z-index: 1 !important;
        pointer-events: none !important;
    }

    html body .hero .hero-container .hero-layout .hero-content {
        grid-column: 1 !important;
        grid-row: 2 !important;
        position: relative !important;
        z-index: 2 !important;
        width: 100% !important;
        text-align: center !important;
        margin: 0 !important;
        padding: 0 6vw !important;
    }

    /* Force wrapping and scale text so it cannot run off screen */
    html body .hero .hero-container .hero-layout .hero-content .hero-title,
    .hero-title {
        white-space: normal !important;
        overflow-wrap: anywhere !important;
        word-break: break-word !important;
        font-size: clamp(20px, 7vw, 28px) !important;
        line-height: 1.15 !important;
        margin-bottom: 0.75rem !important;
    }

    html body .hero .hero-container .hero-layout .hero-content .hero-subtitle,
    .hero-subtitle {
        white-space: normal !important;
        overflow-wrap: anywhere !important;
        word-break: break-word !important;
        font-size: clamp(14px, 5vw, 18px) !important;
        line-height: 1.4 !important;
        margin-bottom: 0.75rem !important;
        padding: 0 4vw !important;
    }

    .hero-buttons .btn {
        font-size: clamp(12px, 4.5vw, 16px) !important;
        padding: clamp(8px, 2.8vw, 12px) clamp(14px, 6vw, 20px) !important;
    }

    html body .hero .hero-logo-img {
        width: clamp(100px, 36vw, 140px) !important;
        height: auto !important;
    }
}



<File*>
```css
/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.nav-logo .logo {
    height: 50px;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #2d5016;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #4a7c59;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: #2d5016;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section - Responsive Grid Layout */
.hero {
    background: linear-gradient(135deg, #2d5016 0%, #4a7c59 100%);
    color: white;
    padding: 120px 0 80px;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-layout {
    display: grid !important;
    grid-template-columns: minmax(120px, clamp(140px, 22vw, 220px)) 1fr !important;
    align-items: center !important;
    justify-items: center !important;
    gap: clamp(12px, 3vw, 28px) !important;
    position: relative !important;
    overflow: visible !important;
    padding: clamp(40px, 8vw, 80px) 20px !important;
    min-height: 400px !important;
}

.hero,
.hero-container,
.hero .hero-container,
.hero .hero-container .hero-layout {
    position: relative !important;
    overflow: visible !important;
}

.hero .hero-container .hero-layout .hero-logo,
.hero .hero-container .hero-logo,
.hero-container .hero-layout .hero-logo,
.hero .hero-logo,
.hero-logo {
    position: relative !important;
    left: auto !important;
    top: auto !important;
    transform: none !important;
    grid-column: 1 !important;
    justify-self: start !important;
    align-self: center !important;
    margin-left: clamp(8px, 2vw, 20px) !important;
    z-index: 1 !important;
}

.hero .hero-logo-img,
.hero-container .hero-logo-img,
.hero-logo-img {
    width: clamp(120px, 22vw, 180px) !important;
    height: auto !important;
}

@media (max-width: 768px) {
    .hero-layout {
        grid-template-columns: 1fr !important;
        grid-auto-rows: auto !important;
        justify-items: center !important;
    }

    .hero .hero-container .hero-layout .hero-logo,
    .hero .hero-container .hero-logo,
    .hero-container .hero-layout .hero-logo,
    .hero .hero-logo,
    .hero-logo {
        grid-column: 1 !important;
        justify-self: center !important;
        margin-left: 0 !important;
    }

    .hero .hero-logo-img,
    .hero-container .hero-logo-img,
    .hero-logo-img {
        width: clamp(110px, 32vw, 150px) !important;
    }
}

@media (max-width: 480px) {
    .hero .hero-logo-img,
    .hero-container .hero-logo-img,
    .hero-logo-img {
        width: clamp(100px, 36vw, 140px) !important;
    }
}

.hero-content {
    position: static !important;
    width: 100% !important;
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    padding: 0 !important;
    margin: 0 !important;
    z-index: 10 !important;
}

.hero-title {
    white-space: nowrap !important;
    font-size: 3rem !important;
    margin-bottom: 1rem !important;
    text-align: center !important;
    width: 100% !important;
    font-weight: 700;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    text-align: center !important;
    margin-bottom: 2rem !important;
    width: 100% !important;
    opacity: 0.9;
}

.hero-buttons {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 1rem !important;
    flex-wrap: wrap !important;
    width: 100% !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-layout {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-logo {
        flex: none;
    }
    
    .hero-logo-img {
        width: 200px;
    }
    
    .hero-content {
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        justify-content: center;
        flex-direction: column;
        align-items: center;
    }
    
    .hero-buttons .btn {
        width: 250px;
    }
}

@media (max-width: 480px) {
    .hero-logo-img {
        width: 150px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: #fff;
    color: #2d5016;
    border-color: #fff;
}

.btn-primary:hover {
    background: transparent;
    color: #fff;
    border-color: #fff;
}

.btn-secondary {
    background: transparent;
    color: #fff;
    border-color: #fff;
}

.btn-secondary:hover {
    background: #fff;
    color: #2d5016;
}

.btn-full {
    width: 100%;
}

/* Services Section */
.services {
    padding: 80px 0;
    background: #f8f9fa;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    color: #2d5016;
    margin-bottom: 1rem;
    font-weight: 700;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: #2d5016;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.service-icon i {
    font-size: 2rem;
    color: white;
}

.service-title {
    font-size: 1.5rem;
    color: #2d5016;
    margin-bottom: 1rem;
    font-weight: 600;
}

.service-description {
    color: #666;
    line-height: 1.6;
}

/* About Section */
.about {
    padding: 80px 0;
    background: white;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-description {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.feature {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: #2d5016;
    font-weight: 500;
}

.feature i {
    color: #4a7c59;
}

/* FAQ Section */
.faq {
    padding: 80px 0;
    background: #f8f9fa;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    margin-bottom: 1rem;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.faq-question {
    padding: 1.5rem;
    background: white;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: #f8f9fa;
}

.faq-question h3 {
    color: #2d5016;
    font-weight: 600;
    margin: 0;
}

.faq-question i {
    color: #2d5016;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 1.5rem;
    max-height: 200px;
}

.faq-answer p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background: white;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: #2d5016;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon i {
    color: white;
    font-size: 1.5rem;
}

.contact-details h3 {
    color: #2d5016;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.contact-details p {
    color: #666;
    line-height: 1.6;
}

.contact-details a {
    color: #2d5016;
    text-decoration: none;
}

.contact-details a:hover {
    text-decoration: underline;
}

/* Form Styles */
.contact-form {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e9ecef;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2d5016;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Footer */
.footer {
    background: #2d5016;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo .logo {
    height: 40px;
    margin-bottom: 1rem;
}

.footer-logo p {
    opacity: 0.8;
    line-height: 1.6;
}

.footer-links h4,
.footer-contact h4 {
    margin-bottom: 1rem;
    font-weight: 600;
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 0.5rem;
}

.footer-links ul li a {
    color: white;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-links ul li a:hover {
    opacity: 1;
}

.footer-contact a {
    color: white;
    text-decoration: none;
    opacity: 0.8;
}

.footer-contact a:hover {
    opacity: 1;
    text-decoration: underline;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.2);
    padding-top: 1rem;
    text-align: center;
    opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        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 .bar:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-buttons .btn {
        width: 250px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .about-features {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        padding: 1.5rem;
    }

    .container {
        padding: 0 15px;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-card,
.faq-item,
.contact-item {
    animation: fadeInUp 0.6s ease forwards;
}