.section-heading {
    font-family: 'Barlow', sans-serif;
    font-weight: 400;
    font-size: 2.5rem;
    margin-bottom: 0rem;
    position: relative;
    display: inline-block;
  }
  
  /* Grape Varieties Section */
  .grape-varieties {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 70px);
    padding: 2rem 0;
  }
  
  .container-lg {
    width: 100%;
    padding: 0 15px;
  }
  
  .grape-square {
    aspect-ratio: 1/1;
    padding: 15px;
  }
  
  .variety-card {
    height: 100%;
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  
  .grape-image {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
  }
  
  .variety-name {
    font-family: 'Barlow', sans-serif;
    font-weight: 400;
    font-size: 2rem;
    color: #2c3e50;
    text-align: center;
    margin: 0;
  }
  
  /* Hover Effects */
  .variety-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  }
  
  .variety-card:hover .grape-image {
    transform: scale(1.1);
  }
  
  /* Responsive Adjustments */
  @media (max-width: 992px) {
    .grape-varieties {
      padding: 2rem 0;
      margin-top: 80px;
    }
    
    .grape-image {
      width: 100px;
      height: 100px;
    }
  }
  
  @media (max-width: 768px) {
    .section-heading {
      font-size: 2rem;
    }
    .variety-card {
      padding: 1rem;
    }
    
    .grape-image {
      width: 80px;
      height: 80px;
    }
    
    .variety-name {
      font-size: 1rem;
    }
  }
  
  @media (max-width: 576px) {
    .section-heading {
      font-size: 1.75rem;
    }
    .grape-square {
      padding: 8px;
    }
    
    .variety-name {
      font-size: 0.9rem;
    }
  }

  @media (max-height: 900px) and (min-width: 992px) {
    .grape-image {
      width: 110px;
      height: 110px;
    }
    .variety-name {
      font-size: 1rem;
    }
  }
  
  @media (max-height: 800px) and (min-width: 992px) {
    .grape-varieties {
      min-height: calc(100vh - 60px);
      margin-top: 60px;
      padding: 1.5rem 0;
    }
    .grape-image {
      width: 90px;
      height: 90px;
    }
  }

  .vineyard-story {
    margin: 4rem 0;
    min-height: 600px;
    height: auto;
  }
  
  .story-heading {
    /* font-family: 'Libre Baskerville', serif; */
    font-weight: 400;
    font-size: 2.75rem;
    line-height: 1.2;
  }
  
  .story-text {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
  }
  
  .image-container {
    max-height: 500px;
  }
  .image-gallery {
    margin-top: 100px; 
  }
  
  .centered-image {
    object-fit: cover; 
  }
  
  .counters-row {
    position: relative;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(5px);
  }
  
  .counter-item {
    padding: 1rem;
    text-align: center;
    border-right: 1px solid #eee;
  }
  
  .counter-item:last-child {
    border-right: none;
  }
  
  .counter-number {
    display: inline-block;
    font-family: 'Barlow', sans-serif;
    font-weight: 600;
    font-size: 2.5rem;
    line-height: 1;
    margin-bottom: 0.5rem;
  }
  
  .counter-label {
    font-family: 'Barlow', sans-serif;
    font-weight: 500;
    font-size: 1rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
  }
  .counter-txt {
    display: inline-block;
    font-family: 'Barlow', sans-serif;
    font-weight: 600;
    font-size: 2.5rem;
    line-height: 1;
    margin-bottom: 0.5rem;
  }

  .carousel {
    margin-top: 70px; 
    min-height: calc(100vh - 80px);
  }
  
  .carousel-item {
    height: calc(100vh - 100px);
  }
  
  .carousel-item img {
    object-fit: cover;
    height: 100%;
    width: 100%;
    animation: zoomFade 15s ease-in-out infinite;
  }
  
  .carousel-caption {
    background: rgba(0, 0, 0, 0.5);
    padding: 2rem;
    border-radius: 10px;
  }

  .carousel-fade .carousel-item {
  opacity: 0;
  transition: opacity 1s ease-in-out;
  }

  .carousel-fade .carousel-item.active {
    opacity: 1;
  }
  
  @media (max-width: 768px) {
    .carousel {
      margin-top: 80px;
      min-height: calc(100vh - 80px);
    }
    
    .carousel-item {
      height: calc(100vh - 80px);
    }
    
    .carousel-caption {
      padding: 1rem;
    }
  }
  
  /* Responsive Design */
  
  @media (max-width: 1440px) {
    .grape-varieties {
      margin-top: 70px;
      padding: 2rem 0;
      min-height: calc(100vh - 70px);
    }
  
    .grape-square {
      padding: 10px !important;
    }
  
    .variety-card {
      padding: 1rem;
    }
  
    .grape-image {
      width: 100px;
      height: 100px;
    }
  
    .variety-name {
      font-size: 0.95rem;
      margin-bottom: 0.5rem;
    }
  
    .container-lg {
      max-width: 1100px;
    }
  }
  
  /* Specific adjustment for 1440x748 viewport */
  @media (max-width: 1440px) and (max-height: 800px) {
    .grape-varieties {
      min-height: auto;
      padding-bottom: 1rem;
    }
  
    .grape-square {
      padding: 8px !important;
    }
  
    .grape-image {
      width: 90px;
      height: 90px;
    }
  
    .variety-name {
      font-size: 1.75rem;
    }
  
    .row.g-4 {
      --bs-gutter-y: 0.5rem !important;
    }
  }
  
  @media (max-width: 1200px) {
    .story-heading {
      font-size: 2rem;
    }
    
    .story-text {
      font-size: 1rem;
    }
    
    .counter-number {
      font-size: 2rem;
    }

    .counter-txt {
      font-size: 2rem;
    }

    .image-container {
      padding: 1.5rem;
    }
  }
  
  @media (max-width: 992px) {
    .vineyard-story {
      min-height: auto;
      margin: 2rem 0;
    }
    
    .story-heading {
      font-size: 2.25rem;
    }
    
    .row.min-vh-100 {
      min-height: auto !important;
    }
  
    .grape-varieties {
      margin-top: 80px;
      padding: 2rem 0;
    }
    
    .counters-row {
      position: relative;
      margin-top: 2rem;
    }
    
    .centered-image {
      max-height: 400px;
    }
  }
  
  @media (max-width: 768px) {
    .vineyard-story .row {
      flex-direction: column-reverse;
    }
    
    .col-md-6 {
      width: 100%;
      padding: 0.4rem !important;
    }
    
    .story-heading {
      font-size: 1.75rem;
    }
    
    img.object-fit-cover {
      height: 400px !important;
    }
  
    .counters-row {
      position: static;
      margin-top: 0;
    }
    
    .counter-item {
      padding: 1.5rem;
      border-right: none;
      border-bottom: 1px solid #eee;
    }
    
    .counter-number {
      font-size: 2rem;
    }

    .counter-txt {
      font-size: 2rem;
    }

    .counter-label {
      font-size: 0.9rem;
    }
  }
  
  @media (max-width: 576px) {
    .story-heading {
      font-size: 1.5rem;
    }
    
    .story-text {
      font-size: 1rem;
    }
  }