/* Base Styles */
:root {
  --primary-color: #1e40af;
  --primary-hover: #1e3a8a;
  --secondary-color: #f3f4f6;
  --text-color: #1f2937;
  --text-light: #6b7280;
  --white: #ffffff;
  --black: #000000;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  --blue-50: #eff6ff;
  --blue-100: #dbeafe;
  --blue-400: #60a5fa;
  --blue-600: #2563eb;
  --blue-700: #1d4ed8;
  --red-500: #ef4444;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  color: var(--text-color);
  line-height: 1.5;
  background-color: var(--gray-50);
  
}

.app {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  /*padding: 0 1rem;*/
}

.nav_container{
    margin:0 20px;
}

.ecommerce-link {
  text-align: center;
  margin-top: 3rem; /* Space above the link */
  padding-top: 1.5rem; /* Extra spacing */
}

.explore-link {
  color: var(--primary-color);
  font-size: 1.2rem;
  font-weight: 600;
  text-decoration: none;
}

.explore-link:hover {
  text-decoration: underline;
}


/* Modal Styles */
.modal {
  display: none; /* Hide by default */
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* Dim background */
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Modal Content */
.modal-content {
  background-color: white;
  width: 60%; /* Adjust width */
  height:80vh;
  padding: 20px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow-x: auto;
    overflow-y: auto;
}

/* Modal Image */
.modal-content img {
  width: 100%;
  max-height: 300px;
  object-fit: contain;
  border-radius: 5px;
}

/* Basic table styling */
#modal-description table {
    width: 100%;                    /* Full width of the container */
    border-collapse: collapse;      /* Collapse table borders */
    margin: 20px 0;    /* Add margin for spacing */
    
}

/* Style for table cells */
#modal-description th, 
#modal-description td {
    padding: 10px;                  /* Add padding to cells */
    border: 1px solid #ddd;         /* Add a light gray border */
    text-align: center;             /* Center-align text */
}

/* Optional: Style the table header */
#modal-description th {
    background-color: #f2f2f2;      /* Light background for headers */
    font-weight: bold;               /* Bold text for headers */
}

/* Optional: Hover effect on table rows */
#modal-description tr:hover {
    background-color: #f5f5f5;      /* Light hover effect */
}

/* Optional: Add some spacing to the modal content */
#modal-description {
    padding: 20px;
}

/* --- Responsive Design --- */

@media screen and (max-width: 560px){
    .modal-content{
        width: 100%;
    }
}

/* For tablets and smaller devices (landscape) */
@media screen and (max-width: 768px) {
    #modal-description table {
        font-size: 14px;             /* Reduce font size for smaller screens */
    }

    #modal-description th, 
    #modal-description td {
        /*padding: 8px;               */
    }
}

/* For mobile devices (portrait) */
@media screen and (max-width: 480px) {
    #modal-description table {
        font-size: 12px;             /* Further reduce font size on mobile */
    }

    #modal-description th, 
    #modal-description td {
        /*padding: 6px;               */
    }

    /* Stack table rows vertically on mobile */
    #modal-description table, 
    #modal-description th, 
    #modal-description td {
        /*display: block;              */
        /*width: 100%;                 */
    }

    #modal-description th {
        text-align: left;            /* Left-align headers on mobile */
        padding-left: 10px;          /* Padding on left side */
    }

    #modal-description td {
        text-align: left;            /* Left-align table data */
        padding-left: 10px;          /* Padding on left side */
    }

    #modal-description tr {
        margin-bottom: 10px;         /* Add space between rows */
        border: none;                /* Remove row border */
    }
}

.table-heading {
  text-align: center;
  font-size: 24px;
  margin: 20px 0 10px 0;
  color: #333; /* optional color */
}

table {
  margin: 0 auto; /* center the table */
  border-collapse: collapse;
  width: 90%;
  max-width: 1000px;
}

td {
  border: 1px solid #ddd;
  padding: 8px;
  text-align: center;
  font-size: 14px;
}

@media (max-width: 600px) {
  .table-heading {
    font-size: 20px;
  }

  td {
    font-size: 12px;
    padding: 6px;
  }
}



/* Close Button */
.close-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 20px;
  cursor: pointer;
}


.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    z-index: 1000;
}

.whatsapp-float img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease-in-out;
}

.whatsapp-float img:hover {
    transform: scale(1.1);
}
/* Footer */
.footer-bottom {
  background-color: var(--gray-900);
  padding: 1rem 0;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-left p {
  font-size: 14px;
  color: var(--gray-400);
  margin: 0;
}

.footer-left a {
  color: var(--blue-400);
  font-weight: bold;
  text-decoration: none;
}

.footer-left a:hover {
  text-decoration: underline;
}

.footer-left img {
  width: 100px; /* Adjust logo size */
  height: auto;
  display: block;
}

/* Ensure the logo is visible */
.footer-left img {
  width: 70px; /* Reduce logo size */
  height: auto;
  display: block;
}


.footer-right p {
  font-size: 14px;
  color: var(--gray-400);
  margin: 0;
  text-align: right;
}

@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    text-align: center;
  }

  .footer-right p {
    text-align: center;
    margin-top: 10px;
  }

  .footer-left {
    justify-content: center;
  }
}





#search-input {
  width: 250px;
  padding: 8px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 14px;
  outline: none;
  
}





/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 0.5rem;
}

p {
  margin-bottom: 1rem;
}

a {
  color: var(--primary-color);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

ul {
  list-style-position: inside;
  margin-bottom: 1rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  border-radius: 0.375rem;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  font-size: 1rem;
}

.btn-primary {
  background-color: var(--primary-color);
  color: var(--white);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
}

.btn-outline {
  background-color: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

.btn-outline:hover {
  background-color: var(--white);
  color: var(--gray-900);
}

.btn-icon {
  margin-left: 0.25rem;
  width: 1rem;
  height: 1rem;
}

/* Header */
.header {
  background-color: var(--white);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 50;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo-container {
  display: flex;
  align-items: center;
}

.logo {
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--primary-color);
  cursor: pointer;
  display: flex;
  align-items: flex-end;
}
.logo_img{
    height: 75px;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  margin-right: 0.5rem;
}

.desktop-nav {
  display: flex;
  gap: 2rem;
}

.nav-item {
  font-weight: 500;
  color: var(--gray-700);
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.2s ease;
  font-size: 16px;
}

.nav-item:hover {
  color: var(--primary-color);
}

.nav-item.active {
  color: var(--primary-color);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  justify-content: flex-end;
  margin-bottom: 10px;
}

.icon-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--gray-700);
  transition: color 0.2s ease;
}

.icon-btn:hover {
  color: var(--primary-color);
}



.mobile-nav {
  display: none;
  padding: 1rem 0;
  border-top: 1px solid var(--gray-200);
}

.mobile-nav ul {
  list-style: none;
  margin: 0;
}

.mobile-nav-item {
  display: block;
  width: 100%;
  text-align: left;
  padding: 0.5rem 1rem;
  border-radius: 0.375rem;
  background: none;
  border: none;
  cursor: pointer;
  font-weight: 500;
  color: var(--gray-700);
}

.mobile-nav-item.active {
  background-color: var(--blue-50);
  color: var(--primary-color);
}

/* Main Content */
main {
  flex: 1;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

/* Hero Section */
.hero {
  position: relative;
  color: var(--white);
  height: 600px; /* Ensure it has enough height */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  
}

/* Background Carousel */
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: -1; /* Ensures images stay behind text */
}

.carousel-container {
  position: relative;
  width: 100%;
  height: 100%;
 
}

.carousel-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center; /* center the important part */
  opacity: 0;
  transition: opacity 1s ease-in-out;
}


.carousel-image.active {
  opacity: 1;
}


/* Hero Content (Text & Buttons) */
.hero-content {
  position: relative;
  z-index: 2;
  /*text-align: center;*/
  color: white;
  max-width: 600px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

/* Add a dark overlay for better readability */
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}



/* Section Styles */
.section {
  padding: 2rem 0;
}

.section-title {
  font-size: 1.875rem;
  text-align: center;
  margin-bottom: 2rem;
}

/* Product Grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 2rem;
}

.product-card {
  background-color: var(--white);
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: box-shadow 0.3s ease;
}

.product-card:hover {
  box-shadow: var(--shadow-lg);
}

.product-image {
  height: 16rem;
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
  transform: scale(1.05);
}

.product-details {
  padding: 1.5rem;
}

.product-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.5rem;
}

.product-title {
  font-size: 1.25rem;
  font-weight: 600;
}

.product-category {
  background-color: var(--blue-100);
  color: var(--primary-color);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.625rem;
  border-radius: 0.25rem;
}

.product-description {
  color: var(--gray-600);
  margin-bottom: 1rem;
}

.product-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.product-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
}

/* Category Filter */
.category-filter {
  display: flex;
  overflow-x: auto;
  gap: 0.5rem;
  padding-bottom: 0.5rem;
  margin-bottom: 2rem;
}

.category-btn {
  padding: 0.5rem 1rem;
  border-radius: 0.375rem;
  white-space: nowrap;
  background-color: var(--gray-100);
  color: var(--gray-800);
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.category-btn:hover {
  background-color: var(--gray-200);
}

.category-btn.active {
  background-color: var(--primary-color);
  color: var(--white);
}

/* About Page */
.about-content {
  max-width: 64rem;
  margin: 0 auto;
}

.about-hero {
  position: relative;
  margin-bottom: 3rem;
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  
}

.about-hero img {
  width: 100%;
  height: 20rem;
  object-fit:contain;
}

.about-hero-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
  padding: 1.5rem;
  border-bottom-left-radius: 0.5rem;
  border-bottom-right-radius: 0.5rem;
}

.about-hero-overlay p {
  color: var(--white);
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0;
}

.about-text h2 {
  font-size: 1.5rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1.5rem;
  margin: 2rem 0;
}

.value-card {
  background-color: var(--blue-50);
  padding: 1.5rem;
  border-radius: 0.5rem;
}

.value-card h3 {
  font-size: 1.25rem;
  color: var(--primary-color);
  margin-bottom: 0.75rem;
}

.benefits-list {
  list-style-type: disc;
  padding-left: 1.5rem;
}

.benefits-list li {
  margin-bottom: 0.5rem;
}

.closing-text {
  font-size: 1.125rem;
  font-weight: 500;
  margin-top: 2rem;
}

/* Contact Page */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

.contact-card {
  background-color: var(--white);
  border-radius: 0.5rem;
  padding: 2rem;
  box-shadow: var(--shadow-md);
  margin-bottom: 2rem;
}

.contact-card h2 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.form-success {
  background-color: #ecfdf5;
  border: 1px solid #d1fae5;
  color: #065f46;
  padding: 1rem;
  border-radius: 0.375rem;
  margin-bottom: 1.5rem;
  display: none;
}

.success-title {
  font-weight: 500;
}

.contact-form {
  display: block;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-700);
  margin-bottom: 0.25rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.5rem 1rem;
  border: 1px solid var(--gray-300);
  border-radius: 0.375rem;
  font-size: 1rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
}

.contact-icon {
  color: var(--primary-color);
  margin-right: 0.75rem;
  margin-top: 0.125rem;
}

.contact-item h3 {
  font-weight: 500;
  margin-bottom: 0.25rem;
}

.contact-item p {
  color: var(--gray-600);
  margin-bottom: 0.25rem;
}

.map-container {
  height: 16rem;
  border-radius: 0.375rem;
  overflow: hidden;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* Footer */
.footer {
  background-color: var(--gray-800);
  color: var(--white);
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding: 3rem 0;
}

.footer-col h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.footer-col p {
  color: var(--gray-300);
  margin-bottom: 1rem;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-link {
  color: var(--gray-300);
  transition: color 0.2s ease;
}

.social-link:hover {
  color: var(--white);
  text-decoration: none;
}

.footer-links {
  list-style: none;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-link {
  color: var(--gray-300);
  transition: color 0.2s ease;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  font-size: 1rem;
  text-align: left;
}

.footer-link:hover {
  color: var(--white);
  text-decoration: none;
}
#shop-link{
    font-size: 18.5px;
}

.footer-contact {
  list-style: none;
  margin: 0;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 0.75rem;
}

.footer-icon {
  color: var(--blue-400);
  margin-right: 0.5rem;
  margin-top: 0.125rem;
}

.footer-bottom {
  background-color: var(--gray-900);
  padding: 1rem 0;
  text-align: center;
}

.footer-bottom p {
  color: var(--gray-400);
  margin: 0;
}

.text-center {
  text-align: center;
  margin-top: 2rem;
}

/* Responsive Styles */
@media (min-width: 640px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .form-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  .values-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .hero h1 {
    font-size: 3rem;
  }
}

@media (min-width: 1024px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .mobile-menu-btn {
    display: none;
  }
  
  .desktop-nav {
    display: flex;
  }
  
  .hero h1 {
    font-size: 3.5rem;
  }
}

@media (max-width: 1023px) {
  .mobile-menu-btn {
    display: block;
  }
  
  .desktop-nav {
    display: none;
  }
}