/* ================================
   PAGE-SPECIFIC STYLES
   ================================ */

/* Homepage Specific Styles */
.homepage-hero {
  background: linear-gradient(135deg, var(--bg-primary) 0%, #D4C19C 100%);
  position: relative;
}

/* About Us Page Styles */
.page-hero {
  background: linear-gradient(135deg, var(--bg-primary) 0%, #D4C19C 100%);
  padding: 3rem 0 2rem 0;
  text-align: center;
  position: relative;
}

.page-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
  position: relative;
  padding: 0 1.5rem;
}

.page-title::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  width: 40px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-green), var(--gold));
  transform: translateY(-50%);
}

.page-title::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 0;
  width: 40px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--accent-green));
  transform: translateY(-50%);
}

.page-subtitle {
  font-size: 1.1rem;
  color: var(--text-primary);
  opacity: 0.8;
  max-width: 500px;
  margin: 0 auto;
}

/* Content Cards */
.content-card {
  background-color: var(--white);
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15), 0 4px 10px rgba(0, 0, 0, 0.1);
  margin-bottom: 2rem;
  transition: all 0.3s ease;
}

.content-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
}

.story-text {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-primary);
  text-align: justify;
}

/* Mission & Vision Grid */
.mission-vision-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.card-title {
  color: var(--accent-green);
  font-size: 1.5rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

/* Team Section */
.team-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 2rem;
  max-width: 850px;
  margin-left: auto;
  margin-right: auto;
}

.team-card {
  background-color: var(--white);
  border-radius: var(--border-radius);
  padding: 1rem; /* ADDED to create clean spacing around the image */
  padding-bottom: 1.5rem; /* your original bottom spacing */
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15), 0 4px 10px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
  transform: scale(0.85);
  position: relative;
  overflow: visible;
}

.team-card:hover {
  transform: translateY(-5px) scale(0.87);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2), 
              0 8px 20px rgba(0, 0, 0, 0.15),
              0 0 15px rgba(139, 174, 102, 0.3);
}

/* FIXED IMAGE — responsive, no extra empty space, not touching borders */
.team-image {
  width: 75%;
  height: auto;
  object-fit: contain;
  object-position: center top;
  border-radius: 12px;
  display: block;
  border: 1px solid #f0f0f0;
  box-sizing: border-box;
  margin: 0 auto;
}

.team-badge {
  position: absolute;
  top: -8px;
  right: -12px;
  background-color: #FFD700;
  color: #000;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 15px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  z-index: 10;
  white-space: nowrap;
}

.team-name {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 1rem 0;
  text-align: center;
}

.team-bio {
  font-size: 2rem;
  line-height: 1.6;
  color: var(--text-primary);
  text-align: center;
  padding: 0 0.5rem;
  opacity: 0.9;
}


/* Responsive Homepage Styles */
@media (max-width: 767px) {
  .cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
  }
  
  .btn {
    margin: 0;
    width: 200px;
  }
  
  .page-hero {
    padding: 2rem 0 1rem 0;
  }
  
  .page-title {
    font-size: 2rem;
    padding: 0 1rem;
  }
  
  .page-title::before,
  .page-title::after {
    width: 30px;
    height: 2px;
  }
  
  .content-card {
    padding: 1.5rem;
    margin-bottom: 1.5rem;
  }
  
  .story-text {
    font-size: 1rem;
  }
  
  .team-card {
    padding: 0.5rem 0.1rem 1.2rem 0.1rem;
    transform: scale(0.85);
  }
  
  .team-card:hover {
    transform: translateY(-4px) scale(0.87);
  }

  /* ✔ FIXED MOBILE — remove height */
  .team-image {
    width: 75%;
    height: auto;
    border-radius: 10px;
    object-fit: contain;
  }
  
  .team-badge {
    font-size: 0.75rem;
    padding: 4px 8px;
    top: -6px;
    right: -8px;
    border-radius: 12px;
  }
  
  .team-name {
    font-size: 1rem;
    margin-bottom: 0.8rem;
  }
  
  .team-bio {
    font-size: 1rem;
    padding: 0 0.3rem;
  }
}

@media (min-width: 768px) {
  .cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
  }
  
  .mission-vision-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.1rem;
  }
  
  .page-title {
    font-size: 3rem;
  }
  
  .page-title::before,
  .page-title::after {
    width: 60px;
  }
}

@media (min-width: 1024px) {
  .page-title {
    font-size: 3.5rem;
  }
  
  .page-title::before,
  .page-title::after {
    width: 80px;
  }
  
  /* ✔ FIXED DESKTOP — remove height */
  .team-image {
    width: 75%;
    height: auto;
    border-radius: 14px;
    object-fit: contain;
  }
  
  .team-badge {
    font-size: 0.9rem;
    padding: 7px 14px;
    top: -10px;
    right: -15px;
    border-radius: 18px;
  }
  
  .team-bio {
    font-size: 1rem;
  }
}

/* Investors Page Styles */
.investment-reasons {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}

.reason-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-radius: 8px;
  transition: all 0.3s ease;
}

.reason-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(139, 174, 102, 0.2);
}

.reason-icon {
  font-size: 2rem;
  min-width: 50px;
  text-align: center;
}

.focus-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

.focus-item {
  background: linear-gradient(135deg, var(--accent-green) 0%, #9cb876 100%);
  color: var(--white);
  padding: 2rem;
  border-radius: var(--border-radius);
  transition: all 0.3s ease;
}

.focus-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(139, 174, 102, 0.4);
}

.focus-title {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--white);
}

/* Partners Section with Sliding Animation */
.partners-section {
  background: linear-gradient(135deg, #f8f9fa 0%, var(--bg-primary) 100%);
  padding: 4rem 0;
  overflow: hidden;
}

.partners-slider {
  width: 100%;
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    rgba(0, 0, 0, 1) 15%,
    rgba(0, 0, 0, 1) 85%,
    transparent 100%
  );
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    rgba(0, 0, 0, 1) 15%,
    rgba(0, 0, 0, 1) 85%,
    transparent 100%
  );
}

.partners-track {
  display: flex;
  gap: 4rem;
  animation: slideLogos 35s linear infinite;
  /* Width calculation: 7 logos × (240px width + 4rem gap) */
  width: calc(7 * 284px * 2);
}

.partner-logo {
  flex-shrink: 0;
  width: 240px;
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border-radius: 8px;
  padding: 2rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.partner-logo:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.15);
}

.partner-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.partner-logo:hover img {
  transform: scale(1.1);
}

@keyframes slideLogos {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-7 * 284px));
  }
}

/* Investors Page Responsive Styles */
@media (max-width: 767px) {
  .reason-item {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }
  
  .reason-icon {
    min-width: auto;
  }
  
  .partner-logo {
    width: 200px;
    height: 140px;
    padding: 1.5rem;
  }
  
  .partners-track {
    gap: 3rem;
    animation: slideLogos 30s linear infinite;
    width: calc(7 * 233px * 2);
  }
  
  @keyframes slideLogos {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(calc(-7 * 233px));
    }
  }
}

@media (min-width: 768px) {
  .investment-reasons {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .focus-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .partner-logo {
    width: 280px;
    height: 180px;
    padding: 2.5rem;
  }
  
  .partners-track {
    width: calc(7 * 324px * 2);
    animation: slideLogos 40s linear infinite;
  }
  
  @keyframes slideLogos {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(calc(-7 * 324px));
    }
  }
}

/* Contact Page Styles */
.contact-info {
  padding: 2.5rem 2rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-radius: 12px;
  transition: all 0.3s ease;
  text-align: center;
}

.contact-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(139, 174, 102, 0.2);
}

.contact-icon {
  background: linear-gradient(135deg, var(--accent-green) 0%, #9cb876 100%);
  color: var(--white);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
  margin: 0 auto;
}

.contact-details {
  flex: 1;
  text-align: center;
}

.contact-details h3 {
  color: var(--accent-green);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.contact-details p {
  margin: 0;
  line-height: 1.6;
}

.contact-details a {
  color: var(--text-primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-details a:hover {
  color: var(--accent-green);
}

/* Social Media Card */
.social-media-card {
  padding: 2.5rem 2rem;
}

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

.social-link {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.3s ease;
  color: var(--white);
  font-weight: 500;
}

.social-link.facebook {
  background: linear-gradient(135deg, #1877F2 0%, #42a5f5 100%);
}

.social-link.instagram {
  background: linear-gradient(135deg, #E4405F 0%, #FFDC80 100%);
}

.social-link.linkedin {
  background: linear-gradient(135deg, #0A66C2 0%, #42a5f5 100%);
}

.social-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.social-link i {
  font-size: 1.5rem;
  width: 40px;
  text-align: center;
}

.social-link span {
  font-size: 1.1rem;
}

/* Map Container */
.map-container {
  padding: 2.5rem 2rem;
}

.map-wrapper {
  margin-top: 1.5rem;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.map-wrapper iframe {
  width: 100%;
  height: 400px;
  border: 0;
  border-radius: var(--border-radius);
}

/* Contact Page Responsive Styles */
@media (max-width: 767px) {
  .contact-item {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
    padding: 1.5rem 1rem;
    justify-content: center;
    align-items: center;
  }
  
  .contact-icon {
    align-self: center;
    margin-bottom: 0.5rem;
  }
  
  .contact-details {
    width: 100%;
    text-align: center;
  }
  
  .contact-details h3 {
    margin-bottom: 0.8rem;
    font-size: 1.2rem;
  }
  
  .contact-details p {
    font-size: 1rem;
  }
  
  .social-links {
    gap: 1.2rem;
  }
  
  .social-link {
    padding: 1.2rem;
    gap: 1.2rem;
    justify-content: center;
  }
  
  .social-link i {
    font-size: 1.3rem;
    width: 35px;
  }
  
  .social-link span {
    font-size: 1rem;
  }
  
  .map-wrapper iframe {
    height: 300px;
  }
}

@media (min-width: 768px) {
  .contact-item {
    flex-direction: row;
    text-align: left;
    align-items: flex-start;
  }
  
  .contact-details {
    text-align: left;
  }
  
  .contact-icon {
    margin: 0;
  }
  
  .social-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .map-wrapper iframe {
    height: 450px;
  }
  
  .social-links {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Farmers Page Styles */
/* Farmers Page Styles - Consistent with other pages */
.farmers-commitments {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}

.farmers-commitment-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-radius: 8px;
  transition: all 0.3s ease;
}

.farmers-commitment-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(139, 174, 102, 0.2);
}

.farmers-icon {
  font-size: 2rem;
  min-width: 50px;
  text-align: center;
}

.farmers-content {
  flex: 1;
}

.farmers-commitment-title {
  color: var(--accent-green);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.farmers-commitment-item p {
  margin: 0;
  line-height: 1.6;
  color: var(--text-primary);
}

/* Direct Impact Styles */
.farmers-impact-quote {
  font-size: 1.3rem;
  font-style: italic;
  text-align: center;
  margin: 2rem 0;
  color: var(--accent-green);
  font-weight: 500;
  position: relative;
  padding: 1.5rem;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-radius: 8px;
}

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

.farmers-stat-item {
  text-align: center;
  padding: 1.5rem;
  background: linear-gradient(135deg, var(--accent-green) 0%, #9cb876 100%);
  color: var(--white);
  border-radius: 8px;
  transition: all 0.3s ease;
}

.farmers-stat-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(139, 174, 102, 0.4);
}

.farmers-stat-number {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.farmers-stat-label {
  font-size: 1rem;
  font-weight: 500;
  color: var(--white);
}
/* Supply Chain Process Styles */
.farmers-process {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}

.farmers-process-step {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 1.5rem;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-radius: 8px;
  transition: all 0.3s ease;
}

.farmers-process-step:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(139, 174, 102, 0.2);
}

.farmers-process-number {
  background: linear-gradient(135deg, var(--accent-green) 0%, #9cb876 100%);
  color: var(--white);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 600;
  flex-shrink: 0;
}

.farmers-process-content {
  flex: 1;
  text-align: left;
}

.farmers-process-step h3 {
  color: var(--accent-green);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.farmers-process-step p {
  color: var(--text-primary);
  line-height: 1.6;
  margin: 0;
}

/* Farmers Page Responsive Styles */
@media (max-width: 767px) {
  .farmers-commitment-item {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
  
  .farmers-process-step {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
    align-items: center;
    padding: 1.5rem 1rem;
  }
  
  .farmers-process-content {
    text-align: center;
    width: 100%;
  }
  
  .farmers-icon {
    min-width: auto;
  }
  
  .farmers-impact-quote {
    font-size: 1.1rem;
    padding: 1.2rem;
  }
  
  .farmers-stat-number {
    font-size: 1.8rem;
  }
  
  .farmers-process-number {
    align-self: center;
    margin-bottom: 0.5rem;
  }
  
  .farmers-process {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 768px) {
  .farmers-commitments {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .farmers-process {
    grid-template-columns: 1fr;
  }
  
  .farmers-process-step {
    flex-direction: row;
    text-align: left;
    align-items: flex-start;
  }
  
  .farmers-process-content {
    text-align: left;
  }
}

@media (min-width: 1024px) {
  .farmers-process {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1200px) {
  .farmers-process {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Gallery Page Styles */
.gallery-description {
  color: var(--text-primary);
  font-size: 1rem;
  margin-bottom: 2rem;
  opacity: 0.8;
}

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

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--border-radius);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  cursor: pointer;
}

.gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.gallery-image {
  width: 100%;
  height: 300px;        /* keep desktop height */
  object-fit: cover;    /* keep clean gallery grid */
  transition: all 0.3s ease;
}

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

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  color: var(--white);
  padding: 1.5rem 1rem 1rem 1rem;
  transform: translateY(100%);
  transition: all 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
  transform: translateY(0);
}

.gallery-overlay h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
  color: var(--white);
}

.gallery-overlay p {
  font-size: 0.9rem;
  margin: 0;
  opacity: 0.9;
}

/* Coming Soon Cards */
.coming-soon-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

.coming-soon-card {
  text-align: center;
  position: relative;
  padding: 2.5rem 2rem;
  transition: all 0.3s ease;
}

.coming-soon-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(139, 174, 102, 0.2);
}

.coming-soon-icon {
  background: linear-gradient(135deg, var(--accent-green) 0%, #9cb876 100%);
  color: var(--white);
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 1.5rem auto;
  transition: all 0.3s ease;
}

.coming-soon-card:hover .coming-soon-icon {
  transform: scale(1.1);
}

.coming-soon-title {
  color: var(--accent-green);
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.coming-soon-description {
  color: var(--text-primary);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.coming-soon-badge {
  background: linear-gradient(135deg, var(--gold) 0%, #f0c04e 100%);
  color: #000;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  display: inline-block;
  box-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
}

/* Gallery Page Responsive Styles */
@media (max-width: 767px) {

  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
  }

  .gallery-image {
    height: auto;          /* IMPORTANT FIX */
    max-height: none;      /* prevents forced crop */
    object-fit: contain;   /* show entire image on small screens */
  }

  .gallery-overlay {
    padding: 1rem 0.8rem 0.8rem 0.8rem;
  }

  .gallery-overlay h4 {
    font-size: 1rem;
  }

  .gallery-overlay p {
    font-size: 0.8rem;
  }

  .coming-soon-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }

  .coming-soon-title {
    font-size: 1.2rem;
  }

  .coming-soon-card {
    padding: 2rem 1.5rem;
  }
}

@media (min-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }

  .coming-soon-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }
}

@media (min-width: 1024px) {
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .coming-soon-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .gallery-image {
    height: 320px; /* desktop height retained */
  }
}


/* Products Page Styles */
.products-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

.product-item {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 2rem;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-radius: 12px;
  transition: all 0.3s ease;
  text-align: left;
}

.product-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(139, 174, 102, 0.2);
}

.product-icon {
  font-size: 2.5rem;
  min-width: 60px;
  text-align: center;
  flex-shrink: 0;
}

.product-content {
  flex: 1;
}

.product-name {
  color: var(--accent-green);
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 0.8rem;
}

.product-description {
  margin: 0;
  line-height: 1.7;
  color: var(--text-primary);
  font-size: 1rem;
}

/* Packaging Grid */
.packaging-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-top: 2rem;
}

.packaging-category {
  border-left: 4px solid var(--accent-green);
  padding-left: 1.5rem;
}

.packaging-category-title {
  color: var(--accent-green);
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.packaging-items {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.packaging-item {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  padding: 1.5rem;
  border-radius: 12px;
  text-align: center;
  transition: all 0.3s ease;
}

.packaging-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(139, 174, 102, 0.2);
}

/* Slideshow Styles */
.product-slideshow {
  position: relative;
  margin-bottom: 1rem;
}

.slideshow-container {
  position: relative;
  width: 100%;
  height: 280px;
  overflow: hidden;
  border-radius: 12px;
  background: #ffffff;
  padding: 10px;
}

.slide-image {
  width: calc(100% - 20px);
  height: calc(100% - 20px);
  object-fit: contain;
  position: absolute;
  top: 10px;
  left: 10px;
  opacity: 0;
  transition: opacity 0.5s ease;
  border-radius: 8px;
}

.slide-image.active {
  opacity: 1;
}

.slide-dots {
  text-align: center;
  margin-top: 1rem;
}

.dot {
  height: 10px;
  width: 10px;
  margin: 0 5px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.dot.active,
.dot:hover {
  background-color: var(--accent-green);
}

.packaging-name {
  color: var(--accent-green);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.packaging-description {
  margin: 0;
  color: var(--text-primary);
  line-height: 1.6;
}

/* Grading Grid */
.grading-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-top: 2rem;
}

.grading-category {
  border-left: 4px solid var(--gold);
  padding-left: 1.5rem;
}

.grading-category-title {
  color: var(--gold);
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.grading-items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.grading-item {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  padding: 1.5rem;
  border-radius: 12px;
  text-align: center;
  transition: all 0.3s ease;
}

.grading-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 215, 0, 0.3);
}

.grading-image {
  width: 100%;
  height: 180px;
  object-fit: contain;
  border-radius: 10px;
  margin-bottom: 1rem;
  background: #ffffff;
  padding: 10px;
  border: 1px solid #f0f0f0;
}

.grading-name {
  color: var(--accent-green);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.grading-description {
  margin: 0;
  color: var(--text-primary);
  line-height: 1.6;
  font-size: 0.9rem;
}

/* Products Page Responsive Styles */
@media (max-width: 767px) {
  .product-item {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
    padding: 1.8rem 1.5rem;
  }
  
  .product-icon {
    min-width: auto;
    margin-bottom: 0.5rem;
  }
  
  .product-content {
    width: 100%;
    text-align: center;
  }
  
  .product-name {
    font-size: 1.2rem;
    margin-bottom: 1rem;
  }
  
  .packaging-items {
    grid-template-columns: 1fr;
  }
  
  .slideshow-container {
    height: 220px;
  }
  
  .grading-items {
    grid-template-columns: 1fr;
  }
  
  .grading-image {
    height: 150px;
  }
}

@media (min-width: 768px) {
  .products-grid {
    grid-template-columns: 1fr;
  }
  
  .product-item {
    flex-direction: row;
    text-align: left;
    align-items: center;
  }
  
  .product-content {
    text-align: left;
  }
  
  .packaging-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .packaging-items {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .slideshow-container {
    height: 260px;
  }
}

@media (min-width: 1024px) {
  .slideshow-container {
    height: 300px;
  }
  
  .grading-items {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .grading-image {
    height: 200px;
  }
}

/* Quote System Styles */
.quote-cart-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: linear-gradient(135deg, var(--accent-green) 0%, #9cb876 100%);
  color: var(--white);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(139, 174, 102, 0.4);
  cursor: pointer;
  z-index: 1000;
  transition: all 0.3s ease;
}

.quote-cart-float:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 25px rgba(139, 174, 102, 0.6);
}

.quote-cart-float i {
  font-size: 1.5rem;
}

.quote-count {
  position: absolute;
  top: -5px;
  right: -5px;
  background: var(--gold);
  color: #000;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 10px;
  min-width: 18px;
  text-align: center;
}

.quote-cart-float.has-items {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 4px 20px rgba(139, 174, 102, 0.4); }
  50% { box-shadow: 0 6px 30px rgba(139, 174, 102, 0.8); }
  100% { box-shadow: 0 4px 20px rgba(139, 174, 102, 0.4); }
}

/* Product Actions */
.product-actions {
  margin-top: 1rem;
}

.btn-quote {
  background: linear-gradient(135deg, var(--accent-green) 0%, #9cb876 100%);
  color: var(--white);
  border: none;
  padding: 0.8rem 1.5rem;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-quote:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(139, 174, 102, 0.4);
}

.btn-quote i {
  font-size: 0.8rem;
}

/* Quote Notification */
.quote-notification {
  position: fixed;
  top: 20px;
  right: 20px;
  background: linear-gradient(135deg, var(--accent-green) 0%, #9cb876 100%);
  color: var(--white);
  padding: 1rem 1.5rem;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(139, 174, 102, 0.4);
  z-index: 1001;
  transform: translateX(400px);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  max-width: 300px;
}

.quote-notification.show {
  transform: translateX(0);
}

.quote-notification i {
  color: var(--gold);
  font-size: 1.2rem;
}

/* Quote Modal */
.quote-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1002;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.quote-modal.show {
  opacity: 1;
  visibility: visible;
}

.quote-modal-content {
  background: var(--white);
  padding: 2rem;
  border-radius: 12px;
  width: 90%;
  max-width: 600px;
  max-height: 80vh;
  overflow-y: auto;
  position: relative;
  transform: translateY(50px);
  transition: all 0.3s ease;
}

.quote-modal.show .quote-modal-content {
  transform: translateY(0);
}

.close-modal {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  font-size: 2rem;
  cursor: pointer;
  color: #666;
  transition: color 0.3s ease;
}

.close-modal:hover {
  color: #333;
}

.quote-modal h2 {
  color: var(--accent-green);
  margin-bottom: 1.5rem;
  padding-right: 2rem;
}

/* Quote Items */
.quote-items {
  margin-bottom: 2rem;
}

.quote-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-radius: 8px;
  margin-bottom: 1rem;
}

.quote-item-info h4 {
  color: var(--accent-green);
  margin-bottom: 0.3rem;
  font-size: 1rem;
}

.quote-item-category {
  color: #666;
  font-size: 0.9rem;
  margin: 0;
}

.quote-item-controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.quote-item-controls label {
  font-size: 0.9rem;
  color: #666;
}

.quote-item-controls input {
  width: 60px;
  padding: 0.3rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  text-align: center;
}

.remove-btn {
  background: #dc3545;
  color: var(--white);
  border: none;
  padding: 0.5rem;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.remove-btn:hover {
  background: #c82333;
  transform: scale(1.05);
}

.empty-quote {
  text-align: center;
  color: #666;
  font-style: italic;
  padding: 2rem;
}

/* Quote Form */
.quote-form {
  border-top: 2px solid #e9ecef;
  padding-top: 2rem;
}

.quote-form h3 {
  color: var(--accent-green);
  margin-bottom: 1rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.quote-form input,
.quote-form textarea {
  padding: 0.8rem;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.quote-form input:focus,
.quote-form textarea:focus {
  outline: none;
  border-color: var(--accent-green);
}

.quote-form input[type="text"],
.quote-form input[type="email"],
.quote-form input[type="tel"],
.quote-form textarea {
  width: 100%;
  margin-bottom: 1rem;
}

/* Quote Action Buttons */
.quote-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1.5rem;
}

.btn-email,
.btn-whatsapp {
  padding: 1rem;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn-email {
  background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
  color: var(--white);
}

.btn-email:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 123, 255, 0.4);
}

.btn-whatsapp {
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: var(--white);
}

.btn-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
}

/* Mobile Responsive */
@media (max-width: 767px) {
  .quote-modal-content {
    width: 95%;
    padding: 1.5rem;
    margin: 1rem;
  }
  
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  
  .quote-actions {
    grid-template-columns: 1fr;
  }
  
  .quote-item {
    flex-direction: column;
    gap: 1rem;
    align-items: stretch;
  }
  
  .quote-item-controls {
    justify-content: space-between;
  }
  
  .quote-cart-float {
    width: 50px;
    height: 50px;
    bottom: 15px;
    right: 15px;
  }
  
  .quote-cart-float i {
    font-size: 1.3rem;
  }
  
  .quote-notification {
    top: 15px;
    right: 15px;
    max-width: 250px;
    padding: 0.8rem 1.2rem;
  }
}

/* Products Page Styles - Complete redesign for better layout */
.products-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

.product-item {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 2.5rem;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-radius: 16px;
  transition: all 0.3s ease;
  text-align: left;
  min-height: 180px;
}

.product-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(139, 174, 102, 0.2);
}

/* Product Image Styles */
.product-image-container {
  width: 160px;
  height: 160px;
  flex-shrink: 0;
  background: #ffffff;
  border-radius: 16px;
  padding: 15px;
  border: 2px solid #f0f0f0;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.product-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 12px;
}

.product-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
}

.product-name {
  color: var(--accent-green);
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 0;
  line-height: 1.2;
}

.product-description {
  margin: 0;
  line-height: 1.6;
  color: var(--text-primary);
  font-size: 1.1rem;
  max-width: 500px;
}

/* Product Actions */
.product-actions {
  margin-top: 1.5rem;
}

.btn-quote {
  background: linear-gradient(135deg, var(--accent-green) 0%, #9cb876 100%);
  color: var(--white);
  border: none;
  padding: 1rem 1rem;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  box-shadow: 0 4px 15px rgba(139, 174, 102, 0.3);
}

.btn-quote:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(139, 174, 102, 0.5);
}

.btn-quote i {
  font-size: 1rem;
}

/* Mobile responsive */
@media (max-width: 767px) {
  .product-item {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
    padding: 2rem 1.5rem;
    min-height: auto;
  }
  
  .product-image-container {
    width: 140px;
    height: 140px;
    padding: 12px;
  }
  
  .product-content {
    align-items: center;
    text-align: center;
  }
  
  .product-name {
    font-size: 1.5rem;
  }
  
  .product-description {
    font-size: 1rem;
    text-align: center;
  }
  
  .btn-quote {
    padding: 0.9rem 1.8rem;
    width: 100%;
    justify-content: center;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .product-image-container {
    width: 140px;
    height: 140px;
  }
  
  .product-name {
    font-size: 1.6rem;
  }
  
  .product-item {
    padding: 2rem;
    min-height: 160px;
  }
}

@media (min-width: 1024px) {
  .product-item {
    padding: 3rem;
    min-height: 200px;
  }
  
  .product-image-container {
    width: 180px;
    height: 180px;
    padding: 20px;
  }
  
  .product-name {
    font-size: 2rem;
  }
  
  .product-description {
    font-size: 1.2rem;
  }
}

