﻿:root {
    --primary-color: #006400;
    --primary-dark: #004d00;
    --primary-light: #008000;
    --secondary-color: #f8f9fa;
    --text-color: #333;
    --light-text: #fff;
    --dark-text: #212529;
    --gray-light: #f8f9fa;
    --gray-medium: #e9ecef;
    --gray-dark: #6c757d;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* General Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

a:hover {
    color: var(--primary-dark);
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    margin-bottom: 1rem;
}

.btn {
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: none;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 100, 0, 0.1);
    text-transform: uppercase;
    font-size: 0.9rem;
}

.btn-primary {
    background-color: var(--primary-color);
    border: 2px solid var(--primary-color);
    color: var(--light-text);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    color: var(--light-text);
    box-shadow: 0 6px 12px rgba(0, 100, 0, 0.15);
    transform: translateY(-2px);
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0, 100, 0, 0.1);
}

.btn-primary:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 100, 0, 0.3);
}

/* Optional: Add a subtle "shine" effect on hover */
.btn-primary::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -60%;
    width: 50%;
    height: 200%;
    background: rgba(255, 255, 255, 0.1);
    transform: rotate(30deg);
    transition: all 0.4s ease;
}

.btn-primary:hover::after {
    left: 120%;
}

/* For the btn-lg class specifically */
.btn-lg {
    padding: 15px 35px;
    font-size: 1rem;
    letter-spacing: 0.8px;
}
.section-title {
    position: relative;
    margin-bottom: 50px;
    text-align: center;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
}

/* Header Styles */
.top-bar {
    background-color: var(--primary-dark);
    color: var(--light-text);
    padding: 10px 0;
    font-size: 14px;
}

.top-bar .contact-info span {
    margin-right: 20px;
}

.top-bar .social-links a {
    color: var(--light-text);
    margin-left: 15px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.top-bar .social-links a:hover {
    color: var(--gray-medium);
    transform: translateY(-3px);
}

.main-header {
    background-color: var(--primary-color);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1030;
}

.navbar-brand .logo {
    height: 50px;
    border-radius: 25px; /* Half of the height will make it pill-shaped */
    object-fit: cover;
    border: 2px solid var(--light-text);
    padding: 2px; /* Optional: adds some space inside the border */
}
/* If you want to specifically target the rounded-rectangle class */
.rounded-rectangle {
    border-radius: 10px;
    object-fit: cover;
    border: 2px solid var(--light-text);
}

.navbar-nav .nav-link {
    color: var(--light-text);
    font-weight: 500;
    padding: 10px 15px;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--gray-medium);
}

.navbar-nav .cart-icon {
    position: relative;
}

.navbar-nav .cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: var(--light-text);
    color: var(--primary-color);
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
}

.dropdown-menu {
    border: none;
    box-shadow: var(--shadow);
}

.dropdown-item {
    padding: 8px 20px;
    transition: all 0.3s ease;
}

.dropdown-item:hover {
    background-color: var(--primary-color);
    color: var(--light-text);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/hero-bg.jpeg');
    background-size: cover;
    background-position: center;
    color: var(--light-text);
    padding: 4rem 0;
    text-align: center;
    min-height: 40vh; /* Reduced from full viewport height */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

@media (max-width: 768px) {
    .hero-section {
        padding: 3rem 1rem;
        min-height: 30vh;
    }
}
.hero-section h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    font-weight: 800;
}

.hero-section p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Services Section */
.services-section {
    padding: 100px 0;
    background-color: var(--secondary-color);
}

.service-card {
    background-color: var(--light-text);
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.service-card h3 {
    margin-bottom: 15px;
}

/* Portfolio Section */
.portfolio-section {
    padding: 100px 0;
}

.portfolio-filter {
    margin-bottom: 30px;
    text-align: center;
}

.portfolio-filter button {
    background: none;
    border: none;
    padding: 8px 20px;
    margin: 0 5px;
    cursor: pointer;
    font-weight: 600;
    color: var(--gray-dark);
    transition: all 0.3s ease;
}

.portfolio-filter button.active,
.portfolio-filter button:hover {
    color: var(--primary-color);
}

.portfolio-item {
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.portfolio-item img {
    width: 100%;
    transition: all 0.5s ease;
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 100, 0, 0.8);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-item:hover img {
    transform: scale(1.1);
}

.portfolio-overlay h4 {
    color: var(--light-text);
    margin-bottom: 10px;
}

.portfolio-overlay .social-share a {
    color: var(--light-text);
    margin: 0 5px;
    font-size: 1.2rem;
}

/* Testimonials Section */
.testimonials-section {
    background: linear-gradient(rgba(0, 100, 0, 0.8), rgba(0, 100, 0, 0.8)), url('../images/testimonial-bg.jpg');
    background-size: cover;
    background-position: center;
    padding: 100px 0;
    color: var(--light-text);
}

.testimonial-card {
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    padding: 30px;
    margin: 15px;
    color: var(--text-color);
}

.testimonial-card .rating {
    color: #ffc107;
    margin-bottom: 15px;
}

.testimonial-card .client-info {
    display: flex;
    align-items: center;
    margin-top: 20px;
}

.testimonial-card .client-info img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-right: 15px;
    object-fit: cover;
}

/* Blog Section */
.blog-section {
    padding: 100px 0;
    background-color: var(--secondary-color);
}

.blog-card {
    background-color: var(--light-text);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.blog-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.blog-content {
    padding: 20px;
}

.blog-content .meta {
    display: flex;
    margin-bottom: 10px;
    font-size: 14px;
    color: var(--gray-dark);
}

.blog-content .meta span {
    margin-right: 15px;
}

.blog-content .meta i {
    margin-right: 5px;
    color: var(--primary-color);
}

/* Contact Section */
.contact-section {
    padding: 100px 0;
}

.contact-info-box {
    background-color: var(--primary-color);
    color: var(--light-text);
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 30px;
    height: 100%;
}

.contact-info-box i {
    font-size: 2rem;
    margin-bottom: 20px;
}

.contact-form {
    background-color: var(--light-text);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.contact-form .form-control {
    height: 50px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
}

.contact-form textarea.form-control {
    height: auto;
}

/* Footer Styles */
.footer {
    background-color: var(--primary-dark);
    color: var(--light-text);
}

.footer-top {
    padding: 80px 0 50px;
}

.footer-widget {
    margin-bottom: 30px;
}

.footer-widget h3 {
    color: var(--light-text);
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-widget h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--light-text);
}

.footer-logo {
    height: 50px;
    margin-bottom: 20px;
    border:rounded-rectangle;
}

.footer-widget p {
    margin-bottom: 20px;
}

.footer-widget ul {
    list-style: none;
    padding: 0;
}

.footer-widget ul li {
    margin-bottom: 10px;
}

.footer-widget ul li a {
    color: var(--gray-medium);
    transition: all 0.3s ease;
}

.footer-widget ul li a:hover {
    color: var(--light-text);
    padding-left: 5px;
}

.footer-widget .contact-info li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.footer-widget .contact-info i {
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

.footer-widget .social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--light-text);
    border-radius: 50%;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.footer-widget .social-links a:hover {
    background-color: var(--light-text);
    color: var(--primary-color);
}

.footer-bottom {
    background-color: var(--primary-color);
    padding: 20px 0;
    font-size: 14px;
}

.footer-links a {
    color: var(--light-text);
    margin-left: 15px;
}

.footer-links a:hover {
    text-decoration: underline;
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    line-height: 50px;
    text-align: center;
    background-color: var(--primary-color);
    color: var(--light-text);
    border-radius: 50%;
    font-size: 20px;
    box-shadow: var(--shadow);
    z-index: 99;
    display: none;
    transition: all 0.3s ease;
}

.back-to-top:hover {
    background-color: var(--primary-dark);
    color: var(--light-text);
    transform: translateY(-5px);
}

/* Responsive Styles */
@media (max-width: 991.98px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .navbar-nav {
        padding-top: 15px;
    }
    
    .navbar-nav .nav-link {
        padding: 8px 0;
    }
    
    .dropdown-menu {
        background-color: transparent;
        border: none;
        box-shadow: none;
    }
    
    .dropdown-item {
        padding-left: 30px;
    }
}

@media (max-width: 767.98px) {
    .hero-section {
        padding: 100px 0;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .section-title {
        margin-bottom: 30px;
    }
    
    .footer-widget {
        margin-bottom: 40px;
    }
}

@media (max-width: 575.98px) {
    .top-bar .contact-info span {
        display: block;
        margin-bottom: 5px;
    }
    
    .top-bar .social-links {
        margin-top: 10px;
    }
    
    .hero-section h1 {
        font-size: 1.8rem;
    }
    
    .btn {
        display: block;
        width: 30%;
        margin-bottom: 10px;
    }
}


/* Enhanced Testimonials Section */
.testimonials-section {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
}

.testimonial-item {
    padding: 0 15px;
}

.testimonial-card {
    position: relative;
    border: none;
    transition: all 0.3s ease;
    padding: 30px;
    height: 100%;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}


.testimonial-content {
    position: relative;
    z-index: 1;
    padding: 20px 0;
}

.testimonial-content blockquote {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--dark-text);
}

.client-avatar img {
    border: 3px solid var(--primary-light);
    object-fit: cover;
}

/* Owl Carousel Customizations */
.owl-carousel .owl-item img {
    width: auto;
    max-width: 100%;
}

.owl-theme .owl-dots .owl-dot span {
    background: rgba(255,255,255,0.5);
    transition: all 0.3s ease;
}

.owl-theme .owl-dots .owl-dot.active span,
.owl-theme .owl-dots .owl-dot:hover span {
    background: white;
    transform: scale(1.2);
}

.owl-theme .owl-nav {
    margin-top: 20px;
}

.owl-theme .owl-nav [class*='owl-'] {
    background: rgba(255,255,255,0.2);
    color: white;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    line-height: 40px;
    font-size: 20px;
    margin: 0 10px;
    transition: all 0.3s ease;
}

.owl-theme .owl-nav [class*='owl-']:hover {
    background: white;
    color: var(--primary-color);
}

/* Button Base Styles - Add this to your CSS */
.btn {
    white-space: nowrap; /* Prevent text wrapping */
    overflow: hidden; /* Hide overflow */
    text-overflow: ellipsis; /* Show ellipsis if text is too long */
    min-width: fit-content; /* Minimum width based on content */
    flex-shrink: 0; /* Prevent shrinking */
}

/* Button Container Styles */
.btn-group {
    display: inline-flex;
    flex-wrap: nowrap; /* Prevent wrapping */
    gap: 0.5rem;
    width: auto;
    max-width: 100%; /* Ensure it doesn't overflow container */
}

/* Responsive adjustments */
@media (max-width: 767.98px) {
    /* Maintain button shape and size */
    .btn, .btn-sm, .btn-lg {
        padding: 8px 16px;
        font-size: 0.5rem;
        min-width: 80px; /* Set a minimum width */
    }
    
    /* For button groups - horizontal scrolling if needed */
    .btn-group-scroll {
        display: flex;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 5px; /* Space for scrollbar */
        scrollbar-width: none; /* Hide scrollbar in Firefox */
    }
    
    .btn-group-scroll::-webkit-scrollbar {
        display: none; /* Hide scrollbar in Chrome/Safari */
    }
    
    
    
    /* Ensure buttons in groups don't wrap */
    .btn-group .btn {
        flex: 0 0 auto; /* Don't grow or shrink */
    }
}

/* Social Media Buttons */
.btn-social {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: white;
    border: none;
    margin: 0 5px;
}

.btn-facebook {
    background-color: #3b5998;
}

.btn-twitter {
    background-color: #1da1f2;
}

.btn-linkedin {
    background-color: #0077b5;
}

.btn-whatsapp {
    background-color: #25d366;
}

.btn-social:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    opacity: 0.9;
    color: white;
}


/* Rating System */
.rating-stars {
    display: flex;
    gap: 5px;
}

.rate-service {
    background: none;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.rate-service:hover {
    transform: scale(1.2);
}

.rate-service i {
    font-size: 2rem;
    color: #ffc107;
}

.rating-bars .progress {
    background-color: #e9ecef;
    border-radius: 10px;
}

.rating-bars .progress-bar {
    border-radius: 10px;
}


/* Social Media Buttons */
.btn-social {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: white;
    border: none;
    margin: 0 3px;
    font-size: 16px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.btn-social:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    color: white;
}

.btn-facebook {
    background-color: #3b5998;
}

.btn-twitter {
    background-color: #1da1f2;
}

.btn-linkedin {
    background-color: #0077b5;
}

.btn-whatsapp {
    background-color: #25d366;
}

/* Rating System */
.rating-stars {
    display: flex;
    justify-content: center;
    gap: 5px;
}

.rate-service {
    background: none;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 5px;
}

.rate-service:hover {
    transform: scale(1.2);
}

.rate-service i {
    transition: all 0.2s ease;
}

.rate-service:hover i {
    color: #ffc107 !important;
}

.rating-badge {
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Service Image Container */
.service-image-container {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.service-image-container img {
    transition: transform 0.5s ease;
}

.service-image-container:hover img {
    transform: scale(1.03);
}

/* Portfolio Items */
.portfolio-item {
    transition: transform 0.3s ease;
}

.portfolio-item:hover {
    transform: translateY(-5px);
}

.portfolio-image-container {
    position: relative;
    overflow: hidden;
    border-radius: 8px 8px 0 0;
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 100, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

/* Service Cards */
.service-card {
    background: white;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.service-icon {
    color: var(--primary-color);
    font-size: 3rem;
}

.service-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.service-content h3 {
    font-size: 1.25rem;
    margin-bottom: 15px;
}

.service-content p {
    color: var(--gray-dark);
    margin-bottom: 15px;
    flex: 1;
}

.price-display {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1.25rem;
}

/* Button spacing */
.gap-2 {
    gap: 0.5rem;
}

.gap-3 {
    gap: 1rem;
}