html, body {
  margin: 0;
  padding: 0;
  height: 100%;
}


.aos-init.aos-animate a.btn-primary {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--text-dark);
}

.aos-animate a.btn-secondary.glightbox {
  background: var(--secondary);
  border-color: var(--secondary);
  color: var(--text-dark);
  padding: 11px;
  border-radius: 6px;
}

.hero.section {
  background: var(--banner-bg);
  background-blend-mode: overlay;
  max-width: 1500px;
  margin: 0 auto;
  width: 100%;
}

html body.index-page div.page-layout section#hero-slider.hero.section{
  padding: 40px 0 115px;
}


.btn-secondary.glightbox i.bi.bi-play-circle{
    color: var(--text-dark);
}

/*hero section hover effect  */

/* Button Hover */
.aos-init.aos-animate a.btn-primary :hover {
  background: var(--accent);
  color: var(--text-dark);
  transform: scale(1.05);
  transition: all 0.3s ease-in-out;
}

.aos-animate a.btn-secondary.glightbox:hover {
  background: var(--primary);
  color: var(--text-dark);
  transform: translateY(-3px);
  transition: all 0.3s ease-in-out;
}

/* Hero Image Hover */
.hero .hero-image img {
  transition: transform 0.5s ease, filter 0.3s ease;
  overflow: visible;
  transform: scale(1.05);
  padding-top: 21px;
  padding-bottom: 17px;
  border-radius: 0;
  box-shadow: none;
}

.hero-image img:hover {
  transform: scale(1.05) rotate(-1deg);
  filter: brightness(1.1);
}

/* Floating Card Hover */
.floating-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.floating-card:hover {
  transform: translateY(-10px) scale(1.1);
  box-shadow: 0 12px 30px rgba(0,0,0,0.2);
}

.hero .hero-cta .btn-primary:hover{

    color: var(--text-dark);
    background: var(--secondary);

}

.hero-title { font-size: 3rem; font-weight: 800; }
.highlight { color: var(--primary); font-weight: bold; border-radius: 5px; }

/* Floating festive elements */
.floating-diya {
  position: absolute;
  left: var(--x, 50%);
  top: var(--y, 50%);
  width: var(--size, 50px);
  height: var(--size, 50px);
  background: url("../img/elements/diya-Photoroom.png") no-repeat center/contain;
  transform: translate(-50%, -50%);
  animation: floatY 6s ease-in-out infinite;
  animation-delay: var(--delay, 0s);
  opacity: 0.9;
  pointer-events: none;
  z-index: 2; 
}

@keyframes floatY {
  0%   { transform: translate(-50%, -50%) translateY(0); }
  50%  { transform: translate(-50%, -50%) translateY(-15px); }
  100% { transform: translate(-50%, -50%) translateY(0); }
}

.aos-init.aos-animate a.btn-primary.big-btn { font-size: 1.2rem; padding: 15px 30px; }
.hero .hero-cta .btn-primary:hover:hover { box-shadow: 0 0 20px rgba(255,111,0,0.8); }


.hero-stats {
  gap: 20px; 
  flex-wrap: nowrap; 
  overflow-x: auto; 

  margin-top: 30px;
}

.stat-card:hover {
  transform: translateY(-5px);
  
}

.stat-top {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 5px;
}

.stat-icon {
  font-size: 1.6rem;
}

.hero.section.light-background div.container.aos-init.aos-animate div.row.align-items-center div.col-lg-6 div.hero-image.aos-init.aos-animate div.floating-card.aos-init.aos-animate{
  margin-left: 101px;
}

/* Services Section */
.services {
  background: var(--service-bg); 
  padding: 60px 0;
}

.section-title h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-dark);
}

.section-title .subtitle {
  display: block;
  font-size: 0.9rem;
  color: var(--primary); 
  font-weight: 600;
  margin-bottom: 8px;
}

.aos-init.aos-animate div.service-item {
  background: var(--surface-color);
  padding: 25px;
  border-radius: 16px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  height: 100%;
  
}

.services .service-item:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-sm);
}

.services .service-item .service-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 20px auto;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 28px;
  transition: all 0.3s ease;
}

.services .service-item:hover .service-icon {
  transform: rotate(12deg) scale(1.1);
}

.services .service-item h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text-body);
}

.services .service-item p {
  font-size: 0.9rem;
  color: var(--nav-dropdown-color);
  margin-bottom: 15px;
}

.services .service-item .service-link {
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  transition: color 0.3s;
}

.services .service-item:hover .service-link {
  color: var(--primary);
}

.services .service-item::before{
  background: var(--primary);
}

/* Give each service card a unique gradient color */
/* Card 1 */
.services .row > div:nth-child(1) .service-icon {
   background: linear-gradient(to right, var(--primary), var(--btn-primary-bg));
  color: var(--surface-color);
}

/* Card 2 */
.services .row > div:nth-child(2) .service-icon {
  background: var(--service-icon-2); 
}

/* Card 3 */
.services .row > div:nth-child(3) .service-icon {
  background: var(--service-icon-3); 
}

/* Card 4 */
.services .row > div:nth-child(4) .service-icon {
  background: var(--service-icon-4); 
}


/* Animate the arrow on hover */
.services .service-item .service-link i {
  margin-left: 6px;
  transition: transform 0.3s ease;
}

.services .service-item:hover .service-link i {
  transform: translateX(5px);
}

/* Slightly larger icons for more presence */
.services .service-item .service-icon {
  width: 80px;
  height: 80px;
  font-size: 32px;
}

.services .service-item:hover .service-icon {
  animation: pulse 0.6s ease;
}

/* Center align section title */
.services.section div.container.section-title.aos-init.aos-animate {
  text-align: center;
  max-width: 700px;
}

.services .service-item {

  transform: translateY(20px);
  transition: all 0.6s ease;
}

.services .service-item.aos-animate {
  opacity: 1;
  transform: translateY(0);
}

.services .row > div:nth-child(1) .service-item:hover {
  box-shadow: 0 8px 20px var(--focus-ring);
}

.services .row > div:nth-child(2) .service-item:hover {
  box-shadow: 0 8px 20px var(--service-2-hover);
}

.services .row > div:nth-child(3) .service-item:hover {
  box-shadow: 0 8px 20px var(--service-3-hover);
}

.services .row > div:nth-child(4) .service-item:hover {
  box-shadow: 0 8px 20px var(--service-4-hover);
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.12); }
  100% { transform: scale(1); }
}

/* Section Background */
.process {
  background: linear-gradient(135deg, var(--surface-color), var(--border-light));
  padding: 90px 0;
  position: relative;
  overflow: hidden;
}

.steps-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: nowrap; 
}


/* Decorative gradient circles (floating effect) */
.process::before,
.process::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle at center, var(--focus-ring), transparent 70%);
  animation: float 6s ease-in-out infinite alternate;
}
.process::before {
  width: 220px;
  height: 220px;
  top: -60px;
  left: -60px;
}
.process::after {
  width: 300px;
  height: 300px;
  bottom: -80px;
  right: -80px;
  animation-delay: 2s;
}

@keyframes float {
  from { transform: translateY(0px); }
  to { transform: translateY(20px); }
}

/* Step Item Upgrades */
.step-item {
  background: var(--surface-color);
  padding: 35px 25px;
  border-radius: 18px;
  text-align: center;
  width: 280px;
  position: relative;
  transition: all 0.4s ease;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.step-item::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  height: 4px;
  width: 0%;
  background: var(--primary);
  transition: width 0.4s ease;
}
.step-item:hover::after {
  width: 100%;
}

.step-item:hover {
  box-shadow: var(--shadow-sm);
}

/* Step Icon Glow */
.step-icon {
  width: 85px;
  height: 85px;
  margin: 20px auto 20px auto;
  border-radius: 50%;
  background: var(--primary);
  color: var(--surface-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 34px;
  box-shadow: 0 8px 20px var(--focus-ring);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.step-item:hover .step-icon {
  transform: scale(1.15) rotate(12deg);
  box-shadow: 0 12px 30px var(--focus-ring);
}

/* Step Title & Text */
.step-item h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-dark);
}

.step-item p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Connectors */
.step-connector {
  font-size: 28px;
  color: var(--primary);
  flex-shrink: 0;
  animation: bounceX 1.6s infinite;
}

@keyframes bounceX {
  0%, 100% { transform: translateX(0); opacity: 0.8; }
  50% { transform: translateX(8px); opacity: 1; }
}

/* Mobile Responsive */
@media (max-width: 991px) {
  .steps-wrapper {
    flex-direction: column;
    gap: 40px;
  }
  .step-connector {
    transform: rotate(90deg);
    animation: bounceY 1.6s infinite;
  }
  @keyframes bounceY {
    0%, 100% { transform: rotate(90deg) translateY(0); opacity: 0.8; }
    50% { transform: rotate(90deg) translateY(8px); opacity: 1; }
  }
}

@media (max-width: 991px) {
  .steps-wrapper {
    flex-direction: column;
    gap: 40px;
  }
}


/* portfolio section  */
.portfolio {
  padding: 80px 0;
}

.section-title h2 {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--text-dark);
}

.section-title .subtitle {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* Portfolio Filters */
.portfolio-filters {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 40px 0;
  list-style: none;
  padding: 0;
}

.portfolio .portfolio-filters li {
  padding: 8px 18px;
  border-radius: 25px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  background: var(--surface-color);
  color: var(--text-body);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.portfolio .portfolio-filters li:hover,
.portfolio .portfolio-filters li.filter-active {
  background: var(--primary);
  color: var(--surface-color);
  box-shadow: var(--shadow-sm);
}

/* Portfolio Card */
.portfolio-card {
  border-radius: 18px;
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  will-change: transform;
}

.portfolio-card:hover {

  box-shadow: var(--shadow-sm);

}

@keyframes floatCard {
  0% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
  100% { transform: translateY(-8px); }
}

/* Image Overlay Effect */
.portfolio .portfolio-card .project-visual {
  position: relative;
  overflow: hidden;
  border-radius: 12px 0px 0px;
}


.portfolio .portfolio-card .project-visual img {
  transition: transform 0.5s ease;
}

.portfolio-card:hover .project-visual img {
  transform: scale(1.1);
}

.portfolio .portfolio-card .project-visual .project-overlay {
  position: absolute;
  inset: 0;
  background: var(--project-overlay);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.portfolio-card:hover .project-overlay {
  opacity: 1;
}

.portfolio .portfolio-card .project-visual .project-overlay .overlay-content {
  display: flex;
  gap: 15px;
}

.portfolio .portfolio-card .project-visual .project-overlay .overlay-content a {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--surface-color);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  transition: all 0.3s ease;
  position: relative;
}

.overlay-content a:hover {
  animation: bounceIcon 0.5s ease;
}

@keyframes bounceIcon {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* Project Details */
.portfolio .portfolio-card .project-details {
  padding: 25px 31px;

}

.portfolio .portfolio-card .project-details .project-header .project-category {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  margin-right: 10px;
}

.portfolio .portfolio-card .project-details .project-header .project-year {
  font-size: 0.85rem;
  color: var(--text-dark);
}

.portfolio .portfolio-card .project-details .project-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin: 10px 0;
  color: var(--text-dark);
    background: linear-gradient(90deg, var(--primary), var(--focus-border));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.portfolio .portfolio-card .project-details .project-description {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 12px;
}

.portfolio .portfolio-card .project-details .project-meta {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.portfolio .portfolio-card .project-details .project-meta .project-scope .scope-item {
  display: inline-block;
  margin: 4px 6px 0 0;
  padding: 5px 10px;
  background: var(--border-light);
  border-radius: 12px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.portfolio .portfolio-card .project-details .project-meta .project-scope .scope-item:hover {
  background: linear-gradient(135deg, var(--primary), var(--focus-border));
  color: var(--surface-color);
  transform: scale(1.05);
  transition: all 0.3s ease;
}

.portfolio-filters li:hover {
  animation: pulseFilter 0.6s ease;
}


@keyframes pulseFilter {
  0% { transform: scale(1); }
  50% { transform: scale(1.08); }
  100% { transform: scale(1); }
}


/* Conclusion Call-to-Action */
.portfolio .portfolio-conclusion .conclusion-content {
  text-align: center;
  margin-top: 60px;
}

.portfolio .portfolio-conclusion .conclusion-content h4 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-dark);
}

.portfolio .portfolio-conclusion .conclusion-content p {
  color: var(--text-muted);
  margin-bottom: 20px;
}

.portfolio .portfolio-conclusion .conclusion-content .conclusion-actions {
  display: flex;
  justify-content: center;
  gap: 15px;
}

.conclusion-actions .primary-action,
.conclusion-actions .secondary-action {
  padding: 10px 20px;
  border-radius: 25px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.portfolio .portfolio-conclusion .conclusion-content .conclusion-actions .primary-action {
  background: linear-gradient(90deg, var(--primary), var(--focus-border));;
  color: var(--surface-color);
}

.conclusion-actions .primary-action:hover {
  background: linear-gradient(135deg,var(--primary), var(--focus-border));
  transform: translateY(-3px);
    box-shadow: 0 8px 20px var(--focus-ring);
  transition: all 0.35s ease;
}


/* extra */

.portfolio .portfolio-filters li.filter-active::after, .portfolio .portfolio-filters li:hover::after{
  width: 0px;
}

.portfolio .portfolio-conclusion .conclusion-content .conclusion-actions .secondary-action::after{
  display: none;
}

/* Make testimonial items same height and use flex column */
.testimonial-item {
  display: flex;
  flex-direction: column;
  justify-content: space-between; 
  min-height: 400px; 
  box-shadow: var(--shadow-sm);
}

/* Make footer always stick at bottom */
.testimonial-footer {
  margin-top: auto; 
}

.testimonials .testimonial-body p::before{
  display: none;
}

.testimonials .testimonial-body p::after{
  display: none;
}

/* testimonial effect */

/* Hover animation: lift and subtle shadow */
.testimonial-item:hover {
  box-shadow: 0 12px 25px var(--focus-ring);
}

/* Footer icons & stars animation on hover */
.testimonial-footer .quote-icon i,
.testimonial-header .rating i {
  transition: transform 0.3s ease, color 0.3s ease;
}

.testimonial-footer:hover .quote-icon i,
.testimonial-item:hover .rating i {
  transform: scale(1.2) rotate(5deg);
  color: var(--primary);
}

/* Smooth fade-in & zoom for testimonial items */
.swiper-slide {
  transform: scale(0.95);
  transition: all 0.6s ease;
  position: relative; 
}

.swiper-slide.aos-animate {
  opacity: 1;
  transform: scale(1);
}

/* Animated gradient overlay on hover */
.testimonial-item::before {
  width: 100%;
  
  border-radius: 16px;
  pointer-events: none;
}

.testimonial-item:hover::before {
  background: var(--testimonial);
}

/* Testimonial body text color */
.testimonial-body p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Gradient color for client name */
.testimonial-footer h5 {
  background: linear-gradient(90deg,var(--primary), var(--focus-border));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.testimonials .swiper-button-prev::after, .testimonials .swiper-button-next::after {

  color: var(--surface-color);
}

/* Subtitle color */
.section-title .subtitle {
  color: var(--primary);
  font-weight: 600;
}

/* Smooth transition for swiper navigation buttons */
.swiper-button-next,
.swiper-button-prev {
  color: var(--primary);
  transition: color 0.3s ease, transform 0.3s ease;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  color: var(--primary);
  transform: scale(1.2);
}

.hero.section.light-background div.swiper.mySwiper.swiper-fade.swiper-initialized.swiper-horizontal.swiper-watch-progress.swiper-backface-hidden{
  overflow: visible;
}
.hero-text-col {
  display: flex;
  flex-direction: column;
  justify-content: flex-start; 
}

.hero-title, 
.hero-subtext, 
.hero-cta, 
.hero-stats {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.swiper-slide-active .hero-title,
.swiper-slide-active .hero-subtext,
.swiper-slide-active .hero-cta,
.swiper-slide-active .hero-stats {
  opacity: 1;
  transform: translateY(0);
}

.floating-diya {
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%   { transform: translateY(0px); }
  50%  { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}

/* extra animation on hero section  */

.hero-title .highlight {
  position: relative;
  background: linear-gradient(to right, var(--primary), var(--focus-border));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 200% auto;
  animation: shimmer 3s linear infinite;
}

@keyframes shimmer {
  to { background-position: 200% center; }
}

.hero-stats .stat-card {
  flex: 1 1 0;

    background: var(--hero-card); 
  border: 1px solid var(--text-dark);
  border-radius: 12px;
  padding: 20px;
  min-width: 180px;
  text-align: center; 
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-stats .stat-card:hover {

    transform: translateY(-6px) scale(1.05);
  box-shadow: 0 8px 22px var(--focus-ring);
}

.hero-stats .stat-top {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 8px;
}

.hero-stats .stat-icon {
  font-size: 20px; 
  filter: drop-shadow(0 0 6px var(--focus-ring));
  margin-left: -8px;
}

.hero-stats .stat-number {
font-size: 20px;
  font-weight: 700;
  color: var(--border-light);
  margin-left: -10px;
}

.hero-stats .stat-label {
  font-size: 0.95rem;
  color: var(--border-light); 
  margin-top: 4px;
}

.swiper-slide-active .hero-stats .stat-card {
  opacity: 1;
  transform: translateY(0);
}

.btn-primary.big-btn {
  position: relative;
  overflow: hidden;
}

.btn-primary.big-btn::before {
  content: "";
  position: absolute;
  top: 0; left: -100%;
  width: 200%; height: 100%;
  transition: left 0.6s;
}

.btn-primary.big-btn:hover {
  transform: scale(1.05);
}

.btn-primary.big-btn:hover::before {
  left: 100%;
}

/* for contact */

.contact.section {
  position: relative;
  background-size: 400% 400%;
  animation: gradientShift 15s ease infinite;

    background: var(--contact);
  padding: 60px 0;
  color: var(--border-light);
  margin-bottom: 90px !important;
  margin: auto;
  max-width: 1417px;
  border-radius: 10px;
}

.contact .section-title h2 {
  color: var(--border-light);
}
.contact .section-title p {
  color: var(--border-light);
}
.contact .subtitle {
  color: var(--success-bg); 
  font-weight: 600;
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Style all inputs and textarea inside your contact form */
.contact.section.light-background div.container div.row.gy-4 div.col-lg-7 div.form-wrapper form.php-email-form div.row.gy-3 div.col-md-6 div.form-group input,
.contact.section.light-background div.container div.row.gy-4 div.col-lg-7 div.form-wrapper form.php-email-form div.row.gy-3 div.col-12 div.form-group input,
.contact.section.light-background div.container div.row.gy-4 div.col-lg-7 div.form-wrapper form.php-email-form div.row.gy-3 div.col-12 div.form-group textarea#projectMessage {
  border-radius: 10px;
  padding: 12px 15px;
  border: 1px solid var(--border-default);
  width: 100%;
  transition: all 0.3s ease;
  font-size: 14px;
  outline: none;
}

.contact .form-wrapper {
  background: var(--contact-form);
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 4px 14px var(--overlay-bg);
}

.contact .form-header h3 {
  color: var(--surface-color);
  margin-bottom: 20px;
}

/* Inputs */
.contact .form-wrapper .form-group label {
  font-weight: 600;
  color: var(--border-light);
}
.contact .form-group input,
.contact .form-group textarea {
  background: var(--text-dark);
}

#contact .php-email-form input:focus,
#contact .php-email-form textarea:focus {
  border-color: var(--link-alt);
  box-shadow: 0 0 0 0.2rem var(--service-3-hover); 
}

.contact .form-wrapper .submit-btn,
.contact .form-wrapper .submit-btn:hover {
  background: linear-gradient(90deg, var(--primary), var(--focus-border));
  color: var(--surface-color);
  border: none;
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.contact .submit-btn i {
  font-size: 1rem;
}

.submit-btn::before {
  content: "";
  position: absolute;
  top: 0; left: -100%;
  width: 200%;
  height: 100%;
  background: var(--btn-animation);
  transition: left 0.6s;
}

.submit-btn:hover {
  transform: translateY(-2px);
}

.submit-btn:hover::before {
  left: 100%;
}

.contact .info-item, 
.contact .contact-details .detail-item {

    background: var(--contact-form);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact .detail-item {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.contact .contact-details .detail-item .detail-icon i {
  font-size: 1.4rem;
  margin-right: 10px;
}

.testimonials .swiper-button-prev, .testimonials .swiper-button-next{
  background: linear-gradient(90deg,var(--primary), var(--focus-border));
}

.testimonials .swiper-button-prev:hover, .testimonials .swiper-button-next:hover{
  background: linear-gradient(90deg, var(--primary), var(--focus-border));
}
.contact.section.light-background div.container div.row.gy-4 div.col-lg-5 div.info-item div.info-icon{
  background:  var(--contact-form);
}
.contact .contact-details .detail-item .detail-content .detail-label {
  font-weight: 600;
  color: var(--surface-color);
}

.contact .contact-details .detail-item .detail-content .detail-value {
  display: block;
  color: var(--border-light);
}

.contact .info-item:hover,
.contact .detail-item:hover {
  border-radius: 12px;

  transform: translateY(-4px);
  box-shadow: 0 8px 20px var(--border-dark);
}
.contact .info-item .info-icon i {
  font-size: 2rem;
  color: var(--surface-color);
  margin-bottom: 10px;
}

.contact .info-item .info-content h4 {
  color: var(--surface-color); 
  font-weight: 700;
}

.contact .info-item .info-content p{
  color: var(--border-light);
}

/* footer  */
.footer.dark-background {
  position: relative;

    background: var(--text-dark);
  color: var(--border-light);
  padding: 70px 0 30px 0;
  font-size: 0.95rem;
}

.footer .footer-top {
  padding-bottom: 30px;
  border-bottom: 1px solid var(--text-dark);
}

.footer a {
  text-decoration: none;
}

.footer .sitename {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary); 
}

.footer h4 {
  position: relative;

    font-size: 1.1rem;
  font-weight: 600;
  color: var(--border-light); 
  margin-bottom: 15px;
}

.footer .footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer .footer-links ul li {
  margin-bottom: 10px;
}
.footer .footer-links ul li a {
  color: var(--border-default);
  transition: color 0.3s;
}
.footer .footer-links ul li a:hover {
  color: var(--primary);
}

.footer h4::after {
  content: '';
  display: block;
  width: 50px;
  height: 2px;
  background: var(--primary);
  margin-top: 5px;
  border-radius: 2px;
}

.footer p, .footer ul li {
   color: var(--border-dark);
}

.footer ul {
  padding: 0;
  list-style: none;
}

.footer ul li {
  margin-bottom: 10px;
}

.footer .social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--text-dark);
  margin-right: 8px;
  color: var(--border-light);
  transition: all 0.3s ease;
  font-size: 1.2rem;
}

.footer .social-links a:hover {
  transform: translateY(-3px);
    background: linear-gradient(135deg, var(--primary), var(--focus-border));
  box-shadow: 0 0 12px var(--focus-ring);
  color: var(--surface-color);
}

.footer .footer-contact p span {
   color: var(--border-dark);
}

.footer .footer-contact strong {
  color: var(--border-light);
}

.footer .copyright {
  font-size: 0.85rem;
  color: var(--border-dark);
}
.footer .credits {
  margin-top: 5px;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.footer .credits a {
  color: var(--border-light);
  transition: color 0.3s;
}
.footer .credits a:hover {
  color: var(--primary);
}

/* navigation menu  */

.header{
  --background-color: var(--surface-color);
}

  .navmenu a,
    .navmenu a, .navmenu a:focus{
    color: var(--text-dark);
    font-size: 14px;
    padding: 8px 15px;
  }

#navmenu.navmenu ul#menu-list li div.category-menu{
  font-size: 14px;
}

   .navmenu li:hover > a, .navmenu .active{
    color: var(--primary);
   }

   /* for category section */

.category-toggle i {
  font-size: 20px;
  margin-right: 8px;
}
/* This rule hides the desktop menu on mobile devices */
@media (max-width: 767px) {
  .desktop-sidebar {
    display: none;
  }
}
.mobile-menu-toggle {
  display: block; 
}


.mobile-sidebar {
  position: fixed;
  top: 0;
  left: -280px;
  width: 80%;
  max-width: 280px;
  height: 100%;
  background: var(--surface-color);
  overflow-y: auto;
  z-index: 2000;
  transition: left 0.3s ease;
}

.mobile-sidebar.active {
  left: 0;
}

.sidebar-overlay {
  display: none;
}

.sidebar-overlay.active {
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--project-overlay);
  z-index: 1500;
}

/* for the menu header  */

.sidebar-header {
  background: var(--sidebar-menu); 
  color: var(--surface-color); 
  padding: 15px;
  display: flex; 
  align-items: center;
  gap: 10px; 
}

.sidebar-header h4 {
  margin: 0; 
  font-size: 18px; 
  font-weight: 700;
  color: var(--surface-color);
}

.sidebar-header .user-icon {

  font-size: 24px;
}

/* for close button  */

.sidebar-close-btn {
  position: absolute; 
  top: 10px;
  right: 10px;
  background: transparent; 
  border: none; 
  color: var(--surface-color); 
  font-size: 24px;
  cursor: pointer; 
  padding: 5px;
  line-height: 1;
}

.sidebar-close-btn:hover {
  opacity: 0.8; 
}



.header .logo img {
  max-height: 57px;
}

/* Hero Section (after header) */
.contact-hero {
height: 534px;
  background: linear-gradient(135deg, var(--project-overlay), var(--project-overlay)), url("../img/banners/carousel-1.jpg") center/cover no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: var(--surface-color);
  margin-bottom: 90px;
  position: relative;
  padding: 100px 0;
  background-position: center top;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.contact-hero .hero-content h1 {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--primary);
}

.contact-hero .hero-content p {
  font-size: 18px;
  opacity: 0.9;
}

/* .hero-content p:hover{
  display: var(--surface-color);
} */

/*  for map in contact page  */

.contact-map-page iframe {
  width: 100%;
  margin-bottom: 70px;
}

/*flash sale */
#flash-sale {
  background: var(--border-light);
  padding: 80px 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.section-title1.d-flex.align-items-center.gap-3{
  display: flex ;
  align-items: center ;
  gap: 15px ;
}

#flash-sale .section-title1 h2,
#flash-sale .section-title1 p {
  margin: 0;
}

#flash-sale .section-title1 h2 {
  font-size: 24px;
  font-weight: bold;
}

.bi-lightning-charge-fill {
  font-size: 24px;
}

#flash-sale .portfolio-item {
  transition: all 0.3s ease-in-out;
}

#flash-sale .portfolio-wrap {
    background: var(--surface-color);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative; 
    z-index: 1; 
}

#flash-sale .portfolio-wrap:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px var(--overlay-bg);
    z-index: 10; 
}

#flash-sale .portfolio-info {
  padding: 20px;
}

#flash-sale h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 10px;
    white-space: normal;
  overflow: visible;
  line-height: 1.4em;
  height: auto;
}

#flash-sale p {
  margin-bottom: 8px;
  font-size: 15px;
}

#flash-sale .progress {
  height: 6px;
  border-radius: 50px;
  background-color: var(--border-light);
}

#flash-sale small {
  color: var(--text-muted);
}

/* Countdown */
#countdown {
  display: flex;
  align-items: center;
  gap: 8px;
}

#countdown .countdown-item {
  background: var(--primary);
  color: var(--surface-color);
  padding: 8px 12px;
  border-radius: 50%;
  font-weight: bold;
  letter-spacing: 1px;
  width: 50px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
}

#countdown .separator {
  color: var(--primary);
  font-size: 24px;
  font-weight: bold;
}

/* today's for you  */
#todays-for-you {
  background: var(--surface-color);
  padding: 80px 0;
}

/* Container for the entire section, including the title and buttons */
.product-filters {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 40px 20px;
}

/* Style for the main title */
.product-filters h2 {
  font-size: 24px;
  font-weight: bold;
  color: var(--text-dark);
  margin: 0;
}

/* Container for the buttons */
.filter-buttons {
  display: flex;
  gap: 10px;
}

/* Basic styling for all filter buttons */
.filter-button {
  padding: 8px 16px;
  border: 1px solid var(--border-default);
  border-radius: 20px; 
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

/* Styling for the active (selected) button */
.filter-button.active {
  background-color: var(--text-body);
  color: var(--surface-color);
  border-color: var(--text-body);
}

/* Hover effect for buttons */
.filter-button:hover:not(.active) {
  background-color: var(--border-light);
}


#todays-for-you .icon-box {
  background: var(--service-bg);
  padding: 25px 20px;
  text-align: center;
  border-radius: 12px;
  transition: all 0.3s ease;
  border: 1px solid var(--border-light);
}

#todays-for-you .icon-box:hover {
  background: var(--surface-color);
  box-shadow: var(--shadow-sm);
  transform: translateY(-6px);
}

#todays-for-you .icon-box img {
  border-radius: 8px;
  transition: transform 0.3s ease;
}

#todays-for-you .icon-box:hover img {
  transform: scale(1.05);
}

#todays-for-you h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-dark);
  margin-top: 10px;
}

#todays-for-you p {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 5px;
}

#todays-for-you strong {
  color: var(--text-dark);
  font-weight: 700;
}

/* Section Aesthetic Add-ons */
.section-title h2 {
  font-weight: 700;
  color: var(--text-dark);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.section-title p {
  color: var(--text-muted);
  font-size: 15px;
}

/* Animation Enhancements */
[data-aos="zoom-in"],
[data-aos="fade-up"] {
  transition-duration: 0.8s !important;
}

/* whishlist button  */
.wishlist-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--surface-color);
  border: 1.5px solid var(--border-default);
  border-radius: 50%;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
  z-index: 2;
}

.wishlist-btn i {
  color: var(--text-muted);
  font-size: 18px;
  transition: color 0.3s ease;
}

/* Hover: heart turns red, background stays white */
/* .wishlist-btn:hover {
  transform: scale(1.1);
} */

.wishlist-btn:hover i {
  color: var(--danger);
}

.wishlist-btn.active i {
  color: var(--danger);
}

/* When hovered while active: stays the same look */
.wishlist-btn.active:hover {
  background: var(--surface-color);
}

.wishlist-btn.active:hover i {
  color: var(--danger);
}

/* Optional: subtle pulse when liked */
@keyframes heartbeat {
  0%, 100% { transform: scale(1); }
  25%, 75% { transform: scale(1.25); }
  50% { transform: scale(1); }
}

/* for new flash icon */

.flash-icon {
  background-color: var(--text-body);
  color: var(--surface-color); 
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.flash-icon i {
  font-size: 18px;
}

.flash-sale-carousel-wrapper {
  overflow-x: auto;       
  padding-bottom: 20px;
  scrollbar-width: none;  
  padding-top: 20px;
}

.flash-sale-carousel-wrapper::-webkit-scrollbar {
  display: none;         
}

#flash-sale-carousel {
  display: flex;
  gap: 16px;
  flex-wrap: nowrap;      
}

.portfolio.section-bg div.container.aos-init.aos-animate div.flash-sale-carousel-wrapper div#flash-sale-carousel div.col-lg-3.col-md-6.portfolio-item {
flex: 0 0 calc((100% / 4) - 12px);
  position: relative;
  width: 25%;
  padding-left: 12px;
  padding-right: 12px;              
}
@media (max-width: 991px) {
  .portfolio-item {
    flex: 0 0 50%;   
  }
}

@media (max-width: 575px) {
  .portfolio-item {
    flex: 0 0 100%;      
  }
}


.carousel-nav {
  position: relative;
  z-index: 10;
}

.carousel-control-btn {
  background-color: transparent;
  color: var(--text-dark);
  border: 1px solid var(--border-default);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: all 0.3s;
}

.carousel-control-btn:hover {
  background-color: var(--border-light);
}

.carousel-control-btn i {
  font-size: 1.2rem;
}

/* product footer style  */
.product-footer {
  border-top: none;
}

/* ===== Product Footer Divider (Darker) ===== */
.footer-divider {
  border: 0;
  border-top: 1px solid var(--border-dark);
  width: 100%;
  opacity: 0.9;
}

.product-footer .progress-bar {
  border-radius: 50px;
}

.product-footer small {
  font-size: 13px;
  color: var(--text-muted);
  white-space: nowrap;
}

/* most important  */

/* for todays deal section */

.product-block {
  display: none;
}

.product-block.visible {
  display: block;
}

/* duplicate for sale page  */

.contact-hero1 {
height: 534px;
  background: linear-gradient(135deg, var(--project-overlay), var(--project-overlay)), url("../img/banners/sale1.jpg") center/cover no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: var(--surface-color);
  position: relative;
  padding: 100px 0;
  background-position: center top;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.contact-hero1 .hero-content h1 {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--primary);
}

.contact-hero1 .hero-content p {
  font-size: 18px;
  opacity: 0.9;
}

/* new header change as amazon  */

/* General Header Styles */
.header {
  color: var(--surface-color);
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 1000;
  padding: 0;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1755px;
  padding: 0 20px;
}

/* Search Bar Section */

.header-search {
  flex-grow: 1;
  margin: 0 20px;
}

/* The form container, which now holds the single border */
.search-form {
  display: flex;
  height: 40px;
  border-radius: 4px;
  overflow: hidden; 
  border: 1px solid var(--border-default); 
}

/* Container for the dropdown */
.search-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
  background-color: var(--border-light);
  border-right: 1px solid var(--border-default);
  border-radius: 4px 0 0 4px;
  padding: 0 5px;
}

.search-dropdown select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-color: transparent;
  border: none;
  cursor: pointer;
  font-size: 14px;
  padding: 5px 20px 5px 5px; 
  width: auto; 
}


/* Add a custom icon for the dropdown arrow */
.search-dropdown::after {
  content: '\25BC'; 
  position: absolute;
  top: 50%;
  right: 6px; 
  transform: translateY(-50%) scale(0.6); 
  pointer-events: none; 
  color: var(--text-muted);
}


/* Style for the search input field */
.search-input {
  flex-grow: 1;
  padding: 0 15px;
  border: none; 
}

/* Style for the search button */
.search-button {
  background-color: var(--search-btn);
  border: none; 
  color: var(--text-dark);
  padding: 0 15px;
  cursor: pointer;
  border-radius: 0 4px 4px 0;
}

/* Container for all the header items */
.header-items {
  display: flex;
  align-items: flex-end;
  color: var(--text-dark); 
  margin-right: -201px;
  height: 50px;
}

.header-option.language-selector {
  display: flex;
  flex-direction: row;
  align-items: center; 
  padding: 0 5px;
  cursor: pointer;
  border: 1px solid transparent;
}

/* Common styles for each header option */
.header-option {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 50px;
  padding: 0 10px;
  margin-right: 15px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.2s;
  align-items: flex-start;
}

.header-option:hover {
  color: var(--text-dark);
}

/* Specific styles for the links */
.link-style {
  text-decoration: none;
  color: var(--text-dark);
}

/* Styling for the first line of text */
.option-line-1 {
  font-size: 14px;
  line-height: 14px;
}

/* Styling for the second line of text (bold) */
.option-line-2 {
  font-size: 16px;
  font-weight: 700;
  line-height: 15px;
}

/* Language selector styles */
.header-option .flag-icon {
  margin-right: 4px;
}

.header-option .language-text {
  font-size: 16px;
  font-weight: bold;
  color: var(--text-dark);
  margin-right: 2px; 
}

.header-option .bi-caret-down-fill {
  font-size: 10px;
  color: var(--text-dark);
  margin-bottom: -4px;
}

.header div.header-top div.header-container div.header-items div.header-option div.flag-icon img{
  margin-top: -11px;
}



/* Cart icon and text styles */
.cart-icon-container {
  position: relative;
  flex-direction: row;
  align-items: center;
}

.cart-icon-container .bi-cart {
  font-size: 30px;
  line-height: 30px;
  margin-right: 5px;
}

.cart-icon-container .cart-count {
  position: absolute;
top: -4px;
  left: 23px;
  font-size: 14px;
  font-weight: 700;
  color: var(--primary);
}

.cart-icon-container .cart-text {
  font-weight: 700;
  line-height: 14px;
}



/* Bottom Navigation */
.header-bottom {
  background-color: var(--header-bottom);
  height: 39px;
}

.category-toggle {
  background: none;
  border: none;
  cursor: pointer;
}

/* for the location part in header  */


.header-location {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 0 10px;
}

/* Style for the "Delivering to..." text */
.header-location .location-text {
  font-size: 14px;
  color: var(--text-dark);
  white-space: nowrap;
  margin-left: -15px;
}

/* Style for the "Update location" link */
.header-location .update-location {
  font-size: 14px;
  font-weight: bold;
  color: var(--text-dark);
  text-decoration: none;
  white-space: nowrap;
  margin-left: 21px;
}

/* Hover effect for the link */
.header-location .update-location:hover {
  color: var(--primary);
}

.location-icon {
display: inline-block;
  transform: translateY(19px);
  color: var(--text-dark);
  margin-left: 5px;
}

.header-location .delivery-info {
  margin-bottom: -5px; 
}

/* for the smooth effect on slider banner  */
.swiper-slide {
  backface-visibility: hidden;
  transform: translate3d(0, 0, 0);
}

.hero-content,
.hero-image,
.hero-cta,
.stat-card {
  transition: all 0.6s ease-in-out;
}

.swiper {
  position: relative;
  overflow: hidden;
  z-index: 1; /* ensures bullets appear above */
}

.swiper-slide {
  position: relative;
  z-index: 1;
}

.swiper-pagination {
position: relative !important;
  z-index: 2 !important;
  margin-top: 14px !important;
  margin-bottom: -5px;
  bottom: 0 !important;
}

/* for banner background height  */

.hero{
  padding: 120px 0 51px;
}



  /* for mobile view same as amazon */
  
.header div.header-top div.header-container div.header-top-row div.mobile-header-right, .header div.header-top div.header-container div.header-top-row button.mobile-menu-toggle{
  display: none;
}

/* option of header items will open for that  */

  .header-option {
    position: relative;
    cursor: pointer;
  }



  /* Dropdowns */
/* Modern and professional styling for dropdown menus with an arrow */
.dropdown {
position: absolute;
  top: 50px;
  left: 0;
  background-color: var(--surface-color);
  color: var(--text-dark);
  border: 1px solid var(--border-default);
  display: none;
  min-width: 221px;
    z-index: 100;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

/* Ensure the dropdowns appear with the new animations */
.language-selector:hover .language-dropdown,
.account-lists:hover .account-dropdown {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

/* Create the white triangle arrow using a pseudo-element */
.dropdown::before {
    content: '';
    position: absolute;
    top: -10px; 
    left: 20px; 
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid var(--surface-color); 
    z-index: 101; 
}

/* Create a smaller gray triangle for the border effect */
.dropdown::after {
    content: '';
    position: absolute;
    top: -11px; 
    left: 19px; 
    width: 0;
    height: 0;
    border-left: 11px solid transparent;
    border-right: 11px solid transparent;
    border-bottom: 11px solid var(--border-default); 
    z-index: 100;
}

/* Position the arrow for the language selector */
.language-selector .language-dropdown::before,
.language-selector .language-dropdown::after {
transform: translateX(-50%);
  margin-left: 36px;
}

/* Position the arrow for the account & lists dropdown */
.account-lists .account-dropdown::before,
.account-lists .account-dropdown::after {
    margin-left: 102px;
}

.dropdown a {
    transition: background-color 0.1s ease;
    display: block;
    padding: 12px 18px;
    text-decoration: none;
    color: black;
    font-size: 14px;
}

.dropdown a:hover {
    background-color: var(--border-light);
    color: var(--text-dark);
}

.bi-caret-down-fill {
    font-size: 10px;
    transition: transform 0.2s ease;
}

.language-selector:hover .bi-caret-down-fill,
.account-lists:hover .bi-caret-down-fill {
    transform: rotate(180deg);
}

/* Style for all dropdown links to create the empty circle */
.language-dropdown a {
    position: relative;
    padding-left: 30px; 
    display: flex;
    align-items: center;
}

.language-dropdown a::before {
    content: '';
    position: absolute;
    left: 10px;
    width: 16px;
    height: 16px;
    border: 2px solid var(--border-dark); 
    border-radius: 50%;
    box-sizing: border-box;
}

.language-dropdown a:first-child::after {
    content: '';
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background-color: var(--primary); 
    border-radius: 50%;
}

/*  below items of search bar is not showing */

.mobile-nav-links {
  display: none; 
}

/* new menu as amazon  */
.Jrockhub-menu {
  margin: 0;
  padding: 0;
  margin-left: 10px;
}

/* Chrome / Edge only */
@supports (-webkit-appearance: none) and (not (-moz-appearance: none)) {
  .Jrockhub-menu {
    margin-left: 0; 
  }
}


.Jrockhub-menu li a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 16px;
  text-decoration: none;
  color: var(--text-dark);
  font-size: 14px;
  padding: 16px 16px; 
}

.Jrockhub-menu li a:hover {
  background: var(--background-color);
}

.menu-section-title {
  font-weight: bold;
  color: var(--text-dark);
  padding: 10px 16px 6px;
  font-size: 15px;
  border-top: 1px solid var(--border-light);
}

.mobile-sidebar.sidebar-menu.active div.category-dropdown ul.Jrockhub-menu, .mobile-sidebar.sidebar-menu.active div.category-dropdown ul.Jrockhub-menu li.has-submenu ul.submenu.active{
  list-style: none;
}


/* Submenu styling */

.has-submenu > .submenu {
position: absolute;
  top: 0;
  left: 0;
  width: 280px;
  background: var(--surface-color);
  border-left: 1px solid var(--border-default);
  box-shadow: none;
  display: none;
  z-index: 10;
  padding: 0;
  margin-left: 258px;
  margin-right: 164px;
  transition: all 0.3s ease;
}

/* Show submenu when active (Amazon-style, not floating beside) */
.has-submenu > .submenu.active {
  display: block;
  transform: translateX(0);
}

/* Inner links look consistent with main menu */
.has-submenu > .submenu li a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 16px;
  text-decoration: none;
  color: var(--text-dark);
  font-size: 14px;
}

.has-submenu > .submenu li a:hover {
  background: var(--background-color);
}

/* Chevron icon styling (same as main menu) */
.has-submenu i {
  font-size: 12px;
  color: var(--text-muted);
  transition: transform 0.2s ease;
}

/* Rotate chevron when submenu open */
.has-submenu.open > a i {
  transform: rotate(90deg);
}

.hero-title .highlight-wrapper {
  display: inline-block;  
  margin-top: 5px;        
}

/* for menu items dropdown  */

  .navmenu .demo-dropdown ul {
    margin: 0;
    padding: 10px 0;
    background: var(--nav-dropdown-background-color);
    display: block;
    position: absolute;
    visibility: hidden;
    left: 14px;
    top: 130%;
    opacity: 0;
    transition: 0.3s;
    border-radius: 4px;
    z-index: 99;
    box-shadow: var(--shadow-sm);
  }

  .navmenu .demo-dropdown ul li {
    min-width: 200px;
  }

  .navmenu .demo-dropdown ul a {
    padding: 10px 20px;
    font-size: 15px;
    text-transform: none;
    color: var(--nav-dropdown-color);
  }

  .navmenu .demo-dropdown ul a i {
    font-size: 12px;
  }

  .navmenu .demo-dropdown ul a:hover,
  .navmenu .demo-dropdown ul .active:hover,
  .navmenu .demo-dropdown ul li:hover>a {
    color: var(--nav-dropdown-hover-color);
  }

  .navmenu .demo-dropdown:hover>ul {
    opacity: 1;
    top: 100%;
    visibility: visible;
  }

  .navmenu .demo-dropdown .demo-dropdown ul {
    top: 0;
    left: -90%;
    visibility: hidden;
  }

  .navmenu .demo-dropdown .demo-dropdown:hover>ul {
    opacity: 1;
    top: 0;
    left: -100%;
    visibility: visible;
  }

  /* in product p spacing  */

.portfolio.section .section-title p {
 margin-bottom: -51px; 
}

body > span[style*="white-space: nowrap"] {
  display: none !important;
}

/* for the sign in page */


.dropdown-heading {
  text-align: center;
  font-weight: bold;
  cursor: pointer;
}

/* Optional hover effect */
.dropdown-heading:hover {
  text-decoration: underline;
}

/* Divider style */
.dropdown-divider {
  border: none;
  border-top: 1px solid var(--border-default);
}

/* Dropdown items styling */
.account-dropdown a {
  display: block;
  padding: 10px 12px;
  text-decoration: none;
  color: var(--text-dark);
  font-size: 14px;
}

.account-dropdown a:hover {
  background-color: var(--background-color);
}

/* for location update  */

/* Popup Background */
.location-popup-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: var(--overlay-bg);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

/* Popup Card */
.location-popup {
  background: var(--surface-color);
  padding: 25px;
  width: 347px;
  border-radius: 8px;
  position: relative;
  animation: scaleFade 0.3s ease-in-out;
}

.popup-view.hidden {
  display: none;
}

.location-popup h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.location-popup input {
  width: 100%;
  padding: 12px;
  border-radius: 6px;
  border: 1px solid var(--border-dark);
  margin-top: 8px;
}

.signin-btn {
background: var(--search-btn);
  border: none;
  width: 100%;
  padding: 7px;
  border-radius: 31px;
}

.apply-btn {
  border-radius: 6px;
  margin-top: 8px;
}

.close-btn {
  position: absolute;
  right: 10px;
  top: 10px;
  font-size: 22px;
  cursor: pointer;
}

@keyframes scaleFade {
  from { opacity: 0; transform: scale(0.9); }
  to   { opacity: 1; transform: scale(1); }
}

/* Center text with horizontal line like Amazon */
.divider {
  text-align: center;
  margin: 15px 0;
  font-size: 13px;
  color: var(--text-muted);
  position: relative;
}

.divider::before,
.divider::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 30%;
  height: 1px;
  background-color: var(--border-default);
}

.divider::before {
  left: -25px;
}

.divider::after {
  right: -25px;
}

/* Pincode input + Apply button inline */
.pincode-row {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}

.pincode-row input {
  flex: 1;
  padding: 12px;
  border-radius: 6px;
  border: 1px solid var(--border-dark);
}

.pincode-row .apply-btn {
  width: 80px;
background: var(--search-btn);
  border: 1px solid var(--search-btn);
}

/* Popup top header bar */
.popup-header {
  background: var(--background-color);       
  padding: 14px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 6px 6px 0 0;   
  border-bottom: 1px solid var(--border-default);
  margin-left: -25px;
  width: 347px;
  margin-top: -25px;
}

/* Title text */
.popup-title {
font-size: 16px;
  font-weight: 700;

  margin-left: 12px;
}

/* Close button like Amazon */
.popup-close-btn {
  border: 1px solid var(--border-dark);
  background: var(--surface-color);
  border-radius: 8px;     
  width: 36px;
  height: 36px;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.2s;
}

/* Hover same as Amazon */
.popup-close-btn:hover {
  background: var(--background-color);
  border-color: var(--border-dark);
}

.location-popup {
  border-radius: 8px; 
  overflow: hidden;  
}
html body.index-page main.main div#locationPopup.location-popup-overlay div.location-popup p{
  margin-top: 21px;
  margin-bottom: 21px;
  font-size: 12px;
  line-height: 16px;
  font-weight: 500;
}

.pincode-row input,
.pincode-row .apply-btn {
padding: 4px 6px !important;
  height: 32px !important;
  line-height: 1 !important;
  min-height: 0 !important;
}

/* add to cart sidebar panel  */

.side-cart {
    position: fixed;
    top: 0;
    right: -380px;
    width: 350px;
    height: 100%;
    background: var(--surface-color);
    box-shadow: var(--shadow-sm);
    z-index: 9999;
    transition: 0.35s ease;
    display: flex;
    flex-direction: column;
}

.side-cart.open {
    right: 0;
}

.side-cart-header,
.side-cart-footer {
    padding: 15px;
    border-bottom: 1px solid var(--border-light);
}

.side-cart-items {
    overflow-y: auto;
    padding: 15px;
    flex: 1;
}

.cart-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 10px;
}

.cart-item img {
    width: 70px;
    margin-right: 10px;
}

.qty-box {
    display: flex;
    align-items: center;
    gap: 10px;
}

.qty-box button {
    border: 1px solid var(--border-default);
    background: var(--surface-color);
    width: 28px;
    height: 28px;
    border-radius: 50%;
}

.close-btn {
    font-size: 24px;
    background: none;
    border: none;
}

html body.index-page header#header.header header.header-top.border-bottom div.container-fluid.px-0 


div.row.align-items-center.py-2 div.col-8.col-lg-2.text-center{
  width: 14.667%;
}

/* for the hedaer bottom  */


.navmenu ul {
  display: flex;




  flex-wrap: nowrap;
  overflow: hidden;
}

.header-top-row{
  display: none;
}

@media (max-width: 767px) {
  .header-top-row{
  display: flex;
}
}

@media (max-width: 767px) {

  .location-mobile {
    padding-left: 0;   
    padding-right: 0;
  }
}

/* extra  */

  .navmenu {
    height: 41px;
  }

/* for header bottom  */

@media (min-width: 768px) {
  .header-bottom {
    overflow: hidden;
  }

  .navmenu ul {
    display: flex;
    flex-wrap: nowrap;
    white-space: nowrap;
    align-items: center;
  }

  .navmenu > ul > li {
    flex: 0 0 auto;
  }
}

/* for home icon  */

.nav-link i {
  font-size: 20px !important;
  color: var(--text-dark);
}

/* for wishlist popup  */

/* Center the header text */
#wishlistModal .modal-header h5 {
    margin: 0 auto;       
    flex: 1;              
}

.modal-header{
  background: var(--border-light);
}

.modal-body {
  padding: 24px;
}

.modal-body label{
  margin-bottom: 5px;
}

.modal-body p{
  margin-top: 5px;
}

.modal-footer button.btn{
  border-radius: 34px;
  width: 131px;
  padding: 6px;
}

/* for breadcrumb */

.breadcrumbs__crumb {
    display: inline-block;
    list-style: none;
    margin-right: .2em;
}

.breadcrumbs__crumb--divider {
    color: var(--text-muted);
    position: relative;
    top: -.1em;
}



.a-section.a-spacing-medium.a-spacing-top-small ul.breadcrumbs li.breadcrumbs__crumb.breadcrumbs__crumb--current span.a-color-state{
    color: var(--primary);
}

/* .a-section.a-spacing-medium.a-spacing-top-small ul.breadcrumbs,
.a-section.a-spacing-medium.a-spacing-top-small ul.breadcrumbs {
    padding-left: 1rem;
} */

/* for validation  */

label.error {
display: block;
  color: var(--danger);
  font-size: 14px !important;
  margin-bottom: 10px;
  font-weight: 500;
}

/* banner image photo  */

.banner-img {
    width: 100%;
    height: auto;
    object-fit: cover; /* maintains aspect ratio, fills container */
}

.sponsored-text {
  margin-top: 4px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
}

.sponsored-text .info-icon {
  font-size: 13px;
  cursor: pointer;
  line-height: 1
}

/* for not showing  */
.hero-content p.hero-subtext{
  display: none;
}

.stat-card{
    display: none !important;
}

#hero-slider .container {
  max-width: 1000px;
}

#hero-slider .row {
  justify-content: center;
  --bs-gutter-x: 16px;
}

.hero-content {
  width: 545px;
}

.hero-image {
  display: flex;
  justify-content: center;
}


.hero-image img {
  max-width: 350px;
  width: 100%;
}

@media (max-width: 992px) {
  .hero-content,
  .hero-image {
    text-align: center;
    width: auto;
  }
}

/* common global  */

/* for the all adress  */

.addresses {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 20px;
}
.address-card {
  border: 1px solid var(--border-default);
  border-radius: 8px;
  padding: 16px;
  background: var(--surface-color);
  min-height: 260px;
  position: relative;
  display: flex;
  flex-direction: column;

  box-shadow: var(--shadow-md);

}

.address-card .actions {
  margin-top: auto;      /* pushes actions to bottom */
  padding-top: 10px;
  font-size: 14px;
}

.add-address {
  border: 2px dashed var(--border-dark);
  border-radius: 8px;
  min-height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 30px;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  transition: border-color 0.2s ease;
}


  .address-card h3 {
    margin: 0 0 5px 0;
    font-size: 18px;
    font-weight: 700;
  }
  .address-card p {
    margin: 3px 0;
    font-size: 15px;
    color: var(--text-body);
  }
  .address-card a {
    color: var(--link-color);
    text-decoration: none;
    font-size: 14px;
    margin-right: 5px;
  }

  /* for no result  */
/* Wrapper stays same design */
.no-results-wrapper {
  max-width: 800px;
  margin: 0 auto;
  width: 100%;
}

/* Icon style */
.no-results-icon {
  font-size: 64px;
  color: var(--default-color);
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .no-results-wrapper {
    margin: 40px auto;
  }

  .no-results-icon {
    font-size: 48px;
  }
}

/* for the header location  */

.delivery-info{
    display: flex;
    gap: 15px;
}

.location-icon{
    margin-top: -4px; /* pushes icon to second line */
}

/* for the alert box css  */

/* overlay */
.custom-alert-overlay{
  position: fixed;
  inset:0;
  background: var(--project-overlay);
  display:flex;
  align-items:center;
  justify-content:center;
  z-index:99999;
  opacity:0;
  visibility:hidden;
  transition:all .25s ease;
}

/* show state */
.custom-alert-overlay.active{
  opacity:1;
  visibility:visible;
}

/* alert box */
.custom-alert-box{
  background:var(--surface-color);
  padding:28px 30px;
  width:360px;
  border-radius:14px;
  text-align:center;
  box-shadow:0 20px 40px var(--shadow-md);
  transform:scale(.9);
  transition:all .25s ease;
  font-family:Arial, Helvetica, sans-serif;
}

.custom-alert-overlay.active .custom-alert-box{
  transform:scale(1);
}

/* icon */
.alert-icon{
  font-size:34px;
  margin-bottom:10px;
  color:var(--primary);
}

/* message */
.alert-message{
  font-size:15px;
  color:var(--text-body);
  margin-bottom:20px;
  line-height:1.4;
}

/* button */
.alert-btn{
  background:var(--btn-primary-bg);
  border:none;
  padding:10px 26px;
  border-radius:8px;
  color:var(--text-dark);
  font-size:14px;
  cursor:pointer;
  transition:.2s;
}

.alert-btn:hover{
  background:var(--btn-primary-hover);
}

/* for cinfirm  */

.confirm-buttons{
  display:flex;
  justify-content:center;
  gap:10px;
}

.cancel-btn{
  background:var(--border-dark);
}

.cancel-btn:hover{
  background:var(--border-dark);
}

/* for the search suggestions  */

.search-wrapper {
  position: relative;   /* MOVE relative HERE */
  width: 100%;
  display: flex;
  justify-content: center;
}

.search-input {
  flex: 1;
  min-width: 0;
}

.search-suggestions {
  position: absolute;

  top: 100%;
  
  left: 50%;
  transform: translateX(-50%);   /* centers under search bar */

  width: 100%;              /* SAME as search bar */

  background: #fff;
  border: 1px solid #ddd;
  border-top: none;

  z-index: 9999;

  max-height: 350px;
  overflow-y: auto;

  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* Common style for items (history + suggestion) */
#searchSuggestions .suggestion-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  cursor: pointer;
  transition: background 0.2s;
}

/* Parent item */
#searchSuggestions .history-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  cursor: pointer;
  font-size: 16px; /* normal text size */
}

/* Text part stays normal */
#searchSuggestions .history-text {
  flex-grow: 1;
  font-size: 16px; /* text size */
  font-weight: 700;
  color: #333;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Clear icon independent size */
#searchSuggestions .history-clear {
  display: inline-flex;   /* use inline-flex */
  align-items: center;
  justify-content: center;
  font-size: 24px;        /* big icon size */
  line-height: 1;          /* aligns vertically */
  flex-shrink: 0;          /* prevents shrinking */
  margin-left: 10px;
  color: #888;
  cursor: pointer;
  transition: color 0.2s;
}

#searchSuggestions .history-clear:hover {
  color: #ff4d4f;
}
.suggestion-item:hover {
  background: #f5f5f5;
}

.suggestion-img {
  width: 50px;
  height: 50px;
  object-fit: cover;
}

.suggestion-details {
  flex: 1;
}

.suggestion-title {
  font-size: 14px;
  color: #333;
}

.suggestion-price {
  font-weight: bold;
  font-size: 13px;
  color: var(--text-dark);
}

/* for sell page  */

.sell-content section {
  margin-bottom: 50px;
}

.sell-hero {
  padding: 40px 0;
}

.benefit-card {
  padding: 20px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.sell-cta {
  padding: 40px;
  background: #0d6efd;
  color: #fff;
}

#header.header header.header-top div.container-fluid.px-3 div.row.align-items-center.py-1{
  padding-top: 2px !important;
  padding-bottom: 2px !important;
}

/* for common header */

#header-placeholder {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 9999;
}
body {
    padding-top: 100px; 
} 

/* for data loading spinner  */

.product-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-loader {
  position: absolute;
  inset: 0;
  background: var(--background-color);
  z-index: 2;
}

