/* ===================================
   GreenLS - CSS Variables & Reset
   =================================== */

:root {
    /* Color Palette - Light Mode */
    --primary-green: #2d7a3e;
    --primary-green-dark: #1f5a2c;
    --primary-green-light: #3d9a52;
    --secondary-brown: #8b6f47;
    --secondary-brown-dark: #6b5437;
    --accent-blue: #4a90a4;
    --accent-blue-light: #6bb0c4;
    
    /* Neutral Colors */
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --medium-gray: #e9ecef;
    --dark-gray: #6c757d;
    --text-dark: #212529;
    --text-muted: #6c757d;
    
    /* Nature-inspired Gradients */
    --gradient-primary: linear-gradient(135deg, #2d7a3e 0%, #3d9a52 100%);
    --gradient-hero: linear-gradient(135deg, rgb(0 0 0 / 59%) 0%, rgb(0 0 0 / 57%) 100%);
  
    /* Typography */
    --font-primary: 'Quicksand', sans-serif;
    --font-secondary: 'Lato', sans-serif;
    
    /* Spacing */
    --section-padding: 5rem 0;
    --card-padding: 2rem;
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
    --shadow-hover: 0 15px 35px rgba(0, 0, 0, 0.2);
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Border Radius */
    --radius-sm: 0.5rem;
    --radius-md: 1rem;
    --radius-lg: 1.5rem;
}

/* Dark Mode Variables */
.dark-mode {
    --primary-green: #3d9a52;
    --primary-green-dark: #2d7a3e;
    --primary-green-light: #4daa62;
    --secondary-brown: #a88a5f;
    --secondary-brown-dark: #8b6f47;
    --accent-blue: #6bb0c4;
    --accent-blue-light: #8bc5d4;
    
    --white: #080808;
    --light-gray: #1c1c1c;
    --medium-gray: #3a3a3a;
    --dark-gray: #b0b0b0;
    --text-dark: #e9ecef;
    --text-muted: #b0b0b0;
    
    --gradient-hero: linear-gradient(135deg, rgb(0 0 0 / 59%) 0%, rgb(0 0 0 / 57%) 100%);
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.5);
    --shadow-hover: 0 15px 35px rgba(0, 0, 0, 0.6);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-secondary);
    color: var(--text-dark);
    background-color: var(--white);
    line-height: 1.6;
    transition: background-color var(--transition-normal), color var(--transition-normal);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 600;
    line-height: 1.2;
    color: var(--text-dark);
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--primary-green);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--primary-green-dark);
}

/* Form Controls - Dark Mode Override */
.dark-mode .form-control,
.dark-mode .form-select {
    background-color: var(--medium-gray);
    border-color: var(--dark-gray);
    color: var(--text-dark);
}

.dark-mode .form-control:focus,
.dark-mode .form-select:focus {
    background-color: var(--medium-gray);
    border-color: var(--primary-green);
    color: var(--text-dark);
    box-shadow: 0 0 0 0.25rem rgba(61, 154, 82, 0.25);
}

.dark-mode .form-control::placeholder {
    color: var(--text-muted);
    opacity: 0.7;
}

/* ===================================
   Preloader
   =================================== */

.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #2d7a3e;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999; 
}

.preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.preloader-content {
    text-align: center;
    animation: fadeInScale 0.6s ease;
}

.preloader-logo {
    margin-bottom: 2rem;
    animation: pulse 2s ease-in-out infinite;
}

.preloader-logo img {
    height: 80px;
    width: auto;
    object-fit: contain;
}

.preloader-animation {
    margin-bottom: 1.5rem;
}

.leaf-spinner {
    width: 60px;
    height: 60px;
    margin: 0 auto;
    position: relative;
}

.leaf-spinner i {
    font-size: 3rem;
    color: #ffffff;
    animation: spinLeaf 2s linear infinite;
    display: block;
}

.preloader-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    font-weight: 500;
    margin: 0;
    animation: fadeInOut 2s ease-in-out infinite;
}

/* Preloader Animations */
@keyframes spinLeaf {
    0% {
        transform: rotate(0deg) scale(1);
    }
    50% {
        transform: rotate(180deg) scale(1.1);
    }
    100% {
        transform: rotate(360deg) scale(1);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.9;
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes fadeInOut {
    0%, 100% {
        opacity: 0.5;
    }
    50% {
        opacity: 1;
    }
}

/* Skip Link */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary-green);
    color: white;
    padding: 8px;
    text-decoration: none;
    z-index: 100;
}

.skip-link:focus {
    top: 0;
}

/* ===================================
   Header & Navigation
   =================================== */

.header-main {
    position: relative;
    z-index: 1000;
}

.navbar {
    background: rgba(45, 122, 62, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    /* transition: all var(--transition-normal); */
}

.dark-mode .navbar {
    background: rgb(0 44 10 / 95%) !important;
}

.navbar-brand {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    font-weight: 700;
    color: white !important;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.navbar-logo {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.offcanvas-logo {
    height: 40px;
    width: auto;
    object-fit: contain;
    vertical-align: middle;
}

.footer-logo {
    height: 50px;
    width: auto;
    object-fit: contain;
    vertical-align: middle;
}

.nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    /* transition: all var(--transition-fast); */
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: white;
    /* transition: all var(--transition-normal); */
    transform: translateX(-50%);
}

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

.nav-link:hover {
    color: white !important;
}

/* Offcanvas Styles */
.offcanvas {
    background: var(--primary-green);
   
}

.dark-mode .offcanvas {
    background: var(--primary-green-dark);
}

@media (max-width: 991.98px) {
    .offcanvas .nav-link::after {
        max-width: 72px;
        left: 1rem;
        transform: none;
    }
    
    .offcanvas .nav-link:hover::after,
    .offcanvas .nav-link.active::after {
        width: 60%;
    }
}

.offcanvas-title {
    color: white;
    font-family: var(--font-primary);
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-close {
    filter: invert(1);
}

#darkModeToggle {
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

/* ===================================
   Hero Section
   =================================== */

.hero-section {
    position: relative;
    min-height: 950px;
    /* height: 100vh; */
    overflow: hidden;
}

.hero-slider {
    min-height: 950px; 
}

.hero-slide { 
    position: relative;
    display: flex;
    align-items: center;
}
.hero-slide-1{
    background:url('../../assets/images/hero/spring.webp');
     min-height: 950px; 
    background-size: cover;
    background-position: center;
}
.hero-slide-2{
    background:url('../../assets/images/hero/summer.webp');
     min-height: 950px; 
    background-size: cover;
    background-position: center;
}
.hero-slide-3{
    background:url('../../assets/images/hero/autumn.webp');
     min-height: 950px; 
    background-size: cover;
    background-position: center;
}
.hero-slide-4{
    background:url('../../assets/images/hero/winter.webp');
     min-height: 950px; 
    background-size: cover;
    background-position: center;
}
@media(max-width: 767px){
    .hero-section, .hero-slider, .hero-slide {
        min-height: 600px;
    }
}
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-hero);
}

.hero-content {
    position: relative;
    z-index: 2;
    color: white;
    text-align: center;
    padding: 2rem;
    animation: fadeInUp 1s ease;
}

.hero-content h1 {
    color: white;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-content .lead {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

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

/* Floating Leaves Animation */
.floating-leaves {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.leaf {
    position: absolute;
    width: 30px;
    height: 30px;
    background: rgba(139, 111, 71, 0.3);
    border-radius: 0 100% 0 100%;
    animation: float 15s infinite ease-in-out;
}

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

.leaf-2 {
    left: 50%;
    animation-delay: 5s;
}

.leaf-3 {
    left: 80%;
    animation-delay: 10s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(-100px) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.7;
    }
    90% {
        opacity: 0.7;
    }
    100% {
        transform: translateY(100vh) rotate(360deg);
        opacity: 0;
    }
}

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

/* ===================================
   Section Headers
   =================================== */

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

.section-header h2 {
    position: relative;
    display: inline-block;
    padding-bottom: 1rem;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

/* ===================================
   Services Section
   =================================== */

.services-section {
    background: var(--light-gray);
    padding: var(--section-padding);
}

.service-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--card-padding);
    height: 100%;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
    animation: growPlant 2s ease infinite;
}

@keyframes growPlant {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.service-card h3 {
    text-align: center;
    margin-bottom: 1rem;
    color: var(--primary-green);
}

.service-card p {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

/* Before/After Comparison Slider */
.before-after-slider {
    margin-top: 1.5rem;
}

.comparison-container {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-md);
    aspect-ratio: 16/9;
}

.comparison-after,
.comparison-before {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.comparison-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    overflow: hidden;
}

.comparison-slider {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: ew-resize;
    z-index: 10;
}

.comparison-handle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    pointer-events: none;
    z-index: 5;
    color: var(--primary-green);
    font-size: 1.5rem;
}

.service-image img {
    border-radius: var(--radius-md);
    margin-top: 1.5rem;
}

.service-features ul {
    list-style: none;
    padding: 0;
    margin-top: 1.5rem;
}

.service-features li {
    padding: 0.5rem 0;
    color: var(--text-dark);
}

.service-features i {
    color: var(--primary-green);
    margin-right: 0.5rem;
}

/* ===================================
   Garden Planner Section
   =================================== */

.garden-planner-section {
    padding: var(--section-padding);
    background: var(--white);
}

.planner-controls {
    background: var(--light-gray);
    padding: var(--card-padding);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.planner-controls h3 {
    color: var(--primary-green);
    margin-bottom: 1.5rem;
}

.planner-preview {
    background: var(--light-gray);
    border-radius: var(--radius-lg);
    padding: 3rem;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
}

.preview-placeholder {
    text-align: center;
    color: var(--text-muted);
}

.preview-placeholder i {
    color: var(--primary-green);
    /* opacity: 0.3; */
}

/* ===================================
   Quote Calculator Section
   =================================== */

.quote-section {
    padding: var(--section-padding);
    background: var(--white);
}

.quote-calculator {
    background: var(--light-gray);
    padding: var(--card-padding);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

/* Dark Mode - Force dark text in quote result */
.dark-mode .quote-result .alert-success h4,
.dark-mode .quote-result .alert-success p {
    color: #212529 !important;
}

/* ===================================
   Portfolio Section
   =================================== */

.portfolio-section {
    padding: var(--section-padding);
    background: var(--light-gray);
}

.portfolio-filters {
    margin-bottom: 2rem;
}

/* Custom Filter Button Styles */
.portfolio-filters .filter-btn {
    display: inline-block;
    margin: 0.25rem;
    padding: 0.5rem 1.5rem;
    border: 2px solid var(--primary-green);
    border-radius: 2rem;
    background: transparent;
    color: var(--primary-green);
    font-family: var(--font-secondary);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-normal);
    text-align: center;
    text-decoration: none;
    line-height: 1.5;
}

.portfolio-filters .filter-btn:hover {
    background: var(--primary-green);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.portfolio-filters .filter-btn.active {
    background: var(--primary-green);
    color: white;
    border-color: var(--primary-green);
    box-shadow: var(--shadow-md);
}

.portfolio-filters .filter-btn:focus {
    outline: none;
    box-shadow: 0 0 0 0.25rem rgba(45, 122, 62, 0.25);
}

/* Dark Mode Filter Buttons */
.dark-mode .portfolio-filters .filter-btn {
    border-color: var(--primary-green);
    color: var(--primary-green);
}

.dark-mode .portfolio-filters .filter-btn:hover,
.dark-mode .portfolio-filters .filter-btn.active {
    background: var(--primary-green);
    color: white;
    border-color: var(--primary-green);
}

.dark-mode .portfolio-filters .filter-btn:focus {
    box-shadow: 0 0 0 0.25rem rgba(61, 154, 82, 0.25);
}

.portfolio-item {
    transition: all var(--transition-normal);
}

.portfolio-item.hidden {
    display: none;
}

.portfolio-card {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
}

.portfolio-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.portfolio-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.portfolio-card:hover img {
    transform: scale(1.1);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-hero);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.portfolio-card:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-info {
    text-align: center;
    color: white;
    padding: 2rem;
}

.portfolio-info h3 {
    color: white;
    margin-bottom: 0.5rem;
}

/* ===================================
   Tips Carousel Section
   =================================== */

.tips-section {
    padding: var(--section-padding);
    background: var(--white);
}

.tip-card {
    background: var(--light-gray);
    border-radius: var(--radius-lg);
    padding: var(--card-padding);
    margin: 1rem;
    box-shadow: var(--shadow-md);
    height: 100%;
}

.tip-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
}

.tip-card h3 {
    color: var(--primary-green);
    text-align: center;
    margin-bottom: 1rem;
}

.tip-card p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.tip-list {
    list-style: none;
    padding: 0;
}

.tip-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-dark);
}

.tip-list li::before {
    content: '🌱';
    position: absolute;
    left: 0;
}

/* ===================================
   Quote Calculator Section
   =================================== */

.quote-section {
    padding: var(--section-padding);
    background: var(--light-gray);
}

.quote-calculator {
    background: var(--white);
    padding: var(--card-padding);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.quote-result {
    text-align: center;
}

/* ===================================
   Plant Care Section
   =================================== */

.plant-care-section {
    padding: var(--section-padding);
    background: var(--white);
}

.care-card {
    background: var(--light-gray);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    height: 100%;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
}

.care-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.care-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
    color: white;
}

.care-card h3 {
    color: var(--primary-green);
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.care-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* ===================================
   Team Section
   =================================== */

.team-section {
    padding: var(--section-padding);
    background: var(--light-gray);
}

.team-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    height: 100%;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.team-image {
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
    background: var(--medium-gray);
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.team-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    color: var(--primary-green);
    background: var(--light-gray);
}

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

.team-info h3 {
    color: var(--primary-green);
    margin-bottom: 0.5rem;
}

.team-role {
    color: var(--secondary-brown);
    font-weight: 600;
    margin-bottom: 1rem;
}

.team-bio {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.team-social {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.team-social a {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: var(--light-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-green);
    transition: all var(--transition-fast);
}

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

/* ===================================
   Testimonials Section
   =================================== */

.testimonials-section {
    padding: var(--section-padding);
    background: var(--white);
}

.testimonial-card {
    background: var(--light-gray);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    height: 100%;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.testimonial-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.testimonial-content {
    padding: 1.5rem;
}

.testimonial-rating {
    color: #ffc107;
    margin-bottom: 1rem;
}

.testimonial-content p {
    color: var(--text-dark);
    font-style: italic;
    margin-bottom: 1rem;
}

.testimonial-author strong {
    color: var(--primary-green);
    display: block;
}

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

/* ===================================
   Pricing Section
   =================================== */

.pricing-section {
    padding: var(--section-padding);
    background: var(--light-gray);
}

.pricing-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--card-padding);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    height: 100%;
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.pricing-card.featured {
    border: 3px solid var(--primary-green);
    transform: scale(1.05);
}

.pricing-badge {
    position: absolute;
    top: -15px;
    right: 20px;
    background: var(--gradient-primary);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 2rem;
    font-weight: 600;
    font-size: 0.9rem;
}

.pricing-header {
    text-align: center;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--medium-gray);
    margin-bottom: 1.5rem;
}

.pricing-header h3 {
    color: var(--primary-green);
    margin-bottom: 1rem;
}

.pricing-price {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0.25rem;
}

.pricing-price .currency {
    font-size: 1.5rem;
    color: var(--text-muted);
}

.pricing-price .amount {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-green);
    line-height: 1;
}

.pricing-price .period {
    font-size: 1rem;
    color: var(--text-muted);
    align-self: flex-end;
    padding-bottom: 0.5rem;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.pricing-features li {
    padding: 0.75rem 0;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.pricing-features li i {
    color: var(--primary-green);
    font-size: 1.1rem;
}

.pricing-features li.unavailable {
    color: var(--text-muted);
    opacity: 0.6;
}

.pricing-features li.unavailable i {
    color: var(--text-muted);
}

/* ===================================
   Weather Widget Section
   =================================== */

/* ===================================
   Weather Widget Section - AVEC HOVER
   =================================== */

.weather-section {
    padding: var(--section-padding);
    background: var(--white);
}

.weather-widget {
    background: var(--light-gray);
    border-radius: var(--radius-lg);
    padding: var(--card-padding);
    box-shadow: var(--shadow-lg);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.weather-widget:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.weather-current {
    text-align: center;
    padding: 2rem;
    transition: transform 0.3s ease;
}

.weather-current:hover {
    transform: scale(1.02);
}

.weather-icon {
    font-size: 5rem;
    color: #ffc107;
    margin-bottom: 1rem;
    transition: transform 0.4s ease, filter 0.3s ease;
}

.weather-icon:hover {
    transform: rotate(15deg) scale(1.1);
    filter: drop-shadow(0 5px 15px rgba(255, 193, 7, 0.4));
}

.weather-temp {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.temp-value {
    font-size: 4rem;
    font-weight: 700;
    color: var(--primary-green);
    line-height: 1;
    transition: transform 0.3s ease, color 0.3s ease;
}

.temp-value:hover {
    transform: scale(1.1);
    color: var(--accent-green);
}

.temp-unit {
    font-size: 2rem;
    color: var(--text-muted);
    transition: color 0.3s ease;
}

.temp-value:hover + .temp-unit,
.temp-unit:hover {
    color: var(--primary-green);
}

.weather-condition {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    transition: color 0.3s ease, letter-spacing 0.3s ease;
}

.weather-condition:hover {
    color: var(--primary-green);
    letter-spacing: 1px;
}

.weather-location {
    color: var(--text-muted);
    transition: color 0.3s ease;
}

.weather-location:hover {
    color: var(--primary-green);
}

.weather-location i {
    transition: transform 0.3s ease;
}

.weather-location:hover i {
    transform: scale(1.2);
}

.weather-details {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1.5rem;
    padding: 2rem;
    height: 100%;
}

.weather-detail-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-md);
    transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    cursor: default;
}

.weather-detail-item:hover {
    background: var(--white);
    transform: translateX(10px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.weather-detail-item i {
    font-size: 2rem;
    color: var(--accent-blue);
    width: 40px;
    transition: transform 0.3s ease, color 0.3s ease;
}

.weather-detail-item:hover i {
    transform: scale(1.2) rotate(-10deg);
    color: var(--primary-green);
}

.weather-detail-item div {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.detail-label {
    color: var(--text-muted);
    transition: color 0.3s ease;
}

.weather-detail-item:hover .detail-label {
    color: var(--text-dark);
}

.detail-value {
    font-weight: 600;
    color: var(--text-dark);
    transition: color 0.3s ease, transform 0.3s ease;
}

.weather-detail-item:hover .detail-value {
    color: var(--primary-green);
    transform: scale(1.1);
}

.gardening-tip {
    background: var(--white);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    margin-top: 1.5rem;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    cursor: default;
    border-left: 4px solid transparent;
}

.gardening-tip:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-left: 4px solid #ffc107;
    background: linear-gradient(90deg, rgba(255, 193, 7, 0.05) 0%, var(--white) 100%);
}

.gardening-tip i {
    color: #ffc107;
    font-size: 1.5rem;
    flex-shrink: 0;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.gardening-tip:hover i {
    transform: rotate(15deg) scale(1.2);
    filter: drop-shadow(0 3px 8px rgba(255, 193, 7, 0.5));
}

.gardening-tip p {
    transition: color 0.3s ease;
}

.gardening-tip:hover p {
    color: var(--text-dark);
}

.gardening-tip p strong {
    transition: color 0.3s ease;
}

.gardening-tip:hover p strong {
    color: var(--primary-green);
}

/* === Animation pulse pour l'icône météo === */
@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.weather-icon i {
    animation: pulse 3s ease-in-out infinite;
}

.weather-icon:hover i {
    animation: none;
}

/* === Animation pour les icônes de détail === */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}

.weather-detail-item i {
    animation: float 2s ease-in-out infinite;
    animation-delay: calc(var(--i, 0) * 0.2s);
}

.weather-detail-item:nth-child(1) { --i: 0; }
.weather-detail-item:nth-child(2) { --i: 1; }
.weather-detail-item:nth-child(3) { --i: 2; }
.weather-detail-item:nth-child(4) { --i: 3; }

.weather-detail-item:hover i {
    animation: none;
}

/* ===================================
   Contact Section
   =================================== */

.contact-section {
    padding: var(--section-padding);
    background: var(--light-gray);
}

.contact-info {
    background: var(--white);
    padding: var(--card-padding);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    height: 100%;
}

.contact-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.contact-item h3 {
    color: var(--primary-green);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.contact-item p {
    color: var(--text-dark);
    margin: 0;
}

.contact-item a {
    color: var(--text-dark);
}

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

.contact-hours {
    background: var(--light-gray);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    margin-top: 2rem;
}

.contact-hours h3 {
    color: var(--primary-green);
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.contact-hours i {
    margin-right: 0.5rem;
}

.contact-form {
    background: var(--white);
    padding: var(--card-padding);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

/* ===================================
   Floating CTA Button
   =================================== */

.floating-cta {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: var(--gradient-primary);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 3rem;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    z-index: 999;
    transition: all var(--transition-normal);
    animation: pulse 2s infinite;
}

.floating-cta:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    color: white;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(45, 122, 62, 0.7);
    }
    50% {
        box-shadow: 0 0 0 15px rgba(45, 122, 62, 0);
    }
}

/* ===================================
   Footer
   =================================== */

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

.dark-mode .footer-main {
    background: #1a1a1a;
}

.footer-about h3,
.footer-links h4,
.footer-newsletter h4 {
    color: white;
    margin-bottom: 1.5rem;
}

.footer-about h3 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-about p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all var(--transition-fast);
}

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

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

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: white;
    padding-left: 5px;
}

.footer-newsletter p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1rem;
}

.newsletter-form .form-control {
    border-radius: 2rem 0 0 2rem;
    border: none;
}

.newsletter-form .btn {
    border-radius: 0 2rem 2rem 0;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 3rem;
    padding-top: 2rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.8);
}

.footer-bottom a:hover {
    color: white;
}

/* ===================================
   Buttons
   =================================== */

.btn-primary {
    background: var(--gradient-primary);
    border: none;
    padding: 0.75rem 2rem;
    font-weight: 600;
    border-radius: 2rem;
    transition: all var(--transition-normal);
}

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

.btn-outline-primary-1 {
    border: 2px solid var(--primary-green);
    color: var(--primary-green);
    padding: 0.75rem 2rem;
    font-weight: 600;
    border-radius: 2rem;
    transition: all var(--transition-normal);
}

.btn-outline-primary-1:hover {
    background: var(--primary-green);
    color: white;
    transform: translateY(-2px);
}

.btn-outline-light {
    border: 2px solid white;
    color: white;
    padding: 0.75rem 2rem;
    font-weight: 600;
    border-radius: 2rem;
    transition: all var(--transition-normal);
}

.btn-outline-light:hover {
    background: white;
    color: var(--primary-green);
}

/* ===================================
   Form Controls
   =================================== */

.form-control,
.form-select {
    border: 2px solid var(--medium-gray);
    border-radius: var(--radius-sm);
    padding: 0.75rem 1rem;
    transition: all var(--transition-fast);
    background: var(--white);
    color: var(--text-dark);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-green);
    box-shadow: 0 0 0 0.2rem rgba(45, 122, 62, 0.25);
}

.form-label {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

/* ===================================
   Responsive Design
   =================================== */

@media (max-width: 991px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    .offcanvas{
     min-height: 100vh;
    }
    .hero-content .lead {
        font-size: 1.25rem;
    }
    
    .floating-cta span {
        display: none;
    }
    
    .floating-cta {
        width: 60px;
        height: 60px;
        padding: 0;
        justify-content: center;
        border-radius: 50%;
    }
}

@media (max-width: 767px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
}

/* ===================================
   Form Select Dropdown Arrows
   =================================== */

.form-select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%232d7a3e' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 12px 12px;
    padding-right: 2.5rem;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
}

.dark-mode .form-select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%233d9a52' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
}

.form-select:focus {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%231f5a2c' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
}

/* ===================================
   Form Placeholder Styling
   =================================== */

.dark-mode input::placeholder,
.dark-mode textarea::placeholder,
.dark-mode select::placeholder {
    color: #e9ecef !important;
    opacity: 1;
}

.dark-mode input::-webkit-input-placeholder,
.dark-mode textarea::-webkit-input-placeholder {
    color: #e9ecef !important;
    opacity: 1;
}

.dark-mode input::-moz-placeholder,
.dark-mode textarea::-moz-placeholder {
    color: #e9ecef !important;
    opacity: 1;
}

.dark-mode input:-ms-input-placeholder,
.dark-mode textarea:-ms-input-placeholder {
    color: #e9ecef !important;
    opacity: 1;
}

/* ===================================
   Utility Classes
   =================================== */

.text-primary {
    color: var(--primary-green) !important;
}

.bg-primary {
    background: var(--gradient-primary) !important;
}

.text-muted {
    color: var(--text-muted) !important;
}

div.error{
    color: rgb(255, 42, 42);
    text-transform: capitalize;
    font-size: 14px;
    font-weight: 500;
    background-color: var(--medium-gray);
    padding: 0 5px; 
}

#newsletter-form{
    position: relative;
}
#newsletter-form div.error{
    position: absolute;
    bottom: -25px;
}
.alertmsg{
    z-index: 9999;
}
.alertmsg .btn-close{
    filter: brightness(1);
}