/* Base Styles */
.product-details {
    background: url('./assets/products/mango_juice.jpg') no-repeat center center;
    background-size: 100%;
    background-position: top;
    color: #333;
    padding: 2rem 0;
    width: 100%;
    overflow: hidden;
}

.product-details-bg {
    background: linear-gradient(to bottom, #FFFFFFE5, #FDBB1C7A);
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    position: relative;
    margin: 0 auto;
    max-width: 1400px;
}

.product-card {
    padding: 2rem 3rem !important;
    position: relative;
    z-index: 2;
}

/* Corner Images */
.position-absolute {
    position: absolute;
    z-index: 1;
    transition: all 0.3s ease;
    max-width: 300px;
    height: auto;
}

/* Typography */
.section-title {
    font-size: 1.8rem;
    margin: 2rem 0 1.5rem;
    color: #255946;
    font-weight: 600;
}

.spec-title {
    color: #0D3124;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.spec-content {
    color: #333;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* Tables */
.table-responsive {
    width: 100%;
    margin: 2rem 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.processing-table {
    width: 100%;
    min-width: 600px;
    border-collapse: collapse;
    margin: 1.5rem 0;
}

/* Responsive Adjustments */
@media (max-width: 1399.98px) {
    .product-card {
        padding: 2rem !important;
    }
}

@media (max-width: 991.98px) {
    .product-card {
        padding: 1.75rem !important;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .position-absolute {
        /* max-width: 150px; */
        display: none !important;
    }
}

@media (max-width: 767.98px) {
    .product-details {
        padding: 1.5rem 0;
    }
    
    .product-card {
        padding: 1.5rem !important;
    }
    
    .section-title {
        font-size: 1.5rem;
        margin: 1.75rem 0 1.25rem;
    }
    
    .position-absolute {
        max-width: 200px;
    }
    
    /* Stack columns on tablet */
    .specifications-container > .col-md-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

@media (max-width: 575.98px) {
    .product-card {
        padding: 1.25rem !important;
    }
    
    .section-title {
        font-size: 1.4rem;
    }
    
    .spec-title {
        font-size: 1.05rem;
    }
    
    .spec-content {
        font-size: 0.95rem;
    }
    
    .position-absolute {
        max-width: 150px;
    }
    
    /* Adjust tables for mobile */
    .processing-table th,
    .processing-table td {
        padding: 0.5rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 400px) {
    .position-absolute {
        max-width: 120px;
    }
    
    .product-card {
        padding: 1rem 0.75rem !important;
    }
}
 .floating {
    /* animation: float 3s ease-in-out infinite !important; */
} 


@keyframes float {
  0% { transform: translate(0, 0) rotate(0deg) scale(0.2); }
  25% { transform: translate(15px, -10px) rotate(3deg) scale(0.45); }
  50% { transform: translate(-15px, -20px) rotate(-3deg) scale(0.4); }
  75% { transform: translate(10px, -10px) rotate(2deg) scale(0.4); }
  100% { transform: translate(0, 0) rotate(0deg) scale(0.2); }
}

.hinge {
    animation: hinge 2s ease infinite;
}

@keyframes hinge {
    0% { transform: rotate(0); transform-origin: top left; animation-timing-function: ease-in-out; }  
    20%, 60% { transform: rotate(80deg); transform-origin: top left; animation-timing-function: ease-in-out; }  
    40% { transform: rotate(60deg); transform-origin: top left; animation-timing-function: ease-in-out; } 
    80% { transform: rotate(60deg) translateY(0); opacity: 1; transform-origin: top left; animation-timing-function: ease-in-out; } 
    100% { transform: translateY(700px); opacity: 0; }
}

.processing-table {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
    margin: 20px 0;
}

.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 1rem;
}

.processing-table th {
    background-color: #F37F16;
    color: white;
    padding: 15px;
    text-align: left;
    font-weight: normal;
   
}
.processing-table th:first-child {
    border-radius: 20px 0 0 0;
}
.processing-table th:last-child {
    border-radius: 0 20px 0 0;
}

.processing-table td {
    padding: 15px;
    border: none;
}

.processing-table tr:nth-child(even) {
    background-color: #FBD475;
}

.processing-table tr:nth-child(odd) {
    background-color: #ffffff;
}

.spec-item {
    margin-bottom: 1.5rem;
}

.spec-title {
    color: #F37F16;
    margin-bottom: 0.5rem;
}

.spec-content {
    color: #333;
    line-height: 1.6;
}

.product-description p {
    line-height: 1.8;
    margin-bottom: 1rem;
}

.product-details {
    position: relative;
}

.cornerImages img.bottomCenter {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    max-width: 200px;
    z-index: 2;
}


/* silambu */

.text-success{
    color: #255946 !important;
}
.spec-title {
    color:#0D3124 !important;
    margin-bottom: 0.5rem;
}



/* Extra small devices (phones, 320px to 479px) */
@media (min-width: 200px) and (max-width: 425px) {
    .product-details-bg .floating{
        display: none !important;
    }
    .circle-image {
        position: absolute;
        bottom: 0px;
        right: 0px;
    }
    .experience-section {
        height: auto;
    }
    .img-fluid {
        max-width: 100%;
    }
    .green-text {
        padding-top: 15px;
    }
    .experience-section{
        padding: 10px 0px 15px 0px !important;
    }
    .navbar .nav-link {
        color: #000000 !important;
        font-weight: 500;
        margin: 0 10px;
        position: relative;
    }
    .product-details {
        padding: 25px 0px 25px 0px !important;
    }
    .p-5{
        padding: 0.5rem 0em 1em 0em !important;
    }
    .processing-table td, .processing-table th {
        padding: 8px;
        border: none;
        font-size: 0.8rem;
    }
    .processing-table th {
        white-space: nowrap;
    }
    /* .table-responsive {
        margin-left: -15px;
        margin-right: -15px;
        width: calc(100% + 30px);
    } */
    .packing_bg {
        padding: 20px 0px 20px 0px;
    }
    .section-title, .text-center, h3, h4 {
        font-size: 1.5rem !important;
    }
    .product-image {
        max-width: 70%;
    }
    /* .product-section{
       height: 30vh;
    } */
    .navbar .nav-link:hover, .navbar .nav-link:active, .navbar .nav-link:focus, .navbar .nav-link.active, .navbar .nav-link.show, .navbar .nav-item.show .nav-link, .navbar .dropdown-toggle.show {
        color: #1b6a16 !important;
    }
  }
  
  /* Small devices (phones, 480px to 767px) */
  @media (min-width: 426px) and (max-width: 768px) {
    .product-details-bg .floating{
        display: none !important;
    }
    .circle-image {
        position: absolute;
        bottom: 0px;
        right: 0px;
    }
    .experience-section {
        height: auto;
    }
    .img-fluid {
        max-width: 100%;
    }
    .green-text {
        padding-top: 15px;
    }
    .experience-section{
        padding: 10px 0px 15px 0px !important;
    }
    .navbar .nav-link {
        color: #000000 !important;
        font-weight: 500;
        margin: 0 10px;
        position: relative;
    }
    .product-details {
        padding: 25px 0px 25px 0px !important;
    }
    /* .p-5{
        padding: 0.5rem 0em 1em 0em !important;
    } */
    .p-5 {
        padding: 1rem 0em !important;
    }
    
    
    .processing-table td , .processing-table th {
        padding: 11px;
        border: none;
    }
    .packing_bg {
        padding: 20px 0px 20px 0px;
    }
    .section-title, .text-center, h3, h4 {
        font-size: 1.5rem !important;
    }
    .product-image {
        max-width: 70%;
    }
    .navbar .nav-link:hover, .navbar .nav-link:active, .navbar .nav-link:focus, .navbar .nav-link.active, .navbar .nav-link.show, .navbar .nav-item.show .nav-link, .navbar .dropdown-toggle.show
    {
       color: #1b6a16 !important;
   }
  }
  
  /* Medium devices (tablets, 768px to 1023px) */
  @media (min-width: 769px) and (max-width: 1024px) {
    .product-details-bg .floating{
        display: none !important;
    }
  }
  
  /* Large devices (small desktops, 1024px to 1199px) */
  @media (min-width: 1025px) and (max-width: 1440px) {
    /* styles here */
  }
  
  /* Extra large devices (large desktops, 1200px to 1599px) */
  @media (min-width: 1441px) and (max-width: 1600px) {
    /* styles here */
  }
  
  /* Ultra-wide screens (1600px and above) */
  @media (min-width: 1600px) {
    /* styles here */
  }
  