/* ============================== 
   Base Styles
   ============================== */
:root {
  --primary-color: #4caf50;
  --primary-dark: #388e3c;
  --primary-light: #c8e6c9;
  --secondary-color: #607d8b;
  --secondary-dark: #455a64;
  --accent-color: #8bc34a;
  --text-color: #333333;
  --text-light: #757575;
  --text-white: #ffffff;
  --background-color: #ffffff;
  --background-light: #f9f9f9;
  --background-alt: #f1f8e9;
  --border-color: #e0e0e0;
  --shadow-color: rgba(0, 0, 0, 0.1);
  --success-color: #4caf50;
  --error-color: #f44336;
  --warning-color: #ff9800;
  --info-color: #2196f3;
  --font-main: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-heading: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --border-radius: 4px;
  --transition-speed: 0.3s;
  --container-width: 1200px;
  --header-height: 80px;
  --footer-bg: #f5f5f5;
  --card-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  --hover-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

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

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

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: 1.3;
  margin-bottom: 1rem;
  color: var(--text-color);
  font-weight: 600;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.5rem;
}

h4 {
  font-size: 1.25rem;
}

p {
  margin-bottom: 1rem;
}

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

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

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

ul, ol {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}

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

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius);
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-speed);
  border: none;
  font-size: 1rem;
  text-decoration: none;
}

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

.primary-btn:hover {
  background-color: var(--primary-dark);
  color: var(--text-white);
  transform: translateY(-2px);
  box-shadow: var(--hover-shadow);
}

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

.secondary-btn:hover {
  background-color: var(--secondary-dark);
  color: var(--text-white);
  transform: translateY(-2px);
  box-shadow: var(--hover-shadow);
}

.btn:focus {
  outline: none;
}

/* ============================== 
   Layout
   ============================== */
.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: var(--header-height);
  padding: 0 2rem;
  background-color: var(--background-color);
  box-shadow: 0 2px 4px var(--shadow-color);
  position: relative;
  z-index: 100;
}

.logo img {
  max-height: 50px;
}

nav ul {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
}

nav ul li {
  margin-left: 1.5rem;
}

nav ul li a {
  color: var(--text-color);
  font-weight: 500;
  padding: 0.5rem;
  text-decoration: none;
  position: relative;
}

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

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

nav ul li a.active {
  color: var(--primary-color);
}

.page-header {
  background-color: var(--background-alt);
  padding: 3rem 0;
  text-align: center;
  margin-bottom: 3rem;
}

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

main {
  min-height: 60vh;
}

section {
  padding: 4rem 0;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  padding: 3rem 2rem;
  background-color: var(--footer-bg);
}

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

.footer-column h4 {
  margin-bottom: 1.25rem;
  font-size: 1.1rem;
}

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

.footer-column ul li {
  margin-bottom: 0.5rem;
}

.footer-column ul li a {
  color: var(--text-color);
  transition: color var(--transition-speed);
}

.footer-column ul li a:hover {
  color: var(--primary-color);
}

address {
  font-style: normal;
  line-height: 1.6;
  margin-bottom: 1rem;
}

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

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--secondary-color);
  color: var(--text-white);
  transition: all var(--transition-speed);
}

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

.copyright {
  text-align: center;
  padding: 1.5rem;
  background-color: var(--secondary-dark);
  color: var(--text-white);
}

/* ============================== 
   Home Page
   ============================== */
.hero {
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('images/4.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: var(--text-white);
  text-align: center;
  padding: 8rem 0;
  margin-bottom: 4rem;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  color: var(--text-white);
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
}

.features {
  background-color: var(--background-light);
}

.feature-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
}

.feature-card {
  flex: 1;
  min-width: 280px;
  max-width: 350px;
  background-color: var(--background-color);
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: var(--card-shadow);
  text-align: center;
  transition: transform var(--transition-speed), box-shadow var(--transition-speed);
}

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

.feature-icon {
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.popular-products {
  padding: 4rem 0;
}

.product-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
}

.product-card {
  flex: 1;
  min-width: 280px;
  max-width: 350px;
  background-color: var(--background-color);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: transform var(--transition-speed), box-shadow var(--transition-speed);
}

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

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

.product-card h3 {
  font-size: 1.2rem;
  padding: 1rem 1rem 0.5rem;
}

.price {
  font-weight: bold;
  color: var(--primary-color);
  padding: 0 1rem;
}

.description {
  padding: 0 1rem;
  margin-bottom: 1rem;
}

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

.testimonials {
  background-color: var(--background-alt);
}

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

.testimonial-card {
  flex: 1;
  min-width: 280px;
  max-width: 350px;
  background-color: var(--background-color);
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: var(--card-shadow);
  position: relative;
}

.quote {
  color: var(--primary-light);
  margin-bottom: 1rem;
}

.testimonial-author {
  margin-top: 1rem;
  text-align: right;
}

.eco-friendly {
  display: flex;
  align-items: center;
}

.eco-content {
  flex: 1;
  padding-right: 2rem;
}

.eco-image {
  flex: 1;
}

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

.blog-preview {
  background-color: var(--background-light);
}

.blog-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
}

.blog-card {
  flex: 1;
  min-width: 280px;
  max-width: 550px;
  background-color: var(--background-color);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: transform var(--transition-speed), box-shadow var(--transition-speed);
}

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

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

.blog-content {
  padding: 1.5rem;
}

.blog-content h3 {
  margin-bottom: 0.5rem;
}

.read-more {
  display: inline-block;
  margin-top: 0.5rem;
  color: var(--primary-color);
  font-weight: 600;
  transition: color var(--transition-speed);
}

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

/* ============================== 
   Products Page
   ============================== */
.products-list {
  padding-top: 0;
}

.product-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.filter-btn {
  padding: 0.5rem 1rem;
  background-color: var(--background-light);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: all var(--transition-speed);
}

.filter-btn:hover,
.filter-btn.active {
  background-color: var(--primary-color);
  color: var(--text-white);
  border-color: var(--primary-color);
}

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

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

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

.product-image {
  height: 250px;
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-speed);
}

.product-item:hover .product-image img {
  transform: scale(1.05);
}

.product-details {
  padding: 1.5rem;
}

.product-details h2 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.product-description {
  margin-bottom: 1rem;
}

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

.feature-tag {
  font-size: 0.8rem;
  padding: 0.3rem 0.6rem;
  background-color: var(--primary-light);
  color: var(--primary-dark);
  border-radius: 50px;
}

.product-price {
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.usage-steps {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.step-number {
  width: 40px;
  height: 40px;
  background-color: var(--primary-color);
  color: var(--text-white);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  margin-bottom: 1rem;
}

.faq-list {
  margin-top: 2rem;
}

.faq-item {
  border-bottom: 1px solid var(--border-color);
}

.faq-question {
  padding: 1.5rem 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question h3 {
  margin: 0;
  font-size: 1.1rem;
}

.toggle-icon {
  font-size: 1.5rem;
  transition: transform var(--transition-speed);
}

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

.faq-answer {
  padding: 0 0 1.5rem;
  display: none;
}

.faq-item.active .faq-answer {
  display: block;
}

.testimonial-carousel {
  display: flex;
  overflow-x: auto;
  gap: 1.5rem;
  padding: 1rem 0;
  scroll-snap-type: x mandatory;
}

.testimonial-item {
  flex: 0 0 100%;
  max-width: 500px;
  scroll-snap-align: start;
  background-color: var(--background-color);
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: var(--card-shadow);
  position: relative;
}

@media (min-width: 768px) {
  .testimonial-item {
    flex: 0 0 calc(50% - 0.75rem);
  }
}

@media (min-width: 1200px) {
  .testimonial-item {
    flex: 0 0 calc(33.333% - 1rem);
  }
}

/* ============================== 
   About Page
   ============================== */
.about-story {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 3rem;
}

.story-content {
  flex: 1;
  min-width: 300px;
}

.story-image {
  flex: 1;
  min-width: 300px;
}

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

.mission-vision {
  background-color: var(--background-alt);
}

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

.team {
  text-align: center;
}

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

.team-member {
  background-color: var(--background-color);
  border-radius: var(--border-radius);
  padding: 1.5rem;
  box-shadow: var(--card-shadow);
  transition: transform var(--transition-speed), box-shadow var(--transition-speed);
}

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

.team-member img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 50%;
  margin: 0 auto 1rem;
}

.team-member h3 {
  margin-bottom: 0.25rem;
}

.team-member p:first-of-type {
  color: var(--text-light);
  margin-bottom: 0.5rem;
}

.initiatives-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.initiative-item {
  background-color: var(--background-color);
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: var(--card-shadow);
  transition: transform var(--transition-speed), box-shadow var(--transition-speed);
}

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

.initiative-icon {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.certificate-list {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  margin-top: 2rem;
}

.certificate-item {
  flex: 1;
  min-width: 280px;
  max-width: 350px;
  background-color: var(--background-color);
  border-radius: var(--border-radius);
  padding: 1.5rem;
  box-shadow: var(--card-shadow);
  text-align: center;
}

.certificate-item img {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin: 0 auto 1rem;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.info-item {
  background-color: var(--background-color);
  border-radius: var(--border-radius);
  padding: 1.5rem;
  box-shadow: var(--card-shadow);
}

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

.cta-section {
  background-color: var(--primary-light);
  text-align: center;
}

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-top: 1.5rem;
}

/* ============================== 
   Contact Page
   ============================== */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.info-item {
  display: flex;
  gap: 1rem;
}

.info-icon {
  color: var(--primary-color);
  flex-shrink: 0;
}

.contact-form {
  background-color: var(--background-color);
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: var(--card-shadow);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

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

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
}

.checkbox-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.checkbox-group input {
  width: auto;
}

.privacy-link {
  margin-top: 0.5rem;
  font-size: 0.9rem;
}

.required {
  color: var(--error-color);
}

.map-container {
  margin-top: 2rem;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--card-shadow);
}

.map-placeholder {
  background-color: var(--background-light);
  height: 400px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.map-placeholder img {
  max-height: 350px;
  object-fit: cover;
}

.map-placeholder p {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--text-light);
}

.faq-section {
  background-color: var(--background-light);
}

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

.modal-content {
  background-color: var(--background-color);
  border-radius: var(--border-radius);
  padding: 2rem;
  max-width: 500px;
  width: 90%;
  text-align: center;
  position: relative;
}

.close-modal {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 1.5rem;
  cursor: pointer;
}

.modal-icon {
  color: var(--success-color);
  margin-bottom: 1rem;
}

/* ============================== 
   Blog Page
   ============================== */
.blog-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 3rem;
}

.blog-main {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.blog-post-card {
  display: flex;
  flex-direction: column;
  background-color: var(--background-color);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: transform var(--transition-speed), box-shadow var(--transition-speed);
}

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

.post-image {
  height: 200px;
  overflow: hidden;
}

.post-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-speed);
}

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

.post-content {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.post-meta {
  display: flex;
  gap: 1rem;
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 0.5rem;
}

.post-content h2 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.post-content p {
  margin-bottom: 1rem;
  flex: 1;
}

.blog-sidebar {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.sidebar-widget {
  background-color: var(--background-color);
  border-radius: var(--border-radius);
  padding: 1.5rem;
  box-shadow: var(--card-shadow);
}

.sidebar-widget h3 {
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.category-list li {
  margin-bottom: 0.5rem;
}

.popular-posts {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.popular-posts li a {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--text-color);
  transition: color var(--transition-speed);
}

.popular-posts li a:hover {
  color: var(--primary-color);
}

.popular-posts img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: var(--border-radius);
}

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

.featured-product img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: var(--border-radius);
  margin-bottom: 1rem;
}

.featured-product h4 {
  margin-bottom: 0.5rem;
}

.featured-product p {
  margin-bottom: 1rem;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1rem;
}

.newsletter-form input {
  padding: 0.75rem;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  font-family: var(--font-main);
  font-size: 1rem;
}

.newsletter-form input:focus {
  outline: none;
  border-color: var(--primary-color);
}

/* ============================== 
   Policy Pages
   ============================== */
.policy-content {
  padding-bottom: 4rem;
}

.policy-section {
  margin-bottom: 2rem;
}

.policy-section h2 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.policy-section h3 {
  font-size: 1.2rem;
  margin: 1.5rem 0 0.75rem;
}

.policy-updated {
  color: var(--text-light);
  font-style: italic;
  margin-top: 3rem;
  border-top: 1px solid var(--border-color);
  padding-top: 1rem;
}

/* ============================== 
   Cookie Notice
   ============================== */
.cookie-notice {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: rgba(51, 51, 51, 0.95);
  color: var(--text-white);
  padding: 1.5rem;
  z-index: 1000;
}

.cookie-content {
  max-width: var(--container-width);
  margin: 0 auto;
}

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

.cookie-btn {
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius);
  font-size: 0.9rem;
  cursor: pointer;
  border: none;
}

.accept {
  background-color: var(--primary-color);
  color: var(--text-white);
}

.settings {
  background-color: var(--text-white);
  color: var(--text-color);
}

.decline {
  background-color: var(--text-light);
  color: var(--text-white);
}

.cookie-policy-link {
  color: var(--primary-light);
  margin-left: 1rem;
  align-self: center;
}

/* ============================== 
   Typewriter Effect
   ============================== */
.typewriter {
  overflow: hidden;
  border-right: .15em solid var(--primary-color);
  white-space: nowrap;
  margin: 0 auto;
  letter-spacing: .1em;
  animation: 
    typing 3.5s steps(30, end),
    blink-caret .75s step-end infinite;
}

@keyframes typing {
  from { width: 0 }
  to { width: 100% }
}

@keyframes blink-caret {
  from, to { border-color: transparent }
  50% { border-color: var(--primary-color) }
}

/* ============================== 
   Responsive Design
   ============================== */
@media (max-width: 1200px) {
  .container {
    width: 95%;
  }
}

@media (max-width: 992px) {
  html {
    font-size: 14px;
  }
  
  .header-container {
    padding: 0 1rem;
  }
  
  .blog-layout {
    grid-template-columns: 1fr;
  }
  
  .blog-sidebar {
    margin-top: 2rem;
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  .hero {
    padding: 6rem 0;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .blog-post-card {
    flex-direction: column;
  }
  
  .about-story,
  .eco-friendly {
    flex-direction: column;
  }
  
  .story-image,
  .eco-image {
    order: -1;
    margin-bottom: 2rem;
  }
}

@media (max-width: 576px) {
  .header-container {
    flex-direction: column;
    height: auto;
    padding: 1rem;
  }
  
  .logo {
    margin-bottom: 1rem;
  }
  
  nav ul {
    flex-direction: column;
    text-align: center;
  }
  
  nav ul li {
    margin: 0.5rem 0;
  }
  
  .hero {
    padding: 4rem 0;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .feature-cards,
  .product-cards,
  .testimonial-cards,
  .blog-cards {
    flex-direction: column;
    align-items: center;
  }
  
  .feature-card,
  .product-card,
  .testimonial-card,
  .blog-card {
    width: 100%;
  }
  
  .cookie-buttons {
    flex-direction: column;
  }
  
  .cookie-policy-link {
    margin: 0;
    margin-top: 0.5rem;
  }
}
