/* Reset CSS */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Biến màu sắc chính */
:root {
  --primary-color: #005e20; /* Xanh - màu chính */
  --primary-rgb: 0, 94, 32; /* RGB của màu chính để dùng với opacity */
  --secondary-color: #ffc107; /* Vàng - màu bổ trợ */
  --secondary-rgb: 255, 193, 7; /* RGB của màu bổ trợ để dùng với opacity */
  --primary-dark: #004518;
  --secondary-dark: #e6ac00;
  --light-bg: #f0f8f0;
  --white: #ffffff;
  --gray: #666666;
  --dark: #333333;
  --light-gray: #f9f9f9;
}

/* Base Styles */
body {
  font-family: 'Roboto', sans-serif;
  line-height: 1.6;
  color: var(--dark);
  background-color: var(--light-gray);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  text-decoration: none;
  color: var(--primary-color);
}

ul {
  list-style: none;
}

.btn {
  display: inline-block;
  background-color: var(--primary-color);
  color: var(--white);
  padding: 12px 25px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 500;
  transition: background-color 0.3s ease;
}

.btn:hover {
  background-color: var(--primary-dark);
}

/* Header Animation */
@keyframes slideInDown {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Header */
header {
  background-color: var(--white);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: all 0.3s ease;
  border-bottom: 2px solid rgba(76, 175, 80, 0.2);
  animation: slideInDown 0.6s ease-out;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 25px;
  max-width: 1300px;
}

.logo {
  display: flex;
  align-items: center;
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: scale(1.02);
}

.logo img {
  height: 55px;
  margin-right: 12px;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.logo h1 {
  font-size: 1.9rem;
  color: var(--primary-color);
  font-weight: 700;
  letter-spacing: -0.5px;
  /*text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.8);*/
  background: linear-gradient(135deg, var(--primary-color), #2e7d32);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

nav {
  display: flex;
  align-items: center;
}

nav ul {
  display: flex;
  align-items: center;
}

nav ul li {
  margin-left: 28px;
  position: relative;
}

nav ul li a {
  font-weight: 600;
  transition: all 0.3s ease;
  color: #444;
  font-size: 1.05rem;
  padding: 8px 0;
  position: relative;
}

nav ul li a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--primary-color);
  transition: width 0.3s ease;
}

nav ul li a:hover {
  color: var(--primary-color);
}

nav ul li a:hover::after {
  width: 100%;
}

.cart-icon {
  position: relative;
}

.cart-icon a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  background-color: rgba(76, 175, 80, 0.12);
  border-radius: 50%;
  transition: all 0.3s ease;
}

.cart-icon a:hover {
  background-color: rgba(76, 175, 80, 0.2);
  transform: translateY(-2px);
}

.cart-icon i {
  font-size: 1.4rem;
  color: var(--primary-color);
}

#cart-count {
  position: absolute;
  top: -8px;
  right: -8px;
  background-color: var(--secondary-color);
  color: var(--white);
  border-radius: 50%;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
  border: 2px solid white;
}

/* Mobile Menu */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  cursor: pointer;
  z-index: 200;
  transition: all 0.3s ease;
}

.menu-toggle span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: var(--primary-color);
  border-radius: 3px;
  transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* Header Scroll Effect */
header.scrolled {
  background-color: rgba(255, 255, 255, 0.98);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  padding: 5px 0;
}

/* Responsive Header */
@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  nav ul {
    position: fixed;
    top: 0;
    right: -100%;
    width: 250px;
    height: 100vh;
    background-color: white;
    flex-direction: column;
    align-items: flex-start;
    padding: 80px 30px 30px;
    transition: all 0.5s ease;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    z-index: 150;
  }

  nav ul.active {
    right: 0;
  }

  nav ul li {
    margin: 15px 0;
  }

  .cart-icon {
    margin-top: 20px;
  }
}

/* Menu Overlay */
body.menu-open {
  overflow: hidden;
}

body.menu-open::before {
  /*content: '';*/
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 140;
}

/* Hero Section */
.hero {
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('/images/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  color: var(--white);
  text-align: center;
  padding: 150px 0 100px;
  margin-top: 80px;
}

.hero h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

/* Promo Banner Styles */
.promo-banner {
  background-color: var(--secondary-color);
  padding: 15px 0;
  text-align: center;
  margin-bottom: 30px;
}

.promo-content {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
}

.promo-icon {
  font-size: 2rem;
  color: var(--primary-dark);
}

.promo-text h3 {
  font-size: 1.2rem;
  margin-bottom: 5px;
  color: var(--primary-dark);
}

.promo-text p {
  font-size: 0.95rem;
  color: var(--dark);
  font-weight: 500;
}

/* Product Promotion Banner */
.product-promo-banner {
  display: flex;
  align-items: center;
  gap: 20px;
  background: linear-gradient(135deg, var(--primary-color) 0%, #007530 100%);
  color: white;
  padding: 15px 25px;
  border-radius: 8px;
  margin-bottom: 30px;
  box-shadow: 0 5px 15px rgba(0, 94, 32, 0.2);
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
  position: relative;
  overflow: hidden;
}

.product-promo-banner:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 94, 32, 0.3);
}

.product-promo-banner::after {
  content: "Nhấn để xem ưu đãi";
  position: absolute;
  bottom: 5px;
  right: 10px;
  font-size: 0.8rem;
  opacity: 0.7;
}

.product-promo-banner:hover::after {
  opacity: 1;
}

.product-promo-icon {
  font-size: 2.5rem;
  background-color: rgba(255, 255, 255, 0.2);
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.product-promo-text h3 {
  margin-bottom: 5px;
  font-size: 1.3rem;
}

.product-promo-text p {
  margin: 0;
  font-size: 1rem;
  opacity: 0.9;
}

/* Product Section */
.products {
  padding: 80px 0;
}

.products h2 {
  text-align: center;
  margin-bottom: 40px;
  color: var(--primary-color);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
}

.product-card {
  background-color: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.product-card:hover {
  transform: translateY(-5px);
}

.product-image {
  height: 200px;
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-info {
  padding: 20px;
}

.product-info h3 {
  margin-bottom: 10px;
  color: var(--primary-color);
}

.product-info p {
  margin-bottom: 15px;
  color: var(--gray);
}

.product-price-container {
  margin-bottom: 15px;
  position: relative;
}

.product-price {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary-color);
}

.product-price.sale {
  font-size: 1rem;
  text-decoration: line-through;
  color: var(--gray);
  margin-right: 10px;
  display: inline-block;
  font-weight: 400;
}

.product-sale-price {
  font-size: 1.2rem;
  font-weight: 700;
  color: #e74c3c;
  display: inline-block;
}

.discount-tag {
  position: absolute;
  top: 10px;
  right: 10px;
  background-color: #e74c3c;
  color: white;
  padding: 5px 8px;
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: 4px;
  z-index: 5;
}

.product-quantity {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  justify-content: space-between;
  max-width: 120px;
}

/* Thêm style cho khung chứa các nút */
.product-buttons {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
}

.product-buttons .btn {
  flex: 1;
  padding: 10px;
  text-align: center;
  font-size: 0.9rem;
}

/* Style cho nút thêm vào giỏ */
.btn.add-to-cart {
  background-color: var(--secondary-color);
  color: var(--dark);
}

.btn.add-to-cart:hover {
  background-color: var(--secondary-dark);
}

/* Style cho nút mua ngay */
.btn.buy-now {
  background-color: var(--primary-color);
  color: var(--white);
}

.btn.buy-now:hover {
  background-color: var(--primary-dark);
}

/* Hiệu ứng nhấp nháy cho nút "Tiến hành đặt hàng" */
.highlight-btn {
  animation: pulse-btn 1s infinite alternate;
  box-shadow: 0 0 8px 2px rgba(var(--primary-rgb), 0.6);
}

@keyframes pulse-btn {
  0% {
    transform: scale(1);
    box-shadow: 0 0 8px 2px rgba(var(--primary-rgb), 0.6);
  }
  100% {
    transform: scale(1.05);
    box-shadow: 0 0 12px 4px rgba(var(--primary-rgb), 0.8);
  }
}

.quantity-btn {
  width: 30px;
  height: 30px;
  border: none;
  background-color: var(--light-bg);
  cursor: pointer;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  transition: background-color 0.3s;
}

.quantity-btn:hover {
  background-color: var(--secondary-color);
}

.quantity-input {
  width: 40px;
  text-align: center;
  border: 1px solid #ddd;
  padding: 5px;
  border-radius: 4px;
}

/* Cart Section */
.cart {
  padding: 120px 0 80px;
  background-color: var(--light-bg);
}

.cart h2 {
  text-align: center;
  margin-bottom: 30px;
  color: var(--primary-color);
}

/* Cart Animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

#cart-items {
  background-color: var(--white);
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  min-height: 100px;
  animation: fadeInUp 0.5s ease-out;
}

.empty-cart {
  text-align: center;
  color: var(--gray);
  padding: 30px 20px;
  background-color: rgba(0, 0, 0, 0.02);
  border-radius: 8px;
  margin: 10px 0;
  font-style: italic;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.empty-cart::before {
  content: "\f07a";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  font-size: 2.5rem;
  color: #ccc;
  display: block;
  margin-bottom: 5px;
}

.empty-cart-tip {
  display: block;
  font-size: 0.9rem;
  color: #888;
  margin-top: 10px;
  font-style: normal;
}

.cart-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
  border-bottom: 1px solid #eee;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.cart-item:last-child {
  border-bottom: none;
}

.cart-item:hover {
  background-color: rgba(76, 175, 80, 0.05);
  padding-left: 10px;
  padding-right: 10px;
  border-radius: 8px;
}

.cart-item-info {
  flex: 1;
  padding-right: 15px;
}

.cart-item-name {
  font-weight: 500;
  color: var(--primary-color);
}

.cart-item-price {
  color: var(--gray);
  font-size: 0.9rem;
}

.cart-item-quantity {
  display: flex;
  align-items: center;
  margin: 0 20px;
  background-color: var(--light-bg);
  border-radius: 6px;
  padding: 3px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.cart-item-quantity button {
  width: 32px;
  height: 32px;
  background-color: white;
  border: none;
  cursor: pointer;
  border-radius: 4px;
  transition: all 0.3s;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: var(--primary-color);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  transform-origin: center;
}

.cart-item-quantity button:hover {
  background-color: var(--secondary-color);
  transform: translateY(-1px) scale(1.05);
}

.cart-item-quantity button:active {
  transform: scale(0.95);
  background-color: var(--primary-color);
  color: white;
}

.cart-item-quantity span {
  margin: 0 12px;
  min-width: 25px;
  text-align: center;
  font-weight: 600;
}

.cart-item-total {
  font-weight: 700;
  color: var(--primary-color);
  min-width: 100px;
  text-align: right;
}

.cart-item-remove {
  margin-left: 15px;
  color: #ff4d4d;
  cursor: pointer;
  font-size: 1.2rem;
  transition: all 0.3s ease;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.cart-item-remove:hover {
  background-color: rgba(255, 77, 77, 0.1);
  transform: rotate(5deg) scale(1.1);
}

.cart-item-remove:active {
  transform: scale(0.9);
}

#cart-summary {
  background: linear-gradient(145deg, rgba(255, 255, 255, 1) 0%, rgba(249, 249, 249, 0.9) 100%);
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  border: 1px solid rgba(76, 175, 80, 0.1);
  border-top: 3px solid var(--primary-color);
  animation: fadeInUp 0.5s ease-out 0.2s backwards;
}

.cart-total {
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.cart-total strong {
  color: #444;
}

#cart-total-amount {
  font-weight: 700;
  color: var(--primary-color);
  font-size: 1.3rem;
  transition: all 0.3s ease;
}

#checkout-btn {
  padding: 12px 28px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(76, 175, 80, 0.25);
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
}

#checkout-btn::before {
  content: "\f07a";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
}

/* Cart Total Amount Highlight Effect */
#cart-total-amount.highlight {
  animation: highlight-total 1s ease;
}

@keyframes highlight-total {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.2);
    color: #4CAF50;
    text-shadow: 0 0 5px rgba(76, 175, 80, 0.5);
  }
  100% {
    transform: scale(1);
  }
}

/* Shipping Promo in Checkout */
.shipping-promo {
  display: flex;
  align-items: center;
  gap: 15px;
  background-color: #f3f9f0;
  border-left: 4px solid var(--primary-color);
  padding: 15px;
  margin-bottom: 20px;
  border-radius: 4px;
}

.shipping-promo-icon {
  font-size: 1.5rem;
  color: var(--primary-color);
}

.shipping-promo-text {
  font-size: 0.95rem;
  color: var(--dark);
}

/* Shipping Promotion Styles */
.shipping-promo, .payment-promo {
  display: flex;
  align-items: center;
  gap: 15px;
  background-color: var(--light-bg);
  border-radius: 8px;
  padding: 15px;
  margin-bottom: 20px;
}

.shipping-promo-icon, .payment-promo-icon {
  font-size: 2rem;
  color: var(--primary-color);
}

.shipping-promo-text, .payment-promo-text {
  font-size: 1rem;
}

.payment-promo {
  background-color: #FFF3CD;
  border-left: 5px solid var(--secondary-color);
  position: relative;
  overflow: hidden;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 193, 7, 0.4);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(255, 193, 7, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 193, 7, 0);
  }
}

.payment-promo::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.4), transparent);
  animation: shine 3s infinite;
}

@keyframes shine {
  0% {
    left: -100%;
  }
  20% {
    left: 100%;
  }
  100% {
    left: 100%;
  }
}

.payment-promo-icon {
  color: var(--secondary-dark);
}

.payment-promo-text strong {
  color: #856404;
}

/* Payment Methods */
.payment-methods {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.payment-method {
  margin-bottom: 0;
  padding: 0;
  border-radius: 10px;
  background-color: var(--light-bg);
  position: relative;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  overflow: hidden;
}

.payment-method:hover {
  background-color: #e8f4e8;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.payment-method input[type="radio"] {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.payment-method input[type="radio"]:checked + label {
  background-color: rgba(76, 175, 80, 0.1);
}

.payment-method input[type="radio"]:checked + label .payment-method-icon {
  /*background-color: var(--primary-color);*/
  border: 3px solid var(--primary-color);
  color: white;
}

.payment-method label {
  cursor: pointer;
  display: flex;
  align-items: center;
  width: 100%;
  padding: 15px;
  transition: all 0.3s ease;
  border-radius: 8px;
}

.payment-method-icon {
  width: 45px;
  height: 45px;
  background-color: rgba(76, 175, 80, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  transition: all 0.3s ease;
}

.payment-method-icon i {
  font-size: 18px;
  color: var(--primary-color);
  transition: all 0.3s ease;
}

.payment-method-details {
  display: flex;
  flex-direction: column;
}

.payment-method-name {
  font-weight: 600;
  color: #333;
  margin-bottom: 5px;
}

.featured {
  border: 1px solid var(--primary-color);
  box-shadow: 0 5px 15px rgba(76, 175, 80, 0.15);
}

.featured-badge {
  position: absolute;
  top: 0;
  right: 0;
  background-color: var(--primary-color);
  color: white;
  font-size: 0.75rem;
  padding: 4px 10px;
  border-bottom-left-radius: 8px;
  font-weight: 500;
}

.discount-badge {
  background-color: #4CAF50;
  color: white;
  padding: 3px 8px;
  border-radius: 12px;
  font-size: 0.8rem;
  display: inline-block;
  margin-top: 3px;
  font-weight: 500;
}

/* Highlight button */
.btn.add-to-cart {
  background-color: var(--secondary-color);
  color: var(--dark);
}

.btn.add-to-cart:hover {
  background-color: var(--secondary-dark);
}

/* Select highlight */
.product-card.selected {
  border: 2px solid var(--secondary-color);
}

/* Notification */
.notification {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: var(--primary-color);
  color: white;
  padding: 12px 20px;
  border-radius: 4px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s ease;
}

.notification.show {
  transform: translateY(0);
  opacity: 1;
}

/* Order Section Improvements */
.order {
  padding: 100px 0;
  background-color: #f9f9f9;
  background-image: linear-gradient(135deg, rgba(240, 248, 240, 0.8) 0%, rgba(249, 249, 249, 0.9) 100%);
}

.order h2 {
  text-align: center;
  margin-bottom: 30px;
  color: var(--primary-color);
  font-size: 2.2rem;
  position: relative;
  padding-bottom: 15px;
}

.order h2:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: var(--secondary-color);
}

#order-form {
  max-width: 800px;
  margin: 0 auto;
  background-color: var(--white);
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border-top: 5px solid var(--primary-color);
}

.form-group {
  margin-bottom: 25px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--dark);
  font-size: 1.05rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 1rem;
  transition: all 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(0, 94, 32, 0.1);
  outline: none;
}

.form-group textarea {
  height: 100px;
  resize: vertical;
}

/* Order Products Section Styling */
.order-products {
  margin-top: 30px;
  border-top: 1px dashed #e0e0e0;
  padding-top: 25px;
  background-color: rgba(255, 255, 255, 0.8);
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.order-products h3 {
  color: var(--primary-color);
  font-size: 1.2rem;
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
  font-weight: 600;
}

.order-products h3:after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 60%;
  height: 2px;
  background-color: var(--secondary-color);
}

#order-products-summary {
  border-radius: 6px;
  transition: all 0.3s ease;
}

#order-products-summary p {
  color: #777;
  font-style: italic;
  text-align: center;
  padding: 20px;
  background-color: #f9f9f9;
  border-radius: 6px;
  margin: 0;
  border: 1px dashed #ddd;
}

.order-product-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #f0f0f0;
}

.order-product-item:last-child {
  border-bottom: none;
}

.order-product-item div:first-child {
  font-weight: 500;
  color: #333;
  display: flex;
  align-items: center;
  gap: 8px;
}

.order-product-item div:last-child {
  font-weight: 600;
  color: var(--primary-color);
}

.order-sale-badge {
  background-color: #4CAF50;
  color: white;
  padding: 3px 8px;
  border-radius: 12px;
  font-size: 0.8rem;
  display: inline-block;
  margin-left: 8px;
  font-weight: 500;
}

.notice-badge {
  background-color: #FF9800;
  color: white;
  padding: 3px 8px;
  border-radius: 12px;
  font-size: 0.8rem;
  display: inline-block;
  margin-left: 8px;
  font-weight: 500;
}

/* Discount Summary Styling */
.discount-summary {
  margin-top: 15px;
  padding-top: 15px;
  border-top: 2px dashed #e0e0e0;
  background-color: rgba(248, 249, 250, 0.8);
  border-radius: 6px;
  padding: 15px;
}

.discount-line {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 0.95rem;
}

.discount-line:last-child {
  margin-bottom: 0;
}

.discount-line.total {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid #e0e0e0;
  font-weight: bold;
  font-size: 1.1rem;
  color: var(--primary-color);
}

/* Total Amount Styling */
.form-group.total-amount {
  margin-top: 30px;
  padding: 20px;
  background: linear-gradient(145deg, rgba(76, 175, 80, 0.1) 0%, rgba(255, 152, 0, 0.1) 100%);
  border-radius: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.form-group.total-amount label {
  margin-bottom: 0;
  font-size: 1.2rem;
  color: #333;
}

#order-total-amount {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  background-color: rgba(255, 255, 255, 0.8);
  padding: 8px 15px;
  border-radius: 8px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

/* Enhance Submit Button */
.btn-order {
  background-color: var(--primary-color);
  color: white;
  padding: 15px 30px;
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  display: block;
  width: 100%;
  margin-top: 30px;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(76, 175, 80, 0.3);
}

.btn-order:hover {
  background-color: #388e3c;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(76, 175, 80, 0.4);
}

/* Animation for Total Amount */
#order-total-amount.updated {
  animation: highlight 1s ease;
}

@keyframes highlight {
  0% {
    background-color: rgba(76, 175, 80, 0.3);
  }
  100% {
    background-color: rgba(255, 255, 255, 0.8);
  }
}

/* Order Summary Container and Delivery Info */
.order-summary-container {
  margin-top: 25px;
}

.delivery-info {
  display: flex;
  align-items: center;
  background-color: rgba(38, 166, 154, 0.1);
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 20px;
  border-left: 4px solid #26a69a;
}

.delivery-icon {
  width: 50px;
  height: 50px;
  background-color: #26a69a;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  flex-shrink: 0;
}

.delivery-icon i {
  font-size: 22px;
  color: white;
}

.delivery-details h4 {
  margin: 0 0 5px;
  font-size: 1.1rem;
  color: #26a69a;
}

.delivery-details p {
  margin: 0;
  font-size: 0.9rem;
  color: #555;
}

/* Active Payment Method Styles */
.payment-method.active {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(76, 175, 80, 0.15);
  border: 3px solid var(--primary-color);
}

.payment-method.active label {
  background-color: rgba(76, 175, 80, 0.1);
}

/* Animation for payment method change */
@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

.highlight-animation {
  animation: pulse 0.6s ease-in-out 3;
}

/* Potential Savings Message */
.potential-savings {
  background-color: rgba(255, 193, 7, 0.15);
  padding: 10px 12px;
  margin-top: 10px;
  border-radius: 6px;
  color: #e65100;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 8px;
  border-left: 3px solid #FF9800;
}

.potential-savings i {
  color: #FF9800;
  font-size: 1.2rem;
}

/* Scroll to Top Button */
.scroll-top-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 45px;
  height: 45px;
  background-color: var(--primary-color);
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 99;
}

.scroll-top-btn.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-top-btn:hover {
  background-color: var(--primary-dark);
  transform: translateY(-3px);
}

@media (max-width: 768px) {
  .scroll-top-btn {
    width: 40px;
    height: 40px;
    bottom: 15px;
    right: 15px;
    font-size: 16px;
  }
}

/* Responsive Improvements for Order Section */
@media (max-width: 768px) {
  #order-form {
    padding: 25px 15px;
  }

  .form-group.total-amount {
    flex-direction: column;
    align-items: flex-start;
  }

  .form-group.total-amount label {
    margin-bottom: 10px;
  }

  .delivery-info {
    flex-direction: column;
    text-align: center;
  }

  .delivery-icon {
    margin: 0 auto 10px;
  }

  .payment-method label {
    flex-direction: column;
    text-align: center;
  }

  .payment-method-icon {
    margin: 0 auto 10px;
  }

  .payment-method-details {
    align-items: center;
  }

  .discount-line {
    flex-direction: column;
    text-align: center;
    gap: 5px;
  }
}

/* Responsive Cart Styling */
@media (max-width: 768px) {
  .cart {
    padding: 100px 0 60px;
  }

  #cart-items {
    padding: 15px;
  }

  .cart-item {
    flex-direction: column;
    align-items: flex-start;
    padding: 15px 0;
    position: relative;
    margin-bottom: 10px;
    border-bottom: 1px dashed #e0e0e0;
    padding-bottom: 20px;
  }

  .cart-item:last-child {
    margin-bottom: 0;
    border-bottom: none;
    padding-bottom: 0;
  }

  .cart-item:hover {
    padding-left: 0;
    padding-right: 0;
  }

  .cart-item-info {
    width: 100%;
    margin-bottom: 15px;
    padding-right: 25px;  /* Space for remove button */
  }
  .cart-item-quantity {
    margin: 10px 0;
    width: 130px;
    height: 40px; /* Increased height for better touch targets */
  }

  .cart-item-price {
    background-color: rgba(0, 0, 0, 0.03);
    padding: 5px 8px;
    border-radius: 4px;
    display: inline-block;
    margin-top: 5px;
    color: var(--gray);
    font-size: 0.9rem;
  }
  .cart-item-remove {
    position: absolute;
    top: 15px;
    right: 0;
    padding: 5px;
    background-color: rgba(255, 77, 77, 0.1);
    border-radius: 50%;
    width: 36px;  /* Increased size for better touch target */
    height: 36px; /* Increased size for better touch target */
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
  }

  .cart-item-remove:active {
    background-color: rgba(255, 77, 77, 0.2);
    transform: scale(0.9);
  }

  .cart-item-total {
    align-self: flex-end;
    margin-top: 10px;
    font-size: 1.1rem;
  }

  #cart-summary {
    flex-direction: column;
    gap: 15px;
    padding: 20px 15px;
  }

  .cart-total {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 15px;
    border-bottom: 1px dashed #ddd;
  }

  #checkout-btn {
    width: 100%;
    padding: 15px;
    margin-top: 5px;
  }

  /* Enhance Cart Remove Button */
  .cart-item-remove i {
    font-size: 1.1rem;
  }

  .cart-item-remove {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 0, 0, 0.08);
    border-radius: 50%;
    transition: all 0.3s ease;
  }

  .cart-item-remove:hover, .cart-item-remove:active {
    background-color: rgba(255, 0, 0, 0.2);
    transform: scale(1.05);
  }
}

@media (max-width: 480px) {
  .cart {
    padding: 90px 0 50px;
  }

  .cart h2 {
    font-size: 1.5rem;
    margin-bottom: 20px;
  }

  #cart-items {
    padding: 12px 10px;
    margin-bottom: 15px;
    border-radius: 6px;
  }

  .cart-item {
    padding: 12px 0;
    margin-bottom: 5px;
  }

  .cart-item-name {
    font-size: 0.95rem;
  }

  .cart-item-price {
    font-size: 0.85rem;
  }

  .cart-item-quantity {
    width: 120px;
    padding: 2px;
  }

  .cart-item-quantity button {
    width: 28px;
    height: 28px;
    font-size: 1rem;
  }

  .cart-item-quantity span {
    margin: 0 8px;
    min-width: 20px;
    font-size: 0.95rem;
  }

  .cart-item-total {
    font-size: 1.1rem;
  }

  .cart-total strong {
    font-size: 1rem;
  }

  #cart-total-amount {
    font-size: 1.2rem;
  }

  #checkout-btn {
    font-size: 1rem;
  }

  .empty-cart::before {
    font-size: 2rem;
  }
}

/* Cart Animation Enhancements */
@keyframes itemAdded {
  0% {
    background-color: rgba(76, 175, 80, 0.2);
    transform: translateX(-20px);
    opacity: 0;
  }
  100% {
    background-color: transparent;
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes productAdded {
  0% {
    box-shadow: 0 0 0 rgba(76, 175, 80, 0);
  }
  50% {
    box-shadow: 0 0 20px rgba(76, 175, 80, 0.5);
    transform: translateY(-5px);
  }
  100% {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(0);
  }
}

@keyframes itemRemoved {
  0% {
    transform: translateX(0);
    opacity: 1;
    height: auto;
  }
  50% {
    background-color: rgba(255, 77, 77, 0.1);
    transform: translateX(15px);
  }
  100% {
    transform: translateX(-100%);
    opacity: 0;
    height: 0;
    margin: 0;
    padding: 0;
  }
}

@keyframes quantityChanged {
  0% { transform: scale(1); }
  50% { transform: scale(1.2); }
  100% { transform: scale(1); }
}

@keyframes pricePulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); color: var(--primary-color); }
  100% { transform: scale(1); }
}

@keyframes fadeOutUp {
  0% {
    opacity: 1;
    transform: translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateY(-15px);
  }
}

/* Class to apply animations */
.item-added {
  animation: itemAdded 0.5s ease forwards;
}

.product-added {
  animation: productAdded 0.7s ease forwards;
}

.item-removed {
  animation: itemRemoved 0.5s ease forwards;
}

.quantity-changed {
  animation: quantityChanged 0.3s ease forwards;
}

.price-pulse {
  animation: pricePulse 0.5s ease forwards;
}

.old-price {
  position: absolute;
  right: 0;
  opacity: 1;
}

.fade-out {
  animation: fadeOutUp 0.5s ease forwards;
}

/* Style for cart total amount to handle animation */
#cart-total-amount {
  position: relative;
}

/* Empty cart enhancements */
.empty-cart-container {
  text-align: center;
  padding: 25px 15px;
  transition: all 0.3s ease;
}

.empty-cart-icon {
  font-size: 3rem;
  color: #ddd;
  margin-bottom: 15px;
  transition: all 0.5s ease;
}

.empty-cart-container:hover .empty-cart-icon {
  transform: scale(1.1) translateY(-5px);
  color: var(--secondary-color);
}

/* Mobile cart improvements */
@media (max-width: 768px) {
  .cart-item-quantity button {
    width: 40px;
    height: 40px;
    border-radius: 8px;
  }

  .cart-item-quantity span {
    font-size: 1.1rem;
  }

  /* Larger touch targets */
  .cart-total {
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 15px;
  }

  /* Add shadows to improve visual hierarchy on mobile */
  #cart-summary {
    box-shadow: 0 -5px 10px rgba(0, 0, 0, 0.05);
  }

  /* Add a little effect to indicate swipeable areas */
  .cart-item::after {
    content: '';
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 4px;
    border-radius: 2px;
    background-color: rgba(0, 0, 0, 0.05);
    opacity: 0.5;
  }
}
/* End of Cart Animation Enhancements */

/* Enhanced Cart Responsiveness */

/* Better responsive layout for cart items */
@media (max-width: 768px) {
  #cart-summary {
    position: sticky;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(255,255,255,0.95) 0%, rgba(255,255,255,1) 100%);
    padding-top: 20px;
    border-top: 1px solid #eee;
    z-index: 10;
  }

  /* Make checkout button more prominent on mobile */
  #checkout-btn {
    height: 50px;
    font-size: 1.1rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
    transition: all 0.3s ease;
  }

  #checkout-btn:active {
    transform: translateY(2px);
    box-shadow: 0 2px 5px rgba(76, 175, 80, 0.3);
  }

  /* Improved cart count badge for mobile */
  #cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: var(--primary-color);
    color: white;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    transition: all 0.3s ease;
  }

  .cart-icon:hover #cart-count,
  .cart-icon:active #cart-count {
    transform: scale(1.15);
    background-color: var(--secondary-color);
  }

  /* Enhance touch target sizes */
  .cart-item-quantity button {
    width: 44px;
    height: 44px;
  }

  /* Improved scroll behavior */
  #cart-items {
    max-height: 70vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch; /* For smooth scrolling on iOS */
    padding-bottom: 10px;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) #f1f1f1;
  }

  /* Customize scrollbar */
  #cart-items::-webkit-scrollbar {
    width: 6px;
  }

  #cart-items::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
  }

  #cart-items::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 10px;
  }

  #cart-items::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
  }

  /* Better spacing for cart items on mobile */
  .cart-item {
    padding: 20px 0;
    margin-bottom: 5px;
  }

  /* Better feedback for empty cart on mobile */
  .empty-cart-container {
    padding: 40px 15px;
  }
}

/* Improve hover effects for touch devices */
@media (hover: none) {
  .cart-item-quantity button:hover {
    transform: none;
    background-color: white;
  }

  .cart-item-remove:hover {
    background-color: transparent;
    transform: none;
  }

  /* Replace hover with active states for touch */
  .cart-item-quantity button:active,
  .cart-item-remove:active {
    transform: scale(0.95);
    background-color: rgba(76, 175, 80, 0.1);
  }
}
/* End of Enhanced Cart Responsiveness */

/* Section Styling - Common for all sections */
.section-header {
  text-align: center;
  margin-bottom: 40px;
}

.section-header h2 {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.section-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  max-width: 300px;
}

.divider-line {
  height: 1px;
  flex-grow: 1;
  background-color: rgba(var(--primary-rgb), 0.3);
}

.section-divider i {
  margin: 0 15px;
  font-size: 1.2rem;
  color: var(--primary-color);
}

/* About Section */
.about {
  padding: 70px 0;
  background-color: var(--light-bg);
}

.about-content {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  align-items: center;
}

.about-image {
  flex: 1;
  min-width: 300px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.about-image img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.5s ease;
}

.about-image img:hover {
  transform: scale(1.03);
}

.about-text {
  flex: 1;
  min-width: 300px;
}

.about-intro {
  font-size: 1.1rem;
  margin-bottom: 25px;
  color: var(--dark);
}

.about-features {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.about-feature {
  display: flex;
  gap: 15px;
  align-items: flex-start;
  background-color: var(--white);
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-feature:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  font-size: 1.5rem;
  color: var(--primary-color);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(var(--primary-rgb), 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-content h4 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: var(--primary-dark);
}

.feature-content p {
  margin: 0;
  color: var(--gray);
}

/* Contact Section */
.contact {
  padding: 70px 0;
  background-color: var(--white);
}

.contact-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}

.contact-info {
  flex: 2;
  min-width: 300px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-item {
  display: flex;
  gap: 15px;
  align-items: flex-start;
  padding: 20px;
  background-color: var(--light-bg);
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.contact-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
}

.contact-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--primary-color);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.contact-details h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: var(--primary-dark);
}

.contact-details p, .contact-details a {
  margin: 0;
  color: var(--gray);
  transition: color 0.3s ease;
}

.contact-details a:hover {
  color: var(--primary-color);
  text-decoration: underline;
}

.social-links {
  flex: 1;
  min-width: 250px;
  background-color: var(--light-bg);
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.social-links h3 {
  text-align: center;
  margin-bottom: 20px;
  font-size: 1.2rem;
  color: var(--primary-dark);
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.social-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--primary-color);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.social-icon:hover {
  transform: translateY(-5px);
  background-color: var(--secondary-color);
}

/* Responsive Design for About & Contact Sections */
@media screen and (max-width: 991px) {
  .about-content, .contact-wrapper {
    flex-direction: column;
  }
  
  .about-image {
    margin: 0 auto;
    max-width: 600px;
  }
  
  .social-links {
    width: 100%;
  }
}

@media screen and (max-width: 768px) {
  .section-header h2 {
    font-size: 1.8rem;
  }
  
  .about, .contact {
    padding: 50px 0;
  }
  
  .feature-icon, .contact-icon {
    width: 40px;
    height: 40px;
    font-size: 1.1rem;
  }
  
  .about-feature, .contact-item {
    padding: 15px;
  }
  
  .about-feature {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .feature-icon {
    margin-bottom: 15px;
  }
  
  .social-icon {
    width: 45px;
    height: 45px;
  }
}

@media screen and (max-width: 480px) {
  .section-header h2 {
    font-size: 1.5rem;
  }
  
  .contact-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .contact-icon {
    margin-bottom: 15px;
  }
  
  .social-icon {
    width: 40px;
    height: 40px;
    font-size: 1.1rem;
  }
}

/* Footer Styling */
.main-footer {
  background-color: var(--primary-dark);
  color: #fff;
  padding: 60px 0 20px;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin-bottom: 30px;
}

.footer-brand {
  flex: 1;
  min-width: 200px;
}

.footer-logo {
  max-width: 150px;
  margin-bottom: 15px;
}

.footer-logo img {
  width: 100%;
  height: auto;
}

.footer-slogan p {
  font-style: italic;
  color: rgba(255, 255, 255, 0.8);
}

.footer-links {
  flex: 1;
  min-width: 150px;
}

.footer-links h3, .footer-contact h3, .footer-newsletter h3 {
  font-size: 1.2rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
  color: var(--secondary-color);
}

.footer-links h3::after, .footer-contact h3::after, .footer-newsletter h3::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 50px;
  height: 2px;
  background-color: var(--secondary-color);
}

.footer-links ul {
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.3s ease;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--secondary-color);
  padding-left: 5px;
}

.footer-contact {
  flex: 1;
  min-width: 200px;
}

.footer-contact ul {
  padding: 0;
  margin: 0;
}

.footer-contact li {
  margin-bottom: 15px;
  display: flex;
  align-items: flex-start;
}

.footer-contact li i {
  color: var(--secondary-color);
  margin-right: 10px;
  font-size: 1.1rem;
}

.footer-contact a {
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.3s ease;
  text-decoration: none;
}

.footer-contact a:hover {
  color: var(--secondary-color);
}

.footer-newsletter {
  flex: 1;
  min-width: 250px;
}

.footer-newsletter p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 15px;
}

.newsletter-form {
  display: flex;
  max-width: 100%;
}

.newsletter-form input {
  flex-grow: 1;
  padding: 10px 15px;
  border: none;
  border-radius: 4px 0 0 4px;
  outline: none;
}

.newsletter-form .btn {
  border-radius: 0 4px 4px 0;
  padding: 10px 15px;
  background-color: var(--secondary-color);
}

.newsletter-form .btn:hover {
  background-color: var(--secondary-dark);
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
}

/* Footer Responsive Styles */
@media screen and (max-width: 991px) {
  .footer-content {
    gap: 40px;
  }
  
  .footer-brand, .footer-links, .footer-contact, .footer-newsletter {
    flex-basis: calc(50% - 20px);
  }
}

@media screen and (max-width: 768px) {
  .main-footer {
    padding: 40px 0 20px;
  }
  
  .footer-content {
    flex-direction: column;
    gap: 30px;
  }
  
  .footer-brand, .footer-links, .footer-contact, .footer-newsletter {
    width: 100%;
  }
  
  .footer-links h3::after, .footer-contact h3::after, .footer-newsletter h3::after {
    left: 50%;
    transform: translateX(-50%);
  }
  
  .footer-links h3, .footer-contact h3, .footer-newsletter h3 {
    text-align: center;
  }
  
  .footer-links ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
  }
  
  .footer-contact ul {
    align-items: center;
    justify-content: center;
  }
  
  .footer-contact li {
    justify-content: center;
    text-align: center;
  }
  
  .footer-newsletter p {
    text-align: center;
  }
  
  .newsletter-form {
    max-width: 400px;
    margin: 0 auto;
  }
}

.invalid-feedback {
  color: red;
  margin-top: 5px;
}