/* Base styles and variables */
:root {
  --primary: #4a7c59;
  --primary-dark: #3a6347;
  --primary-light: #6b9976;
  --secondary: #a4c3a2;
  --tertiary: #e8f1e8;
  --accent: #e86d5c;
  --dark: #2c3e2e;
  --gray-dark: #4f5d4c;
  --gray: #8a9a85;
  --gray-light: #d1e0cf;
  --white: #ffffff;
  --black: #1a231c;
  --font-main: 'Lato', 'Segoe UI', Roboto, Arial, sans-serif;
  --font-heading: 'Montserrat', 'Segoe UI', Roboto, Arial, sans-serif;
  --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  --radius: 6px;
  --transition: all 0.3s ease;
  --container-width: 1200px;
  --container-padding: 1.5rem;
}

/* General reset and base styles */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-main);
  color: var(--dark);
  line-height: 1.6;
  background-color: var(--white);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

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

ul, ol {
  list-style: none;
}

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--dark);
  line-height: 1.3;
  margin-bottom: 1.5rem;
  font-weight: 700;
}

h1 {
  font-size: 2.8rem;
}

h2 {
  font-size: 2.2rem;
}

h3 {
  font-size: 1.8rem;
}

h4 {
  font-size: 1.5rem;
}

h5 {
  font-size: 1.2rem;
}

h6 {
  font-size: 1rem;
}

p {
  margin-bottom: 1.5rem;
}

blockquote {
  border-left: 4px solid var(--primary);
  padding: 1.5rem;
  margin: 2rem 0;
  background-color: var(--tertiary);
  font-style: italic;
  position: relative;
}

blockquote p {
  margin-bottom: 0;
}

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

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.8rem 1.8rem;
  background-color: var(--primary);
  color: var(--white);
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: var(--transition);
  text-align: center;
  font-size: 0.9rem;
}

.btn:hover {
  background-color: var(--primary-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.btn-large {
  padding: 1rem 2.2rem;
  font-size: 1rem;
}

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

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

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

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

/* Header and Navigation */
header {
  padding: 1.2rem 0;
  background-color: var(--white);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 100;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  flex-shrink: 0;
}

.logo img {
  height: 50px;
  width: auto;
}

nav ul {
  display: flex;
  gap: 2rem;
}

nav a {
  color: var(--dark);
  font-weight: 600;
  position: relative;
  padding: 0.5rem 0;
}

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

nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary);
  transition: var(--transition);
}

nav a:hover::after, nav a.active::after {
  width: 100%;
}

.font-size-control {
  display: flex;
  align-items: center;
}

#increase-font {
  background: none;
  border: none;
  color: var(--gray-dark);
  font-size: 1.2rem;
  cursor: pointer;
  padding: 0.5rem;
  transition: var(--transition);
}

#increase-font:hover {
  color: var(--primary);
  transform: scale(1.1);
}

/* Hero Section */
.hero {
  background-color: var(--tertiary);
  padding: 5rem 0;
  background-image: linear-gradient(120deg, rgba(255,255,255,0.8), rgba(255,255,255,0.2)), url('images/1.jpg');
  background-size: cover;
  background-position: center;
}

.hero-content {
  max-width: 650px;
}

.hero h1 {
  margin-bottom: 1.5rem;
  font-size: 3.2rem;
  line-height: 1.2;
  color: var(--dark);
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: var(--gray-dark);
}

/* Features Section */
.features {
  padding: 5rem 0;
  background-color: var(--white);
}

.features h2 {
  text-align: center;
  margin-bottom: 3rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.feature-card {
  background-color: var(--tertiary);
  padding: 2.5rem 2rem;
  border-radius: var(--radius);
  text-align: center;
  transition: var(--transition);
  box-shadow: var(--shadow);
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.1);
}

.feature-card i {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.feature-card h3 {
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.feature-card p {
  color: var(--gray-dark);
  margin-bottom: 0;
}

/* Latest Blog Section */
.latest-blog {
  padding: 5rem 0;
  background-color: var(--gray-light);
}

.latest-blog h2 {
  text-align: center;
  margin-bottom: 3rem;
}

.blog-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.blog-card {
  background-color: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 25px rgba(0, 0, 0, 0.1);
}

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

.blog-content {
  padding: 1.5rem;
}

.blog-content h3 {
  font-size: 1.3rem;
  margin-bottom: 0.8rem;
}

.blog-content p {
  color: var(--gray-dark);
  margin-bottom: 1rem;
}

.read-more {
  font-weight: 600;
  display: inline-flex;
  align-items: center;
}

.read-more:hover {
  text-decoration: underline;
}

.view-all {
  margin-top: 3rem;
  text-align: center;
}

/* Testimonials */
.testimonials {
  padding: 5rem 0;
  background-color: var(--primary);
  color: var(--white);
}

.testimonials h2 {
  text-align: center;
  margin-bottom: 3rem;
  color: var(--white);
}

.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

.testimonial {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 2rem;
  border-radius: var(--radius);
  flex: 1;
  min-width: 300px;
  max-width: 500px;
}

.testimonial p {
  font-style: italic;
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

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

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

.client h4 {
  margin-bottom: 0.2rem;
  color: var(--white);
}

.client p {
  margin-bottom: 0;
  font-size: 0.9rem;
  opacity: 0.8;
}

/* Footer */
footer {
  background-color: var(--dark);
  color: var(--gray-light);
  padding: 5rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-about img {
  height: 40px;
  margin-bottom: 1rem;
}

.footer-about p {
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.footer-links h4, .footer-legal h4, .footer-contact h4 {
  color: var(--white);
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
}

.footer-links ul, .footer-legal ul {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.footer-links a, .footer-legal a {
  color: var(--gray-light);
}

.footer-links a:hover, .footer-legal a:hover {
  color: var(--white);
  padding-left: 5px;
}

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

.footer-contact i {
  color: var(--secondary);
}

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

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

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

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

.footer-bottom p {
  margin-bottom: 0;
  font-size: 0.9rem;
}

/* Page Banner */
.page-banner {
  background-color: var(--tertiary);
  padding: 4rem 0;
  text-align: center;
  background-image: linear-gradient(rgba(255,255,255,0.8), rgba(255,255,255,0.8)), url('images/2.jpg');
  background-size: cover;
  background-position: center;
}

.page-banner h1 {
  margin-bottom: 0.5rem;
}

.page-banner p {
  font-size: 1.2rem;
  color: var(--gray-dark);
  margin-bottom: 0;
}

/* About Page */
.about-story {
  padding: 5rem 0;
}

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

.about-image img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.about-content h2 {
  margin-bottom: 1.5rem;
}

.our-mission {
  padding: 5rem 0;
  background-color: var(--tertiary);
}

.mission-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.mission-stats {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  margin-top: 3rem;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 1rem;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
}

.stat-desc {
  font-size: 0.95rem;
  color: var(--gray-dark);
  margin-top: 0.5rem;
}

.values {
  padding: 5rem 0;
}

.values h2 {
  text-align: center;
  margin-bottom: 3rem;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.value-card {
  background-color: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  transition: var(--transition);
}

.value-card:hover {
  border-color: var(--primary);
  transform: translateY(-8px);
  box-shadow: var(--shadow);
}

.value-card i {
  font-size: 2.2rem;
  color: var(--primary);
  margin-bottom: 1.2rem;
}

.value-card h3 {
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.value-card p {
  color: var(--gray-dark);
  margin-bottom: 0;
}

.team {
  padding: 5rem 0;
  background-color: var(--gray-light);
}

.team h2 {
  text-align: center;
  margin-bottom: 3rem;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.team-member {
  background-color: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.team-member:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 25px rgba(0, 0, 0, 0.1);
}

.team-member img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.team-member h3, .team-member p {
  padding: 0 1.5rem;
}

.team-member h3 {
  margin: 1.2rem 0 0.3rem;
  font-size: 1.3rem;
}

.team-member .position {
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 0.8rem;
}

.team-member p:last-child {
  margin-bottom: 1.5rem;
  color: var(--gray-dark);
}

.certifications {
  padding: 5rem 0;
}

.certifications h2 {
  text-align: center;
  margin-bottom: 3rem;
}

.cert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  text-align: center;
}

.cert-item img {
  height: 100px;
  margin: 0 auto 1rem;
}

.cert-item h3 {
  font-size: 1.1rem;
  margin-bottom: 0;
}

/* Blog Page */
.blog-content {
  padding: 5rem 0;
}

.blog-grid {
  display: grid;
  gap: 3rem;
}

.blog-grid .blog-card {
  display: grid;
  grid-template-columns: 300px 1fr;
  max-width: 100%;
}

.blog-grid .blog-image {
  overflow: hidden;
}

.blog-grid .blog-image img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.blog-grid .blog-card:hover .blog-image img {
  transform: scale(1.05);
}

.blog-details {
  padding: 2rem;
}

.blog-meta {
  display: flex;
  gap: 1.5rem;
  color: var(--gray);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.blog-meta span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.blog-details h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.blog-details p {
  margin-bottom: 1.5rem;
}

.blog-details .read-more {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.blog-details .read-more i {
  transition: transform 0.3s ease;
}

.blog-details .read-more:hover i {
  transform: translateX(4px);
}

.subscribe {
  padding: 5rem 0;
  background-color: var(--primary);
}

.subscribe-content {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.subscribe h2 {
  color: var(--white);
  margin-bottom: 1rem;
}

.subscribe p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
}

.subscribe-form {
  display: flex;
  max-width: 500px;
  margin: 0 auto;
}

.subscribe-form input {
  flex: 1;
  padding: 0.8rem 1.2rem;
  border: none;
  border-radius: var(--radius) 0 0 var(--radius);
  font-family: var(--font-main);
}

.subscribe-form .btn {
  border-radius: 0 var(--radius) var(--radius) 0;
  background-color: var(--accent);
}

.subscribe-form .btn:hover {
  background-color: #d45c4c;
}

/* Blog Single Post */
.blog-single-header {
  padding: 3rem 0;
  background-color: var(--tertiary);
}

.blog-breadcrumb {
  margin-bottom: 1.5rem;
  color: var(--gray);
  font-size: 0.9rem;
}

.blog-breadcrumb a {
  color: var(--gray-dark);
}

.blog-breadcrumb a:hover {
  color: var(--primary);
}

.blog-single-header h1 {
  margin-bottom: 1rem;
  font-size: 2.5rem;
}

.blog-single-content {
  padding: 5rem 0;
}

.blog-single-content .container {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
}

.featured-image {
  margin-bottom: 2.5rem;
}

.featured-image img {
  width: 100%;
  border-radius: var(--radius);
}

.blog-article {
  font-size: 1.05rem;
}

.blog-article .intro {
  font-size: 1.2rem;
  color: var(--gray-dark);
  line-height: 1.7;
}

.blog-article h2 {
  margin: 2.5rem 0 1rem;
  font-size: 1.8rem;
}

.blog-article h3 {
  margin: 2rem 0 1rem;
  font-size: 1.5rem;
}

.blog-article ul, .blog-article ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.blog-article ul {
  list-style: disc;
}

.blog-article ol {
  list-style: decimal;
}

.blog-article li {
  margin-bottom: 0.5rem;
}

.image-block {
  margin: 2.5rem 0;
}

.image-block img {
  width: 100%;
  border-radius: var(--radius);
}

.image-block .caption {
  margin-top: 0.8rem;
  font-size: 0.9rem;
  color: var(--gray);
  text-align: center;
  font-style: italic;
}

.case-study {
  background-color: var(--tertiary);
  padding: 2rem;
  border-radius: var(--radius);
  margin: 2.5rem 0;
}

.case-study h4 {
  color: var(--primary);
  margin-bottom: 0.8rem;
  font-size: 1.3rem;
}

.article-tags {
  margin: 3rem 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag-label {
  font-weight: 600;
  color: var(--gray-dark);
}

.tag {
  display: inline-block;
  padding: 0.3rem 0.8rem;
  background-color: var(--tertiary);
  border-radius: var(--radius);
  color: var(--primary);
  font-size: 0.9rem;
  transition: var(--transition);
}

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

.share-post {
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--gray-light);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.share-post span {
  color: var(--gray-dark);
  font-weight: 600;
}

.social-share {
  display: flex;
  gap: 0.8rem;
}

.social-share a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--tertiary);
  color: var(--primary);
  transition: var(--transition);
}

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

.author-bio {
  display: flex;
  gap: 2rem;
  background-color: var(--tertiary);
  padding: 2rem;
  border-radius: var(--radius);
  margin-bottom: 3rem;
}

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

.bio-content h3 {
  font-size: 1rem;
  color: var(--gray-dark);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
}

.bio-content h4 {
  font-size: 1.3rem;
  margin-bottom: 0.8rem;
}

.bio-content p {
  margin-bottom: 0;
  font-size: 0.95rem;
}

.related-posts {
  margin-top: 3rem;
}

.related-posts h3 {
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.related-post {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.related-post:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.1);
}

.related-post img {
  width: 100%;
  height: 150px;
  object-fit: cover;
}

.related-post h4 {
  background-color: rgba(255, 255, 255, 0.9);
  padding: 1rem;
  font-size: 1rem;
  margin: 0;
  position: absolute;
  bottom: 0;
  width: 100%;
}

/* Sidebar */
.blog-sidebar {
  position: sticky;
  top: 100px;
  align-self: start;
}

.sidebar-widget {
  background-color: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow);
}

.sidebar-widget h3 {
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--gray-light);
}

.search-form {
  display: flex;
}

.search-form input {
  flex: 1;
  padding: 0.8rem 1.2rem;
  border: 1px solid var(--gray-light);
  border-right: none;
  border-radius: var(--radius) 0 0 var(--radius);
  font-family: var(--font-main);
}

.search-form button {
  background-color: var(--primary);
  color: var(--white);
  border: none;
  padding: 0 1.2rem;
  cursor: pointer;
  border-radius: 0 var(--radius) var(--radius) 0;
  transition: var(--transition);
}

.search-form button:hover {
  background-color: var(--primary-dark);
}

.categories-widget ul {
  list-style: none;
}

.categories-widget li {
  margin-bottom: 0.8rem;
}

.categories-widget a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--dark);
  transition: var(--transition);
}

.categories-widget a:hover {
  color: var(--primary);
  padding-left: 5px;
}

.categories-widget span {
  background-color: var(--tertiary);
  color: var(--primary);
  font-size: 0.8rem;
  padding: 0.2rem 0.6rem;
  border-radius: 50px;
}

.recent-posts {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.recent-post {
  display: flex;
  gap: 1rem;
}

.recent-post img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: var(--radius);
}

.recent-post h4 {
  font-size: 1rem;
  margin-bottom: 0.3rem;
}

.recent-post .date {
  font-size: 0.8rem;
  color: var(--gray);
}

.cta-widget, .download-widget, .whitepaper-widget, .guide-widget {
  background-color: var(--tertiary);
  text-align: center;
}

.cta-widget h3, .download-widget h3, .whitepaper-widget h3, .guide-widget h3 {
  border-bottom: none;
}

.cta-widget p, .download-widget p, .whitepaper-widget p, .guide-widget p {
  margin-bottom: 1.5rem;
}

.cta-widget .btn, .download-widget .btn, .whitepaper-widget .btn, .guide-widget .btn {
  width: 100%;
}

/* Products Page */
.product-categories {
  padding: 5rem 0;
}

.category-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
}

.category-button {
  background: none;
  border: 2px solid var(--primary);
  color: var(--primary);
  padding: 0.6rem 1.5rem;
  border-radius: 50px;
  cursor: pointer;
  font-weight: 600;
  transition: var(--transition);
}

.category-button:hover, .category-button.active {
  background-color: var(--primary);
  color: var(--white);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2.5rem;
}

.product-card {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background-color: var(--white);
  transition: var(--transition);
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.product-image {
  position: relative;
  height: 250px;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  padding: 0.4rem 0.8rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
}

.eco {
  background-color: #a3d29c;
  color: #2b5229;
}

.new {
  background-color: #f8d29c;
  color: #8a520e;
}

.bestseller {
  background-color: #f89c9c;
  color: #8a1e0e;
}

.product-details {
  padding: 2rem;
}

.product-details h3 {
  margin-bottom: 0.8rem;
  font-size: 1.4rem;
}

.product-details p {
  color: var(--gray-dark);
  margin-bottom: 1.5rem;
}

.product-features {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.product-features span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--tertiary);
  padding: 0.4rem 0.8rem;
  border-radius: 50px;
  font-size: 0.9rem;
  color: var(--gray-dark);
}

.product-features i {
  color: var(--primary);
}

.custom-solutions {
  padding: 5rem 0;
  background-color: var(--tertiary);
}

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

.custom-text h2 {
  margin-bottom: 1.2rem;
}

.custom-features {
  margin: 2rem 0;
  list-style: none;
}

.custom-features li {
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.custom-features i {
  color: var(--primary);
  font-size: 1.2rem;
}

.custom-image img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.material-science {
  padding: 5rem 0;
}

.material-science h2, .section-intro {
  text-align: center;
}

.section-intro {
  max-width: 700px;
  margin: 0 auto 3rem;
  font-size: 1.1rem;
}

.materials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.material-card {
  text-align: center;
}

.material-card img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  margin: 0 auto 1.5rem;
}

.material-card h3 {
  margin-bottom: 0.8rem;
  font-size: 1.3rem;
}

.material-card p {
  color: var(--gray-dark);
}

.cta-section {
  padding: 5rem 0;
  background-color: var(--primary);
  color: var(--white);
}

.cta-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.cta-content h2 {
  color: var(--white);
  margin-bottom: 1.2rem;
}

.cta-content p {
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

/* Contact Page */
.contact-section {
  padding: 5rem 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact-info h2 {
  margin-bottom: 1.5rem;
}

.contact-info > p {
  margin-bottom: 2.5rem;
}

.info-card {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

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

.info-content h3 {
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.info-content p {
  margin-bottom: 0.3rem;
  line-height: 1.4;
}

.info-note {
  font-size: 0.9rem;
  color: var(--gray);
  font-style: italic;
}

.social-contact h3 {
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.social-contact .social-icons {
  margin-top: 0;
}

.social-contact .social-icons a {
  background-color: var(--tertiary);
  color: var(--primary);
}

.social-contact .social-icons a:hover {
  background-color: var(--primary);
  color: var(--white);
}

.contact-form-container {
  background-color: var(--white);
  border-radius: var(--radius);
  padding: 3rem;
  box-shadow: var(--shadow);
}

.contact-form-container h2 {
  margin-bottom: 2rem;
}

.contact-form {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.form-group {
  width: calc(50% - 0.75rem);
}

.form-group.full-width {
  width: 100%;
}

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

.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid var(--gray-light);
  border-radius: var(--radius);
  font-family: var(--font-main);
  transition: var(--transition);
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--primary);
  outline: none;
  box-shadow: 0 0 0 2px rgba(74, 124, 89, 0.2);
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
}

.checkbox-group input {
  width: auto;
  margin-top: 0.3rem;
}

.checkbox-group label {
  font-weight: normal;
  font-size: 0.9rem;
}

.btn-submit {
  width: 100%;
  padding: 1rem;
}

.map-section {
  padding: 5rem 0;
  background-color: var(--tertiary);
}

.map-section h2 {
  text-align: center;
  margin-bottom: 2rem;
}

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

.faq-section {
  padding: 5rem 0;
}

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

.faq-grid {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 1.5rem;
  border: 1px solid var(--gray-light);
  border-radius: var(--radius);
  overflow: hidden;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  cursor: pointer;
  background-color: var(--white);
}

.faq-question h3 {
  margin-bottom: 0;
  font-size: 1.1rem;
  padding-right: 2rem;
}

.faq-toggle {
  color: var(--primary);
  transition: var(--transition);
}

.faq-answer {
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
  padding: 0 1.5rem 1.5rem;
  max-height: 500px;
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  align-items: center;
  justify-content: center;
}

.modal.open {
  display: flex;
}

.modal-content {
  background-color: var(--white);
  border-radius: var(--radius);
  max-width: 500px;
  width: 90%;
  position: relative;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.close-modal {
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--gray);
  transition: var(--transition);
}

.close-modal:hover {
  color: var(--dark);
}

.modal-body {
  padding: 3rem;
  text-align: center;
}

.modal-icon {
  font-size: 3rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.modal-body h2 {
  margin-bottom: 1rem;
}

.modal-body p {
  margin-bottom: 2rem;
}

.modal-btn {
  min-width: 150px;
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: var(--white);
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  z-index: 999;
  padding: 1.5rem;
  display: none;
}

.cookie-banner.visible {
  display: block;
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.cookie-content p {
  flex: 1;
  min-width: 300px;
  margin-bottom: 0;
  font-size: 0.95rem;
}

.cookie-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-accept {
  background-color: var(--primary);
  color: var(--white);
  padding: 0.7rem 1.5rem;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: 600;
  transition: var(--transition);
}

.btn-customize {
  background-color: var(--white);
  color: var(--dark);
  border: 1px solid var(--gray-light);
  padding: 0.7rem 1.5rem;
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: 600;
  transition: var(--transition);
}

.btn-reject {
  background-color: var(--gray-light);
  color: var(--gray-dark);
  padding: 0.7rem 1.5rem;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: 600;
  transition: var(--transition);
}

.btn-accept:hover {
  background-color: var(--primary-dark);
}

.btn-customize:hover {
  border-color: var(--gray-dark);
}

.btn-reject:hover {
  background-color: var(--gray);
  color: var(--white);
}

.cookie-content a {
  color: var(--primary);
  text-decoration: underline;
  margin-left: 1rem;
}

/* Responsive Design */
@media (max-width: 1100px) {
  .blog-single-content .container {
    grid-template-columns: 1fr;
  }
  
  .blog-sidebar {
    position: static;
    margin-top: 3rem;
  }
  
  .custom-content {
    grid-template-columns: 1fr;
  }
  
  .custom-image {
    order: -1;
  }
}

@media (max-width: 900px) {
  html {
    font-size: 15px;
  }
  
  .about-grid {
    grid-template-columns: 1fr;
  }
  
  .about-image {
    order: -1;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .blog-grid .blog-card {
    grid-template-columns: 1fr;
  }
  
  .blog-image img {
    height: 250px;
  }
  
  .related-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
  }
  
  header .container {
    flex-direction: column;
    gap: 1rem;
  }
  
  nav ul {
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .font-size-control {
    position: absolute;
    top: 1.2rem;
    right: 1.2rem;
  }
  
  .cookie-content {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .cookie-buttons {
    width: 100%;
    justify-content: space-between;
  }
  
  .author-bio {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

@media (max-width: 600px) {
  html {
    font-size: 14px;
  }
  
  .form-group {
    width: 100%;
  }
  
  .mission-stats {
    flex-direction: column;
    gap: 2rem;
  }
  
  .related-grid {
    grid-template-columns: 1fr;
  }
  
  .btn-accept, .btn-customize, .btn-reject {
    padding: 0.7rem 1rem;
    font-size: 0.9rem;
  }
}
