/* General Styles */
:root {
  --primary-color: #2C3E50;
  --secondary-color: #34495E;
  --accent-color: #E67E22;
  --light-color: #ECF0F1;
  --dark-color: #1A1A1A;
  --success-color: #27AE60;
  --warning-color: #F39C12;
  --danger-color: #E74C3C;
  --gray-100: #F8F9FA;
  --gray-200: #E9ECEF;
  --gray-300: #DEE2E6;
  --gray-400: #CED4DA;
  --gray-500: #ADB5BD;
  --gray-600: #6C757D;
  --gray-700: #495057;
  --gray-800: #343A40;
  --gray-900: #212529;
  --transition-normal: all 0.3s ease;
  --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --box-shadow-hover: 0 10px 15px rgba(0, 0, 0, 0.15);
  --border-radius: 4px;
}

.footer-widget h5 {
  font-size: 1.2rem !important;
  letter-spacing: 0.5px !important;
}

.footer-links a {
  color: #f4f4f4;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: #e67e22 !important;
}

.our-product-section {
  color: #e67e22 !important;
  background-color: #ffff !important;
}

.product-title {
  color: #2c3e50;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: var(--gray-800);
  line-height: 1.6;
  background-color: var(--gray-100);
  overflow-x: hidden;
}

a {
  color: white;
  text-decoration: none;
  transition: var(--transition-normal);
}

a:hover {
  color: #e3010f;
  text-decoration: none;
}

.btn {
  border-radius: var(--border-radius);
  padding: 0.75rem 1.5rem;
  font-weight: 500;
  transition: var(--transition-normal);
}

.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-primary:hover {
  background-color: var(--secondary-color);
  border-color: var(--secondary-color);
}

.btn-outline-primary {
  color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-outline-primary:hover {
  background-color: var(--primary-color);
  color: white;
}

img {
  max-width: 100%;
}

/* Section Styles */
section {
  padding: 5rem 0;
}

.section-header {
  margin-bottom: 3rem;
  text-align: center;
}

.section-header h2 {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

.section-header h2:after {
  content: '';
  position: absolute;
  width: 60px;
  height: 3px;
  background-color: black;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
}

.section-header p {
  color: var(--gray-600);
  font-size: 1.1rem;
}

/* Top Bar */
.topbar {
  padding: 8px 0;
  font-size: 0.875rem;
}

.topbar .contact-info {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
}

.topbar .contact-item {
  display: flex;
  align-items: center;
  margin-right: 20px;
  font-weight: bold;
  color: black;
}

.topbar .contact-item i {
  font-size: 1rem;
  /* Adjust icon size */
  margin-right: 8px;
  color: white !important;
  /* fallback color if custom property not set */
}

.topbar .social-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: flex-end;
}

.object-fit-cover {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.topbar .social-links li {
  margin-left: 15px;
}

.topbar .social-links li a i {
  font-size: 1rem;
  color: var(--accent-color, #007bff);
}

bar .social-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: flex-end;
}

.topbar .social-links li {
  margin-left: 15px;
}

.topbar .social-links a {
  color: white;
  transition: var(--transition-normal);
}

.topbar .social-links a:hover {
  color: var(--accent-color);
}

/* Header */
.navbar-nav .nav-link {
  color: grey !important;
  font-weight: bold !important;
}

.navbar-nav .nav-link:hover {
  color: #ddd !important;
}


.main-header {
  background-color: white !important;
  box-shadow: var(--box-shadow);
  /* padding: 15px 0; */
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar-brand {
  display: flex;
  align-items: center;
}

.logo-text {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  letter-spacing: 1px;
}

.navbar-nav .nav-link {
  padding: 0.5rem 1rem;
  font-weight: 500;
  color: var(--gray-700);
  transition: var(--transition-normal);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-item.active .nav-link {
  color: var(--accent-color);
}

.search-container {
  position: relative;
  display: flex;
  align-items: center;
}

.search-input {
  border: 1px solid var(--gray-300);
  border-radius: 20px;
  padding: 0.5rem 1rem;

  transition: var(--transition-normal);
  outline: none;
}

.search-input:focus {
  border-color: var(--primary-color);
}

.search-btn {
  background: none;
  border: none;
  color: var(--gray-600);
  cursor: pointer;
  position: absolute;
  right: 10px;
  transition: var(--transition-normal);
}

.search-btn:hover {
  color: var(--primary-color);
}

/* Hero Section */
.hero-section {
  background-color: var(--gray-100);
  padding: 6rem 0;
}

.hero-content h1 {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero-content p {
  font-size: 1.1rem;
  color: var(--gray-600);
  margin-bottom: 2rem;
  max-width: 500px;
}

.hero-image {
  box-shadow: var(--box-shadow);
  border-radius: var(--border-radius);
  overflow: hidden;
}

/* Featured Products Section */
.featured-products {
  background-color: var(--gray-100);
}

.random-products {
  background-color: #ffffff;
  padding: 3rem 0;
  /* Optional: for spacing */
}

.product-card {
  background-color: white;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  transition: var(--transition-normal);
  margin-bottom: 30px;
  overflow: hidden;
}

.product-card:hover {
  box-shadow: var(--box-shadow-hover);
  transform: translateY(-5px);
}

.product-image {
  height: 200px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-normal);
}

.product-card:hover .product-image img {
  transform: scale(1.05);
}

.product-content {
  padding: 1.5rem;
}

.product-content h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: var(--primary-color);
}

.product-content p {
  color: var(--gray-600);
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.product-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
  border-top: 1px solid var(--gray-200);
}

.product-category {
  font-size: 0.875rem;
  color: var(--gray-500);
}

.product-view-btn {
  font-size: 0.875rem;
  color: var(--accent-color);
  font-weight: 500;
}

/* Categories Section */
.categories-section {
  background-color: white;
}

.category-card {
  background-color: var(--gray-100);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  transition: var(--transition-normal);
  overflow: hidden;
  height: 100%;
}

.category-card:hover {
  box-shadow: var(--box-shadow-hover);
}

.category-image {
  height: 200px;
  overflow: hidden;
}

.category-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-normal);
}

.category-card:hover .category-image img {
  transform: scale(1.05);
}

.category-content {
  padding: 1.5rem;
}

.category-content h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  color: var(--primary-color);
}

.category-content p {
  color: var(--gray-600);
  margin-bottom: 1.5rem;
}

/* Why Choose Us Section */
.why-choose-us {
  background-color: var(--gray-100);
}

.feature-box {
  background-color: white;
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  transition: var(--transition-normal);
  height: 100%;
  text-align: center;
}

.feature-box:hover {
  box-shadow: var(--box-shadow-hover);
}

.feature-icon {
  font-size: 2.5rem;
  color: ##2c3e50;
  margin-bottom: 1.5rem;
}

.feature-box h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.feature-box p {
  color: var(--gray-600);
}

/* Call to Action Section */
.cta-section {
  background-color: var(--primary-color);
  color: white;
  padding: 4rem 0;
}

.cta-section h2 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.cta-section p {
  margin-bottom: 2rem;
  font-size: 1.1rem;
  color: var(--gray-300);
}

.cta-section .btn-primary {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
}

.cta-section .btn-primary:hover {
  background-color: #d35400;
  border-color: #d35400;
}

/* Footer */
.main-footer {
  background-color: var(--secondary-color);
  color: white;
  padding: 35px 0;

}

.footer-widget {
  margin-bottom: 2rem;
}

.footer-widget h3 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: white;
  position: relative;
  padding-bottom: 10px;
}

.footer-widget h3:after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 2px;
  background-color: var(--accent-color);
}

.footer-widget p {
  color: var(--gray-400);
  margin-bottom: 1.5rem;
}

.contact-info {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-info li {
  margin-bottom: 10px;
  color: var(--gray-400);
  display: flex;
  align-items: flex-start;
}

.contact-info li i {
  color: white;
  margin-right: 10px;
  margin-top: 5px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: var(--gray-400);
  transition: var(--transition-normal);
}

.footer-links a:hover {
  color: var(--accent-color);
  padding-left: 5px;
}

.newsletter-form {
  display: flex;
  margin-bottom: 1.5rem;
}

.newsletter-form input {
  flex: 1;
  border: none;
  padding: 0.75rem 1rem;
  border-radius: var(--border-radius) 0 0 var(--border-radius);
  outline: none;
}

.newsletter-form button {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
  border-radius: 0 var(--border-radius) var(--border-radius) 0;
  padding: 0.75rem 1rem;
}

.social-icons {
  display: flex;
  gap: 10px;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
  border-radius: 50%;
  transition: var(--transition-normal);
}

.social-icons a:hover {
  background-color: var(--accent-color);
  color: white;
}

.footer-bottom {
  background-color: var(--primary-color);
  padding: 1.5rem 0;
  margin-top: 4rem;
}

.footer-bottom p {
  margin: 0;
  color: var(--gray-400);
}

.footer-bottom .fas {
  color: var(--danger-color);
}

/* WhatsApp Button */
.whatsapp-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 999;
}

.whatsapp-button a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background-color: #25D366;
  color: white;
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: var(--transition-normal);
}

.whatsapp-button a i {
  font-size: 32px;
}

.whatsapp-button a:hover {
  transform: scale(1.1);
  background-color: #128C7E;
}

/* Search Results */
.search-results-container {
  position: fixed;
  top: 0;
  right: -400px;
  width: 400px;
  height: 100vh;
  background-color: white;
  box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
  z-index: 1100;
  transition: right 0.3s ease;
  display: flex;
  flex-direction: column;
}

.search-results-container.active {
  right: 0;
}

.search-results-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  border-bottom: 1px solid var(--gray-200);
}

.search-results-header h3 {
  margin: 0;
  color: var(--primary-color);
}

.close-btn {
  background: none;
  border: none;
  color: var(--gray-600);
  font-size: 1.2rem;
  cursor: pointer;
  transition: var(--transition-normal);
}

.close-btn:hover {
  color: var(--danger-color);
}

.search-results-body {
  padding: 1rem;
  overflow-y: auto;
  flex: 1;
}

/* Page Banner */
.page-banner {
  background-color: var(--primary-color);
  color: white;
  padding: 4rem 0;
  text-align: center;
}

.page-banner h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.breadcrumb {
  background: none;
  padding: 0;
  margin-bottom: 0;
}

.breadcrumb-item a {
  color: red;
}

.breadcrumb-item.active {
  color: #5f5454;
}

.breadcrumb-item+.breadcrumb-item::before {
  color: var(--gray-400);
}

.navbar-nav .nav-item.active .nav-link {
  color: #2c3e50 !important;
  font-weight: bold;
}

/* Products Page */
.products-section {
  background-color: var(--gray-100);
}

.filters-sidebar {
  background-color: white;
  border-radius: var(--border-radius);
  padding: 1.5rem;
  box-shadow: var(--box-shadow);
  margin-bottom: 2rem;
  border: 2px solid #343a405e;
}

.filters-sidebar h3 {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--gray-200);
  padding-bottom: 0.75rem;
}

.filter-group {
  margin-bottom: 1.5rem;
}

.filter-group h4 {
  font-size: 1.1rem;
  color: var(--gray-700);
  margin-bottom: 1rem;
}

.custom-control {
  margin-bottom: 0.5rem;
}

.sort-options {
  background-color: white;
  border-radius: var(--border-radius);
  padding: 1rem;
  box-shadow: var(--box-shadow);
}

.sort-options select {
  border: 1px solid var(--gray-300);
  border-radius: var(--border-radius);
  padding: 0.25rem 0.5rem;
}

.view-options .btn {
  padding: 0.375rem 0.75rem;
}

.view-options .btn.active {
  background-color: var(--primary-color);
  color: white;
}

/* Product Modal */
.modal-title {
  color: var(--primary-color);
}

/* About Page */
.about-section {
  background-color: white;
}

.about-image {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

.about-content h2 {
  font-size: 2.2rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 15px;
}

.about-content h2:after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 50px;
  height: 3px;
  background-color: var(--accent-color);
}

.about-content p.lead {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  color: var(--gray-700);
}

.about-content p {
  color: var(--gray-600);
  margin-bottom: 1rem;
}

.mission-vision {
  background-color: var(--gray-100);
}

.mission-box,
.vision-box {
  background-color: white;
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: var(--box-shadow);
  height: 100%;
  transition: var(--transition-normal);
}

.mission-box:hover,
.vision-box:hover {
  box-shadow: var(--box-shadow-hover);
  transform: translateY(-5px);
}

.mission-box .icon,
.vision-box .icon {
  font-size: 2.5rem;
  color: var(--accent-color);
  margin-bottom: 1.5rem;
}

.mission-box h3,
.vision-box h3 {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.mission-box p,
.vision-box p {
  color: var(--gray-600);
}

.our-values {
  background-color: white;
}

.value-card {
  background-color: var(--gray-100);
  border-radius: var(--border-radius);
  padding: 2rem;
  text-align: center;
  box-shadow: var(--box-shadow);
  height: 100%;
  transition: var(--transition-normal);
}

.value-card:hover {
  box-shadow: var(--box-shadow-hover);
  transform: translateY(-5px);
}

.value-icon {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.value-card h3 {
  font-size: 1.3rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.value-card p {
  color: var(--gray-600);
}

.company-timeline {
  background-color: var(--gray-100);
}

.timeline {
  position: relative;
  padding: 2rem 0;
}

.timeline:before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 100%;
  background-color: var(--primary-color);
}

.timeline-item {
  display: flex;
  margin-bottom: 4rem;
  position: relative;
}

.timeline-dot {
  width: 25px;
  height: 25px;
  background-color: var(--accent-color);
  border-radius: 50%;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  box-shadow: var(--box-shadow);
}

.timeline-date {
  width: 200px;
  text-align: right;
  padding-right: 40px;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--primary-color);
}

.timeline-content {
  flex: 1;
  background-color: white;
  border-radius: var(--border-radius);
  padding: 1.5rem;
  margin-left: 40px;
  box-shadow: var(--box-shadow);
}

.timeline-content h3 {
  font-size: 1.3rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.timeline-content p {
  color: var(--gray-600);
  margin-bottom: 1rem;
}

.timeline-content img {
  margin-top: 1rem;
  border-radius: var(--border-radius);
  overflow: hidden;
}

.team-section {
  background-color: white;
}

.team-member {
  background-color: var(--gray-100);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition-normal);
}

.team-member:hover {
  box-shadow: var(--box-shadow-hover);
  transform: translateY(-5px);
}

.member-image {
  height: 250px;
  overflow: hidden;
}

.member-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-normal);
}

.team-member:hover .member-image img {
  transform: scale(1.05);
}

.member-info {
  padding: 1.5rem;
  text-align: center;
}

.member-info h3 {
  font-size: 1.3rem;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.member-info .designation {
  color: var(--accent-color);
  font-weight: 500;
  margin-bottom: 1rem;
}

.member-info .social-links {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.member-info .social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background-color: var(--gray-200);
  color: var(--gray-700);
  border-radius: 50%;
  transition: var(--transition-normal);
}

.member-info .social-links a:hover {
  background-color: var(--primary-color);
  color: white;
}

/* Contact Page */
.contact-section {
  background-color: #ffffff00;
}

.contact-info-box {
  background-color: var(--primary-color);
  color: white;
  border-radius: var(--border-radius);
  padding: 2rem;
  padding-bottom: 0;

}

.contact-info-box h3 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 15px;
}

.contact-info-box h3:after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 3px;
  background-color: white;
}

.contact-info-box p {
  color: var(--gray-300);
  margin-bottom: 2rem;
}

.contact-item {
  display: flex;
  margin-bottom: 1.5rem;
}

.contact-item i {
  color: var(--accent-color);
  font-size: 1.5rem;
  margin-right: 1rem;
  margin-top: 0.5rem;
}

.contact-item div {
  flex: 1;
}

.contact-item h4 {
  font-size: 1.1rem;
  margin-bottom: 0rem;
}

.contact-info-box .social-icons {
  margin-top: 2rem;
}

.contact-info-box .social-icons a {
  background-color: rgba(255, 255, 255, 0.1);
}

.contact-form-box {
  background-color: white;
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: var(--box-shadow);
}

.contact-form-box h3 {
  font-size: 1.8rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 15px;
}

.contact-form-box h3:after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 3px;
  background-color: var(--accent-color);
}

.form-group label {
  font-weight: 500;
  color: var(--gray-700);
}

.form-control {
  border-radius: var(--border-radius);
  padding: 0.75rem;
  border: 1px solid var(--gray-300);
}

.form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(44, 62, 80, 0.25);
}

.map-section {
  background-color: var(--gray-100);
}

.map-container {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

.main-footer {
  background-color: #2c3e50;
  color: #ffffff;
  padding: 35px 0;
}

.footer-widget {
  margin-bottom: 20px;
}

.footer-widget h5 {
  color: white;
  margin-bottom: 15px;
}

.footer-widget ul {
  padding-left: 0;
  list-style: none;
}

.footer-widget ul li {
  margin-bottom: 10px;
}

.footer-widget ul li a {
  color: #ffffff;
  text-decoration: none;
}

.footer-widget ul li a:hover {
  text-decoration: underline;
}

.footer-bottom {
  background-color: #23272b;
  padding: 15px 0;
  text-align: center;
}

.footer-bottom p {
  margin: 0;
  color: #ffffff;
}

.search-wrapper {
  position: relative;

}

.search-input {
  height: 55px;
  padding-left: 3rem;
  border-radius: 0.3rem;
  border: 2px solid #343a405e;
  transition: box-shadow 0.3s;
}

.search-input:focus {
  box-shadow: #343a40 !important;
  border-color: #343a40 !important;
}

.search-icon {
  position: absolute;
  top: 50%;
  left: 1rem;
  transform: translateY(-50%);
  color: #adb5bd;
  transition: color 0.2s;
}

.search-icon:hover {
  color: #495057;
}

#search-suggestions {
  z-index: 1050;
  display: none;
  max-height: 250px;
  overflow-y: auto;
}

#search-suggestions .list-group-item {
  cursor: pointer;
}

#search-suggestions .list-group-item:hover {
  background-color: #f8f9fa;
}

.thumb-wrapper img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border: 3px solid transparent;
  border-radius: 0px;
  box-shadow: #dc3545 !important;
}

.thumb-wrapper:hover img {
  transform: scale(1.08);
  border-color: #dc3545 !important;
  /* dark border */
  box-shadow: 0 4px 12px #dc3545 !important;
  cursor: pointer;
}