@media screen and (max-width: 768px) {

    body,html {
        margin: 0;
        padding: 0;
        overflow-x: hidden;
       
            background-color: #ffffff !important; /* Ensure a solid background for the page */
            opacity: 1 !important; /* Fully opaque */
        
    }

.home_img img {
       display: none;
    }

    .top-text {
        display: none;
    }
    .head {
        display: none;
    }
    
    .navbar {
        background-color: #ffffff !important; /* Solid white background */
        opacity: 1 !important; /* Fully opaque */
        animation: none !important; /* Disable animations */
        transition: none !important; /* Disable transitions */
        position: relative; /* Ensure it doesn't inherit transparency from parent */
        z-index: 1000; /* Ensure it stays above other elements */
    }
    
    .navbar .menu-items {
        opacity: 1 !important; /* Ensure menu items are fully opaque */
        animation: none !important; /* Disable animations */
        transition: none !important; /* Disable transitions */
    }

    .navbar-container input[type="checkbox"],
    .navbar-container .hamburger-lines {
        display: block;
    }
    .navbar-container {
        display: block;
        position: relative;
        height: 64px;
    }
    .navbar-container input[type="checkbox"] {
        position: absolute;
        display: block;
        height: 32px;
        width: 30px;
        top: 20px;
        left: 20px;
        z-index: 5;
        opacity: 0;
        cursor: pointer;
    }
    .navbar-container .hamburger-lines {
        display: block;
        height: 28px;
        width: 35px;
        position: absolute;
        top: 10px;
        left: 12px;
        z-index: 2;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }
    .navbar-container .hamburger-lines .line {
        display: block;
        height: 4px;
        width: 100%;
        border-radius: 10px;
        background: #fffdfd;
    }
    .navbar-container .hamburger-lines .line1 {
        transform-origin: 0% 0%;
        transition: transform 0.3s ease-in-out;
    }
    .navbar-container .hamburger-lines .line2 {
        transition: transform 0.2s ease-in-out;
    }
    .navbar-container .hamburger-lines .line3 {
        transform-origin: 0% 100%;
        transition: transform 0.3s ease-in-out;
    }
    .navbar .menu-items {
        padding-top: 20px;
        padding-bottom: 20px;
        background: #ffffff;
        max-height: 600%;
        max-width: 70%;
        transform: translate(-150%);
        display: flex;
        flex-direction: column;
         margin-left: 0rem;
        padding-left: 10px;
        text-align: center;
        transition: transform 0.5s ease-in-out;
         box-shadow: 5px 0px 10px 0px #aaa; 
         opacity: 1;
        
    }

    /* filepath: c:\xampp\htdocs\KS\astha2.css */
    .navbar {
        background-color: #ffffff !important; /* Solid white background */
        opacity: 1 !important; /* Fully opaque */
        animation: none !important; /* Disable animations */
        transition: none !important; /* Disable transitions */
        position: relative; /* Ensure it doesn't inherit transparency from parent */
        z-index: 1000; /* Ensure it stays above other elements */
    }
    
    .navbar .menu-items {
        opacity: 1 !important; /* Ensure menu items are fully opaque */
        animation: none !important; /* Disable animations */
        transition: none !important; /* Disable transitions */
    }

    .navbar .menu-items li {
        margin-bottom: 2rem;
        font-size: 1.1rem;
        font-weight: 500;
    }
    .menu-items li,
    .navbar img {
        margin: 0;
    }
    .navbar .menu-items li:nth-child(1) {
        margin-top: 1.5rem;
    }
    .navbar-container .logo img {
        position: absolute;
        top: 10px;
        right: 15px;
        margin-top: 8px;
    }
    .navbar-container input[type="checkbox"]:checked~.menu-items {
        transform: translateX(0);
    }
    .navbar-container input[type="checkbox"]:checked~.hamburger-lines .line1 {
        transform: rotate(45deg);
    }
    .navbar-container input[type="checkbox"]:checked~.hamburger-lines .line2 {
        transform: scaleY(0);
    }
    .navbar-container input[type="checkbox"]:checked~.hamburger-lines .line3 {
        transform: rotate(-45deg);
    }
    .navbar-container input[type="checkbox"]:checked~.home_page img {
        display: none;
        background: #fff;
    }
    .navbar-container {
        flex-direction: column;
        align-items: flex-start;
    }
    .menu-items {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
    }

    .navbar .menu-items {
        transition: transform 0.5s ease-in-out;
        opacity: 1;
    }
    .menu-items li {
        margin: 10px 10px;
    }


    .home_page button {
      display: none;
    }

    .home_txt {
        position: static;
        text-align: center;
        margin-top: 20px;
    }
   

    /* Enhanced keyframes with multiple steps for more dynamic animation */
@keyframes fadeInLoop {
    0% {
      opacity: 0;
      transform: translateY(20px);
    }
    10%, 90% {
      opacity: 1;
      transform: translateY(0);
    }
    100% {
      opacity: 0;
      transform: translateY(-10px);
    }
  }
  
  /* Apply improved font styling */
  .home_txt .collection {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    letter-spacing: 2px;
    font-size: 16px;
    color: #f05e8a;
    text-transform: uppercase;
    animation: fadeInLoop 6s ease-out infinite;
    opacity: 0;
  }
  
  .home_txt h2 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 3rem;
    line-height: 1.2;
    margin: 10px 0;
    color: #333;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
    animation: fadeInLoop 6s ease-out 0.3s infinite;
    opacity: 0;
  }
  
  .home_txt .home_label p {
    font-family: 'Poppins', sans-serif;
    font-weight: 300;
    font-size: 16px;
    line-height: 1.0;
    color: #666;
    max-width: 600px;
    animation: fadeInLoop 6s ease-out 0.6s infinite;
    opacity: 0;
  }
  
  /* Add a subtle highlight effect to the heading */
  .home_txt h2 {
    background: linear-gradient(to right, #333, #000);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
  }
  
  /* Add decorative element */
  .home_txt h2::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 70px;
    height: 4px;
    background: #f05e8a;
    animation: widthGrow 6s ease-out 0.4s infinite;
    transform-origin: left;
  }
  
  @keyframes widthGrow {
    0% {
      transform: scaleX(0);
    }
    10%, 90% {
      transform: scaleX(1);
    }
    100% {
      transform: scaleX(0);
    }
  }
  
  /* Make sure the parent container has proper positioning */
  .home_page {
    position: relative;
    overflow: hidden;
  }
  
  /* Container styling for better visual appeal */
  .home_txt {
    padding: 10px;
    transition: all 0.5s ease;
    position: relative;
  }


    .menu-items {
        order: 2;
        display: flex;
        margin-right: 3rem;
    }
    
    .menu-items li {
        list-style: none;
        margin-left: 1.5rem;
        font-size: 1.2rem;
    }
    
    .navbar-container ul a {
        text-decoration: none;
        color: var(--black);
        font-size: 20px;
        position: relative;
    }
    
    .navbar-container ul a:after {
        content: "";
        position: absolute;
        background: var(--primary-color);
        height: 3px;
        width: 0;
        left: 0;
        bottom: -10px;
        transition: 0.3s;
    }
    
    .navbar-container ul a:hover:after {
        width: 100%;
}

.navbar-container {
    background-color: black;   
    height: 60px;
    width: 100vw;
   display: flex;
   position: relative;
}

.logo h1 a {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}
.logo h1 a:hover {
    opacity: 0.8;
}

.logo h1 {
    color: #fff;
    position: absolute;
    left: 65px;
    top: -20px;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    font-size: 2.0rem !important; 
}

@media (max-width: 320px) {
    .logo h1 {
        left: 58px;
    }
    
}

/* ...existing code... */

.fa-cart-shopping {
    color: #fffefa;
    font-size: 1.5rem !important;
    bottom: 35px;
    margin-left: 270px;
    opacity: 1 !important;
    display: flex !important;
    position: relative;
}

/* Add media queries for different screen sizes */
@media (max-width: 425px) {
    .fa-cart-shopping {
        margin-left: 310px; /* Adjust as needed */
    }
}

@media (min-width:320px) and (max-width: 350px) {
    .fa-cart-shopping {
        /* Adjust as needed */
        margin-left: 220px;
        top: -30px;
    }
    .navbar-container .logo h1 {
        font-size: 1.7rem !important;
      text-align: left;
      top: -10px;
    }
}


@media (min-width:350px) and (max-width: 375px) { 
    .fa-cart-shopping {
        margin-left: 255px; /* Adjust as needed */
    }

    .navbar-container .logo h1 {
        font-size: 1.9rem !important;
      text-align: left;
      top: -15px;
      right: -2px;
    }

}

@media (min-width: 375px)  and (max-width: 424px) {
    .fa-cart-shopping {
        margin-left: 275px; /* Adjust as needed */
    }
}

@media (min-width: 768px) {
    .fa-cart-shopping {
        margin-left: 405px; /* Adjust as needed */
        top: 1px;
    }
}

/* ...existing code... */
.collections{
    display: none;
}

/*image for methi kahkhra*/
.seller .best-p1 img {
    height: 200px;
    width: 200px;
    margin-left: 5px;
}

.seller .best-p1 .price {
    display: flex;
    justify-content: space-between;
}

.seller .best-p1 .price .colors input[type="radio"] {
    color: #000;
    background-color: #000;
}

.best-seller .buynow {
  display: none;
}


.seller a:hover {
    color: #f05e8a;
}

.best-seller .buy-now button,
.best-seller .add-cart button {
    padding: 10px 15px;
    margin-top: 20px;
    font-size: 17px;
    margin-left: -10px;
    cursor: pointer;
    text-transform: uppercase;
    background-color: #f05e8a;
    color: var(--white);
    border: none;
    border-radius: 15px;
    font-weight: 500;
    border: 1px solid #f05e8a;
    transition: 0.5s;
   
 
}
    
.best-seller .buy-now button:hover,
.best-seller .add-cart button:hover {
    background-color: var(--white);
    font-weight: 600;
}

.best-seller .buy-now button:hover a,
.best-seller .add-cart button:hover a {
    color: #f05e8a;
}
.best-seller .best-p1 {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

.best-seller .best-p1 img {
    margin-right: 15px;
}

.best-seller .best-p1 .best-p1-txt {
    flex: 1;
}
.best-seller .best-p1 .buy-now {
    display: flex;
    gap: 5px; /* Add some space between the buttons */
}

.best-seller .best-p1 .buy-now button {
    flex: 1;
}
.best-seller .best-p1-txt p {
    margin-top: -50px;
    font-weight: 800;
    font-size: 1.2rem;
    color: #000;
    margin-bottom: 10px;
}
.best-seller .price {
    font-weight: 300;
    font-size: 1.4rem;
    color: #000;

}

.best-p1-txt{
    font-family: Arial, Helvetica, sans-serif;
    margin-top: 50px;
    font-weight: 800;
    font-size: 1.2rem;
    color: #000;
}


.seller h2 {
    margin-top: 20px;
    margin-bottom: 20px;
    background: #000;
    color : #FFD700;
    text-align: center;
    height: 40px;
}


.footer-container container mobile-container {
    display: none;
}

.content_1 {
    display: none;
}
.content_2 {
    display: none;
}
.content_3 {
    display: none;
}
.content_4 {
    display: none;
}





.animated-heading {
    text-align: center;
    padding: 10px 0;
    margin: 10px 0 10px 0;
    position: relative;
    overflow: hidden;
    background: linear-gradient(to right, #000000, #222222);
    color: #FFD700;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    font-size: 28px;
    letter-spacing: 2px;
    text-transform: uppercase;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  }
  
  .animated-heading::before {
    content: "";
    position: absolute;
    left: -100%;
    top: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.3), transparent);
    animation: shine 3s infinite;
  }
  
  .animated-heading::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background-color: #f05e8a;
    transform: translateX(-50%);
    animation: underline 3s ease-in-out infinite;
  }
  
  @keyframes shine {
    0% {
      left: -100%;
    }
    100% {
      left: 100%;
    }
  }
  
 
  /* Mobile responsiveness */


  .section-sales {
    padding: 80px 0;
    background-color: #f9f7f4;
    position: relative;
}

.section-sales::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(to right, #f05e8a, #FFD700);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    text-align: center;
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #333;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

@media (max-width:320px) {
    .section-title {
        margin-top: 50px;
    }
}
.section-title::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #f05e8a;
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.product-card {
    background-color: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.product-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #f05e8a;
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 1;
}

.product-image {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-img {
    transform: scale(1.05);
}

.product-details {
    padding: 20px;
}

.product-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
}

.product-rating {
    color: #FFD700;
    margin-bottom: 10px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
}

.rating-count {
    color: #999;
    margin-left: 5px;
    font-size: 0.8rem;
}

.product-description {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 15px;
    line-height: 1.4;
}

.product-price-row {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.product-price {
    font-size: 1.4rem;
    font-weight: 700;
    color: #333;
}

.product-price-original {
    font-size: 1rem;
    color: #999;
    text-decoration: line-through;
    margin-left: 10px;
}

.product-actions {
    display: flex;
    gap: 10px;
}

.btn-cart, .btn-buy {
    flex: 1;
    padding: 10px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.btn-cart {
    background-color: #fff;
    color: #f05e8a;
    border: 2px solid #f05e8a;
}

.btn-buy {
    background-color: #f05e8a;
    color: white;
}

.btn-cart:hover {
    background-color: #f05e8a;
    color: white;
}

.btn-buy:hover {
    background-color: #e0456e;
}



@media (max-width: 576px) {
    .products-grid {
        grid-template-columns: 1fr;
        max-width: 320px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .product-card {
        max-width: 100%;
    }
    
    .product-image {
        height: 220px;
    }
}







@media screen and (max-width: 768px) {
    /* Contact section improvements */
    .contact-container.mobile-container {
        padding: 15px;
        width: 100%;
        box-sizing: border-box;
    }

    /* Hide map on mobile devices as per original design */
    .contact .map {
        display: none;
        height: 0;
        overflow: hidden;
    }

    /* Ensure the contact form is properly displayed */
    .contact {
        padding: 20px 15px;
        background-color: #f9f7f4;
        margin-top: 20px;
        width: 100%;
        box-sizing: border-box;
    }

    /* Form heading styles - match your existing aesthetic */
    .contact h2 {
        text-align: center;
        font-size: 1.6rem;
        margin-bottom: 20px;
        color: #333;
        font-family: 'Playfair Display', serif;
        line-height: 1.3;
        word-wrap: break-word;
    }

    /* Show form on mobile */
    .form {
        display: block ;
        width: 100%;
    }

    /* Form text container */
    .form-txt {
        width: 100%;
        box-sizing: border-box;
        text-align: left;
        padding: 0 5px;
        margin-bottom: 15px;
    }

    /* Fix heading display issues */
    .form-txt h4 {
        font-size: 1.1rem;
        margin-bottom: 8px;
        color: #333;
        word-wrap: break-word;
        line-height: 1.4;
        font-weight: 600;
    }

    /* Ensure paragraph text doesn't get cut off */
    .form-txt p, .contact p {
        font-size: 0.95rem;
        line-height: 1.5;
        margin-bottom: 12px;
        word-wrap: break-word;
        color: #666;
        width: 100%;
        box-sizing: border-box;
    }

    /* Style the INDIA text properly */
    .form-txt h5, 
    .contact h5 {
        font-weight: 600;
        margin: 15px 0 5px;
        color: #333;
        font-size: 1rem;
    }

    /* Form fields container */
    .form-details {
        width: 100%;
        box-sizing: border-box;
    }

    /* Improve form field styling */
    .contact form input,
    .contact form textarea {
        width: 100%;
        padding: 12px;
        margin: 8px 0;
        border: 1px solid #ddd;
        border-radius: 8px;
        font-size: 0.95rem;
        background-color: #fff;
        box-sizing: border-box;
    }

    /* Fix textarea resizing issues */
    .contact form textarea {
        min-height: 100px;
        resize: vertical;
    }

    /* Button styling - match your pink theme */
    .contact form button {
        width: 100%;
        background-color: #f05e8a;
        color: white;
        border: none;
        padding: 12px;
        border-radius: 8px;
        font-size: 1rem;
        font-weight: 600;
        cursor: pointer;
        margin-top: 10px;
        text-transform: uppercase;
    }

    /* Hide success and error messages by default */
    .form-message-container {
        margin-top: 15px;
        width: 100%;
    }

    /* Hide both messages by default */
    #success-message, 
    #error-message {
        display: none;
        padding: 10px;
        border-radius: 5px;
        margin-top: 10px;
        font-size: 0.9rem;
        word-wrap: break-word;
        width: 100%;
        box-sizing: border-box;
        position: relative;
        left: 0;
        transition: all 0.3s ease;
    }

    #success-message {
        background-color: rgba(76, 175, 80, 0.1);
        color: #4CAF50;
    }

    #error-message {
        background-color: rgba(244, 67, 54, 0.1);
        color: #F44336;
    }

    /* Message display animation when shown */
    #success-message.show, 
    #error-message.show {
        display: flex;
        align-items: center;
        animation: slideIn 0.5s forwards;
    }




    /* Icon styling */
    .fa-check-circle, 
    .fa-exclamation-circle {
        margin-right: 8px;
    }
    
    /* Handle different screen sizes better */
    @media (max-width: 320px) {
        .contact h2 {
            font-size: 1.4rem;
        }
        
        .form-txt h4 {
            font-size: 1rem;
        }
        
        .contact form input,
        .contact form textarea {
            padding: 10px;
        }
    }
    
    /* Form fixes for intermediate sizes */
    @media (min-width: 375px) and (max-width: 424px) {
        .contact {
            padding: 20px;
        }
    }
    
    /* Fix the contact section ID */
    #contact {
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }
    
    /* Fix for contact form */
    #contact-form {
        width: 100%;
        position: relative;
    }
    
    /* Add specific fixes for form submit button */
    #submit-btn {
        display: block;
        width: 100%;
        margin: 15px 0 5px;
    }
    
    
}