/* ===================================================================
   SpiceZium Responsive Padding System
   Consistent spacing across all devices and pages
   =================================================================== */

/* ===== Desktop View (1200px and above) ===== */
@media (min-width: 1200px) {
  .container {
    padding: 0 50px !important;
    max-width: 1200px;
  }
  
  .section {
    padding: 100px 0;
  }
  
  .main-banner .container {
    padding: 0 60px !important;
  }
  
  .categories-collections {
    padding: 100px 0;
    margin-top: 0;
  }
  
  .shop-spicezium {
    /* padding: 120px 0; */
  }
  
  /* Header and Navigation */
  .header-area .container {
    padding: 0 50px !important;
  }
  
  .main-nav {
    padding: 0 20px;
  }
  
  /* Content Cards */
  .item.spice-card {
    margin: 0 20px;
    padding: 35px;
  }
  
  .platform-card {
    padding: 35px 30px;
    margin: 0 20px;
  }
  
  /* About page sections */
  .section_all {
    padding: 120px 0;
  }
  
  .about_content_box_all {
    padding: 40px 35px;
  }
  
  /* Products page */
  .products-section {
    padding: 100px 0;
  }
  
  /* Contact page */
  .contact-section {
    padding: 100px 0;
  }
  
  .contact-form-container {
    padding: 40px;
  }
}

/* ===== Laptop/Large Tablet View (992px - 1199px) ===== */
@media (min-width: 992px) and (max-width: 1199px) {
  .container {
    padding: 0 40px !important;
    max-width: 1140px;
  }
  
  .section {
    padding: 80px 0;
  }
  
  .main-banner .container {
    padding: 0 45px !important;
  }
  
  .categories-collections {
    padding: 80px 0;
    margin-top: 0;
  }
  
  .shop-spicezium {
    padding: 80px 0;
  }
  
  /* Header and Navigation */
  .header-area .container {
    padding: 0 40px !important;
  }
  
  .main-nav {
    padding: 0 15px;
  }
  
  /* Content Cards */
  .item.spice-card {
    margin: 0 15px;
    padding: 30px;
  }
  
  .platform-card {
    padding: 30px 25px;
    margin: 0 15px;
  }
  
  /* About page sections */
  .section_all {
    padding: 100px 0;
  }
  
  .about_content_box_all {
    padding: 35px 30px;
  }
  
  /* Products page */
  .products-section {
    padding: 80px 0;
  }
  
  /* Contact page */
  .contact-section {
    padding: 80px 0;
  }
  
  .contact-form-container {
    padding: 35px;
  }
}

/* ===== Tablet View (768px - 991px) ===== */
@media (min-width: 768px) and (max-width: 991px) {
  .container {
    padding: 0 30px !important;
    max-width: 960px;
  }
  
  .section {
    padding: 60px 0;
  }
  
  .main-banner {
    padding: 80px 0;
  }
  
  .main-banner .container {
    padding: 0 35px !important;
  }
  
  .categories-collections {
    padding: 60px 0;
    margin-top: 0;
  }
  
  .shop-spicezium {
    padding: 60px 0;
  }
  
  /* Header and Navigation */
  .header-area .container {
    padding: 0 30px !important;
  }
  
  .main-nav {
    padding: 0 10px;
  }
  
  /* Content Cards */
  .item.spice-card {
    margin: 0 10px;
    padding: 25px;
  }
  
  .platform-card {
    padding: 25px 20px;
    margin: 0 10px;
  }
  
  /* Text adjustments */
  .header-text h6 {
    font-size: 16px;
    margin-bottom: 20px;
  }
  
  .header-text h2 {
    font-size: 32px;
    margin-bottom: 25px;
  }
  
  .header-text p {
    font-size: 15px;
    line-height: 1.6;
  }
  
  /* About page sections */
  .section_all {
    padding: 80px 0;
  }
  
  .about_content_box_all {
    padding: 30px 25px;
  }
  
  /* Products page */
  .products-section {
    padding: 60px 0;
  }
  
  /* Contact page */
  .contact-section {
    padding: 60px 0;
  }
  
  .contact-form-container {
    padding: 30px;
  }
}

/* ===== Mobile View (481px - 767px) ===== */
@media (min-width: 481px) and (max-width: 767px) {
  .container {
    padding: 0 25px !important;
  }
  
  .section {
    padding: 50px 0;
  }
  
  .main-banner {
    padding: 70px 0;
  }
  
  .main-banner .container {
    padding: 0 30px !important;
  }
  
  .categories-collections {
    padding: 50px 0;
    margin-top: 0;
  }
  
  .shop-spicezium {
    padding: 50px 0;
  }
  
  /* Header and Navigation */
  .header-area .container {
    padding: 0 25px !important;
  }
  
  .main-nav {
    padding: 0 15px;
  }
  
  /* Header text adjustments */
  .header-text {
    text-align: center;
    padding: 25px 0;
  }
  
  .header-text h6 {
    font-size: 15px;
    margin-bottom: 18px;
  }
  
  .header-text h2 {
    font-size: 30px;
    margin-bottom: 22px;
  }
  
  .header-text p {
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 25px;
  }
  
  /* Content Cards */
  .item.spice-card {
    margin: 0 8px 25px;
    padding: 22px;
  }
  
  .platform-card {
    padding: 22px 18px;
    margin: 0 8px 25px;
  }
  
  /* Section headings */
  .section-heading h2 {
    font-size: 26px;
    margin-bottom: 18px;
  }
  
  .section-heading {
    margin-bottom: 35px;
  }
  
  /* Button adjustments */
  .border-button a {
    padding: 14px 28px;
    font-size: 14px;
  }
  
  /* About page sections */
  .section_all {
    padding: 70px 0;
  }
  
  .about_content_box_all {
    padding: 25px 20px;
    margin-bottom: 25px;
  }
  
  /* Products page */
  .products-section {
    padding: 50px 0;
  }
  
  /* Contact page */
  .contact-section {
    padding: 50px 0;
  }
  
  .contact-form-container {
    padding: 25px;
  }
  
  /* Platform grid adjustments */
  .platform-grid {
    grid-template-columns: 1fr;
    gap: 25px;
    padding: 0 15px;
  }
}

/* ===== Small Mobile View (320px - 480px) ===== */
@media (max-width: 480px) {
  .container {
    padding: 0 20px !important;
  }
  
  .section {
    padding: 40px 0;
  }
  
  .main-banner {
    padding: 60px 0;
  }
  
  .main-banner .container {
    padding: 0 25px !important;
  }
  
  .categories-collections {
    padding: 40px 0;
    margin-top: 0;
  }
  
  .shop-spicezium {
    padding: 40px 0;
  }
  
  /* Header and Navigation */
  .header-area .container {
    padding: 0 20px !important;
  }
  
  .main-nav {
    padding: 0 10px;
  }
  
  /* Header text adjustments */
  .header-text {
    text-align: center;
    padding: 20px 0;
  }
  
  .header-text h6 {
    font-size: 14px;
    margin-bottom: 15px;
  }
  
  .header-text h2 {
    font-size: 26px;
    margin-bottom: 20px;
  }
  
  .header-text p {
    font-size: 13px;
    line-height: 1.4;
    margin-bottom: 22px;
  }
  
  /* Content Cards */
  .item.spice-card {
    margin: 0 5px 20px;
    padding: 18px;
  }
  
  .platform-card {
    padding: 18px 15px;
    margin: 0 5px 20px;
  }
  
  /* Section headings */
  .section-heading h2 {
    font-size: 22px;
    margin-bottom: 15px;
  }
  
  .section-heading {
    margin-bottom: 30px;
  }
  
  /* Button adjustments */
  .border-button a {
    padding: 12px 24px;
    font-size: 13px;
  }
  
  /* About page sections */
  .section_all {
    padding: 60px 0;
  }
  
  .about_content_box_all {
    padding: 20px 18px;
    margin-bottom: 20px;
  }
  
  /* Products page */
  .products-section {
    padding: 40px 0;
  }
  
  /* Contact page */
  .contact-section {
    padding: 40px 0;
  }
  
  .contact-form-container {
    padding: 20px;
  }
  
  /* Platform grid adjustments */
  .platform-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 10px;
  }
  
  /* WhatsApp card mobile adjustments */
  .whatsapp-card {
    padding: 22px 18px;
  }
  
  .whatsapp-icon-container {
    margin-bottom: 18px;
  }
  
  .whatsapp-features {
    flex-direction: column;
    gap: 8px;
  }
  
  .whatsapp-feature {
    font-size: 12px;
  }
}

/* ===== Extra Small Devices (below 320px) ===== */
@media (max-width: 319px) {
  .container {
    padding: 0 15px !important;
  }
  
  .main-banner .container {
    padding: 0 20px !important;
  }
  
  .header-area .container {
    padding: 0 15px !important;
  }
  
  .header-text h2 {
    font-size: 22px;
  }
  
  .header-text p {
    font-size: 12px;
  }
  
  .section-heading h2 {
    font-size: 20px;
  }
  
  .item.spice-card {
    margin: 0 0 15px;
    padding: 15px;
  }
  
  .platform-card {
    padding: 15px 12px;
    margin: 0 0 15px;
  }
  
  .border-button a {
    padding: 10px 20px;
    font-size: 12px;
  }
  
  .about_content_box_all {
    padding: 18px 15px;
  }
  
  .contact-form-container {
    padding: 18px;
  }
}

/* ===== Section Spacing Improvements ===== */
.main-banner {
  margin-bottom: 0;
}

.categories-collections {
  position: relative;
  background: #f8f9fa;
}

.categories-collections::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(220, 20, 60, 0.1), transparent);
}

/* Improved section transitions */
.section + .section {
  margin-top: 0;
}

/* Modern Spice Card Styling */
.modern-spice-card {
  margin-bottom: 30px;
  border-radius: 50px;
  overflow: hidden;
  /* box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15); */
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  background: white;
  position: relative;
}

.modern-spice-card:hover {
  transform: translateY(-8px);
  /* box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2); */
}

.card-image-container {
  position: relative;
  height: 250px;
  overflow: hidden;
}

.card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.modern-spice-card:hover .card-image {
  transform: scale(1.05);
}

.card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.1) 50%, rgba(0,0,0,0.4) 100%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px;
  opacity: 0.9;
}

.card-badges {
  display: flex;
  gap: 10px;
  align-self: flex-end;
}

.badge-cook, .badge-serve {
  background: #ec2b23;
  color: #000;
  padding: 4px 12px;
  border-radius: 15px;
  font-size: 11px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  backdrop-filter: blur(10px);
}

.card-features {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: auto;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: white;
  font-size: 12px;
  font-weight: 500;
}

.feature-item .icon {
  background: rgba(40, 167, 69, 0.9);
  color: white;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: bold;
}

.card-content {
  padding: 25px;
  text-align: center;
  background: white;
  color: black;
  /* border-bottom-left-radius: 50px;
  border-bottom-right-radius: 50px; */

}

.modern-spice-card:nth-child(2) .card-content {
  background: linear-gradient(135deg, #8B0000, #ec2b23);
}

.modern-spice-card:nth-child(3) .card-content {
  background: linear-gradient(135deg, #4682B4, #1E90FF);
}

.modern-spice-card:nth-child(4) .card-content {
  background: linear-gradient(135deg, #228B22, #32CD32);
}

.card-content h4 {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 10px;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

.card-content .description {
  font-size: 13px;
  margin-bottom: 15px;
  opacity: 0.9;
  line-height: 1.4;
}

.rating {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

.stars {
  color: #FFD700;
  font-size: 16px;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.reviews {
  font-size: 12px;
  opacity: 0.9;
  font-weight: 500;
}

/* Section styling */
.categories-collections {
  background: white;
  position: relative;
  overflow: hidden;
}

.categories-collections::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.02)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.02)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.01)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  opacity: 0.3;
  pointer-events: none;
}

.section-heading {
  position: relative;
  z-index: 2;
}

/* Responsive adjustments */
@media (max-width: 767px) {
  .modern-spice-card {
    margin-bottom: 25px;
  }
  
  .card-image-container {
    height: 200px;
  }
  
  .card-content {
    padding: 20px;
  }
  
  .card-content h4 {
    font-size: 18px;
  }
  
  .card-overlay {
    padding: 15px;
  }
  
  .card-badges {
    gap: 8px;
  }
  
  .badge-cook, .badge-serve {
    padding: 3px 10px;
    font-size: 10px;
  }
}

@media (max-width: 480px) {
  .card-image-container {
    height: 180px;
  }
  
  .card-content {
    padding: 18px;
  }
  
  .card-content h4 {
    font-size: 16px;
  }
  
  .card-content .description {
    font-size: 13px;
  }
}

/* ===== Utility Classes ===== */
.py-section {
  padding-top: 0px;
  padding-bottom: 100px;
}

@media (max-width: 991px) {
  .py-section {
    padding-top: 80px;
    padding-bottom: 80px;
  }
}

@media (max-width: 767px) {
  .py-section {
    padding-top: 60px;
    padding-bottom: 60px;
  }
}

@media (max-width: 480px) {
  .py-section {
    padding-top: 40px;
    padding-bottom: 40px;
  }
}

/* Container fluid improvements */
.container-fluid {
  padding-left: 50px;
  padding-right: 50px;
}

@media (max-width: 1199px) {
  .container-fluid {
    padding-left: 40px;
    padding-right: 40px;
  }
}

@media (max-width: 991px) {
  .container-fluid {
    padding-left: 30px;
    padding-right: 30px;
  }
}

@media (max-width: 767px) {
  .container-fluid {
    padding-left: 25px;
    padding-right: 25px;
  }
}

@media (max-width: 480px) {
  .container-fluid {
    padding-left: 20px;
    padding-right: 20px;
  }
}

/* Consistent margin utilities */
.mb-section {
  margin-bottom: 100px;
}

@media (max-width: 991px) {
  .mb-section {
    margin-bottom: 80px;
  }
}

@media (max-width: 767px) {
  .mb-section {
    margin-bottom: 60px;
  }
}

@media (max-width: 480px) {
  .mb-section {
    margin-bottom: 40px;
  }
}