/* General Styles */
:root {
    --primary-color: #7FA746;
    --secondary-color: #FFFFFF;
    --dark-color: #000000;
    --light-bg: #f8f9fa;
    --text-color: #333333;
}

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

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Top Bar */
.top-bar {
    background-color: var(--dark-color);
    padding: 10px 0;
    font-size: 14px;
}

.top-bar .contact-info span {
    color: var(--secondary-color);
    margin-right: 20px;
}

.top-bar .contact-info i {
    color: var(--primary-color);
    margin-right: 5px;
}

.top-bar .social-links a {
    color: var(--secondary-color);
    margin-left: 15px;
    transition: color 0.3s;
}

.top-bar .social-links a:hover {
    color: var(--primary-color);
}

/* Partner Logo Top */
.partner-logo-top {
    background-color: var(--light-bg);
    border-bottom: 2px solid var(--primary-color);
}

/* Navigation */
.navbar {
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 15px 0;
}

.navbar-brand .logo {
    max-height: 60px;
}

.navbar-nav .nav-link {
    font-weight: 500;
    margin: 0 10px;
    color: var(--text-color);
    transition: color 0.3s;
    position: relative;
}

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

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

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 80%;
}

.dropdown-menu {
    border: none;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    border-top: 3px solid var(--primary-color);
}

.dropdown-item {
    padding: 10px 20px;
    transition: all 0.3s;
}

.dropdown-item:hover {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    padding-left: 25px;
}

/* Hero Slider */
.hero-slider {
    position: relative;
}

.hero-slide {
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.hero-content {
    text-align: center;
    z-index: 2;
}

.hero-content h1 {
    animation: fadeInUp 1s ease;
    margin-bottom: 20px;
}

.hero-content p {
    animation: fadeInUp 1.3s ease;
    margin-bottom: 30px;
}

.hero-content .btn {
    animation: fadeInUp 1.6s ease;
}

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

.owl-carousel .owl-nav button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(127, 167, 70, 0.8) !important;
    color: white !important;
    font-size: 30px !important;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    transition: all 0.3s;
}

.owl-carousel .owl-nav button:hover {
    background: var(--primary-color) !important;
}

.owl-carousel .owl-nav .owl-prev {
    left: 20px;
}

.owl-carousel .owl-nav .owl-next {
    right: 20px;
}

.owl-carousel .owl-dots {
    position: absolute;
    bottom: 20px;
    width: 100%;
    text-align: center;
}

.owl-carousel .owl-dot span {
    background: rgba(255, 255, 255, 0.5) !important;
    width: 12px;
    height: 12px;
    margin: 0 5px;
}

.owl-carousel .owl-dot.active span {
    background: var(--primary-color) !important;
}

/* Section Titles */
.section-title {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    width: 50%;
    height: 3px;
    background: var(--primary-color);
    bottom: -10px;
    left: 0;
}

/* About Section */
.about-section {
    background: var(--secondary-color);
}

.about-section img {
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Statistics Section */
.stats-section {
    background: linear-gradient(135deg, var(--primary-color), #5a7d32);
    color: var(--secondary-color);
}

.stat-item {
    padding: 30px;
    transition: transform 0.3s;
}

.stat-item:hover {
    transform: translateY(-10px);
}

.stat-item i {
    color: var(--secondary-color);
}

.stat-item h3 {
    font-size: 48px;
    font-weight: 700;
    margin: 15px 0;
}

/* Services Section */
.service-card {
    background: var(--secondary-color);
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    text-align: center;
    transition: all 0.3s;
    height: 100%;
}

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

.service-card i {
    color: var(--primary-color);
    transition: transform 0.3s;
}

.service-card:hover i {
    transform: scale(1.1);
}

.service-card h4 {
    margin: 20px 0 15px;
    font-weight: 600;
}

.service-card p {
    margin-bottom: 20px;
    color: #666;
}

/* Partner Logos */
.partners-slider {
    background: var(--light-bg);
}

.partner-logo {
    max-height: 80px;
    max-width: 150px;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s;
    margin: 0 auto;
    display: block;
}

.partner-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color), #5a7d32);
}

/* Buttons */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 12px 30px;
    font-weight: 500;
    border-radius: 5px;
    transition: all 0.3s;
}

.btn-primary:hover {
    background-color: #6a8f39;
    border-color: #6a8f39;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(127, 167, 70, 0.3);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 10px 25px;
    font-weight: 500;
    border-radius: 5px;
    transition: all 0.3s;
}

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

/* WhatsApp Float Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 100px;
    right: 30px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50%;
    text-align: center;
    font-size: 35px;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.3);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.whatsapp-float:hover {
    background-color: #128C7E;
    transform: scale(1.1);
    color: #FFF;
}

/* Chat Widget */
.chat-toggle {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 28px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    z-index: 999;
    transition: all 0.3s;
}

.chat-toggle:hover {
    background-color: #6a8f39;
    transform: scale(1.1);
}

.chat-widget {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 350px;
    max-height: 500px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 30px rgba(0,0,0,0.3);
    display: none;
    flex-direction: column;
    z-index: 999;
}

.chat-widget.active {
    display: flex;
}

.chat-header {
    background: var(--primary-color);
    color: white;
    padding: 15px;
    border-radius: 10px 10px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-header h6 {
    margin: 0;
    font-weight: 600;
}

.chat-close {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
}

.chat-body {
    flex: 1;
    padding: 15px;
    overflow-y: auto;
    max-height: 350px;
}

.chat-message {
    margin-bottom: 15px;
    padding: 10px 15px;
    border-radius: 10px;
    max-width: 80%;
}

.chat-message.bot {
    background: #f0f0f0;
    margin-right: auto;
}

.chat-message.user {
    background: var(--primary-color);
    color: white;
    margin-left: auto;
}

.chat-footer {
    display: flex;
    padding: 15px;
    border-top: 1px solid #e0e0e0;
}

.chat-input {
    flex: 1;
    border: 1px solid #ddd;
    border-radius: 20px;
    padding: 10px 15px;
    outline: none;
}

.chat-send {
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    margin-left: 10px;
    cursor: pointer;
    transition: all 0.3s;
}

.chat-send:hover {
    background: #6a8f39;
}

/* Reviews Section */
.reviews-section {
    background: var(--light-bg);
}

.review-card {
    background: var(--secondary-color);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    margin-bottom: 30px;
    transition: transform 0.3s;
}

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

.review-stars {
    color: #ffc107;
    font-size: 18px;
    margin-bottom: 15px;
}

.review-text {
    font-style: italic;
    margin-bottom: 15px;
    color: #666;
}

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

/* Footer */
.footer {
    background-color: #1a1a1a;
    color: #cccccc;
    padding: 60px 0 20px;
}

.footer h5 {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 20px;
}

.footer ul {
    list-style: none;
    padding: 0;
}

.footer ul li {
    margin-bottom: 10px;
}

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

.footer ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-logo {
    max-height: 80px;
    margin-bottom: 20px;
}

.footer-bottom {
    border-top: 1px solid #333;
    margin-top: 40px;
    padding-top: 20px;
    text-align: center;
}

.footer-social a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: #333;
    color: white;
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    margin: 0 5px;
    transition: all 0.3s;
}

.footer-social a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

/* Contact Form */
.contact-form {
    background: var(--secondary-color);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.contact-form .form-control,
.contact-form .form-select {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    margin-bottom: 20px;
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(127, 167, 70, 0.25);
}

/* Gallery */
.gallery-tabs {
    margin-bottom: 30px;
}

.gallery-tabs .nav-link {
    color: var(--text-color);
    border: 2px solid #ddd;
    margin: 0 5px;
    border-radius: 5px;
    transition: all 0.3s;
}

.gallery-tabs .nav-link.active {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border-color: var(--primary-color);
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    margin-bottom: 30px;
}

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

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(127, 167, 70, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    color: white;
    font-size: 40px;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-slide {
        height: 400px;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .stat-item h3 {
        font-size: 36px;
    }
    
    .chat-widget {
        width: 90%;
        right: 5%;
    }
    
    .top-bar .contact-info span {
        display: block;
        margin-bottom: 5px;
    }
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary-color), #5a7d32);
    color: white;
    padding: 100px 0 60px;
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.breadcrumb {
    background: transparent;
    justify-content: center;
}

.breadcrumb-item a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
}

.breadcrumb-item.active {
    color: white;
}

/* Info Boxes */
.info-box {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    margin-bottom: 30px;
    border-left: 4px solid var(--primary-color);
}

.info-box i {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.info-box h4 {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 15px;
}

/* Map Container */
.map-container {
    height: 450px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 180px;
    right: 30px;
    width: 45px;
    height: 45px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 998;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: #6a8f39;
    transform: translateY(-5px);
}