:root {
    --primary-color: #ffda03;
    --secondary-color: #1a5da3;
    --text-dark: #333;
    --text-light: #666;
    --white: #ffffff;
    --gray-light: #f8f9fa;
    --border-color: #dee2e6;
}


  
  header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: white; /* or your desired navbar background */
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* optional shadow for depth */;
  }
  
  .logo {
    font-size: 28px;
    font-weight: bold;
    color: #fcff52;
  }
  .logo span {
    display: block;
    font-size: 14px;
    color: #b9bb54;
  }
  
  /* Navigation and header links */
nav a,
.header-right a,
.cart,
.fa-user {
  position: relative;
  text-decoration: none;
  color: #222;
  margin: 0 10px;
  padding: 5px 0;
  transition: color 0.3s ease;
  font-weight: 500;
}

/* Underline hover effect */
nav a::after,
.header-right a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0%;
  /* background-color: #fff45e; Maroon underline */
  transition: width 0.3s ease;
}

nav a:hover,
.header-right a:hover,
.cart:hover,
.fa-user:hover {
  /* color: #807300; Maroon text on hover */
}

nav a:hover::after,
.header-right a:hover::after {
  width: 100%; /* expand underline */
}

  
  .header-right a, .cart, .fa-user {
    margin-left: 20px;
    color: black;
  }
  
  .cart {
    margin-left: 20px;
  }
  
  .hero {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('assets/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 100px 0;
    margin-bottom: 50px;
  }
  
  .hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 700;
  }
  
  .hero p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
  }
  
  .hero-content {
    max-width: 500px;
  }
  .hero-content h1 {
    font-size: 48px;
    margin: 20px 0;
  }
  .hero-content button {
    padding: 12px 25px;
    background: #4caf50;
    color: white;
    border: none;
    cursor: pointer;
    font-weight: bold;
    border-radius: 5px;
  }
  .hero-img img {
    width: 400px;
  }
  
  /* === FEATURES SECTION: Short Rectangle Cards === */
  .features-section {
    background: #f8f9fa;
    padding: 50px 0;
    margin-bottom: 50px;
  }
  
  .e-con-inner {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
  }
  
  .elementor-icon-box-wrapper {
    text-align: center;
  }
  
  .elementor-icon-box-icon {
    font-size: 2.5rem;
    color: #007bff;
    margin-bottom: 20px;
  }
  
  .elementor-icon-box-content h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #333;
  }
  
  .elementor-icon-box-content p {
    color: #6c757d;
  }
  
  @media (max-width: 768px) {
    .hero {
        padding: 50px 0;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .products-container {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 20px;
        padding: 15px;
    }

    .product-image {
        height: 200px;
    }

    .product-info {
        padding: 15px;
    }

    .e-con-inner {
        grid-template-columns: 1fr;
        gap: 20px;
    }
  }

  .sub-hero {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 50px;
    background: #ffffff;
  }
  
  .sub-hero-content {
    max-width: 500px;
  }
  .sub-hero-content h1 {
    text-align: center;
    font-size: 38px;
    margin: 20px 0;
    
  }
  .sub-hero-image {
    width: 80px; /* adjust size */
    margin-top: 10px;
    display: block;
    margin-left: auto;
    margin-right: auto; /* center image */
  }

  .products-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
  }
  
  .product-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
  }

  .product-card:hover {
    transform: translateY(-5px);
  }
  
  .product-card-into {
    position: relative;
  }

  .product-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
  }

  .product-info {
    padding: 20px;
  }

  .product-title {
    font-size: 27px;
    color: #333;
    margin: 0;
    font-weight: 600;
    line-height: 1.4;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}

  .product-price {
    font-size: 1.4em;
    color: #000000;
    font-weight: bold;
    margin: 5px 0;
}

  .quantity-input {
    width: 50%;
    padding: 8px;
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
  }

  .add-to-cart-btn {
    width: 100%;
    padding: 12px;
    background-color: #1a5da3;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 1em;
}

.add-to-cart-btn:hover {
    background-color: rgb(9, 65, 108);
    transform: translateY(-2px);
}

.add-to-cart-btn.out-of-stock {
    background-color: #ccc;
    cursor: not-allowed;
}

  .no-products {
    grid-column: 1 / -1;
    text-align: center;
    padding: 50px;
    background: #f8f9fa;
    border-radius: 10px;
    color: #6c757d;
  }

  .product-card-image {
    width: 180px; /* adjust size */
    margin-top: 10px;
    display: block;
    margin-left: auto;
    margin-right: auto; /* center image */
  }

  .golden-products {
    background: #f8fff5;
    padding: 60px 20px;
    text-align: center;
  }
  
  .section-title {
    font-size: 36px;
    margin-bottom: 40px;
    color: #333;
  }
  
  .golden-products-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
  }
  
  .golden-card {
    background: #fff;
    width: 300px;
    border-radius: 15px;
    box-shadow: 0 6px 12px rgba(0,0,0,0.1);
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden; /* <<< Important to keep everything inside the card */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  .golden-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 20px rgba(0,0,0,0.15);
  }
  
  .golden-card-content {
    margin-bottom: 20px;
    text-align: center;
  }
  
  .golden-product-title {
    font-size: 22px;
    font-weight: bold;
    color: #222;
    margin-bottom: 10px;
  }
  
  .golden-product-description {
    font-size: 16px;
    color: #555;
    margin-bottom: 20px;
  }
  
  .golden-shop-btn {
    display: inline-block;
    background-color: #6dbf37; /* Green button */
    color: #fff;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.3s ease;
  }
  
  .golden-shop-btn:hover {
    background-color: #5aa82f;
  }

  .card-contain-image {
    width: 100%; /* Fit inside the card */
    height: auto;
    object-fit: contain;
    margin-top: auto; /* Push the image to bottom naturally */
  }
  
  .golden-product-image {
    width: 100%;
    height: 200px;
    object-fit: contain;
  }
  
.next-features-section {
  padding: 60px 50px;
  background: #222;
  min-height: 60px;
}

.e2-con-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.discount-heading {
  font-size: 42px;
  color: #ffffff;
  text-align: center;
  margin-bottom: 20px;
  margin-top: 20px;
}
  
.sub-last h1{
  display: flex;
  text-align: center;
  justify-content: center;
  padding: 60px 50px;
  font-size: 38px;
}

.show-more-container {
  text-align: center;
  margin-top: 30px;
}

.show-more-btn {
  /* background-color: #ddda3a; maroon tone */
  color: white;
  padding: 10px 25px;
  text-decoration: none;
  font-size: 16px;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.show-more-btn:hover {
  background-color: #fff12e;
}

.overlayback-section {
  margin-top: 20;
  position: relative;
  background-image: url('assets/Logo banner .png'); /* Update path as needed */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 500px;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  
}

.overlay {
  background-color: rgba(0, 0, 0, 0.5);
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 30px;

}

.overlayback-content {
  text-align: center;
  max-width: 1000px;
  padding: 20px;
}

.overlayback-content h1 {
  font-size: 40px;
  margin-bottom: 10px;
}

.overlayback-content p {
  font-size: 18px;
  margin-bottom: 30px;
}

.overlayback-cards {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.overlayback-card {
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(6px);
  padding: 20px;
  border-radius: 12px;
  min-width: 200px;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.overlayback-card:hover {
  transform: translateY(-5px);
  background-color: rgba(255, 255, 255, 0.2);
}

.site-footer {
  background-color: #000;
  color: white;
  padding: 40px 20px 20px;
  font-family: 'Poppins', sans-serif;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-logo h2 {
  color: white;
  font-size: 26px;
}

.footer-logo span {
  color: yellow;
}

.footer-logo p {
  margin-top: 10px;
  color: #ccc;
  font-size: 14px;
}

.footer-links h3,
.footer-contact h3 {
  color: yellow;
  margin-bottom: 10px;
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links ul li {
  margin-bottom: 8px;
}

.footer-links ul li a {
  color: white;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links ul li a:hover {
  color: yellow;
}

.footer-contact p {
  font-size: 14px;
  color: #ccc;
  margin: 6px 0;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid #222;
  font-size: 13px;
  color: #999;
}

/* Contact Page Styles */
.contact-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-bottom: 60px;
}

.contact-info {
    padding: 30px;
    background: #f8f9fa;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.contact-info h2 {
    font-size: 2em;
    color: #333;
    margin-bottom: 20px;
}

.contact-details {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-details li {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    color: #666;
    font-size: 1.1em;
}

.contact-details i {
    width: 30px;
    color: #1a5da3;
    margin-right: 10px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-icon {
    font-size: 1.5em;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.social-icon:hover {
    transform: translateY(-3px);
}

.facebook { color: #1877F2; }
.instagram { color: #E4405F; }
.twitter { color: #1DA1F2; }
.linkedin { color: #0A66C2; }

.contact-form {
    padding: 30px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    color: #333;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1em;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    border-color: #1a5da3;
    outline: none;
}

textarea.form-control {
    height: 150px;
    resize: vertical;
}

.submit-btn {
    background: #1a5da3;
    color: white;
    border: none;
    padding: 14px 30px;
    border-radius: 8px;
    font-size: 1.1em;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.submit-btn:hover {
    background: #0c4785;
    transform: translateY(-2px);
}

.map-section {
    margin-top: 50px;
}

.map-container {
    height: 400px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* Responsive Contact Styles */
@media (max-width: 992px) {
    .contact-grid {
        gap: 30px;
    }
    
    .contact-info h2,
    .contact-form h2 {
        font-size: 1.8em;
    }
}

@media (max-width: 768px) {
    .contact-section {
        padding: 40px 15px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .map-container {
        height: 350px;
    }
}

@media (max-width: 480px) {
    .contact-details li {
        font-size: 1em;
    }
    
    .submit-btn {
        width: 100%;
    }
    
    .map-container {
        height: 300px;
    }
}

/* Mobile Bottom Navigation */
.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background-color: #ffffff;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    align-items: center;
    justify-content: space-around;
    padding: 5px 0;
    border-radius: 18px 18px 0 0;
}

.mobile-bottom-nav .nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #777;
    transition: all 0.3s ease;
    position: relative;
    width: 25%;
}

.mobile-bottom-nav .nav-item.active {
    color: #ff6b35;
}

.mobile-bottom-nav .nav-item.active::before {
    content: '';
    position: absolute;
    top: -5px;
    width: 40px;
    height: 40px;
    background-color: #fff;
    border-radius: 50%;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: -1;
}

.mobile-bottom-nav .nav-icon {
    font-size: 20px;
    margin-bottom: 3px;
}

.mobile-bottom-nav .nav-label {
    font-size: 12px;
    font-weight: 500;
}

@media (max-width: 768px) {
    .mobile-bottom-nav {
        display: flex;
    }
    
    /* Add padding to body to prevent content from being hidden behind the nav */
    body {
        padding-bottom: 70px;
    }
    
    /* Hide desktop navigation on mobile */
    header .main-nav {
        display: none;
    }
}

/* Mobile Categories Dropdown */
.mobile-categories-dropdown {
    display: none;
    position: fixed;
    bottom: 70px;
    left: 0;
    width: 100%;
    background-color: #ffffff;
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.1);
    z-index: 999;
    padding: 15px;
    border-radius: 18px 18px 0 0;
    flex-direction: column;
    max-height: 50vh;
    overflow-y: auto;
    transition: transform 0.3s ease-in-out;
    transform: translateY(100%);
}

.mobile-categories-dropdown.show {
    display: flex;
    transform: translateY(0);
}

.mobile-categories-dropdown a {
    text-decoration: none;
    color: #333;
    padding: 12px 15px;
    border-bottom: 1px solid #f1f1f1;
    font-weight: 500;
    transition: background-color 0.2s ease;
}

.mobile-categories-dropdown a:last-child {
    border-bottom: none;
}

.mobile-categories-dropdown a:active {
    background-color: #f8f8f8;
}

/* Enhancing nav-item active state */
.mobile-bottom-nav .nav-item.active {
    color: #ff6b35;
}

.mobile-bottom-nav .dropdown-toggle.active + .mobile-categories-dropdown {
    display: flex;
}

/* Categories Page Styles */
.categories-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.categories-hero {
    text-align: center;
    margin-bottom: 40px;
    background-color: #f8f9fa;
    padding: 40px 20px;
    border-radius: 10px;
}

.categories-hero h1 {
    font-size: 36px;
    margin-bottom: 10px;
    color: #333;
}

.categories-hero p {
    font-size: 18px;
    color: #666;
}

.categories-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.category-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.category-image {
    height: 200px;
    overflow: hidden;
}

.category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.category-card:hover .category-image img {
    transform: scale(1.08);
}

.category-content {
    padding: 20px;
}

.category-content h2 {
    font-size: 24px;
    margin-bottom: 10px;
    color: #333;
}

.category-content p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.5;
}

.category-btn {
    display: inline-block;
    background-color: #1a5da3;
    color: white;
    padding: 10px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.category-btn:hover {
    background-color: #0c4785;
}

/* Media queries for categories page */
@media (max-width: 768px) {
    .categories-container {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 20px;
    }
    
    .categories-hero h1 {
        font-size: 28px;
    }
    
    .categories-hero p {
        font-size: 16px;
    }
    
    .category-content h2 {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .categories-container {
        grid-template-columns: 1fr;
    }
}

/* Header Styles */
.site-header {
    background-color: var(--white);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-logo {
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: bold;
}

.brand-primary {
    color: var(--primary-color);
}

.brand-secondary {
    color: var(--secondary-color);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.cart-link, .account-link {
    text-decoration: none;
    color: var(--text-dark);
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cart-amount {
    font-weight: 600;
}

.underline {
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.cart-link:hover .underline {
    transform: scaleX(1);
}

/* Cart Page Styles */
.cart-title {
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 2rem;
}

.table {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
}

.table thead {
    background-color: var(--gray-light);
}

.table th {
    font-weight: 600;
    color: var(--text-dark);
    padding: 1rem;
}

.table td {
    vertical-align: middle;
    padding: 1rem;
}

.form-control {
    border-radius: 4px;
    border: 1px solid var(--border-color);
    padding: 0.5rem;
}

.cart-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 2rem;
}

.btn {
    padding: 0.5rem 1.5rem;
    border-radius: 4px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.btn-success {
    background-color: #28a745;
    border-color: #28a745;
}

.btn-danger {
    padding: 0.25rem 0.75rem;
}

.btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
