/* CSS Variables for Color Scheme - Analogous Palette */
:root {
  /* Primary Colors (Analogous Greens) */
  --primary-color: #2d7d32;
  --primary-light: #5fa55f;
  --primary-dark: #1b5e20;
  --secondary-color: #388e3c;
  --accent-color: #43a047;
  --accent-light: #66bb6a;
  
  /* Complementary Colors */
  --tertiary-color: #8bc34a;
  --quaternary-color: #cddc39;
  
  /* Neutral Colors */
  --white: #ffffff;
  --light-gray: #f5f5f5;
  --medium-gray: #9e9e9e;
  --dark-gray: #424242;
  --black: #212121;
  
  /* Glass Effect Colors */
  --glass-bg: rgba(255, 255, 255, 0.15);
  --glass-border: rgba(255, 255, 255, 0.2);
  --glass-shadow: rgba(0, 0, 0, 0.1);
  
  /* Gradient Backgrounds */
  --gradient-primary: linear-gradient(135deg, #2d7d32 0%, #388e3c 100%);
  --gradient-secondary: linear-gradient(135deg, #43a047 0%, #66bb6a 100%);
  --gradient-tertiary: linear-gradient(135deg, #8bc34a 0%, #cddc39 100%);
  --gradient-glass: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
  
  /* Typography */
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Merriweather', serif;
  
  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
  --spacing-xxl: 4rem;
  
  /* Border Radius */
  --border-radius-sm: 8px;
  --border-radius-md: 12px;
  --border-radius-lg: 20px;
  --border-radius-xl: 30px;
  
  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.15);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.2);
  --shadow-glass: 0 8px 32px rgba(0, 0, 0, 0.1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  line-height: 1.7;
  color: var(--dark-gray);
  background: var(--white);
  overflow-x: hidden;
}
main{
  padding-top:50px;
}
/* Typography Enhancements */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: var(--spacing-sm);
  color: var(--dark-gray);
}

h1 {
  font-size: 3.5rem;
  font-weight: 800;
}

h2 {
  font-size: 2.75rem;
  font-weight: 700;
}

h3 {
  font-size: 2rem;
  font-weight: 600;
}

p {
  margin-bottom: var(--spacing-sm);
  color: var(--dark-gray);
  font-size: 1.1rem;
}

/* Glassmorphism Card Component */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-glass);
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.glass-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  background: rgba(255, 255, 255, 0.25);
}

/* Image Containers in Cards */
.image-container {
  width: 100%;
  height: 250px;
  overflow: hidden;
  border-radius: var(--border-radius-md);
  margin-bottom: var(--spacing-md);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--light-gray);
}

.image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.4s ease;
}

.glass-card:hover .image-container img {
  transform: scale(1.05);
}

/* Global Button Styles */
.btn, 
.button,
input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-sm) var(--spacing-lg);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border: none;
  border-radius: var(--border-radius-sm);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  background: var(--gradient-primary);
  color: var(--white);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.btn:hover,
.button:hover,
input[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  background: var(--gradient-secondary);
  color: var(--white);
}

.btn:active,
.button:active,
input[type="submit"]:active {
  transform: translateY(0);
  box-shadow: var(--shadow-sm);
}

/* Button Variants */
.btn.is-outlined,
.button.is-outlined {
  background: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
}

.btn.is-outlined:hover,
.button.is-outlined:hover {
  background: var(--primary-color);
  color: var(--white);
}

.btn.is-light,
.button.is-light {
  background: var(--white);
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.btn.is-light:hover,
.button.is-light:hover {
  background: var(--primary-color);
  color: var(--white);
}

/* Header Styles */
.navbar {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: var(--shadow-sm);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: all 0.3s ease;
}

.navbar-brand .navbar-item {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--primary-color);
}

.navbar-item {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--dark-gray);
  transition: color 0.3s ease;
}

.navbar-item:hover {
  color: var(--primary-color);
  background: transparent;
}

/* Hero Section */
#hero {
  position: relative;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
}

#hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(45, 125, 50, 0.7) 0%, rgba(56, 142, 60, 0.5) 100%);
  z-index: 1;
}

#hero .hero-body {
  position: relative;
  z-index: 2;
}

#hero .title {
  color: var(--white);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  margin-bottom: var(--spacing-md);
}

#hero .subtitle {
  color: var(--white);
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
  margin-bottom: var(--spacing-xl);
  font-size: 1.3rem;
}

/* Products Section */
#products .columns {
  gap: var(--spacing-lg);
}

#products .card {
  height: 100%;
  transition: all 0.3s ease;
}

.rating {
  font-size: 1.1rem;
  margin: var(--spacing-sm) 0;
}

.pros-cons {
  text-align: left;
  font-size: 0.9rem;
  margin: var(--spacing-sm) 0;
}

.pros-cons p {
  margin-bottom: var(--spacing-xs);
}

.care-info {
  background: var(--light-gray);
  padding: var(--spacing-sm);
  border-radius: var(--border-radius-sm);
  font-size: 0.9rem;
  margin: var(--spacing-sm) 0;
}

/* Research Section */
#research {
  padding: var(--spacing-xxl) 0;
}

#research .glass-card {
  height: 100%;
}

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

/* Partners Section */
#partners {
  padding: var(--spacing-xl) 0;
}

#partners img {
  max-height: 80px;
  width: auto;
  object-fit: contain;
  filter: grayscale(100%);
  transition: filter 0.3s ease;
}

#partners img:hover {
  filter: grayscale(0%);
}

/* External Resources Section */
#external-resources .glass-card {
  height: 100%;
  padding: var(--spacing-lg);
}

/* Workshops Section */
#workshops {
  padding: var(--spacing-xxl) 0;
}

#workshops .glass-card {
  height: 100%;
}

#workshops .card-image img {
  height: 250px;
  width: 100%;
  object-fit: cover;
}

#workshops .tag {
  font-family: var(--font-heading);
  font-weight: 600;
}

/* Customer Stories Section */
#customer-stories .glass-card {
  height: 100%;
  text-align: left;
}

#customer-stories .media-left img {
  border-radius: 50%;
  width: 60px;
  height: 60px;
  object-fit: cover;
}

#customer-stories .content {
  font-style: italic;
  margin: var(--spacing-md) 0;
}

/* Events Section */
#events {
  padding: var(--spacing-xxl) 0;
}

#events .glass-card {
  height: 100%;
  text-align: left;
  padding: var(--spacing-lg);
}

#events .tag {
  font-family: var(--font-heading);
  font-weight: 600;
  margin-bottom: var(--spacing-sm);
}

/* News Section */
#news .glass-card {
  height: 100%;
}

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

#news .card-content {
  text-align: left;
  padding: var(--spacing-lg);
}

/* Contact Section */
#contact {
  padding: var(--spacing-xxl) 0;
}

#contact .glass-card {
  padding: var(--spacing-xl);
  text-align: left;
}

#contact .field {
  margin-bottom: var(--spacing-md);
}

#contact .label {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--dark-gray);
  margin-bottom: var(--spacing-xs);
}

#contact .input,
#contact .textarea,
#contact .select select {
  border: 2px solid var(--glass-border);
  border-radius: var(--border-radius-sm);
  padding: var(--spacing-sm);
  font-family: var(--font-body);
  transition: border-color 0.3s ease;
  background: rgba(255, 255, 255, 0.8);
}

#contact .input:focus,
#contact .textarea:focus,
#contact .select select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(45, 125, 50, 0.1);
}

#contact .media {
  align-items: flex-start;
  margin-bottom: var(--spacing-md);
}

#contact .media-content .title {
  color: var(--primary-color);
  font-size: 1rem;
  margin-bottom: var(--spacing-xs);
}

/* Footer */
.footer {
  background: var(--dark-gray);
  color: var(--white);
  padding: var(--spacing-xxl) 0 var(--spacing-lg);
}

.footer .title {
  color: var(--white);
  font-size: 1.25rem;
  margin-bottom: var(--spacing-md);
}

.footer ul li {
  margin-bottom: var(--spacing-xs);
}

.footer a {
  color: var(--white);
  text-decoration: none;
  transition: color 0.3s ease;
  opacity: 0.8;
}

.footer a:hover {
  color: var(--accent-light);
  opacity: 1;
}

.footer hr {
  margin: var(--spacing-xl) 0;
  background: var(--medium-gray);
}

/* Success Page Styles */
.success-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-primary);
  color: var(--white);
  text-align: center;
}

.success-page .glass-card {
  background: rgba(255, 255, 255, 0.2);
  color: var(--white);
  max-width: 500px;
  padding: var(--spacing-xxl);
}

.success-page .title {
  color: var(--white);
}

/* Privacy and Terms Pages */
.privacy-page,
.terms-page {
  padding-top: 100px;
  padding-bottom: var(--spacing-xxl);
}

.privacy-page .content,
.terms-page .content {
  max-width: 800px;
  margin: 0 auto;
  padding: var(--spacing-xl);
  background: var(--white);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
}

/* About Page */
.about-page {
  padding-top: 100px;
}

/* Contact Page */
.contacts-page {
  padding-top: 100px;
}

.contacts-page .map-container {
  height: 400px;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

/* Individual Product Pages */
.product-detail {
  padding-top: 100px;
}

.product-detail .hero-image {
  height: 400px;
  object-fit: cover;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
}

.product-specs {
  background: var(--light-gray);
  padding: var(--spacing-lg);
  border-radius: var(--border-radius-lg);
  margin: var(--spacing-lg) 0;
}

.product-specs h3 {
  color: var(--primary-color);
  margin-bottom: var(--spacing-md);
}

.product-specs ul {
  list-style: none;
}

.product-specs ul li {
  padding: var(--spacing-xs) 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.product-specs ul li:last-child {
  border-bottom: none;
}

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

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

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

@keyframes bounce {
  0%, 20%, 53%, 80%, 100% {
    transform: translate3d(0, 0, 0);
  }
  40%, 43% {
    transform: translate3d(0, -8px, 0);
  }
  70% {
    transform: translate3d(0, -4px, 0);
  }
  90% {
    transform: translate3d(0, -2px, 0);
  }
}

/* AOS Animation Enhancements */
[data-aos] {
  transition-duration: 0.8s;
  transition-timing-function: cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Responsive Design */
@media screen and (max-width: 1023px) {
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  h3 {
    font-size: 1.5rem;
  }
  
  #hero {
    background-attachment: scroll;
  }
  
  .image-container {
    height: 200px;
  }
}

@media screen and (max-width: 768px) {
  :root {
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.75rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-xxl: 2.5rem;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  .glass-card {
    margin-bottom: var(--spacing-lg);
  }
  
  .navbar-burger {
    color: var(--primary-color);
  }
  
  .privacy-page,
  .terms-page,
  .about-page,
  .contacts-page,
  .product-detail {
    padding-top: 80px;
  }
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: var(--spacing-xs); }
.mb-2 { margin-bottom: var(--spacing-sm); }
.mb-3 { margin-bottom: var(--spacing-md); }
.mb-4 { margin-bottom: var(--spacing-lg); }
.mb-5 { margin-bottom: var(--spacing-xl); }
.mb-6 { margin-bottom: var(--spacing-xxl); }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: var(--spacing-xs); }
.mt-2 { margin-top: var(--spacing-sm); }
.mt-3 { margin-top: var(--spacing-md); }
.mt-4 { margin-top: var(--spacing-lg); }
.mt-5 { margin-top: var(--spacing-xl); }
.mt-6 { margin-top: var(--spacing-xxl); }

.glass-bg {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
}

.gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Read More Links */
.read-more-link {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  font-family: var(--font-heading);
  transition: all 0.3s ease;
  position: relative;
}

.read-more-link::after {
  content: '→';
  margin-left: var(--spacing-xs);
  transition: transform 0.3s ease;
}

.read-more-link:hover {
  color: var(--primary-dark);
}

.read-more-link:hover::after {
  transform: translateX(4px);
}

/* Social Media Icons in Footer */
.social-links {
  display: flex;
  gap: var(--spacing-md);
  margin-top: var(--spacing-md);
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: var(--white);
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 1.2rem;
}

.social-links a:hover {
  background: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

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

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

/* Form Validation States */
.input.is-success {
  border-color: var(--accent-color);
}

.input.is-error {
  border-color: #ff3860;
}

.help.is-success {
  color: var(--accent-color);
}

.help.is-error {
  color: #ff3860;
}

/* Scroll to Top Button */
.scroll-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  background: var(--primary-color);
  color: var(--white);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.2rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1000;
}

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

.scroll-to-top:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

/* Performance Optimizations */
.will-change-transform {
  will-change: transform;
}

.will-change-opacity {
  will-change: opacity;
}

/* High DPI Display Support */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .glass-card {
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
  }
}