/* Earthy color palette - More professional tones */
:root {
  --yellow: #f2c94c;
  --brown: #7d4f24;
  --green: #468c41;
  --light-bg: #fcfaf2;
  --dark-text: #2d2013;
  --section-padding: 80px 0;
  --form-bg: #ffffff;
  --form-border: #e0e0e0;
  --form-focus: #468c41;
  --form-shadow: 0 4px 15px rgba(0,0,0,0.06);
}

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

body {
  font-family: 'Poppins', sans-serif;
  background: var(--light-bg);
  color: var(--dark-text);
  line-height: 1.6;
  scroll-behavior: smooth;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.navbar {
  position: sticky;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  padding: 0;
}

.logo {
  display: flex;
  align-items: center;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--brown);
  letter-spacing: 0.5px;
}

.logo a {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
  transition: opacity 0.3s ease;
}

.logo a:hover {
  opacity: 0.9;
}

.logo-img {
  width: 180px;
  height: 60px;
  margin-right: 12px;
  border-radius: 4px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--brown);
  font-weight: 500;
  position: relative;
  padding-bottom: 5px;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: var(--green);
}

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

.nav-links a:hover::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background: var(--brown);
  border-radius: 2px;
  transition: transform 0.3s;
}

.section {
  padding: var(--section-padding);
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(.4,0,.2,1), transform 0.8s cubic-bezier(.4,0,.2,1);
  position: relative;
}

.section.visible {
  opacity: 1;
  transform: none;
}

.section h2 {
  font-size: 2.2rem;
  color: var(--dark-text);
  margin-bottom: 2rem;
  position: relative;
  padding-bottom: 1rem;
}

.section h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: var(--green);
  border-radius: 2px;
}

/* Background images for sections */
.bg-image-1 {
  background: linear-gradient(rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.7)), url('bg.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.bg-image-2 {
  background: linear-gradient(rgba(255, 255, 255, 0.75), rgba(255, 255, 255, 0.75)), url('bg2.jpg');
  background-size: cover;
  background-position: center;
}

.bg-image-3 {
  background: linear-gradient(rgba(70, 140, 65, 0.85), rgba(70, 140, 65, 0.85)), url('bg3.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.home-section {
  text-align: center;
  border-radius: 0 0 40px 40px;
  padding: 40px 0 60px;
  position: relative;
  background: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.9)), url('bg.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  margin-top: 0;
}

.home-section h1 {
  font-size: clamp(1.8rem, 5vw, 3rem);
  margin-bottom: 1rem;
  color: var(--brown);
  font-weight: 700;
  line-height: 1.2;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.home-section p {
  font-size: clamp(0.95rem, 2.5vw, 1.1rem);
  color: var(--dark-text);
  max-width: 700px;
  margin: 0 auto 1.5rem;
  line-height: 1.6;
}

.home-section blockquote {
  font-style: italic;
  margin: 1.5rem auto;
  padding: 1rem 1.5rem;
  font-size: clamp(0.95rem, 2.5vw, 1.2rem);
  color: var(--brown);
  border-left: 4px solid var(--yellow);
  background: rgba(242, 201, 76, 0.1);
  border-radius: 0 12px 12px 0;
  max-width: 800px;
  position: relative;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.home-section blockquote::before {
  content: '"';
  position: absolute;
  left: 20px;
  top: 10px;
  font-size: 4rem;
  color: var(--yellow);
  opacity: 0.2;
  font-family: Georgia, serif;
}

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

.hero-btn {
  padding: clamp(0.8rem, 2vw, 1rem) clamp(1.5rem, 3vw, 2.5rem);
  border-radius: 50px;
  font-weight: 600;
  font-size: clamp(0.9rem, 2vw, 1.1rem);
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

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

.primary-btn:hover {
  background: #3a7a36;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(70, 140, 65, 0.3);
}

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

.secondary-btn:hover {
  background: var(--brown);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(125, 79, 36, 0.2);
}

@media (max-width: 1200px) {
  .home-section {
    padding: 35px 0 50px;
  }
}

@media (max-width: 992px) {
  .home-section {
    padding: 30px 0 45px;
  }
  
  .home-section blockquote {
    margin: 1.2rem auto;
    padding: 0.9rem 1.2rem;
  }
}

@media (max-width: 768px) {
  .home-section {
    padding: 25px 0 35px;
  }

  .hero-buttons {
    flex-direction: column;
    padding: 0 1.5rem;
    gap: 1rem;
  }

  .hero-btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 576px) {
  .home-section {
    padding: 20px 0 30px;
  }

  .home-section blockquote {
    margin: 1rem auto;
    padding: 0.8rem 1rem;
  }

  .hero-buttons {
    padding: 0 1rem;
  }
}

@media (max-width: 480px) {
  .home-section {
    padding: 15px 0 25px;
  }

  .home-section blockquote {
    margin: 0.8rem auto;
    padding: 0.7rem 0.9rem;
  }

  .hero-buttons {
    gap: 0.8rem;
  }
}

.products-section {
  padding: 80px 0;
}

.products-section h2 {
  margin-bottom: 1rem;
  color: var(--dark-text);
  font-weight: 600;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2.5rem;
  margin-top: 2.5rem;
  overflow-x: auto;
  padding: 1rem 0.5rem;
  scroll-snap-type: x mandatory;
}

.product-card {
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transition: transform 0.3s, box-shadow 0.3s;
  height: 100%;
  display: flex;
  flex-direction: column;
  scroll-snap-align: start;
}

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

.product-card .img-container {
  position: relative;
  width: 100%;
  height: 230px;
  overflow: hidden;
  border-bottom: 2px solid var(--green);
}

.product-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  image-rendering: -webkit-optimize-contrast; /* Improves clarity in webkit browsers */
  image-rendering: crisp-edges; /* Improves clarity in modern browsers */
}

.product-card:hover img {
  transform: scale(1.08);
}

.product-card h3 {
  color: var(--green);
  font-size: 1.2rem;
  padding: 1.2rem 1.2rem 0.5rem;
  font-weight: 600;
}

.product-card p {
  color: var(--dark-text);
  font-size: 0.9rem;
  padding: 0 1.2rem 1.5rem;
  flex-grow: 1;
}

.about-section {
  color: #fff;
  border-radius: 32px;
  margin: 2rem 0;
  padding: 80px 0;
}

.about-section h2 {
  color: #fff;
  margin-bottom: 1.5rem;
}

.about-text {
  color: #fff;
}

.about-text h3 {
  color: var(--yellow);
  margin: 1.8rem 0 0.8rem;
  font-size: 1.4rem;
  font-weight: 600;
}

.about-text h3:first-child {
  margin-top: 0;
}

.about-text p {
  margin-bottom: 1.2rem;
  line-height: 1.7;
}

.about-list {
  list-style: none;
  margin: 1.2rem 0 1.5rem;
}

.about-list li {
  margin-bottom: 0.8rem;
  color: #fff;
  position: relative;
  padding-left: 1.8rem;
  line-height: 1.5;
}

.about-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--yellow);
  font-weight: bold;
}

.about-list li strong {
  color: var(--yellow);
  font-weight: 600;
}

.contact-section {
  background: #fff;
  padding: 80px 0;
}

.contact-section h2 {
  margin-bottom: 2rem;
  color: var(--dark-text);
  text-align: left;
}

.contact-section h2::after {
  display: none;
}

.contact-section p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  line-height: 1.8;
}

.contact-section a {
  color: var(--green);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

.contact-section a:hover {
  color: var(--brown);
  text-decoration: underline;
}

.footer {
  background: #1a1a1a;
  color: #fff;
  padding: 4rem 0 0;
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--green);
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-section h3 {
  color: #fff;
  font-size: 1.4rem;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.footer-section h3::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 50px;
  height: 2px;
  background: var(--green);
  transition: width 0.3s ease;
}

.footer-section:hover h3::after {
  width: 80px;
}

.footer-section p {
  color: #b3b3b3;
  line-height: 1.5;
  margin-bottom: 1.2rem;
  font-size: 0.95rem;
}

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

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  color: #fff;
  transition: all 0.3s ease;
  font-size: 1.2rem;
  position: relative;
  overflow: hidden;
}

.social-links a::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--green);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.social-links a:hover::before {
  opacity: 1;
}

.social-links a i {
  position: relative;
  z-index: 1;
}

.social-links a:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

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

.footer-section ul li {
  margin-bottom: 0.7rem;
}

.footer-section ul li a {
  color: #b3b3b3;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
  font-size: 0.95rem;
  position: relative;
  padding-left: 1.2rem;
  line-height: 1.3;
}

.footer-section ul li a::before {
  content: '→';
  position: absolute;
  left: 0;
  opacity: 0;
  transition: all 0.3s ease;
}

.footer-section ul li a:hover {
  color: #fff;
  transform: translateX(10px);
}

.footer-section ul li a:hover::before {
  opacity: 1;
}

.footer-section.products ul {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.7rem;
}

.footer-section.products ul li {
  margin-bottom: 0.3rem;
}

.footer-section.products ul li a {
  font-size: 0.9rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.2;
}

.footer-bottom {
  background: rgba(0, 0, 0, 0.2);
  padding: 1.5rem 0;
  text-align: center;
  position: relative;
}

.footer-bottom::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 1px;
  background: rgba(255,255,255,0.05);
}

.copyright {
  color: #b3b3b3;
  font-size: 0.9rem;
  margin-bottom: 0.3rem;
  line-height: 1.3;
}

.developer-credit {
  color: #b3b3b3;
  font-size: 0.9rem;
  line-height: 1.3;
}

.developer-name {
  color: #fff;
  font-weight: 500;
  position: relative;
  display: inline-block;
}

.developer-name::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--green);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.developer-name:hover::after {
  transform: scaleX(1);
}

.contact-container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 2rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.contact-top-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: stretch;
}

.contact-card {
  background: var(--form-bg);
  border-radius: 12px;
  padding: 1.8rem;
  box-shadow: var(--form-shadow);
  border: 1px solid var(--form-border);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-details {
  width: 100%;
}

.contact-details p {
  margin-bottom: 1rem;
  font-size: 0.95rem;
  line-height: 1.6;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(0,0,0,0.08);
  position: relative;
  padding-left: 30px;
}

.contact-details p:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.contact-details strong {
  color: var(--brown);
  font-size: 0.95rem;
  display: inline-block;
  margin-right: 5px;
  min-width: 110px;
  vertical-align: top;
}

.map-wrapper {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--form-shadow);
  border: 1px solid var(--form-border);
  height: 100%;
}

.map-wrapper iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 300px;
  border: none;
}

.contact-form-container {
  background: var(--form-bg);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: var(--form-shadow);
  border: 1px solid var(--form-border);
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-weight: 500;
  color: var(--dark-text);
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.form-group label[for="name"]::after,
.form-group label[for="phone"]::after,
.form-group label[for="subject"]::after,
.form-group label[for="message"]::after {
  content: '*';
  color: #e74c3c;
  font-size: 1.2rem;
}

.form-group input,
.form-group textarea {
  padding: 0.8rem 1rem;
  border: 1px solid var(--form-border);
  border-radius: 8px;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  background: #fafafa;
  width: 100%;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(70, 140, 65, 0.1);
  background: #fff;
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.submit-btn {
  grid-column: 1 / -1;
  background: var(--green);
  color: white;
  border: none;
  padding: 1rem 2rem;
  border-radius: 8px;
  font-weight: 500;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  width: fit-content;
  margin: 0.5rem auto 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.submit-btn:hover {
  background: #3a7a36;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(70, 140, 65, 0.2);
}

.submit-btn:active {
  transform: translateY(0);
}

@media (max-width: 992px) {
  .contact-top-row {
    grid-template-columns: 1fr;
  }
  
  .map-wrapper {
    min-height: 300px;
  }
  
  .contact-card {
    padding: 1.5rem;
  }
}

@media (max-width: 768px) {
  .contact-form {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }
  
  .contact-form-container {
    padding: 1.5rem;
  }
  
  .form-group input,
  .form-group textarea {
    padding: 0.7rem 0.9rem;
  }
  
  .submit-btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .contact-form-container {
    padding: 1.2rem;
  }
  
  .contact-details strong {
    min-width: 90px;
  }
  
  .form-group label {
    font-size: 0.9rem;
  }
}

.contact-icon {
  display: none;
}

.contact-card h3 {
  color: var(--green);
  font-size: 1.3rem;
  margin-bottom: 1.2rem;
  font-weight: 600;
  position: relative;
}

.contact-card h3::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 2px;
  background-color: var(--yellow);
  border-radius: 2px;
}

.map-container {
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  height: 350px;
  position: relative;
  margin-top: 1.5rem;
}

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

.map-container a {
  display: block;
  height: 100%;
  width: 100%;
}

.map-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(227, 6, 19, 0.8);
  color: white;
  text-align: center;
  padding: 10px;
  text-decoration: none;
  font-weight: 500;
  transition: background 0.3s;
}

.map-overlay:hover {
  background: rgba(227, 6, 19, 1);
}

@media (max-width: 1024px) {
  .products-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }
}

@media (max-width: 768px) {
  .products-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 20px;
    padding-bottom: 20px;
  }
  
  .product-card {
    flex: 0 0 80%;
    scroll-snap-align: start;
    margin-right: 10px;
  }
  
  .logo {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .logo-img {
    width: 150px;
    height: 50px;
    margin-bottom: 5px;
  }
  
  .nav-links {
    position: absolute;
    top: 80px;
    right: 0;
    background: #fff;
    flex-direction: column;
    width: 220px;
    gap: 1rem;
    padding: 1.5rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    display: none;
    border-radius: 0 0 0 10px;
  }
  
  .nav-links.open {
    display: flex;
  }
  
  .nav-toggle {
    display: flex;
  }
  
  .contact-container {
    grid-template-columns: 1fr;
  }
  
  .map-wrapper {
    margin-top: 1.5rem;
  }
}

@media (max-width: 600px) {
  .container {
    width: 92%;
  }
   
  .section {
    padding: 60px 0;
  }
   
  .home-section h1 {
    font-size: 2.2rem;
  }
   
  .home-section {
    padding-top: 100px;
  }
  
  .logo-img {
    width: 180px;
    height: 60px;
  }
}

.about-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 2rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.inline-icon {
  position: absolute;
  left: 0;
  top: 0;
  color: var(--green);
  width: 16px;
  text-align: center;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.inline-icon i {
  font-size: 14px;
}

.address-line {
  line-height: 1.6;
}

.address-indent {
  display: inline-block;
  padding-left: 115px;
}

.address-text {
  display: none;
}

.address-text br {
  display: none;
}

.address-text br + * {
  display: none;
}

.developer-credit {
  font-size: 0.85rem;
  opacity: 0.9;
}

.developer-name {
  color: var(--yellow);
  font-weight: 500;
}

/* Mobile navigation improvements */
.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Additional responsive styles for mobile */
@media (max-width: 480px) {
  .container {
    width: 95%;
  }
  
  .section {
    padding: 50px 0;
  }
  
  .home-section h1 {
    font-size: 1.8rem;
    line-height: 1.3;
  }
  
  .home-section p {
    font-size: 0.95rem;
  }
  
  .home-section blockquote {
    font-size: 1.1rem;
    padding: 0.8rem;
  }
  
  .product-card {
    flex: 0 0 85%;
  }
  
  .product-card .img-container {
    height: 200px;
  }
  
  .address-indent {
    padding-left: 0;
    display: block;
    margin-top: 0.3rem;
  }
  
  .contact-details strong {
    min-width: auto;
    margin-bottom: 0.3rem;
    display: block;
  }
  
  .nav-container {
    height: 70px;
  }
  
  .logo {
    font-size: 1.2rem;
  }
  
  .logo-img {
    width: 120px;
    height: 40px;
  }
  
  .nav-links {
    top: 70px;
    width: 100%;
    right: 0;
    z-index: 1000;
    border-radius: 0;
  }
  
  .contact-card {
    padding: 1rem;
  }
  
  .footer {
    padding: 1rem 0;
    font-size: 0.9rem;
  }
  
  .developer-credit {
    display: block;
    margin-top: 0.5rem;
  }
}

/* Fix for address line on medium sized screens */
@media (max-width: 768px) {
  .address-line {
    padding-left: 30px;
  }
  
  .inline-icon {
    top: 2px;
  }
}

.footer-section.products ul {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.8rem 1.5rem;
  list-style: none;
  padding: 0;
}

.footer-section.products ul li {
  margin-bottom: 0;
}

.footer-section.products ul li a {
  color: #e8e8e8;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
  font-size: 0.9rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.footer-section.products ul li a:hover {
  color: var(--yellow);
  transform: translateX(5px);
}

@media (max-width: 480px) {
  .footer-section.products ul {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }
}

/* Mobile Navigation Improvements */
@media (max-width: 768px) {
  .nav-container {
    height: 70px;
    padding: 0 1rem;
  }

  .logo {
    font-size: 1.2rem;
  }

  .logo-img {
    width: 140px;
    height: 45px;
  }

  .nav-links {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    padding: 1rem;
    gap: 0.8rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links a {
    display: block;
    padding: 0.8rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
  }

  .nav-links a:hover {
    background: rgba(70, 140, 65, 0.1);
  }

  .nav-toggle {
    display: flex;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    padding: 5px;
  }

  .nav-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--brown);
    transition: all 0.3s ease;
  }

  .nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  /* Section Spacing Adjustments */
  .section {
    padding: 60px 0;
  }

  .home-section {
    padding-top: 80px;
  }

  .home-section h1 {
    font-size: 2rem;
    line-height: 1.3;
  }

  .home-section p {
    font-size: 1rem;
  }

  /* Products Section Mobile Optimization */
  .products-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    padding: 0.5rem;
  }

  .product-card {
    margin: 0;
  }

  .product-card .img-container {
    height: 200px;
  }

  /* Contact Section Mobile Optimization */
  .contact-container {
    gap: 1.5rem;
  }

  .contact-top-row {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .contact-card {
    padding: 1.2rem;
  }

  .contact-details strong {
    min-width: 100px;
  }

  .map-wrapper {
    height: 250px;
  }

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

  .form-group input,
  .form-group textarea {
    padding: 0.7rem;
  }

  .submit-btn {
    width: 100%;
  }
}

/* Small Mobile Devices */
@media (max-width: 480px) {
  .container {
    width: 92%;
  }

  .nav-container {
    height: 60px;
  }

  .logo-img {
    width: 120px;
    height: 40px;
  }

  .nav-links {
    top: 60px;
  }

  .section {
    padding: 40px 0;
  }

  .home-section h1 {
    font-size: 1.8rem;
  }

  .home-section p {
    font-size: 0.95rem;
  }

  .home-section blockquote {
    font-size: 1rem;
    padding: 0.8rem;
  }

  .products-grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  .product-card {
    margin: 0;
  }

  .product-card .img-container {
    height: 180px;
  }

  .product-card h3 {
    font-size: 1.1rem;
  }

  .product-card p {
    font-size: 0.9rem;
  }

  .contact-card {
    padding: 1rem;
  }

  .contact-details strong {
    min-width: 90px;
    font-size: 0.9rem;
  }

  .contact-details p {
    font-size: 0.9rem;
  }

  .map-wrapper {
    height: 200px;
  }

  .contact-form-container {
    padding: 1rem;
  }

  .form-group label {
    font-size: 0.9rem;
  }

  .form-group input,
  .form-group textarea {
    font-size: 0.9rem;
  }

  /* Footer Mobile Optimization */
  .footer {
    padding: 2.5rem 0 0;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

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

  .footer-section h3 {
    font-size: 1.2rem;
  }

  .footer-section h3::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .social-links {
    justify-content: center;
  }

  .footer-section.products ul {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }

  .footer-section ul li a {
    font-size: 0.9rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 0.8rem;
    padding: 1.2rem 0;
  }

  .copyright,
  .developer-credit {
    font-size: 0.85rem;
  }
}

/* Fix for iOS Safari 100vh issue */
@supports (-webkit-touch-callout: none) {
  .home-section {
    min-height: -webkit-fill-available;
  }
}

/* Smooth Scrolling for iOS */
html {
  -webkit-overflow-scrolling: touch;
}

/* Prevent text size adjustment on orientation change */
html {
  -webkit-text-size-adjust: 100%;
}

/* Improve tap target sizes */
button,
a,
input,
textarea {
  min-height: 44px;
  min-width: 44px;
}

/* Prevent zoom on input focus in iOS */
@media screen and (-webkit-min-device-pixel-ratio:0) {
  select,
  textarea,
  input {
    font-size: 16px;
  }
}

/* News Section Styles */
.news-section {
  background: var(--light-bg);
  padding: 80px 0;
}

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

.news-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transition: transform 0.3s ease;
}

.news-card:hover {
  transform: translateY(-5px);
}

.news-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

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

.news-date {
  position: absolute;
  bottom: 0;
  right: 0;
  background: var(--green);
  color: #fff;
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
}

.news-content {
  padding: 1.5rem;
}

.news-content h3 {
  color: var(--dark-text);
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.news-content p {
  color: #666;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.read-more {
  color: var(--green);
  text-decoration: none;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.3s ease;
}

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

/* Testimonials Section Styles */
.testimonials-section {
  background: #fff;
  padding: 80px 0;
}

.testimonials-slider {
  margin-top: 2rem;
  position: relative;
}

.testimonial-card {
  background: var(--light-bg);
  border-radius: 12px;
  padding: 2rem;
  margin: 1rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.testimonial-content {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 1.5rem;
}

.testimonial-content i {
  position: absolute;
  left: 0;
  top: 0;
  color: var(--green);
  font-size: 1.5rem;
}

.testimonial-content p {
  color: var(--dark-text);
  font-size: 1.1rem;
  line-height: 1.6;
  font-style: italic;
}

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

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

.author-info h4 {
  color: var(--dark-text);
  font-size: 1.1rem;
  margin-bottom: 0.2rem;
}

.author-info p {
  color: #666;
  font-size: 0.9rem;
}

/* Certifications Section Styles */
.certifications-section {
  padding: 80px 0;
}

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

.certification-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  transition: transform 0.3s ease;
}

.certification-card:hover {
  transform: translateY(-5px);
}

.certification-card img {
  width: 80px;
  height: 80px;
  margin-bottom: 1rem;
}

.certification-card h3 {
  color: #fff;
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.certification-card p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
}

/* Mobile Responsiveness for New Sections */
@media (max-width: 768px) {
  .news-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .news-image {
    height: 180px;
  }

  .testimonial-card {
    padding: 1.5rem;
  }

  .testimonial-content p {
    font-size: 1rem;
  }

  .certifications-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

@media (max-width: 480px) {
  .news-image {
    height: 160px;
  }

  .news-content {
    padding: 1.2rem;
  }

  .news-content h3 {
    font-size: 1.1rem;
  }

  .testimonial-card {
    padding: 1.2rem;
  }

  .testimonial-author img {
    width: 50px;
    height: 50px;
  }

  .author-info h4 {
    font-size: 1rem;
  }
}

/* Floating Call Button */
.call-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: var(--green);
  color: #fff;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  text-align: center;
  font-size: 30px;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease;
}

.call-float:hover {
  background-color: #3a7a36;
  transform: scale(1.1);
  color: #fff;
}

.call-float i {
  margin-top: 2px;
}

@media (max-width: 768px) {
  .call-float {
    width: 50px;
    height: 50px;
    font-size: 25px;
    bottom: 20px;
    right: 20px;
  }
}

.form-group select {
  padding: 0.8rem 1rem;
  border: 1px solid var(--form-border);
  border-radius: 8px;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  background: #fafafa;
  width: 100%;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1em;
}

.form-group select:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(70, 140, 65, 0.1);
  background-color: #fff;
}

.form-group select option {
  padding: 0.5rem;
  font-size: 0.95rem;
}

/* Product Showcase Section */
.product-showcase {
  background: #f8f9fa;
  padding: 0.5rem 0;
  overflow: hidden;
  position: relative;
  margin-top: 0;
}

.showcase-container {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.showcase-track {
  display: flex;
  gap: 1rem;
  animation: scroll 40s linear infinite;
  padding: 0.5rem 0;
}

.showcase-track:hover {
  animation-play-state: paused;
}

.showcase-item {
  flex: 0 0 180px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  cursor: grab;
  transition: transform 0.3s ease;
}

.showcase-item:active {
  cursor: grabbing;
}

.showcase-item img {
  width: 160px;
  height: 160px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

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

.showcase-item span {
  font-size: 0.9rem;
  color: var(--dark-text);
  font-weight: 500;
  text-align: center;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-180px * 8 - 1rem * 8));
  }
}

/* Enhanced Responsive styles for showcase */
@media (max-width: 1200px) {
  .showcase-item {
    flex: 0 0 160px;
  }
  
  .showcase-item img {
    width: 140px;
    height: 140px;
  }
  
  @keyframes scroll {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(calc(-160px * 8 - 1rem * 8));
    }
  }
}

@media (max-width: 992px) {
  .showcase-item {
    flex: 0 0 150px;
  }
  
  .showcase-item img {
    width: 130px;
    height: 130px;
  }
  
  @keyframes scroll {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(calc(-150px * 8 - 1rem * 8));
    }
  }
}

@media (max-width: 768px) {
  .product-showcase {
    padding: 0.3rem 0;
  }
  
  .showcase-item {
    flex: 0 0 140px;
  }
  
  .showcase-item img {
    width: 120px;
    height: 120px;
  }
  
  .showcase-item span {
    font-size: 0.85rem;
  }
  
  @keyframes scroll {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(calc(-140px * 8 - 1rem * 8));
    }
  }
}

@media (max-width: 576px) {
  .product-showcase {
    padding: 0.2rem 0;
  }
  
  .showcase-item {
    flex: 0 0 130px;
  }
  
  .showcase-item img {
    width: 110px;
    height: 110px;
  }
  
  .showcase-item span {
    font-size: 0.8rem;
  }
  
  @keyframes scroll {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(calc(-130px * 8 - 1rem * 8));
    }
  }
}

@media (max-width: 480px) {
  .product-showcase {
    padding: 0.2rem 0;
  }
  
  .showcase-item {
    flex: 0 0 120px;
  }
  
  .showcase-item img {
    width: 100px;
    height: 100px;
  }
  
  .showcase-item span {
    font-size: 0.75rem;
  }
  
  @keyframes scroll {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(calc(-120px * 8 - 1rem * 8));
    }
  }
}

/* Blog Modal Styles */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1000; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

.modal-content {
  background-color: #fefefe;
  margin: 10% auto; /* 10% from the top and centered */
  padding: 20px;
  border: 1px solid #888;
  width: 80%; /* Could be more or less, depending on screen size */
  max-width: 600px;
  border-radius: 10px;
  position: relative;
}

.close-button {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.close-button:hover,
.close-button:focus {
  color: #000;
  text-decoration: none;
}

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

.blog-item {
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 1px solid #eee;
}

.blog-item:last-child {
  border-bottom: none;
}

.blog-item h2 a {
  color: var(--green); /* Use your theme's color */
  text-decoration: none;
  font-size: 1.2em;
}

.blog-item h2 a:hover {
  text-decoration: underline;
}

.blog-item p {
  color: #555;
  font-size: 0.9em;
  margin-top: 5px;
}

@media (max-width: 768px) {
  .modal-content {
    width: 90%;
    margin: 20% auto; /* Adjust margin for smaller screens */
  }
} 