/* ========== Base Reset ========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Quicksand', sans-serif;
}

/* Sticky Footer Layout Setup */
html,
body {
  height: auto;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

/* ========== CSS Variables ========== */
:root {
  --primary-color: #0D9488;
  --secondary-color: #EF4444;
  --text-color: #fff;
  --font-family-base: 'Quicksand', sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: inherit;
}

/* ========== Headings ========== */
h1 {
  font-size: clamp(2rem, 4vw, 4rem);
  /* min 2rem, ideal 4vw, max 4rem */
  color: var(--primary-color);
}

h2 {
  font-size: clamp(1.75rem, 3vw, 3.5rem);
  color: var(--primary-color);
}

h3 {
  font-size: clamp(1.5rem, 2.5vw, 3rem);
  color: var(--primary-color);
}

h4 {
  font-size: clamp(1.25rem, 2vw, 2.5rem);
  color: var(--primary-color);
}

h5 {
  font-size: clamp(1rem, 1.5vw, 2rem);
  color: var(--primary-color);
}

h6 {
  font-size: clamp(0.875rem, 1vw, 1.5rem);
  color: var(--primary-color);
}

label {
  font-size: clamp(0.875rem, 1vw, 1.5rem);
  color: var(--primary-color);
}

/* ========== Buttons ========== */
.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.text-primary {
  color: var(--primary-color);
  /* border-color: var(--primary-color); */
}

.text-teal-600 {
  color: var(--primary-color);
  font: weight 600px;
}


/* ========== AOS Animation Global Tweak ========== */
[data-aos] {
  transition-duration: 1s !important;
}


#scrollProgressBar {
  position: fixed;
  top: 0;
  left: 0;
  height: 5px;
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
  width: 0%;
  z-index: 9999;
  transition: width 0.25s ease-out;
}

/* Scroll top button */
.scroll-toggle-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: var(--primary-color);
  color: #fff;
  border: none;
  padding: 0.7rem 1rem;
  border-radius: 50%;
  font-size: 1.25rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 1000;
  transition: all 0.3s ease;
  display: none;
}

.scroll-toggle-btn:hover {
  background-color: var(--secondary-color);
}


/* ========== Header Section ========== */
/* Logo */
.navbar-brand img {
  height: clamp(30px, 5vw, 40px);
}

/* Nav Links */
.navbar-nav .nav-link {
  font-size: clamp(0.9rem, 1.2vw, 1.1rem);
  padding: clamp(0.4rem, 1vw, 0.7rem) clamp(0.6rem, 2vw, 1rem);
  transition: color 0.3s;
}

.navbar-nav .nav-link:hover {
  color: var(--primary-color);
}

/* userProfileBtn */
#userProfileBtn {
  color: var(--primary-color);
}

/* ========== Reusable Animated Button Class ========== */
/* Buttons: Login, Business Connect, Submit, Send, Share, Send Message, Add Your Review, View More */
.btn-animated {
  background: var(--primary-color);
  color: #fff;
  padding: clamp(0.4rem, 1vw, 0.6rem) clamp(0.75rem, 2vw, 1.25rem);
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.3s ease;
  display: flex;
  justify-content: center;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  /* for icon spacing */
}

.btn-animated:hover {
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
  color: #fff;
  transform: scale(1.05);
  /* box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3); */
  box-shadow: none !important; /* <- This line forces no shadow */
}

.btn-animated:focus {
  outline: none; /* Remove default browser outline if needed */
  box-shadow: 0 0 0 4px rgba(13, 148, 136, 0.5); /* Highlight with soft ring using your theme color */
  background-color: var(--primary-color); /* Maintain primary background */
  color: #fff;
}

/* Icon transition inside buttons */
.btn-animated i {
  transition: transform 0.3s ease;
}

.btn-animated:hover i {
  transform: translateX(4px) scale(1.2);
}


/* Profile Panel */
#profilePanel {
  transform: translateX(100%);
  z-index: 1050;
  width: clamp(280px, 60vw, 320px);
  height: 100vh;
  overflow-y: auto;
  background-color: #ffffff;
  border-left: 3px solid var(--primary-color);
  transition: transform 0.3s ease-in-out;
  box-shadow: -3px 0 15px rgba(0, 0, 0, 0.1);
  position: fixed;
  top: 0;
  right: 0;
}

/* When open on mobile */
#profilePanel.open-mobile {
  transform: translateX(0%) !important;
}

/* Close button hover effect */
#closeProfilePanel {
  border-radius: 8px;
  transition: all 0.3s ease;
  color: #6c757d;
}

#closeProfilePanel:hover {
  background-color: var(--primary-color);
  color: #fff;
  border-color: var(--primary-color);
}

/* Profile info text */
#profilePanel p {
  font-size: 0.95rem;
  color: #333;
  margin-bottom: 0.75rem;
}

/* Profile label highlight */
#profilePanel p strong {
  color: var(--primary-color);
}

/* Scrollbar styling */
#profilePanel::-webkit-scrollbar {
  width: 6px;
}

#profilePanel::-webkit-scrollbar-thumb {
  background-color: var(--primary-color);
  border-radius: 10px;
}

/* Page Overlay */
#pageOverlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1049;
}

/* Background Blur */
.blurred {
  filter: blur(4px);
  transition: filter 0.3s ease;
}

.logout-btn-custom {
  width: 100%;
  /* Default for desktop */
  padding: 0.25rem 0.5rem;
  /* default btn-sm padding */
}

@media (max-width: 576px) {
  .logout-btn-custom {
    width: auto !important;
    padding: 0.75rem !important;
    /* equals p-3 */
  }
}


@media (max-width: 576px) {
  #profilePanel {
    max-width: 100%;
  }
}


/* ========== Scroll Progress Bar ========== */
#scrollProgressBar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
  width: 0%;
  z-index: 9999;
}

/* ========== Edit Profile Card ========== */
#editProfileCard {
  max-width: clamp(320px, 90vw, 600px);
  margin: auto;
  background: white;
  border-radius: 12px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

/* ========== Footer ========== */
.custom-footer {
  background-color: var(--primary-color);
  color: white;
  padding-top: 3rem;
  position: relative;
  z-index: 1;
  margin-top: auto;
}

.footer-logo img {
  height: 60px;
  display: block;
  margin: 0 auto;
}

.footer-heading {
  position: relative;
  display: inline-block;
  padding-bottom: 5px;
  color: white;
  font-weight: 600;
}

.footer-heading::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  height: 2px;
  width: 0;
  background: linear-gradient(to right, #ef4444, #ffffff);
  transition: width 0.3s ease;
}

.footer-heading:hover::after {
  width: 100%;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: white;
  text-decoration: none;
  position: relative;
  display: inline-block;
  transition: all 0.3s ease;
}

.footer-links a::after {
  content: "";
  position: absolute;
  width: 0%;
  height: 2px;
  background: white;
  bottom: 0;
  left: 50%;
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.footer-links a:hover::after {
  width: 100%;
}

.footer-social a {
  font-size: 1.5rem;
  color: white;
  transition: all 0.3s ease;
}

.footer-social a:hover {
  transform: scale(1.2);
  background: linear-gradient(to right, var(--secondary-color), #fff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.footer-credit-link {
  font-weight: 600;
  text-decoration: none;
  color: white;
  transition: color 0.3s;
}

.footer-credit-link:hover {
  color: var(--secondary-color);
}

/* Curve Fix */
.footer-curve {
  margin-bottom: -1px;
  overflow: hidden;
  line-height: 0;
}

.footer-curve svg {
  display: block;
  width: 100%;
  height: auto;
}

/* ✅ Already Added and Updated */
.service-box {
  width: 100%;
  min-height: 180px;
  max-height: 180px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--primary-color);
  border-radius: 10px;
  position: relative;
  overflow: hidden;
  z-index: 1;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: all 0.4s ease;
}

.service-box::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  z-index: 0;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  opacity: 0;
  transition: opacity 0.4s ease;
  border-radius: 12px;
}

.service-box:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(13, 148, 136, 0.3), 0 0 16px rgba(239, 68, 68, 0.25);
}

.service-box:hover::before {
  opacity: 0.1;
}

.service-box img {
  max-width: 60px;
  max-height: 60px;
  object-fit: contain;
  margin-bottom: 5px;
  z-index: 1;
}

.service-box p {
  font-size: clamp(0.85rem, 2vw, 1rem);
  font-weight: 500;
  margin: 20px 0 0;
  word-wrap: break-word;
  z-index: 1;
}

.service-name {
  text-justify: inter-word;
  font-size: clamp(0.85rem, 2vw, 1rem);
  transition: color 0.3s ease;
  color: var(--primary-color);
  z-index: 1;
  font-weight: 600;
}

/* === CTA Section Gradient & Button === */
.cta-btn {
  background-color: var(--primary-color);
  border: none;
  color: #fff;
  transition: background 0.3s ease;
  border-radius: 50px;
}

.cta-btn:hover {
  background: linear-gradient(to right, var(--secondary-color), var(--primary-color));
  color: #fff;
}

/* === Search Input === */
#parentCategorySearch {
  /* border: 2px solid var(--primary-color); */
  padding: 0.8rem 1.2rem;
  font-size: clamp(1rem, 2.5vw, 1.25rem);
}

#parentCategorySearch:focus{
  /* border-color: var(--primary-color); */
  box-shadow: 0 0 0 3px #0d94898b;
}

#subcategorySearch:focus{
  /* border-color: var(--primary-color); */
  box-shadow: 0 0 0 3px #0d94898b;
}

/* === AOS Fallback Animation === */
[data-aos] {
  opacity: 0;
  transition: opacity 0.6s ease-in-out, transform 0.6s ease-in-out;
}

/* ============================= */
/* Banner Section                */
/* ============================= */
.banner {
  background: var(--primary-color);
  color: #fff;
  text-align: center;
  padding: 3rem 1rem 2rem;
  margin-bottom: 1rem;
  border-radius: 0 0 30px 30px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.1);
}

.banner h1 {
  font-size: clamp(2rem, 6vw, 3rem);
  margin: 0;
  color: #fff;
}

/* ============================= */
/* Description Box               */
/* ============================= */
.subcategory-description-box {
  background-color: #fff;
  padding: 2rem;
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  position: relative;
  border-left: 5px solid var(--primary-color);
  transition: all 0.3s ease;
}

.subcategory-description-box i {
  color: var(--primary-color);
  opacity: 0.8;
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 1.5rem;
}

/* ============================= */
/* Subcategory Cards             */
/* ============================= */
.subcategory-card {
  width: 100%;
  min-height: 180px;
  max-height: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--primary-color);
  border-radius: 12px;
  position: relative;
  overflow: hidden;
  z-index: 1;
  background: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: all 0.4s ease;
}

.subcategory-card::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  z-index: 0;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  opacity: 0;
  transition: opacity 0.4s ease;
  border-radius: 12px;
}

.subcategory-card:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(13, 148, 136, 0.3), 0 0 16px rgba(239, 68, 68, 0.25);
}

.subcategory-card:hover::before {
  opacity: 0.1;
}

.subcategory-card img {
  max-width: 60px;
  max-height: 60px;
  object-fit: contain;
  z-index: 1;
}

.subcategory-name {
  font-size: clamp(0.85rem, 2.2vw, 1rem);
  font-weight: 600;
  color: var(--primary-color);
  margin-top: 10px;
  z-index: 1;
  text-align: center;
  transition: color 0.3s ease;
}

/* ============================= */
/* Top Line for Card             */
/* ============================= */
.subcategory-card .top-border,
.subcategory-top-line {
  height: 8px;
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
  border-radius: 10px 10px 0 0;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
}

/* business profile list */
/* ============================= */
/* Subcategory Banner           */
/* ============================= */
.subcategory-banner {
  background-color: var(--primary-color);
  color: #fff;
  text-align: center;
  padding: 3rem 1rem 2rem;
  margin-bottom: 1rem;
  border-radius: 0 0 30px 30px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.1);
}

/* Business Card */
.business-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border 0.3s ease;
  position: relative;
  z-index: 1;
}

.business-card:hover {
  transform: scale(1.03);
  border: 1px solid var(--primary-color);
  box-shadow: 0 8px 28px rgba(13, 148, 136, 0.2);
  z-index: 10;
}

/* Business Logo */
.business-logo {
  width: clamp(100px, 15vw, 160px);
  height: clamp(100px, 15vw, 160px);
  object-fit: cover;
  border-radius: 12px;
  border: 3px solid var(--primary-color);
}

/* Rating Badge and Reviews     */
.rating-badge {
  background-color: var(--primary-color);
  color: #fff;
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.rating-reviews {
  font-size: 0.85rem;
  color: #555;
}

/* Contact Buttons */
.btn-outline-success {
  color: var(--primary-color);
  border-color: var(--primary-color);
  background-color: transparent;
  transition: all 0.3s ease;
}

.btn-outline-success:hover,
.btn-outline-success:focus {
  background-color: var(--primary-color);
  color: #fff;
  border-color: var(--primary-color);
}

.btn-action {
  border-radius: 8px;
  padding: 0.4rem 0.6rem;
  font-size: 0.85rem;
  transition: all 0.3s ease;
}

.btn-action i {
  font-size: 1rem;
}

/* View Profile Button */
.view-profile-btn {
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  color: #fff !important;
  font-weight: 500;
  border: none;
  padding: 0.45rem 0.9rem;
  border-radius: 10px;
  transition: all 0.3s ease;
}

.view-profile-btn:hover {
  opacity: 0.9;
  transform: scale(1.05);
}


/* Business Profile Section */
.business-profile-logo {
  width: clamp(80px, 9vw, 120px);
  height: clamp(80px, 9vw, 120px);
  object-fit: fill;
  border-radius: 16px;
  border: 2px solid var(--primary-color);
}

.business-profile-body {
  margin-left: 50px;
  margin-right: 50px;
}


.business-profile-body h1.h5 {
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

/* Fix for list items inside Business Hours */
.business-profile-body ul li {
  font-size: clamp(0.75rem, 1.4vw, 0.95rem);
}

/* Custom outline-success button for Contact Buttons */
.btn-outline-success {
  color: white !important;
  background-color: var(--primary-color) !important;
  border: 1px solid var(--primary-color) !important;
}

.btn-outline-success:hover {
  background-color: white !important;
  color: var(--primary-color) !important;
  border-color: var(--primary-color) !important;
}

/* Navbar css */
.nav-tabs-wrapper1 {
  background-color: var(--primary-color);
  border-bottom: 1px solid #eee;
  position: sticky;
  top: 70px;
  z-index: 100;
  overflow-x: auto;
  /* Allow scroll on small screens */
}

.nav-tabs1 {
  display: flex;
  gap: 12px;
  flex-wrap: nowrap;
  /* Prevent wrapping */
  white-space: nowrap;
  overflow-x: auto;
  padding: 10px clamp(1rem, 3vw, 2rem);
  scrollbar-width: none;
  /* Hide scrollbar for Firefox */
}

.nav-tabs1::-webkit-scrollbar {
  display: none;
  /* Hide scrollbar for Chrome/Safari */
}

.nav-tabs1 .nav-link1 {
  font-weight: 500;
  padding: 8px 16px;
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
  flex-shrink: 0;
  /* Prevent shrinking */
}

.nav-tabs1 .nav-link1.active,
.nav-tabs1 .nav-link1:hover {
  background-color: #fff;
  border-bottom: 2px solid var(--secondary-color);
  border-radius: 20%;
  color: var(--primary-color);
}

/* Page Sections */
.page-section {
  border: 1px solid var(--primary-color);
  padding: clamp(2rem, 4vw, 1rem);
  margin-block: clamp(2rem, 5vw, 3rem);
  /* Top-Bottom */
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
  scroll-margin-top: 120px;
  overflow-x: hidden;
  /* Add this */
}


.section-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 1rem;
  border-left: 6px solid var(--secondary-color);
  padding-left: 12px;
}

.page-section h3 {
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.page-section p {
  font-size: clamp(0.95rem, 2.2vw, 1.1rem);
  line-height: 1.7;
  color: #333;
  margin-bottom: 1rem;
}

/* === Responsive Photo Gallery Grid === */
.photo-item {
  height: 120px;
  background: #f9f9f9;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.photo-item img {
  width: 100%;
  height: 100%;
  object-fit: fill;
}


/* === Upload Button Styled Same As Images === */
.photo-upload-btn {
  cursor: pointer;
  border: 2px dashed var(--primary-color, #0D9488);
  background-color: rgba(13, 148, 136, 0.05);
  border-radius: 12px;
  width: 100%;
  height: clamp(100px, 20vw, 160px);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.photo-upload-btn:hover {
  background-color: rgba(13, 148, 136, 0.15);
  transform: scale(1.03);
}

.upload-plus {
  font-size: clamp(32px, 6vw, 48px);
  color: var(--primary-color, #0D9488);
  font-weight: bold;
}

.upload-btn-border {
  border: 2px dashed var(--primary-color);
  background-color: rgba(13, 148, 136, 0.1);
  /* 10% transparent */
}

/* Upload Modal */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
  z-index: 999;
}

.upload-box {
  background: #fff;
  border-radius: 16px;
  padding: 30px;
  max-width: 500px;
  width: 90%;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  animation: fadeIn 0.3s ease;
  position: relative;
}

.close-modal-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 24px;
  background: transparent;
  border: none;
  cursor: pointer;
}

.drop-zone {
  border: 3px dashed #0D9488;
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  background: #ffffff;
}

.drop-zone.error {
  border-color: #EF4444 !important;
  background-color: #ffecec;
}

#uploadWarning {
  transition: opacity 0.3s ease;
}

.upload-illustration {
  width: 50px;
  margin-bottom: 15px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.upload-title {
  font-size: 24px;
  margin-bottom: 20px;
  text-align: center;
  color: #333;
}

.drag-text {
  margin: 10px 0;
  font-weight: 500;
}

.file-input {
  display: block;
  margin: 10px auto;
}

.upload-note {
  font-size: 13px;
  color: #EF4444;
}

/* Image Previews */
.image-preview-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.image-preview-grid img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.preview-container {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.preview-container img.preview-thumb {
  height: 80px;
  border-radius: 6px;
  object-fit: cover;
  border: 1px solid #ccc;
}

.drop-zone.error {
  border-color: #dc3545;
  background: #fff4f4;
}


/* Dot Loader */
.hidden {
  display: none !important;
}

.dot-loader {
  display: flex;
  justify-content: center;
  gap: 5px;
}

.dot-loader .dot {
  width: 10px;
  height: 10px;
  background: var(--primary-color);
  border-radius: 50%;
  animation: bounce 0.6s infinite alternate;
}

.dot-loader .dot:nth-child(2) {
  animation-delay: 0.2s;
}

.dot-loader .dot:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes bounce {
  to {
    transform: translateY(-10px);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Responsive Fixes */
@media (max-width: 768px) {
  .photo-gallery {
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  }
}


/* === Custom Column Width === */
@media (min-width: 1200px) {
  .col-lg-1-5 {
    flex: 0 0 auto;
    width: 20%;
  }
}

.lightbox-modal {
    display: none;
    position: fixed;
    z-index: 1050;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    overflow: hidden;
}

.lightbox-wrapper {
    flex: 1;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 20px;
    box-sizing: border-box;
}

.lightbox-main {
    max-height: 100%;
    max-width: 100%;
    text-align: center;
    overflow-y: auto;
}

#lightbox-img {
    max-height: 80vh;
    max-width: 90vw;
    border-radius: 6px;
    object-fit: contain;
}

.lightbox-caption {
    color: #fff;
    margin-top: 10px;
    font-size: 1rem;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 36px;
    color: white;
    cursor: pointer;
    user-select: none;
    padding: 10px;
    z-index: 10;
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

.lightbox-close {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 36px;
    color: white;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 11;
}

.lightbox-thumbnails-wrapper {
    width: 100%;
    padding: 10px 15px;
    background: rgba(0, 0, 0, 0.95);
    box-shadow: 0 -2px 10px rgba(0,0,0,0.5);
    overflow-x: auto;
}

.lightbox-thumbnails {
    display: flex;
    gap: 10px;
    justify-content: center;
    align-items: center;
}

.lightbox-thumbnails img {
    height: 60px;
    border: 2px solid transparent;
    border-radius: 4px;
    cursor: pointer;
    transition: border 0.2s ease;
}

.lightbox-thumbnails img.active {
    border-color: #ef4444;
}

/* Quick Info Section */
.quick-info-btn {
  background-color: var(--primary-color);
  color: #fff;
  border: none;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: clamp(0.4rem, 1vw, 0.6rem) clamp(0.75rem, 2vw, 1.25rem);
  font-size: clamp(0.85rem, 1vw, 1rem);
  border-radius: 999px;
  gap: 0.5rem;
  white-space: nowrap;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

/* Icon inside button */
.quick-info-btn i {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: #fff;
}

/* Hide label text on small screens */
@media (max-width: 575.98px) {
  .quick-info-btn .btn-label {
    display: none;
  }
}

/* Hover/active styles */
.quick-info-btn:hover,
.quick-info-btn:focus {
  background-color: color-mix(in srgb, var(--primary-color) 85%, black);
  box-shadow: 0 0 0 0.2rem color-mix(in srgb, var(--primary-color) 40%, white);
  transform: translateY(-1px);
}

.quick-info-btn:active {
  background-color: color-mix(in srgb, var(--primary-color) 75%, black);
  transform: translateY(1px);
}



/* Review section */
.review-card {
  border: 2px solid #0D9488;
  border-radius: 12px;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

/* Gradient glow effect */
.review-card::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  z-index: 0;
  background: linear-gradient(135deg, #0D9488, #EF4444);
  opacity: 0;
  transition: opacity 0.4s ease;
  border-radius: 14px;
}

.review-card .card-body,
.review-card .card-body * {
  position: relative;
  z-index: 1;
}


.review-card:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(13, 148, 136, 0.3), 0 0 16px rgba(239, 68, 68, 0.25);
}

.review-card:hover::before {
  opacity: 0.1;
}

.review-textarea {
  font-size: clamp(0.9rem, 1vw + 0.3rem, 1.1rem);
  padding: 1rem;
  border-radius: 10px;
  transition: all 0.3s ease;
  border: 2px solid #e5e7eb;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
  background-color: #fff;
}

.review-textarea:hover {
  border-color: #0D9488;
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.15);
}

.review-textarea:focus {
  outline: none;
  border-color: #EF4444;
  box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.2);
}

.star {
  color: #ccc;
  transition: color 0.3s ease;
  cursor: pointer;
}

.star.selected {
  color: #FFD700;
}
/* Fix for dropdown */
.review-card .dropdown {
    z-index: 999;
}

.review-card .dropdown-menu {
    z-index: 1055;
}


/* FAQs */
.faq-container {
  padding-top: clamp(2rem, 5vw, 4rem);
  padding-bottom: clamp(2rem, 5vw, 4rem);
}

.faq-title {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--primary-color);
}

.faq-question {
  background-color: #f9fbff;
  border: 1px solid var(--primary-color);
  border-radius: 0.75rem;
  padding: clamp(0.75rem, 2vw, 1.25rem);
  font-weight: 600;
  transition: background-color 0.3s ease;
  font-size: clamp(1rem, 2.5vw, 1.125rem);
}

.faq-question:hover {
  background-color: #eef4ff;
}

.arrow-icon {
  font-size: 1rem;
  color: var(--primary-color);
  transition: transform 0.3s ease;
}

.faq-answer {
  border: 1px solid var(--primary-color);
  border-top: none;
  border-radius: 0 0 0.75rem 0.75rem;
  padding: clamp(0.75rem, 2vw, 1.25rem);
  background-color: #ffffff;
  font-size: clamp(0.95rem, 2vw, 1.05rem);
}


/* Contact Us */
.custom-icon-color {
  color: #0D9488;
  /* Your theme green */
  font-size: 1.2rem;
  /* Adjust size as needed */
}

/* ------For Both Contact Form and Create Business Form */

/* Form Labels & Inputs */
.business-form .form-label {
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 6px;
}

.business-form .form-control,
.business-form select.form-control {
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 1rem;
  border: 1px solid #ccc;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.business-form .form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px #0d94898b;
}

.contact-form .form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px #0d94898b;
}

.edit-profile .form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px #0d94898b;
}

/* Responsive Card */
.card.shadow-lg {
  border-radius: 16px;
  padding: 1.5rem;
}

/* Submit Button Responsive Padding */
.btn-animated {
  background-color: var(--primary-color);
  color: #fff;
  border-radius: 8px;
  transition: all 0.3s ease;
  padding: 0.6rem 1.2rem;
}

.btn-animated:hover {
  background-color: var(--secondary-color);
  color: #fff;
  transform: scale(1.02);
}

/* Lottie on smaller screens */
@media (max-width: 576px) {
  lottie-player {
    width: 120px !important;
    height: 120px !important;
  }

  .business-form .form-label {
    font-size: 0.95rem;
  }

  .btn-animated {
    font-size: 0.95rem;
    padding: 0.6rem 1rem;
  }
}


/* Carousel */
@media (max-width: 768px) {
  .carousel-item img {
    max-height: 300px;
    object-fit: cover;
  }
}

/* Custom column for 7-per-row in large screen */
/* @media (min-width: 1200px) {
  .col-lg-1-5 {
    flex: 0 0 auto;
    width: 14.28%;
  }
} */

/* Remove padding on mobile */
@media (max-width: 767.98px) {
  .no-x-padding-mobile {
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}

/* Center the search box on mobile */
@media (max-width: 767.98px) {
  #parentCategorySearch {
    margin-left: auto !important;
    margin-right: auto !important;
  }
}

/* Set custom widths on medium devices */
/* @media (min-width: 768px) {
  .w-md-30 {
    width: 30% !important;
  }

  .w-md-70 {
    width: 70% !important;
  }
} */

/* Hide some (cta) columns on mobile */
@media (max-width: 767.98px) {
  #cta-section .col-md-4 {
    display: none !important;
  }
}


/* Ensures Bootstrap grid remains intact even when hidden */
@media (max-width: 767.98px) {
  #serviceWrapper {
    display: flex !important;
    flex-wrap: wrap;
    margin-left: -8px;
    margin-right: -8px;
  }

  #serviceWrapper>.col-6 {
    flex: 0 0 50% !important;
    max-width: 50% !important;
    padding-left: 8px;
    padding-right: 8px;
    display: block !important;
  }
}


@media (max-width: 575.98px) {
  #serviceWrapper {
    display: flex;
    flex-wrap: wrap;
  }

  #serviceWrapper>.col-6 {
    flex: 0 0 50%;
    max-width: 50%;
    display: block !important;
  }
}

/* On mobile, align buttons in a row and hide text */
@media (max-width: 576px) {
  .mobile-icon-row {
    display: flex !important;
    gap: 8px;
    justify-content: center;
    align-items: center;
  }

  .mobile-icon-row .btn {
    padding: 8px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
  }

  .mobile-icon-row .btn i {
    margin: 0 !important;
  }

  .mobile-icon-row .btn span,
  .mobile-icon-row .btn .text-center,
  .mobile-icon-row .btn .text,
  .mobile-icon-row .btn .label {
    display: none !important;
  }
}

@media (min-width: 1200px) {
  .col-lg-1-5 {
    flex: 0 0 auto;
    width: 14.28%;
  }
}

@media (max-width: 767.98px) {

  .card .row>.col-sm-6,
  .card .row>.col-sm-12 {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .card .row {
    flex-direction: column !important;
    margin: 10px;
  }

  .submitBusinessButton {
    width: 100%;
    margin-top: 15px;
  }
}

#editProfileCard .form-control {
  border: 1px solid var(--primary-color, #0D9488);
  /* Use your theme color */
  border-radius: 0.5rem;
  transition: border-color 0.2s ease;
}

#editProfileCard .form-control:focus {
  border-color: var(--primary-color, #0D9488);
  box-shadow: 0 0 0 0.15rem rgba(13, 148, 136, 0.25);
  /* subtle shadow */
}

.reel-card video {
  aspect-ratio: 9 / 16;
  object-fit: cover;
  border-radius: 12px;
  cursor: pointer;
  transition: transform 0.2s ease-in-out;
}

.reel-card:hover {
  transform: scale(1.02);
}


/* Reel video wrapper */
.reel-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  max-width: 420px;
  /* Reel width on desktop */
  aspect-ratio: 9 / 16;
  background: black;
}

/* Reel video */
.reel-video {
  width: 100%;
  height: 100%;
  display: block;
}

/* Bottom gradient overlay */
.reel-overlay {
  position: absolute;
  bottom: 0;
  width: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
  z-index: 10;
}

/* Mobile full screen adjustments */
@media (max-width: 768px) {
  .reel-wrapper {
    width: 100vw;
    height: 100vh;
    max-width: none;
    aspect-ratio: auto;
  }
}


.newBlur-card {
  filter: blur(10px);
  pointer-events: none;
  user-select: none;
  position: relative;
}

.newBlur-business-card-wrapper {
  position: relative;
}

.newBlur-login-overlay-message {
  z-index: 10;
  pointer-events: none;
}

.newBlur-bg-blur-login {
  background-color: var(--primary-color);
}

.newBlur-login-overlay-message .newBlur-bg-blur-login {
  pointer-events: auto;
  /* allows click/hover on content like the login button */
}

/* Hide scrollbar for all elements */
* {
  scrollbar-width: none;
  /* Firefox */
  -ms-overflow-style: none;
  /* Internet Explorer 10+ */
}

/* Hide scrollbar for Webkit-based browsers (Chrome, Safari, Edge) */
*::-webkit-scrollbar {
  display: none;
}

.page-sections {
  margin-left: 40px;
  margin-right: 40px;
}