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

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

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

/* Color Variables */
:root {
    --primary-color: #2E7D32;
    --secondary-color: #FFA000;
    --accent-color: #4CAF50;
    --text-dark: #2C2C2C;
    --text-light: #666;
    --white: #FFFFFF;
    --light-bg: #F8F9FA;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow);
}

.navbar {
    padding: 1rem 0;
}

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

.nav-logo h2 {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.5rem;
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

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

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(46, 125, 50, 0.7), rgba(46, 125, 50, 0.7)), 
                url('/placeholder.svg?height=1080&width=1920') center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    position: relative;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(46, 125, 50, 0.8), rgba(255, 160, 0, 0.3));
}

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

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

.hero-subtitle {
    font-size: 2rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

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

/* Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 1rem;
}

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

.btn-primary:hover {
    background: #FF8F00;
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

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

.btn-whatsapp {
    background: #25D366;
    color: var(--white);
}

.btn-whatsapp:hover {
    background: #128C7E;
}

/* Section Styles */
section {
    padding: 5rem 0;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

section.animate {
    opacity: 1;
    transform: translateY(0);
}

/* Privacy Policy and Thank You pages should be visible immediately */
.privacy-policy-page,
.thank-you-page {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 700;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* About Section */
.about {
    background: var(--light-bg);
}

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

.about-text p {
    margin-bottom: 1.5rem;
    color: var(--text-light);
    font-size: 1.1rem;
}

/* About Stats - Better alignment */
.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
    text-align: center;
}

@media (max-width: 480px) {
    .about-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

.stat {
    text-align: center;
}

.stat h3 {
    font-size: 2rem;
    color: var(--primary-color);
    font-weight: 700;
}

.stat p {
    color: var(--text-light);
    font-weight: 500;
}

.about-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

/* Services Section */
/* Services Section - Fix alignment */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    align-items: stretch; /* Ensure equal heights */
}

.service-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%; /* Ensure equal heights */
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.service-icon i {
    font-size: 2rem;
    color: var(--white);
}

.service-card p {
    color: var(--text-light);
    line-height: 1.6;
    flex-grow: 1; /* Push content to fill available space */
}

/* Why Choose Us Section */
.why-choose {
    background: var(--light-bg);
}

/* Why Choose Us Section - Better 6-item layout */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Force 3 columns */
    gap: 2rem;
    align-items: start;
}

@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columns on tablet */
    }
}

@media (max-width: 480px) {
    .features-grid {
        grid-template-columns: 1fr; /* Single column on mobile */
    }
}

.feature {
    text-align: center;
    padding: 1.5rem;
}

.feature i {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.feature h3 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.feature p {
    color: var(--text-light);
}

/* Testimonials Section */
/* Testimonials Section - Better 3-item layout */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    align-items: stretch;
}

.testimonial {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.testimonial-content {
    margin-bottom: 1.5rem;
    flex-grow: 1; /* Push author info to bottom */
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-author h4 {
    color: var(--primary-color);
    font-weight: 600;
}

.testimonial-author span {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Gallery Section */
.gallery {
    background: var(--light-bg);
}

/* Gallery Section - Better 6-item layout */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Force 3 columns */
    gap: 1.5rem;
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columns on tablet */
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr; /* Single column on mobile */
    }
}

.gallery-item {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-hover);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

/* CTA Banner */
.cta-banner {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--white);
    text-align: center;
    padding: 4rem 0;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

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

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

/* Contact Section */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-item i {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.contact-item h3 {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.contact-item a {
    color: var(--text-light);
    text-decoration: none;
}

.contact-item a:hover {
    color: var(--primary-color);
}

.contact-form {
    background: var(--light-bg);
    padding: 2rem;
    border-radius: 15px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #E0E0E0;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.map-container {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

/* Footer */
/* Footer - Better 4-column layout */
.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr; /* Better proportions */
    gap: 2rem;
    margin-bottom: 2rem;
    align-items: start;
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr); /* 2 columns on tablet */
    }
}

@media (max-width: 480px) {
    .footer-content {
        grid-template-columns: 1fr; /* Single column on mobile */
    }
}

.footer {
    background: var(--text-dark);
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer-section h3 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

.footer-section p {
    color: #CCC;
    line-height: 1.6;
    margin-bottom: 1rem;
}

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

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

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

.footer-section ul li a:hover {
    color: var(--secondary-color);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

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

/* Floating Buttons */
.floating-buttons {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    z-index: 1000;
}

.floating-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.5rem;
    box-shadow: var(--shadow-hover);
    transition: all 0.3s ease;
}

.call-btn {
    background: var(--secondary-color);
    color: var(--white);
}

.whatsapp-btn {
    background: #25D366;
    color: var(--white);
}

.floating-btn:hover {
    transform: scale(1.1);
}

/* Popup Styles */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 20px;
}

.popup-content {
    background: var(--white);
    border-radius: 15px;
    width: 100%;
    max-width: 500px;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid #E0E0E0;
    position: sticky;
    top: 0;
    background: var(--white);
    border-radius: 15px 15px 0 0;
    z-index: 1;
}

.popup-header h3 {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.2rem;
}

.close-popup {
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--text-light);
    cursor: pointer;
    transition: color 0.3s ease;
    padding: 5px;
    line-height: 1;
    min-width: 30px;
    min-height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-popup:hover {
    color: var(--primary-color);
}

.popup-form {
    padding: 1.5rem;
}

.popup-form .form-group {
    margin-bottom: 1.2rem;
}

.popup-form input,
.popup-form select,
.popup-form textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #E0E0E0;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.popup-form input:focus,
.popup-form select:focus,
.popup-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* Mobile-specific popup styles */
@media (max-width: 768px) {
    .popup-overlay {
        padding: 15px;
    }
    
    .popup-content {
        width: 95%;
        max-width: 400px;
        max-height: 80vh;
    }
    
    .popup-header {
        padding: 1.2rem 1.5rem;
    }
    
    .popup-form {
        padding: 1.2rem 1.5rem 1.5rem;
    }
    
    .popup-form input,
    .popup-form select,
    .popup-form textarea {
        font-size: 16px; /* Prevents zoom on iOS */
        padding: 1.1rem;
    }
    
    .popup-form .btn {
        width: 100%;
        padding: 1.1rem;
        font-size: 1rem;
        margin-top: 0.5rem;
    }
}

@media (max-width: 480px) {
    .popup-overlay {
        padding: 10px;
    }
    
    .popup-content {
        width: 98%;
        max-width: none;
        margin: 0 auto;
    }
    
    .popup-header {
        padding: 1rem 1.2rem;
    }
    
    .popup-header h3 {
        font-size: 1.1rem;
    }
    
    .popup-form {
        padding: 1rem 1.2rem 1.3rem;
    }
    
    .popup-form .form-group {
        margin-bottom: 1rem;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow);
        padding: 2rem 0;
    }

    .nav-menu.show {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

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

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

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

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

    .about-stats {
        justify-content: center;
    }

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

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

    .floating-buttons {
        bottom: 80px;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .cta-content h2 {
        font-size: 2rem;
    }
}

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

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

    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }

    .service-card,
    .testimonial {
        padding: 1.5rem;
    }

    .floating-buttons {
        bottom: 20px;
    }
}

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

.animate {
    animation: fadeInUp 0.6s ease forwards;
}

/* Privacy Policy Page Styles */
.privacy-policy-page {
    padding: 8rem 0 5rem;
    background: var(--light-bg);
    min-height: 100vh;
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.policy-header {
    text-align: center;
    margin-bottom: 3rem;
}

.policy-header h1 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 700;
}

.last-updated {
    color: var(--text-light);
    font-style: italic;
}

.policy-content {
    max-width: 800px;
    margin: 0 auto;
    background: var(--white);
    padding: 3rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.policy-section {
    margin-bottom: 2.5rem;
}

.policy-section h2 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.policy-section p {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.policy-section ul {
    margin: 1rem 0;
    padding-left: 2rem;
}

.policy-section li {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.contact-details {
    background: var(--light-bg);
    padding: 1.5rem;
    border-radius: 10px;
    margin-top: 1rem;
}

.contact-details p {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.contact-details a {
    color: var(--primary-color);
    text-decoration: none;
}

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

.policy-footer {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #E0E0E0;
}

.policy-footer p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-style: italic;
}

/* Simple Thank You Page Styles */
.simple-thank-you-page {
    padding: 10rem 0 8rem;
    background: var(--light-bg);
    min-height: 80vh;
    opacity: 1 !important;
    transform: translateY(0) !important;
    display: flex;
    align-items: center;
}

.simple-thank-you-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    background: var(--white);
    padding: 4rem 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.simple-thank-you-content .success-icon {
    font-size: 4rem;
    color: #28a745;
    margin-bottom: 2rem;
}

.simple-thank-you-content h1 {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.simple-thank-you-content .thank-you-message {
    font-size: 1.2rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 3rem;
}

.simple-thank-you-content .contact-info {
    background: var(--light-bg);
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 3rem;
}

.simple-thank-you-content .contact-info p {
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.simple-thank-you-content .contact-info a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.simple-thank-you-content .contact-info a:hover {
    text-decoration: underline;
}

.simple-thank-you-content .action-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.simple-thank-you-content .action-buttons .btn {
    padding: 1rem 2rem;
    min-width: 180px;
}

/* Mobile Responsive for Simple Thank You Page */
@media (max-width: 768px) {
    .simple-thank-you-content {
        padding: 3rem 2rem;
        margin: 0 1rem;
        text-align: left; /* Change from center to left on mobile */
    }
    
    .simple-thank-you-content h1 {
        font-size: 2.5rem;
        text-align: center; /* Keep title centered */
    }
    
    .simple-thank-you-content .success-icon {
        text-align: center; /* Keep icon centered */
    }
    
    .simple-thank-you-content .thank-you-message {
        text-align: left; /* Left align the message text */
    }
    
    .simple-thank-you-content .contact-info {
        text-align: left; /* Left align contact info */
    }
    
    .simple-thank-you-content .action-buttons {
        flex-direction: column;
        align-items: center;
        text-align: center; /* Keep buttons centered */
    }
    
    .simple-thank-you-content .action-buttons .btn {
        width: 100%;
        max-width: 250px;
    }
}

@media (max-width: 480px) {
    .simple-thank-you-page {
        padding: 8rem 0 6rem;
    }
    
    .simple-thank-you-content {
        padding: 2.5rem 1.5rem;
        margin: 0 0.5rem;
        text-align: left; /* Left align on small mobile */
    }
    
    .simple-thank-you-content h1 {
        font-size: 2rem;
        text-align: center; /* Keep title centered */
    }
    
    .simple-thank-you-content .success-icon {
        font-size: 3rem;
        text-align: center; /* Keep icon centered */
    }
    
    .simple-thank-you-content .thank-you-message {
        text-align: left; /* Left align message */
    }
    
    .simple-thank-you-content .contact-info {
        padding: 1.5rem;
        text-align: left; /* Left align contact info */
    }
    
    .simple-thank-you-content .action-buttons {
        text-align: center; /* Keep buttons centered */
    }
}

/* Print Styles */
@media print {
    .header,
    .floating-buttons,
    .popup-overlay {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    .hero {
        height: auto;
        padding: 2rem 0;
    }
}
