/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #2d2d2d;
    overflow-x: hidden;
    background-color: #fafdfa;
}

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

/* Header and Navigation */
.header {
    background: #2d5a27;
    color: white;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 2px 20px rgba(45, 90, 39, 0.2);
}

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

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: #8bc34a;
    text-transform: lowercase;
    letter-spacing: 1px;
}

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

.nav-menu a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
    position: relative;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: #8bc34a;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #8bc34a;
    transition: width 0.3s ease;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

/* Mobile menu toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* Main content */
.main {
    margin-top: 80px;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    overflow: hidden;
}

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

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.4) contrast(1.2);
}

.hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(45, 90, 39, 0.8) 0%, rgba(74, 124, 89, 0.6) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}

.nature-elements {
    position: relative;
    z-index: 2;
}

.leaf {
    position: absolute;
    width: 60px;
    height: 60px;
    background: rgba(139, 195, 74, 0.3);
    border-radius: 50% 0 50% 0;
    animation: float 6s ease-in-out infinite;
}

.leaf-1 {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.leaf-2 {
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.leaf-3 {
    bottom: 20%;
    left: 20%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

.hero h2 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.cta-button {
    background: #8bc34a;
    color: white;
    border: none;
    padding: 18px 40px;
    font-size: 1.2rem;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(139, 195, 74, 0.4);
    text-decoration: none;
    display: inline-block;
}

.cta-button:hover {
    background: #689f38;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 195, 74, 0.6);
}

.secondary-button {
    background: transparent;
    color: #2d5a27;
    border: 2px solid #2d5a27;
    padding: 16px 32px;
    font-size: 1.1rem;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    display: inline-block;
}

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

/* Page Hero (for new pages) */
.page-hero {
    position: relative;
    background: linear-gradient(135deg, #4a7c59 0%, #2d5a27 100%);
    color: white;
    text-align: center;
    padding: 100px 20px;
    overflow: hidden;
}

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

.page-hero .hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.3) contrast(1.2);
}

.page-hero .hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(45, 90, 39, 0.8) 0%, rgba(74, 124, 89, 0.7) 100%);
    z-index: 1;
}

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

.page-hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-hero p {
    font-size: 1.2rem;
    opacity: 0.9;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Sections */
.about, .services, .portfolio, .contact {
    padding: 100px 0;
}

.about {
    background: #f8faf8;
}

.about h2, .services h2, .portfolio h2, .contact h2 {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 3rem;
    color: #2d5a27;
    font-weight: 700;
    position: relative;
}

.about h2::after, .services h2::after, .portfolio h2::after, .contact h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #8bc34a, #4a7c59);
    border-radius: 2px;
}

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

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 1.5rem;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.feature {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    border-left: 4px solid #8bc34a;
}

.feature-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.feature h3 {
    color: #2d5a27;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.feature p {
    color: #666;
    font-size: 0.9rem;
    margin: 0;
}

.about-cta, .services-cta, .portfolio-cta {
    text-align: center;
    margin-top: 3rem;
}

/* Services grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
}

.service-card {
    background: white;
    padding: 3rem 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    text-align: center;
    transition: all 0.4s ease;
    border: 1px solid #f0f0f0;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #8bc34a, #4a7c59);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

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

.service-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.service-card h3 {
    color: #2d5a27;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    font-weight: 600;
}

.service-card p {
    color: #666;
    line-height: 1.7;
    font-size: 1.1rem;
}

/* Portfolio section */
.portfolio {
    background: #f8faf8;
}

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

.portfolio-item {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.4s ease;
}

.portfolio-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.portfolio-image {
    height: 250px;
    background: linear-gradient(135deg, #8bc34a, #4a7c59);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
}

.portfolio-item h3 {
    color: #2d5a27;
    margin: 1.5rem 1.5rem 1rem;
    font-size: 1.5rem;
}

.portfolio-item p {
    color: #666;
    margin: 0 1.5rem 1.5rem;
    line-height: 1.6;
}

/* Contact form */
.contact-intro {
    text-align: center;
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 3rem;
    color: #555;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.contact-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.contact-details h3 {
    color: #2d5a27;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.contact-details p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.contact-details a {
    color: #8bc34a;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-details a:hover {
    color: #689f38;
}

.contact-cta {
    text-align: center;
    margin-top: 3rem;
}

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

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

.footer-section h3, .footer-section h4 {
    color: #8bc34a;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
    color: #e0e0e0;
}

.footer-section ul li a {
    color: #e0e0e0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #8bc34a;
}

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

/* New page styles */
.about-content-detailed {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start;
}

.about-text-main h2 {
    color: #2d5a27;
    margin-bottom: 1rem;
    font-size: 2rem;
    text-align: left;
}

.about-text-main h2::after {
    display: none;
}

.about-text-main p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 2rem;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #8bc34a;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #666;
    font-size: 1rem;
}

.team-values {
    background: #f8faf8;
    padding: 100px 0;
}

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

.value-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.value-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.value-card h3 {
    color: #2d5a27;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.value-card p {
    color: #666;
    line-height: 1.6;
}

/* Services detailed page */
.services-detailed {
    padding: 100px 0;
}

.service-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 6rem;
}

.service-detail.reverse {
    direction: rtl;
}

.service-detail.reverse .service-content {
    direction: ltr;
}

.service-icon-large {
    font-size: 4rem;
    margin-bottom: 2rem;
}

.service-content h2 {
    color: #2d5a27;
    margin-bottom: 1.5rem;
    font-size: 2.5rem;
    text-align: left;
}

.service-content h2::after {
    display: none;
}

.service-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 2rem;
}

.service-features {
    list-style: none;
}

.service-features li {
    padding: 0.5rem 0;
    color: #666;
    position: relative;
    padding-left: 1.5rem;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #8bc34a;
    font-weight: bold;
}

.service-image {
    height: 400px;
    background: linear-gradient(135deg, #8bc34a, #4a7c59);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
}

.process-section {
    background: #f8faf8;
    padding: 100px 0;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.process-step {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.step-number {
    width: 60px;
    height: 60px;
    background: #8bc34a;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 1.5rem;
}

.process-step h3 {
    color: #2d5a27;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.process-step p {
    color: #666;
    line-height: 1.6;
}

/* Portfolio detailed page */
.portfolio-categories {
    background: #f8faf8;
    padding: 50px 0;
}

.category-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.filter-btn {
    background: white;
    border: 2px solid #2d5a27;
    color: #2d5a27;
    padding: 12px 24px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.filter-btn.active,
.filter-btn:hover {
    background: #2d5a27;
    color: white;
}

.portfolio-showcase {
    padding: 100px 0;
}

.portfolio-grid-detailed {
    display: grid;
    gap: 4rem;
}

.portfolio-item-detailed {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    transition: all 0.4s ease;
}

.portfolio-item-detailed:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
}

.portfolio-image-large {
    height: 300px;
    background: linear-gradient(135deg, #8bc34a, #4a7c59);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
}

.portfolio-content {
    padding: 2rem;
}

.portfolio-content h3 {
    color: #2d5a27;
    margin-bottom: 0.5rem;
    font-size: 1.8rem;
}

.portfolio-location {
    color: #8bc34a;
    font-weight: 500;
    margin-bottom: 1rem;
}

.portfolio-description {
    color: #666;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.portfolio-features {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.feature-tag {
    background: #f0f8f0;
    color: #2d5a27;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.testimonials {
    background: #f8faf8;
    padding: 100px 0;
}

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

.testimonial {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

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

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

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

/* Contact page styles */
.contact-main {
    padding: 100px 0;
}

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

.contact-info-detailed h2 {
    color: #2d5a27;
    margin-bottom: 1rem;
    font-size: 2.5rem;
    text-align: left;
}

.contact-info-detailed h2::after {
    display: none;
}

.contact-info-detailed p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #555;
    margin-bottom: 2rem;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-method {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.5rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.contact-icon-large {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.contact-details h3 {
    color: #2d5a27;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.contact-details p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.contact-details a {
    color: #8bc34a;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-details a:hover {
    color: #689f38;
}

.contact-map {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.map-placeholder {
    text-align: center;
    color: #666;
}

.map-placeholder h3 {
    color: #2d5a27;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.transport-info {
    margin-top: 1.5rem;
    text-align: left;
}

.transport-item {
    margin-bottom: 0.5rem;
    padding: 0.5rem 0;
}

.consultation-info {
    background: #f8faf8;
    padding: 100px 0;
}

.consultation-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.consultation-step {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.step-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.consultation-step h3 {
    color: #2d5a27;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.consultation-step p {
    color: #666;
    line-height: 1.6;
}

.consultation-cta {
    text-align: center;
    margin-top: 3rem;
}

.consultation-cta p {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 2rem;
}

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

.faq-section {
    padding: 100px 0;
}

.faq-grid {
    display: grid;
    gap: 2rem;
    margin-top: 3rem;
}

.faq-item {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.faq-item h3 {
    color: #2d5a27;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.faq-item p {
    color: #666;
    line-height: 1.6;
}

.cta-section {
    background: linear-gradient(135deg, #4a7c59 0%, #2d5a27 100%);
    color: white;
    text-align: center;
    padding: 100px 20px;
}

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

.cta-section h2::after {
    display: none;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

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

/* Animation classes */
.animate-in {
    animation: fadeInUp 0.8s ease forwards;
}

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

/* Loading animation */
body:not(.loaded) .main {
    opacity: 0;
}

body.loaded .main {
    opacity: 1;
    transition: opacity 0.5s ease;
}

/* Touch device optimizations */
.touch-device button,
.touch-device a,
.touch-device input,
.touch-device textarea {
    min-height: 44px;
    min-width: 44px;
}

/* Desktop Styles (1200px and above) */
@media (min-width: 1200px) {
    .hero-content h2 {
        font-size: 4rem;
    }
    
    .hero-content p {
        font-size: 1.4rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 3rem;
    }
    
    .portfolio-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .service-card {
        padding: 3.5rem 2.5rem;
    }
}

/* Tablet Styles (768px - 1199px) */
@media (max-width: 1199px) and (min-width: 768px) {
    .hero-content h2 {
        font-size: 3rem;
    }
    
    .hero-content p {
        font-size: 1.2rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about h2, .services h2, .portfolio h2, .contact h2 {
        font-size: 2.5rem;
    }
}

/* Mobile Styles (up to 767px) */
@media (max-width: 767px) {
    /* Header adjustments */
    .nav-container {
        padding: 1rem;
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-menu {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
        text-align: center;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    
    .nav-menu.active {
        max-height: 300px;
    }
    
    .nav-menu a {
        padding: 0.8rem 1rem;
        border-radius: 5px;
        transition: all 0.3s ease;
        display: block;
        width: 100%;
    }
    
    .nav-menu a:hover {
        background-color: rgba(139, 195, 74, 0.2);
        color: #8bc34a;
    }
    
    /* Mobile menu toggle */
    .mobile-menu-toggle {
        display: flex;
        position: absolute;
        right: 1rem;
        top: 1rem;
    }
    
    /* Hero section */
    .hero {
        padding: 80px 20px;
        min-height: 80vh;
    }
    
    .hero-content h2 {
        font-size: 2.2rem;
        margin-bottom: 1rem;
    }
    
    .hero-content p {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .cta-button {
        padding: 15px 30px;
        font-size: 1rem;
    }
    
    /* Page hero */
    .page-hero {
        padding: 80px 20px;
    }
    
    .page-hero h1 {
        font-size: 2.5rem;
    }
    
    .page-hero p {
        font-size: 1.1rem;
    }
    
    /* Sections */
    .about, .services, .portfolio, .contact {
        padding: 60px 0;
    }
    
    .about h2, .services h2, .portfolio h2, .contact h2 {
        font-size: 2.2rem;
        margin-bottom: 2rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-content-detailed {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
    }
    
    /* Services grid */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: 2rem;
        padding: 0 20px;
    }
    
    .service-card {
        padding: 2rem 1.5rem;
    }
    
    .service-card h3 {
        font-size: 1.5rem;
    }
    
    .service-detail {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-bottom: 4rem;
    }
    
    .service-detail.reverse {
        direction: ltr;
    }
    
    .service-image {
        height: 250px;
    }
    
    /* Portfolio grid */
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 20px;
    }
    
    .portfolio-grid-detailed {
        gap: 2rem;
    }
    
    .portfolio-image-large {
        height: 200px;
    }
    
    .category-filters {
        gap: 0.5rem;
    }
    
    .filter-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    /* Contact info */
    .contact-info {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 20px;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-methods {
        gap: 1.5rem;
    }
    
    .contact-method {
        padding: 1rem;
    }
    
    .consultation-steps {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 20px;
    }
    
    .faq-grid {
        gap: 1.5rem;
        padding: 0 20px;
    }
    
    /* Container adjustments */
    .container {
        padding: 0 15px;
    }
}

/* Small Mobile Styles (up to 480px) */
@media (max-width: 480px) {
    .hero-content h2 {
        font-size: 1.8rem;
    }
    
    .hero-content p {
        font-size: 0.9rem;
    }
    
    .page-hero h1 {
        font-size: 2rem;
    }
    
    .page-hero p {
        font-size: 1rem;
    }
    
    .about h2, .services h2, .portfolio h2, .contact h2 {
        font-size: 1.8rem;
    }
    
    .service-card {
        padding: 1.5rem 1rem;
    }
    
    .service-card h3 {
        font-size: 1.3rem;
    }
    
    .cta-button {
        padding: 12px 25px;
        font-size: 0.9rem;
    }
    
    .secondary-button {
        padding: 12px 25px;
        font-size: 0.9rem;
    }
    
    .nav-container {
        padding: 0.8rem;
    }
    
    .mobile-menu-toggle {
        right: 0.8rem;
        top: 0.8rem;
    }
    
    .contact-buttons,
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

/* Landscape Mobile Styles */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        min-height: 100vh;
        padding: 60px 20px;
    }
    
    .hero-content h2 {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
    }
    
    .nav-container {
        flex-direction: row;
        gap: 2rem;
    }
    
    .nav-menu {
        flex-direction: row;
        max-height: none;
    }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .hero {
        background: linear-gradient(135deg, #4a7c59 0%, #2d5a27 100%);
    }
}

/* Print styles */
@media print {
    .header, .footer, .cta-button, .contact-form button {
        display: none;
    }
    
    .main {
        margin-top: 0;
    }
    
    .hero {
        background: white !important;
        color: black !important;
        padding: 20px;
    }
    
    .service-card, .portfolio-item {
        box-shadow: none;
        border: 1px solid #ccc;
        break-inside: avoid;
    }
}

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

/* Focus styles for better accessibility */
button:focus,
input:focus,
textarea:focus,
a:focus {
    outline: 2px solid #8bc34a;
    outline-offset: 2px;
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    body {
        background-color: #1a1a1a;
        color: #e0e0e0;
    }
    
    .about, .portfolio {
        background: #2a2a2a;
    }
    
    .service-card, .portfolio-item {
        background: #2a2a2a;
        border-color: #404040;
    }
    
    .contact-form input,
    .contact-form textarea {
        background: #2a2a2a;
        border-color: #404040;
        color: #e0e0e0;
    }
}

/* Portfolio Images */
.portfolio-image img,
.portfolio-image-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.portfolio-image img:hover,
.portfolio-image-large img:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(45, 90, 39, 0.3);
}

/* Service Images */
.service-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-image img:hover {
    transform: scale(1.02);
    box-shadow: 0 15px 40px rgba(45, 90, 39, 0.2);
}

/* Responsive Images */
@media (max-width: 767px) {
    .hero h2 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .service-image img {
        height: 250px;
    }
}

@media (max-width: 480px) {
    .hero h2 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .service-image img {
        height: 200px;
    }
}

/* 404 Error Page Styles */
.error-404 {
    padding: 80px 20px;
    text-align: center;
    background: linear-gradient(135deg, #fafdfa 0%, #e8f5e8 100%);
    min-height: 70vh;
    display: flex;
    align-items: center;
}

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

.error-number {
    font-size: 8rem;
    font-weight: 900;
    color: #2d5a27;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 1rem;
    line-height: 1;
}

.error-404 h1 {
    font-size: 2.5rem;
    color: #2d5a27;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.error-404 p {
    font-size: 1.2rem;
    color: #4a7c59;
    margin-bottom: 2rem;
    line-height: 1.6;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.error-actions {
    margin-bottom: 3rem;
}

.error-actions .cta-button {
    margin-right: 1rem;
    margin-bottom: 1rem;
    display: inline-block;
}

.error-suggestions {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(45, 90, 39, 0.1);
    margin-bottom: 2rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.error-suggestions h3 {
    color: #2d5a27;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.error-suggestions ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.error-suggestions li {
    margin-bottom: 0.5rem;
}

.error-suggestions a {
    color: #4a7c59;
    text-decoration: none;
    transition: color 0.3s ease;
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    background: #f0f8f0;
}

.error-suggestions a:hover {
    color: #2d5a27;
    background: #e0f0e0;
}

.error-image {
    margin-top: 2rem;
}

.error-image img {
    max-width: 300px;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(45, 90, 39, 0.2);
    transition: transform 0.3s ease;
}

.error-image img:hover {
    transform: scale(1.05);
}

/* Responsive 404 */
@media (max-width: 767px) {
    .error-404 {
        padding: 60px 20px;
    }
    
    .error-number {
        font-size: 6rem;
    }
    
    .error-404 h1 {
        font-size: 2rem;
    }
    
    .error-404 p {
        font-size: 1.1rem;
    }
    
    .error-actions .cta-button {
        display: block;
        margin: 0 auto 1rem auto;
        width: 100%;
        max-width: 250px;
    }
    
    .error-image img {
        max-width: 250px;
    }
}

@media (max-width: 480px) {
    .error-404 {
        padding: 40px 20px;
    }
    
    .error-number {
        font-size: 4rem;
    }
    
    .error-404 h1 {
        font-size: 1.8rem;
    }
    
    .error-404 p {
        font-size: 1rem;
    }
    
    .error-suggestions {
        padding: 1.5rem;
    }
    
    .error-image img {
        max-width: 200px;
    }
}

/* Privacy Policy and Terms & Conditions Page Styles */
.policy-content,
.terms-content {
    padding: 60px 20px;
    background: #fafdfa;
}

.policy-text,
.terms-text {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(45, 90, 39, 0.1);
    line-height: 1.7;
}

.last-updated {
    color: #4a7c59;
    font-style: italic;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e0f0e0;
}

.policy-text h2,
.terms-text h2 {
    color: #2d5a27;
    font-size: 1.8rem;
    margin: 2.5rem 0 1rem 0;
    padding-top: 1rem;
    border-top: 1px solid #e0f0e0;
}

.policy-text h2:first-of-type,
.terms-text h2:first-of-type {
    border-top: none;
    margin-top: 0;
}

.policy-text h3,
.terms-text h3 {
    color: #4a7c59;
    font-size: 1.4rem;
    margin: 2rem 0 1rem 0;
}

.policy-text h4,
.terms-text h4 {
    color: #4a7c59;
    font-size: 1.2rem;
    margin: 1.5rem 0 0.8rem 0;
}

.policy-text p,
.terms-text p {
    color: #333;
    margin-bottom: 1rem;
}

.policy-text ul,
.terms-text ul {
    margin: 1rem 0 1.5rem 2rem;
}

.policy-text li,
.terms-text li {
    color: #333;
    margin-bottom: 0.5rem;
}

.policy-text strong,
.terms-text strong {
    color: #2d5a27;
}

.policy-text a,
.terms-text a {
    color: #4a7c59;
    text-decoration: none;
    border-bottom: 1px solid #4a7c59;
    transition: all 0.3s ease;
}

.policy-text a:hover,
.terms-text a:hover {
    color: #2d5a27;
    border-bottom-color: #2d5a27;
}

/* Responsive Policy/Terms */
@media (max-width: 767px) {
    .policy-content,
    .terms-content {
        padding: 40px 20px;
    }
    
    .policy-text,
    .terms-text {
        padding: 2rem;
        margin: 0 10px;
    }
    
    .policy-text h2,
    .terms-text h2 {
        font-size: 1.6rem;
    }
    
    .policy-text h3,
    .terms-text h3 {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .policy-content,
    .terms-content {
        padding: 30px 15px;
    }
    
    .policy-text,
    .terms-text {
        padding: 1.5rem;
        margin: 0 5px;
    }
    
    .policy-text h2,
    .terms-text h2 {
        font-size: 1.4rem;
    }
    
    .policy-text h3,
    .terms-text h3 {
        font-size: 1.2rem;
    }
    
    .policy-text ul,
    .terms-text ul {
        margin-left: 1rem;
    }
}
