/* ============================================
   PrimeSoil Global LLP — Custom Styles
   Premium Spices Export Company
   ============================================ */

/* ---------- Smooth Scroll & Base ---------- */
html,
body {
  overflow-x: hidden !important;
  max-width: 100% !important;
  position: relative;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
  font-size: 16px;
}

@media (min-width: 1024px) {
  html {
    font-size: 15px;
  }
}

@media (min-width: 1536px) {
  html {
    font-size: 15.5px;
  }
}

body {
  overflow-x: hidden;
}

/* Georgia font style exclusively for the ampersand character */
.amp {
  font-family: Georgia, 'Times New Roman', serif !important;
  font-style: italic !important;
}

/* ---------- Glassmorphism Utilities ---------- */
.glass {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.glass-dark {
  background: rgba(27, 54, 93, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.glass-card {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 8px 32px rgba(27, 54, 93, 0.08);
}

.glass-copper {
  background: rgba(184, 115, 51, 0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(184, 115, 51, 0.2);
}

/* ---------- Navbar ---------- */
.navbar {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  z-index: 50 !important;
  background-color: #ffffff;
  transition: box-shadow 0.3s ease;
}

.navbar.scrolled {
  background-color: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.navbar.scrolled .nav-link {
  color: #1B365D;
}

.nav-link {
  position: relative;
  transition: color 0.3s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #B87333, #d4944a);
  border-radius: 2px;
  transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}



/* ---------- Section Animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: opacity, transform;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-60px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: opacity, transform;
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(60px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: opacity, transform;
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Prevent horizontal off-screen displacement on mobile viewports */
@media (max-width: 768px) {

  .reveal-left,
  .reveal-right {
    transform: translateY(30px);
  }
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.85);
  transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-scale.visible {
  opacity: 1;
  transform: scale(1);
}

/* Stagger children */
.stagger-children>*:nth-child(1) {
  transition-delay: 0.05s;
}

.stagger-children>*:nth-child(2) {
  transition-delay: 0.1s;
}

.stagger-children>*:nth-child(3) {
  transition-delay: 0.15s;
}

.stagger-children>*:nth-child(4) {
  transition-delay: 0.2s;
}

.stagger-children>*:nth-child(5) {
  transition-delay: 0.25s;
}

.stagger-children>*:nth-child(6) {
  transition-delay: 0.3s;
}

.stagger-children>*:nth-child(7) {
  transition-delay: 0.35s;
}

.stagger-children>*:nth-child(8) {
  transition-delay: 0.4s;
}

/* ---------- Keyframe Animations ---------- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-12px);
  }
}

@keyframes pulse-glow {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(184, 115, 51, 0.4);
  }

  50% {
    box-shadow: 0 0 20px 8px rgba(184, 115, 51, 0.15);
  }
}

@keyframes shimmer {
  0% {
    background-position: -200% center;
  }

  100% {
    background-position: 200% center;
  }
}

@keyframes spin-slow {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes count-up {
  from {
    opacity: 0;
    transform: scale(0.5);
  }

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

@keyframes slide-in-right {
  from {
    transform: translateX(100%);
    opacity: 0;
  }

  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes gradient-shift {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

@keyframes border-dance {
  0% {
    border-image-source: linear-gradient(0deg, #1B365D, #B87333);
  }

  50% {
    border-image-source: linear-gradient(180deg, #1B365D, #B87333);
  }

  100% {
    border-image-source: linear-gradient(360deg, #1B365D, #B87333);
  }
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* Animation Utilities */
.animate-float {
  animation: float 4s ease-in-out infinite;
}

.animate-pulse-glow {
  animation: pulse-glow 2.5s ease-in-out infinite;
}

.animate-shimmer {
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  background-size: 200% 100%;
  animation: shimmer 2s infinite;
}

.animate-spin-slow {
  animation: spin-slow 20s linear infinite;
}

.animate-gradient {
  background-size: 200% 200%;
  animation: gradient-shift 4s ease infinite;
}

.animate-marquee {
  animation: marquee 30s linear infinite;
}

/* ---------- Product Cards ---------- */
.product-card {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px -5px rgba(27, 54, 93, 0.08), 0 8px 10px -6px rgba(27, 54, 93, 0.04);
}

.product-card .card-image {
  overflow: hidden;
}

.product-card:hover .card-image img {
  transform: scale(1.03);
}

.product-card .card-image img {
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card .card-overlay {
  opacity: 0;
  transition: opacity 0.4s ease;
}

.product-card:hover .card-overlay {
  opacity: 1;
}

/* Category Card */
.category-card {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  cursor: pointer;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.category-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(27, 54, 93, 0.9) 100%);
  z-index: 1;
  transition: all 0.5s ease;
}

.category-card:hover::before {
  background: linear-gradient(180deg, rgba(184, 115, 51, 0.2) 0%, rgba(27, 54, 93, 0.95) 100%);
}

.category-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 25px 60px rgba(27, 54, 93, 0.2);
}

.category-card img {
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.category-card:hover img {
  transform: scale(1.12);
}

.category-card .card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  padding: 24px;
  transform: translateY(20px);
  transition: transform 0.5s ease;
}

.category-card:hover .card-content {
  transform: translateY(0);
}

/* ---------- Process Timeline ---------- */
.process-step {
  position: relative;
}

.process-step::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #E8EDF5, #B87333, #E8EDF5);
  z-index: 0;
}

@media (max-width: 768px) {
  .process-step::before {
    display: none;
  }
}

.process-icon {
  position: relative;
  z-index: 1;
  transition: all 0.4s ease;
}

.process-icon:hover {
  transform: scale(1.15) rotate(5deg);
  box-shadow: 0 12px 40px rgba(184, 115, 51, 0.25);
}

/* ---------- World Map ---------- */
.map-container {
  position: relative;
}

.map-dot {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #B87333;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 2;
}

.map-dot::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(184, 115, 51, 0.4);
  animation: pulse-glow 2s ease-in-out infinite;
}

.map-dot:hover {
  transform: scale(1.5);
  background: #1B365D;
}

.map-dot .tooltip {
  position: absolute;
  bottom: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) scale(0.8);
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.map-dot:hover .tooltip {
  transform: translateX(-50%) scale(1);
  opacity: 1;
}

/* ---------- Stats Counter ---------- */
.stat-number {
  font-variant-numeric: tabular-nums;
  transition: all 0.3s ease;
}

/* ---------- FAQ Accordion ---------- */
.faq-section {
  width: 100%;
}

.faq-container {
  width: 100%;
}

.faq-item {
  border-bottom: 1px solid #e2e8f0;
  background-color: transparent;
  transition: all 0.3s ease;
}

.faq-item:first-child {
  border-top: 1px solid #e2e8f0;
}

.faq-question {
  cursor: pointer;
  padding: 1.5rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
  transition: all 0.3s ease;
}

.faq-question:hover .faq-title {
  color: #B87333;
}

.faq-title {
  font-family: 'Inter', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #1B365D;
  transition: color 0.3s ease;
}

@media (min-width: 768px) {
  .faq-title {
    font-size: 1.2rem;
  }
}

/* Custom + / - Morphing Icon */
.faq-toggle-icon {
  position: relative;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #B87333;
  flex-shrink: 0;
  margin-left: 1rem;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-toggle-icon::before,
.faq-toggle-icon::after {
  content: '';
  position: absolute;
  background-color: currentColor;
  border-radius: 2px;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
}

/* Horizontal bar */
.faq-toggle-icon::before {
  width: 16px;
  height: 2.5px;
}

/* Vertical bar */
.faq-toggle-icon::after {
  width: 2.5px;
  height: 16px;
}

.faq-item.active .faq-toggle-icon {
  transform: rotate(180deg);
  color: #B87333;
}

.faq-item.active .faq-toggle-icon::after {
  transform: rotate(90deg) scale(0.5);
  opacity: 0;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease, padding 0.3s ease;
  color: #475569;
  font-size: 1rem;
  line-height: 1.7;
  padding: 0;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  opacity: 1;
  padding-bottom: 1.5rem;
}

/* ---------- Testimonial Carousel ---------- */
.testimonial-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}

.testimonial-track.dragging {
  transition: none !important;
}

.testimonial-card {
  min-width: 100%;
  padding: 0 12px;
}

@media (min-width: 768px) {
  .testimonial-card {
    min-width: 50%;
    padding: 0 14px;
  }
}

@media (min-width: 1024px) {
  .testimonial-card {
    min-width: 33.333%;
    padding: 0 16px;
  }
}

.testimonial-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.testimonial-dot {
  width: 10px;
  height: 10px;
  border-radius: 9999px;
  background-color: #CBD5E1;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-dot:hover {
  background-color: #D97706;
}

.testimonial-dot.active {
  width: 32px;
  height: 10px;
  background-color: #D97706;
  border-radius: 9999px;
}

/* ---------- Logo Carousel ---------- */
.logo-track {
  display: flex;
  width: max-content;
  animation: marquee 30s linear infinite;
}

.logo-track:hover {
  animation-play-state: paused;
}

/* ---------- Product Badge ---------- */
.badge-bestseller {
  background: linear-gradient(135deg, #B87333, #d4944a);
  color: white;
}

.badge-new {
  background: linear-gradient(135deg, #059669, #34d399);
  color: white;
}

.badge-featured {
  background: linear-gradient(135deg, #1B365D, #2d5a9e);
  color: white;
}

/* ---------- Image Zoom ---------- */
.zoom-container {
  overflow: hidden;
  cursor: crosshair;
}

.zoom-container img {
  transition: transform 0.3s ease;
  transform-origin: var(--zoom-x, center) var(--zoom-y, center);
}

.zoom-container:hover img {
  transform: scale(2);
}

/* ---------- Search Overlay ---------- */
.search-overlay {
  position: fixed;
  inset: 0;
  background: rgba(27, 54, 93, 0.95);
  backdrop-filter: blur(20px);
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.search-overlay.active {
  opacity: 1;
  pointer-events: all;
}

/* ---------- Mobile Menu & Overlay ---------- */
.mobile-menu {
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu.active {
  transform: translateX(0) !important;
}

.menu-overlay {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.menu-overlay.active {
  opacity: 1 !important;
  pointer-events: auto !important;
}


/* ---------- Buttons ---------- */
.btn-primary {
  background: linear-gradient(135deg, #1B365D, #2d5a9e);
  color: white;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  border-radius: 6px !important;
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #B87333, #d4944a);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.btn-primary:hover::before {
  opacity: 1;
}

.btn-primary span,
.btn-primary i,
.btn-primary svg {
  position: relative;
  z-index: 1;
  transition: transform 0.2s ease;
}

.btn-primary:hover i,
.btn-primary:hover svg {
  transform: translateX(3px);
}

.btn-copper {
  background: linear-gradient(135deg, #B87333, #d4944a);
  color: white;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  border-radius: 6px !important;
}

.btn-copper::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #1B365D, #2d5a9e);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.btn-copper:hover::before {
  opacity: 1;
}

.btn-copper span,
.btn-copper i,
.btn-copper svg {
  position: relative;
  z-index: 1;
  transition: transform 0.2s ease;
}

.btn-copper:hover i,
.btn-copper:hover svg {
  transform: translateX(3px);
}

.about-cta-btn {
  width: 210px;
  min-height: 44px;
  box-sizing: border-box;
}

@media (max-width: 639px) {
  .about-cta-btn {
    width: 100% !important;
  }
}

.btn-outline {
  border: 2px solid white;
  color: white;
  transition: all 0.3s ease;
  border-radius: 6px !important;
}

.btn-outline:hover {
  background: white;
  color: #1B365D;
}

/* ---------- Gradient Text ---------- */
.gradient-text {
  background: linear-gradient(135deg, #1B365D, #B87333);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---------- Section Divider ---------- */
.section-divider {
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, #1B365D, #B87333);
  border-radius: 2px;
  margin: 15px auto 0 auto !important;
}

/* ---------- Back to Top ---------- */
.back-to-top {
  position: fixed;
  bottom: 88px;
  right: 22px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1B365D 0%, #0f2240 100%);
  color: white;
  border: 2px solid rgba(184, 115, 51, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: opacity 0.35s ease, transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.35s ease, background 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  z-index: 50;
  box-shadow: 0 4px 18px rgba(27, 54, 93, 0.3);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Hide when contact FAB menu is open */
.back-to-top.fab-hidden {
  opacity: 0 !important;
  visibility: hidden !important;
  transform: translateY(12px) scale(0.85) !important;
  pointer-events: none !important;
}

.back-to-top:hover {
  background: linear-gradient(135deg, #B87333 0%, #9a6129 100%);
  color: white;
  border-color: rgba(184, 115, 51, 0.8);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(184, 115, 51, 0.35);
}

.back-to-top i,
.back-to-top svg {
  transition: transform 0.2s ease;
  width: 18px;
  height: 18px;
}

.back-to-top:hover i,
.back-to-top:hover svg {
  transform: translateY(-2px);
}

/* ---------- Floating Contact FAB Widget ---------- */
.contact-fab {
  position: fixed;
  bottom: 24px;
  right: 22px;
  z-index: 55;
  display: flex;
  flex-direction: column;
  align-items: center;
  pointer-events: none;
}

/* Main toggle button */
.contact-fab-toggle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1B365D 0%, #0f2240 100%);
  color: white;
  border: 2px solid rgba(184, 115, 51, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  z-index: 10;
  pointer-events: auto;
  box-shadow: 0 4px 18px rgba(27, 54, 93, 0.3), 0 0 0 0 rgba(184, 115, 51, 0);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  animation: contactFabPulse 3s ease-in-out infinite;
}

.contact-fab-toggle:hover {
  transform: scale(1.08);
  box-shadow: 0 8px 30px rgba(27, 54, 93, 0.45);
  animation: none;
}

.contact-fab.open .contact-fab-toggle {
  background: linear-gradient(135deg, #B87333 0%, #9a6129 100%);
  border-color: rgba(184, 115, 51, 0.8);
  animation: none;
  transform: rotate(0deg);
}

/* Subtle pulse glow animation */
@keyframes contactFabPulse {

  0%,
  100% {
    box-shadow: 0 6px 24px rgba(27, 54, 93, 0.35), 0 0 0 0 rgba(184, 115, 51, 0.3);
  }

  50% {
    box-shadow: 0 6px 24px rgba(27, 54, 93, 0.35), 0 0 0 8px rgba(184, 115, 51, 0);
  }
}

/* Rotating icons container inside toggle */
.contact-fab-icons {
  position: relative;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-fab-icon {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.5) rotate(-30deg);
  transition: opacity 0.4s ease, transform 0.4s ease;
  pointer-events: none;
}

.contact-fab-icon.active {
  opacity: 1;
  transform: scale(1) rotate(0deg);
}

/* Close icon */
.contact-fab-close {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: rotate(-90deg) scale(0.5);
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
  width: 100%;
  height: 100%;
}

.contact-fab.open .contact-fab-icons {
  opacity: 0;
  transform: scale(0.5) rotate(30deg);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.contact-fab.open .contact-fab-close {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}

/* Expanded menu (vertical stack above toggle) */
.contact-fab-menu {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  pointer-events: none;
}

.contact-fab.open .contact-fab-menu {
  pointer-events: auto;
}

/* Individual contact items */
.contact-fab-item {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  opacity: 0;
  transform: translateY(16px) scale(0.6);
  transition: opacity 0.3s ease, transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  pointer-events: none;
}

.contact-fab.open .contact-fab-item {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

/* Staggered animation delays (bottom-up: Viber first, then Telegram, then WhatsApp) */
.contact-fab.open .contact-fab-item:nth-child(3) {
  transition-delay: 0.05s;
}

.contact-fab.open .contact-fab-item:nth-child(2) {
  transition-delay: 0.12s;
}

.contact-fab.open .contact-fab-item:nth-child(1) {
  transition-delay: 0.19s;
}

/* Closing: reverse stagger */
.contact-fab:not(.open) .contact-fab-item:nth-child(1) {
  transition-delay: 0.02s;
}

.contact-fab:not(.open) .contact-fab-item:nth-child(2) {
  transition-delay: 0.08s;
}

.contact-fab:not(.open) .contact-fab-item:nth-child(3) {
  transition-delay: 0.14s;
}

.contact-fab-item:hover {
  transform: translateY(-2px) scale(1.1) !important;
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.25);
}

/* Brand colors */
.contact-fab-whatsapp {
  background: #25D366;
}

.contact-fab-telegram {
  background: #0088CC;
}

.contact-fab-viber {
  background: #7360F2;
}

/* Tooltip labels */
.contact-fab-item::before {
  content: attr(title);
  position: absolute;
  right: calc(100% + 10px);
  top: 50%;
  transform: translateY(-50%);
  background: #1B365D;
  color: white;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  letter-spacing: 0.02em;
}

.contact-fab-item:hover::before {
  opacity: 1;
}

/* Mobile adjustments */
@media (max-width: 767px) {
  .contact-fab {
    bottom: 16px;
    right: 16px;
  }

  .contact-fab-toggle {
    width: 38px;
    height: 38px;
  }

  .contact-fab-item {
    width: 38px;
    height: 38px;
  }

  .contact-fab-menu {
    gap: 8px;
    margin-bottom: 8px;
  }

  /* Hide tooltip on mobile */
  .contact-fab-item::before {
    display: none;
  }
}

/* ---------- Form Styles ---------- */
.form-input {
  transition: all 0.3s ease;
  border: 2px solid #E8EDF5;
}

.form-input:focus {
  border-color: #B87333;
  box-shadow: 0 0 0 4px rgba(184, 115, 51, 0.1);
  outline: none;
}

.form-input::placeholder {
  color: #94a3b8;
}

/* ---------- Tabs ---------- */
.tab-btn {
  position: relative;
  transition: all 0.3s ease;
}

.tab-btn.active {
  color: #B87333;
}

.tab-btn.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: #B87333;
  border-radius: 1px;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
  animation: fadeInUp 0.4s ease;
}

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.lightbox.active {
  opacity: 1;
  pointer-events: all;
}

/* ---------- Pagination ---------- */
.page-btn {
  transition: all 0.3s ease;
}

.page-btn.active {
  background: linear-gradient(135deg, #1B365D, #2d5a9e);
  color: white;
  box-shadow: 0 4px 15px rgba(27, 54, 93, 0.3);
}

.page-btn:hover:not(.active) {
  background: rgba(184, 115, 51, 0.1);
  color: #B87333;
}

/* ---------- Wishlist Heart ---------- */
.wishlist-btn {
  transition: all 0.3s ease;
}

.wishlist-btn:hover,
.wishlist-btn.active {
  color: #ef4444;
  transform: scale(1.2);
}

.wishlist-btn.active {
  animation: pulse-glow 0.6s ease;
}

/* ---------- Loading Skeleton ---------- */
.skeleton {
  background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 50%, #f1f5f9 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 8px;
}

/* ---------- Responsive Tweaks ---------- */
@media (max-width: 768px) {
  .back-to-top {
    bottom: 70px;
    right: 16px;
    width: 38px;
    height: 38px;
  }

  .back-to-top i,
  .back-to-top svg {
    width: 16px;
    height: 16px;
  }
}

/* ---------- Print Styles ---------- */
@media print {

  .navbar,
  .back-to-top,
  .mobile-menu,
  .search-overlay {
    display: none !important;
  }
}

/* ---------- Global Export Network Map ---------- */
.export-map-wrapper {
  position: relative;
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
}

.export-arc {
  stroke-dasharray: 6 6;
  animation: arcDash 35s linear infinite;
}

@keyframes arcDash {
  from {
    stroke-dashoffset: 500;
  }

  to {
    stroke-dashoffset: 0;
  }
}

.map-pin {
  position: absolute;
  transform: translate(-50%, -50%);
  cursor: pointer;
  z-index: 10;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), z-index 0.2s;
}

.map-pin:hover,
.map-pin.active {
  z-index: 50;
  transform: translate(-50%, -50%) scale(1.15);
}

.map-pin-pulse {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 28px;
  height: 28px;
  margin-top: -14px;
  margin-left: -14px;
  border-radius: 50%;
  background: rgba(250, 204, 21, 0.45);
  animation: pinPulse 2s infinite ease-out;
  pointer-events: none;
}

.map-pin-origin .map-pin-pulse {
  width: 44px;
  height: 44px;
  margin-top: -22px;
  margin-left: -22px;
  background: rgba(2, 132, 199, 0.45);
  animation: originPulse 1.8s infinite ease-out;
}

@keyframes pinPulse {
  0% {
    transform: scale(0.4);
    opacity: 1;
  }

  100% {
    transform: scale(1.8);
    opacity: 0;
  }
}

@keyframes originPulse {
  0% {
    transform: scale(0.3);
    opacity: 1;
  }

  100% {
    transform: scale(2.2);
    opacity: 0;
  }
}

.map-tooltip {
  position: absolute;
  top: calc(100% + 10px);
  bottom: auto;
  left: 50%;
  transform: translateX(-50%) scale(0.88);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  width: max-content;
  min-width: 140px;
  max-width: 200px;
  z-index: 60;
}

.map-pin:hover .map-tooltip,
.map-pin.active .map-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) scale(1) translateY(2px);
  pointer-events: auto;
}

.map-tooltip::after {
  content: '';
  position: absolute;
  bottom: 100%;
  top: auto;
  left: 50%;
  transform: translateX(-50%);
  border-width: 7px;
  border-style: solid;
  border-color: transparent transparent #ffffff transparent;
}

/* ---------- Mobile Map Tooltip Compact Layout (< 768px) ---------- */
@media (max-width: 767px) {
  .map-tooltip {
    min-width: 90px !important;
    max-width: 130px !important;
    padding: 4px 6px !important;
    border-radius: 6px !important;
    top: calc(100% + 4px) !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12) !important;
  }

  .map-tooltip::after {
    border-width: 4px !important;
  }

  .map-tooltip .country-logo-box {
    width: 14px !important;
    height: 14px !important;
    font-size: 7.5px !important;
  }

  .map-tooltip .country-title,
  .map-tooltip h5 {
    font-size: 9px !important;
    line-height: 1.1 !important;
  }

  .map-tooltip .hq-badge {
    font-size: 6.5px !important;
    padding: 1px 2.5px !important;
    border-radius: 2px !important;
  }

  .map-tooltip .cities-container {
    margin-top: 2px !important;
    padding-top: 2px !important;
  }

  .map-tooltip .cities-label {
    font-size: 6.5px !important;
    letter-spacing: 0.03em !important;
    margin-bottom: 1.5px !important;
  }

  .map-tooltip .city-item,
  .map-tooltip li {
    font-size: 7.5px !important;
    line-height: 1.15 !important;
    gap: 2.5px !important;
  }

  .map-tooltip .city-dot {
    width: 3px !important;
    height: 3px !important;
  }

  .map-tooltip .hub-desc,
  .map-tooltip p {
    font-size: 7.5px !important;
    line-height: 1.1 !important;
    margin-top: 1px !important;
  }
}


/* ---------- Mobile Product Carousel (2 per frame) ---------- */
.mobile-product-track {
  display: flex;
  will-change: transform;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.mobile-product-dots button {
  cursor: pointer;
  border: none;
  outline: none;
}

.mobile-product-dots button.active {
  width: 1.25rem;
  background-color: #B87333;
}

/* Custom Hide Scrollbar Utility */
.no-scrollbar::-webkit-scrollbar {
  display: none;
}

.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* ---------- Mobile Drawer & Dark Overlay Backdrop ---------- */
.mobile-menu.active {
  transform: translateX(0) !important;
}

.menu-overlay {
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.menu-overlay.active {
  opacity: 1 !important;
  pointer-events: auto !important;
}


/* ---------- Industries We Serve Base Layout ---------- */
.industry-grid {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  gap: 1rem !important;
  max-width: 1360px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.industry-card {
  width: calc(50% - 0.5rem) !important;
  flex: 0 0 calc(50% - 0.5rem) !important;
  box-sizing: border-box !important;
}

@media (min-width: 1024px) {
  .industry-grid {
    gap: 1.25rem !important;
  }

  .industry-card {
    width: calc(25% - 1rem) !important;
    flex: 0 0 calc(25% - 1rem) !important;
  }
}

/* ---------- Why Choose Us: Mobile/Tablet Image Collage (visible below lg) ---------- */
@media (max-width: 1023px) {
  .mobile-why-collage {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    grid-template-rows: minmax(0, 1fr) !important;
    gap: 0.625rem !important;
    margin-bottom: 1.5rem !important;
    overflow: hidden !important;
    height: 300px !important;
  }

  /* Both direct children: constrain to grid cell */
  .mobile-why-collage>* {
    min-height: 0 !important;
    max-height: 100% !important;
    overflow: hidden !important;
    height: 100% !important;
  }

  /* Left tall image container */
  .mobile-why-collage>div:first-child {
    height: 100% !important;
    border-radius: 0.75rem !important;
  }

  /* Right stacked column */
  .mobile-why-collage>.flex.flex-col {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.625rem !important;
    min-height: 0 !important;
    height: 100% !important;
  }

  .mobile-why-collage>.flex.flex-col>div {
    flex: 1 1 0% !important;
    height: 0 !important;
    min-height: 0 !important;
    overflow: hidden !important;
    border-radius: 0.75rem !important;
  }

  /* All images inside collage */
  .mobile-why-collage img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
  }
}

/* ---------- Mobile Only Viewport Tweaks (< 768px) ---------- */
@media (max-width: 767px) {
  #about h2 {
    font-size: 1.5rem !important;
    line-height: 1.25 !important;
    margin-bottom: 0.75rem !important;
  }

  #about p {
    font-size: 0.8125rem !important;
    line-height: 1.55 !important;
    margin-bottom: 1rem !important;
  }

  #about .grid.sm\:grid-cols-2 {
    gap: 0.625rem !important;
    margin-bottom: 1.25rem !important;
  }

  #about .grid.sm\:grid-cols-2>div {
    gap: 0.625rem !important;
  }

  #about .grid.sm\:grid-cols-2 h3 {
    font-size: 0.8125rem !important;
  }

  #about .grid.sm\:grid-cols-2 p {
    font-size: 0.6875rem !important;
    line-height: 1.4 !important;
    margin-top: 0.125rem !important;
    margin-bottom: 0 !important;
  }

  /* About Showcase Image: Proportional height to display full image without cropping sides */
  #about .rounded-2xl>img {
    height: 195px !important;
    max-height: 205px !important;
    object-fit: cover !important;
    object-position: center !important;
  }

  /* Rating bar below About image */
  #about .rounded-xl.bg-slate-50 {
    padding: 0.5rem 0.75rem !important;
    margin-top: 0.625rem !important;
  }

  /* Single-row Action Buttons */
  .btn-row-mobile {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    width: 100% !important;
    gap: 0.4rem !important;
  }

  .btn-row-mobile>* {
    flex: 1 1 0% !important;
    min-width: 0 !important;
    text-align: center !important;
    justify-content: center !important;
    padding-left: 0.5rem !important;
    padding-right: 0.5rem !important;
    padding-top: 0.625rem !important;
    padding-bottom: 0.625rem !important;
    font-size: 0.75rem !important;
    white-space: nowrap !important;
  }

  .btn-row-mobile>* span {
    font-size: 0.75rem !important;
  }

  .btn-row-mobile>* i,
  .btn-row-mobile>* svg {
    width: 0.875rem !important;
    height: 0.875rem !important;
    flex-shrink: 0 !important;
  }

  /* 3. Why Choose Us Section: Mobile-specific height override */
  .mobile-why-collage {
    height: 300px !important;
  }



  /* 4. Product Categories Carousel */
  .mobile-cat-slide .relative.h-36 {
    height: 7.5rem !important;
  }

  .mobile-cat-slide h3 {
    font-size: 0.8125rem !important;
  }

  .mobile-cat-slide p {
    font-size: 0.6875rem !important;
  }

  /* 5. Industries We Serve: Proportional 2-column cards */
  .industry-card {
    padding: 0.85rem 0.75rem !important;
    border-radius: 0.875rem !important;
  }

  .industry-card h3 {
    font-size: 0.875rem !important;
  }

  .industry-card p {
    font-size: 0.75rem !important;
  }

  /* 6. Sourcing & Export Process Flow */
  #process {
    padding-top: 1.75rem !important;
    padding-bottom: 1.75rem !important;
  }

  #process .relative.w-24.h-24 {
    width: 5.25rem !important;
    height: 5.25rem !important;
  }

  #process .grid-cols-2 {
    row-gap: 2.25rem !important;
    column-gap: 0.5rem !important;
  }

  /* 7. Export World Map */
  .export-map-wrapper {
    padding: 0.375rem !important;
  }

  .export-map-wrapper img {
    min-height: 165px !important;
    object-fit: cover !important;
  }
}


/* ==========================================================================
   8. ADMIN LOGIN & FORGOT PASSWORD MODAL STYLES
   ========================================================================== */

:root {
  --admin-primary: #1B365D;
  --admin-primary-dark: #0f2240;
  --admin-copper: #B87333;
  --admin-copper-dark: #9a6129;
  --admin-copper-light: #d4944a;
  --admin-cream: #f5efe6;
  --admin-cream-dark: #ebe3d5;
  --admin-white: #ffffff;
  --admin-text-dark: #1e293b;
  --admin-text-mid: #475569;
  --admin-text-light: #94a3b8;
  --admin-text-muted: #b0bec5;
  --admin-border: #e2e8f0;
  --admin-bg-input: #f8fafc;
  --admin-error-bg: #fef2f2;
  --admin-error-border: #fecaca;
  --admin-error-text: #b91c1c;
}

body.admin-body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif !important;
  background-color: #ebe3d5 !important;
  background: #ebe3d5 !important;
  min-height: 100vh !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 1.5rem !important;
  margin: 0 !important;
  box-sizing: border-box !important;
}

body.admin-body * {
  box-sizing: border-box;
}

/* Main Login Card Layout */
.login-card {
  display: flex !important;
  width: 100% !important;
  max-width: 980px !important;
  min-height: 520px !important;
  background: #ffffff !important;
  border-radius: 24px !important;
  overflow: hidden !important;
  box-shadow: 0 25px 60px rgba(27, 54, 93, 0.1), 0 4px 16px rgba(0, 0, 0, 0.04) !important;
  position: relative !important;
  z-index: 10 !important;
}

/* Left Branding Panel */
.left-panel {
  flex: 0 0 48% !important;
  max-width: 48% !important;
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;
}

.left-panel .bg-image {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
  display: block !important;
  z-index: 0 !important;
}

.left-panel::after {
  content: '' !important;
  position: absolute !important;
  inset: 0 !important;
  background: linear-gradient(180deg,
      rgba(15, 23, 42, 0.75) 0%,
      rgba(15, 23, 42, 0.45) 45%,
      rgba(15, 23, 42, 0.65) 100%) !important;
  z-index: 1 !important;
  pointer-events: none !important;
}

.left-content {
  position: relative !important;
  z-index: 2 !important;
  flex: 1 !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
  align-items: center !important;
  text-align: center !important;
  padding: 2.75rem 2.25rem 2rem 2.25rem !important;
  animation: fadeLeft 0.7s 0.15s ease both !important;
}

.left-tagline {
  font-size: 0.72rem !important;
  font-weight: 700 !important;
  letter-spacing: 2.5px !important;
  text-transform: uppercase !important;
  color: #e59e58 !important;
  margin-bottom: 0.75rem !important;
  text-align: center !important;
}

.left-welcome {
  font-size: 0.9rem !important;
  font-weight: 400 !important;
  color: rgba(255, 255, 255, 0.85) !important;
  margin-bottom: 0.35rem !important;
  letter-spacing: 0.2px !important;
  text-align: center !important;
}

.left-heading {
  font-family: 'Playfair Display', serif !important;
  font-size: 2.75rem !important;
  font-weight: 700 !important;
  line-height: 1.15 !important;
  color: #ffffff !important;
  margin-bottom: 0.95rem !important;
  text-align: center !important;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35) !important;
}

.left-heading span {
  color: #d4944a !important;
}

.left-desc {
  font-size: 0.92rem !important;
  color: rgba(255, 255, 255, 0.82) !important;
  line-height: 1.65 !important;
  max-width: 370px !important;
  margin: 0 auto !important;
  text-align: center !important;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.25) !important;
}

.left-bottom-text {
  position: absolute !important;
  bottom: 2rem !important;
  left: 0 !important;
  right: 0 !important;
  text-align: center !important;
  z-index: 2 !important;
  font-size: 0.68rem !important;
  font-weight: 800 !important;
  letter-spacing: 3.5px !important;
  text-transform: uppercase !important;
  color: rgba(255, 255, 255, 0.75) !important;
  line-height: 1.5 !important;
}

/* Right Panel & Login Form */
.right-panel {
  flex: 0 0 52% !important;
  max-width: 52% !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 2.25rem 2.75rem !important;
  position: relative !important;
  background: #ffffff !important;
}

.right-panel::after {
  content: '' !important;
  position: absolute !important;
  bottom: 0 !important;
  right: 0 !important;
  width: 140px !important;
  height: 140px !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cpath d='M200 200 C200 200 180 140 140 110 C100 80 60 90 40 120 C20 150 30 180 60 190 C90 200 130 180 150 150 C170 120 200 200 200 200Z' fill='none' stroke='%23d4944a' stroke-width='0.8' opacity='0.15'/%3E%3Cpath d='M200 200 C200 200 190 150 160 125 C130 100 100 110 85 135 C70 160 78 185 100 192 C122 200 150 185 165 160 C180 135 200 200 200 200Z' fill='none' stroke='%23c4a87a' stroke-width='0.6' opacity='0.1'/%3E%3Cpath d='M200 200 C200 200 170 160 145 145 C120 130 95 140 85 158 C75 175 82 192 100 198 C118 204 140 190 155 170 C170 150 200 200 200 200Z' fill='none' stroke='%23B87333' stroke-width='0.5' opacity='0.08'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-size: contain !important;
  background-position: bottom right !important;
  pointer-events: none !important;
  z-index: 0 !important;
}

.form-container {
  width: 100% !important;
  max-width: 380px !important;
  position: relative !important;
  z-index: 1 !important;
  animation: fadeUp 0.65s 0.3s ease both !important;
}

.right-logo {
  display: block !important;
  height: 38px !important;
  width: auto !important;
  object-fit: contain !important;
  margin: 0 auto 1.15rem auto !important;
}

.form-title {
  font-family: 'Playfair Display', serif !important;
  font-size: 1.7rem !important;
  font-weight: 700 !important;
  color: #1B365D !important;
  text-align: center !important;
  margin-bottom: 0.35rem !important;
}

.form-subtitle {
  font-size: 0.83rem !important;
  color: #94a3b8 !important;
  text-align: center !important;
  line-height: 1.5 !important;
  margin-bottom: 1.5rem !important;
}

/* Alerts */
.error-alert {
  display: flex !important;
  align-items: flex-start !important;
  gap: 10px !important;
  background: #fef2f2 !important;
  border: 1px solid #fecaca !important;
  border-radius: 10px !important;
  padding: 0.8rem 1rem !important;
  margin-bottom: 1.5rem !important;
  animation: shakeX 0.45s ease !important;
}

.error-alert .error-icon {
  flex-shrink: 0 !important;
  width: 18px !important;
  height: 18px !important;
  color: #ef4444 !important;
  margin-top: 1px !important;
}

.error-alert p {
  font-size: 0.82rem !important;
  color: #b91c1c !important;
  font-weight: 500 !important;
  line-height: 1.5 !important;
  margin: 0 !important;
}

/* Form Inputs, Checkbox & Links */
.form-group {
  margin-bottom: 1.15rem !important;
  text-align: left !important;
}

.form-group label {
  display: block !important;
  font-size: 0.8rem !important;
  font-weight: 600 !important;
  color: #1e293b !important;
  margin-bottom: 0.4rem !important;
  letter-spacing: 0.2px !important;
}

.input-wrapper {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  width: 100% !important;
}

.input-wrapper .input-icon {
  position: absolute !important;
  left: 1rem !important;
  width: 18px !important;
  height: 18px !important;
  color: #b0bec5 !important;
  pointer-events: none !important;
  transition: color 0.25s !important;
}

.input-wrapper input {
  width: 100% !important;
  padding: 0.75rem 2.8rem 0.75rem 2.75rem !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 0.88rem !important;
  color: #1e293b !important;
  background: #f8fafc !important;
  border: 1.5px solid #e2e8f0 !important;
  border-radius: 10px !important;
  outline: none !important;
  transition: all 0.25s ease !important;
  box-sizing: border-box !important;
}

.input-wrapper input:focus {
  background: #ffffff !important;
  border-color: #B87333 !important;
  box-shadow: 0 0 0 3px rgba(184, 115, 51, 0.12) !important;
}

.toggle-password {
  position: absolute !important;
  right: 0.85rem !important;
  background: none !important;
  border: none !important;
  cursor: pointer !important;
  color: #b0bec5 !important;
  padding: 4px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: color 0.25s !important;
}

.toggle-password:hover {
  color: #B87333 !important;
}

.form-options {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  margin-bottom: 1.5rem !important;
}

/* Remember Me Checkbox with Exact Centering */
.remember-me {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  cursor: pointer !important;
  user-select: none !important;
}

.remember-me input[type="checkbox"] {
  appearance: none !important;
  -webkit-appearance: none !important;
  width: 17px !important;
  height: 17px !important;
  border: 1.5px solid #e2e8f0 !important;
  border-radius: 4px !important;
  background: #f8fafc !important;
  cursor: pointer !important;
  position: relative !important;
  transition: all 0.2s ease !important;
  flex-shrink: 0 !important;
  margin: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.remember-me input[type="checkbox"]:hover {
  border-color: #B87333 !important;
}

.remember-me input[type="checkbox"]:checked {
  background: linear-gradient(135deg, #B87333, #d4944a) !important;
  border-color: #B87333 !important;
}

.remember-me input[type="checkbox"]:checked::after {
  content: '' !important;
  position: absolute !important;
  top: 45% !important;
  left: 50% !important;
  width: 4px !important;
  height: 8px !important;
  border: solid white !important;
  border-width: 0 2px 2px 0 !important;
  transform: translate(-50%, -50%) rotate(45deg) !important;
}

.remember-me span {
  font-size: 0.82rem !important;
  color: #475569 !important;
  font-weight: 500 !important;
}

.forgot-link {
  font-size: 0.82rem !important;
  color: #B87333 !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  transition: color 0.25s !important;
  background: none !important;
  border: none !important;
  padding: 0 !important;
  font-family: inherit !important;
  cursor: pointer !important;
}

.forgot-link:hover {
  color: #9a6129 !important;
  text-decoration: underline !important;
}

/* Buttons — Signature PrimeSoil CTA Style */
.btn-login {
  width: 100% !important;
  padding: 0.82rem 1.5rem !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 0.92rem !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  background: linear-gradient(135deg, #1B365D, #2d5a9e) !important;
  border: none !important;
  border-radius: 8px !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  letter-spacing: 0.3px !important;
  transition: all 0.3s ease !important;
  position: relative !important;
  overflow: hidden !important;
  box-shadow: 0 4px 14px rgba(27, 54, 93, 0.25) !important;
  z-index: 1 !important;
}

.btn-login::before {
  content: '' !important;
  position: absolute !important;
  inset: 0 !important;
  background: linear-gradient(135deg, #B87333, #d4944a) !important;
  opacity: 0 !important;
  transition: opacity 0.3s ease !important;
  z-index: 0 !important;
}

.btn-login:hover::before {
  opacity: 1 !important;
}

.btn-login:hover {
  box-shadow: 0 6px 20px rgba(184, 115, 51, 0.35) !important;
  transform: translateY(-1px) !important;
}

.btn-login span,
.btn-login i,
.btn-login svg,
.btn-login .btn-text,
.btn-login .btn-arrow {
  position: relative !important;
  z-index: 1 !important;
  transition: transform 0.2s ease !important;
}

.btn-login:hover .btn-arrow,
.btn-login:hover i,
.btn-login:hover svg {
  transform: translateX(4px) !important;
}

.btn-login:active {
  transform: translateY(0) !important;
}

.btn-login:disabled {
  opacity: 0.65 !important;
  cursor: not-allowed !important;
  transform: none !important;
  box-shadow: none !important;
}

.btn-login .spinner {
  display: none !important;
  width: 22px !important;
  height: 22px !important;
  border: 2.5px solid rgba(255, 255, 255, 0.3) !important;
  border-top-color: #ffffff !important;
  border-radius: 50% !important;
  animation: spin 0.75s linear infinite !important;
  position: relative !important;
  z-index: 1 !important;
  margin: 0 auto !important;
}

.btn-login.loading .btn-text,
.btn-login.loading .btn-arrow,
.btn-login.loading i,
.btn-login.loading svg {
  display: none !important;
}

.btn-login.loading .spinner {
  display: block !important;
}

.form-footer {
  text-align: center !important;
  margin-top: 1.25rem !important;
  padding-top: 0 !important;
}

.form-footer p {
  font-size: 0.73rem !important;
  color: #b0bec5 !important;
  margin: 0 !important;
}

/* ==================== FORGOT PASSWORD MODAL ==================== */
.modal-overlay {
  position: fixed !important;
  inset: 0 !important;
  background: rgba(15, 23, 42, 0.65) !important;
  backdrop-filter: blur(6px) !important;
  -webkit-backdrop-filter: blur(6px) !important;
  z-index: 1000 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 1.25rem !important;
  opacity: 0 !important;
  pointer-events: none !important;
  transition: opacity 0.3s ease !important;
}

.modal-overlay.active {
  opacity: 1 !important;
  pointer-events: auto !important;
}

.modal-card {
  background: #ffffff !important;
  border-radius: 20px !important;
  width: 100% !important;
  max-width: 440px !important;
  padding: 2.25rem 2rem !important;
  box-shadow: 0 25px 60px rgba(15, 23, 42, 0.25) !important;
  position: relative !important;
  transform: scale(0.94) translateY(15px) !important;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.modal-overlay.active .modal-card {
  transform: scale(1) translateY(0) !important;
}

.modal-close-btn {
  position: absolute !important;
  top: 1rem !important;
  right: 1rem !important;
  width: 38px !important;
  height: 38px !important;
  border-radius: 50% !important;
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #475569 !important;
  cursor: pointer !important;
  z-index: 99 !important;
  pointer-events: auto !important;
  touch-action: manipulation !important;
  transition: all 0.2s ease !important;
}

.modal-close-btn:hover {
  background: #B87333 !important;
  color: #ffffff !important;
  border-color: #B87333 !important;
  transform: rotate(90deg) scale(1.05) !important;
}

.modal-close-btn svg,
.modal-close-btn i,
.modal-close-btn * {
  pointer-events: none !important;
}

.modal-icon-badge {
  width: 52px !important;
  height: 52px !important;
  border-radius: 16px !important;
  background: rgba(184, 115, 51, 0.1) !important;
  color: #B87333 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 auto 1.25rem auto !important;
}

.modal-title {
  font-family: 'Playfair Display', serif !important;
  font-size: 1.5rem !important;
  font-weight: 700 !important;
  color: #1B365D !important;
  text-align: center !important;
  margin-bottom: 0.35rem !important;
}

.modal-subtitle {
  font-size: 0.83rem !important;
  color: #94a3b8 !important;
  text-align: center !important;
  line-height: 1.5 !important;
  margin-bottom: 1.25rem !important;
}

.modal-alert {
  display: none !important;
  align-items: flex-start !important;
  gap: 10px !important;
  border-radius: 10px !important;
  padding: 0.8rem 1rem !important;
  margin-bottom: 1.25rem !important;
  font-size: 0.83rem !important;
  line-height: 1.45 !important;
}

.modal-alert.alert-error {
  background: #fef2f2 !important;
  border: 1px solid #fecaca !important;
  color: #b91c1c !important;
  display: flex !important;
}

.modal-alert.alert-success {
  background: #f0fdf4 !important;
  border: 1px solid #bbf7d0 !important;
  color: #166534 !important;
  display: flex !important;
}

/* Modal Steps Visibility */
.modal-step {
  display: none !important;
  animation: fadeUp 0.35s ease both !important;
}

.modal-step.active {
  display: block !important;
}

/* 6-Digit OTP Box Grid (PrimeSoil Premium Luxury Style) */
.otp-boxes-grid {
  display: flex !important;
  gap: 10px !important;
  justify-content: center !important;
  margin: 1.35rem 0 1.15rem !important;
}

.otp-digit-input {
  width: 50px !important;
  height: 56px !important;
  text-align: center !important;
  font-size: 1.5rem !important;
  font-weight: 700 !important;
  font-family: 'Inter', sans-serif !important;
  color: #1B365D !important;
  background: #f8fafc !important;
  border: 2px solid #e2e8f0 !important;
  border-radius: 12px !important;
  outline: none !important;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1) !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02) !important;
  padding: 0 !important;
}

.otp-digit-input:hover {
  border-color: #cbd5e1 !important;
  background: #ffffff !important;
}

.otp-digit-input:focus {
  border-color: #B87333 !important;
  background: #ffffff !important;
  box-shadow: 0 0 0 4px rgba(184, 115, 51, 0.16), 0 4px 12px rgba(184, 115, 51, 0.08) !important;
  transform: translateY(-2px) scale(1.04) !important;
}

.otp-digit-input.filled {
  border-color: #B87333 !important;
  background: #fffdf9 !important;
  color: #1B365D !important;
  font-weight: 800 !important;
}

/* Live Timer & Attempts Status Badges (Brand Themed) */
.otp-meta-bar {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 8px !important;
  margin-bottom: 1.25rem !important;
  font-size: 0.78rem !important;
}

.otp-timer-pill {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  background: #FAF6F0 !important;
  border: 1.5px solid #E5D5C5 !important;
  color: #8C4A15 !important;
  padding: 0.38rem 0.85rem !important;
  border-radius: 24px !important;
  font-weight: 700 !important;
  font-family: 'Inter', monospace !important;
  box-shadow: 0 1px 4px rgba(184, 115, 51, 0.08) !important;
  transition: all 0.25s ease !important;
}

.otp-timer-pill.urgent {
  background: #fef2f2 !important;
  border-color: #fecaca !important;
  color: #dc2626 !important;
  animation: pulse 1s infinite !important;
}

.otp-attempts-pill {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  background: #f1f5f9 !important;
  border: 1.5px solid #e2e8f0 !important;
  color: #1B365D !important;
  padding: 0.38rem 0.85rem !important;
  border-radius: 24px !important;
  font-weight: 700 !important;
  font-size: 0.78rem !important;
  box-shadow: 0 1px 4px rgba(27, 54, 93, 0.05) !important;
  transition: all 0.25s ease !important;
}

.otp-attempts-pill.danger {
  background: #fef2f2 !important;
  border-color: #fecaca !important;
  color: #dc2626 !important;
}

.otp-resend-row {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  margin-top: 1rem !important;
  font-size: 0.8rem !important;
}

.btn-text-action {
  background: none !important;
  border: none !important;
  color: #B87333 !important;
  font-size: 0.8rem !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  padding: 0 !important;
  transition: color 0.2s !important;
}

.btn-text-action:hover {
  color: #9a6129 !important;
  text-decoration: underline !important;
}

.btn-text-action:disabled {
  color: #94a3b8 !important;
  cursor: not-allowed !important;
  text-decoration: none !important;
}

.success-celebration-badge {
  width: 64px !important;
  height: 64px !important;
  border-radius: 50% !important;
  background: #f0fdf4 !important;
  border: 2px solid #bbf7d0 !important;
  color: #16a34a !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 auto 1rem auto !important;
  animation: bounce 0.6s ease !important;
}

/* Animations */
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.6;
  }
}

@keyframes bounce {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.15);
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeLeft {
  from {
    opacity: 0;
    transform: translateX(-24px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes shakeX {

  0%,
  100% {
    transform: translateX(0);
  }

  20% {
    transform: translateX(-6px);
  }

  40% {
    transform: translateX(5px);
  }

  60% {
    transform: translateX(-3px);
  }

  80% {
    transform: translateX(3px);
  }
}

/* Responsive Queries */
@media (max-width: 992px) and (min-width: 769px) {
  body.admin-body {
    padding: 1rem !important;
  }

  .login-card {
    max-width: 820px !important;
    min-height: 520px !important;
    border-radius: 20px !important;
  }

  .left-panel {
    flex: 0 0 46% !important;
    max-width: 46% !important;
  }

  .left-content {
    padding: 2.5rem 1.75rem !important;
  }

  .left-heading {
    font-size: 2.2rem !important;
    margin-bottom: 0.9rem !important;
  }

  .left-desc {
    font-size: 0.85rem !important;
  }

  .right-panel {
    flex: 0 0 54% !important;
    max-width: 54% !important;
    padding: 2rem 2rem !important;
  }
}

@media (max-width: 768px) {

  body.admin-body {
    overflow: hidden !important;
  }

  body.admin-body {
    padding: 1rem !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .login-card {
    flex-direction: column !important;
    max-width: 440px !important;
    width: 100% !important;
    min-height: auto !important;
    border-radius: 20px !important;
    box-shadow: 0 15px 45px rgba(27, 54, 93, 0.1) !important;
    margin-top: -3rem !important;
    transform: translateY(-10px) !important;
  }

  .left-panel {
    display: none !important;
  }

  .right-panel {
    flex: 1 1 100% !important;
    max-width: 100% !important;
    width: 100% !important;
    padding: 2.5rem 2rem 2rem 2rem !important;
    border-radius: 20px !important;
  }

  .right-logo {
    height: 40px !important;
    margin-bottom: 1.25rem !important;
  }

  .form-title {
    font-size: 1.6rem !important;
    margin-bottom: 0.35rem !important;
  }

  .form-subtitle {
    font-size: 0.82rem !important;
    margin-bottom: 1.75rem !important;
  }

  .form-group {
    margin-bottom: 1.15rem !important;
  }

  .input-wrapper input {
    padding: 0.75rem 1rem 0.75rem 2.5rem !important;
    font-size: 0.88rem !important;
  }

  .form-options {
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    margin-bottom: 1.5rem !important;
    gap: 8px !important;
  }

  .remember-me span {
    font-size: 0.82rem !important;
  }

  .forgot-link {
    font-size: 0.82rem !important;
  }

  .btn-login {
    padding: 0.8rem 1.5rem !important;
    font-size: 0.9rem !important;
    border-radius: 8px !important;
  }

  .right-panel::after {
    width: 90px !important;
    height: 90px !important;
  }
}

@media (max-width: 480px) {
  .modal-card {
    padding: 1.75rem 1.25rem !important;
  }

  .otp-boxes-grid {
    gap: 6px !important;
  }

  .otp-digit-input {
    width: 42px !important;
    height: 48px !important;
    font-size: 1.3rem !important;
    border-radius: 10px !important;
  }

  .otp-timer-pill,
  .otp-attempts-pill {
    padding: 0.3rem 0.65rem !important;
    font-size: 0.72rem !important;
  }
}

@media (max-width: 400px) {
  .right-panel {
    padding: 2rem 1.25rem 1.5rem 1.25rem !important;
  }

  .form-title {
    font-size: 1.4rem !important;
  }

  .remember-me span,
  .forgot-link {
    font-size: 0.75rem !important;
  }
}

/* ==================== DESKTOP PRODUCT CATEGORIES CAROUSEL ==================== */
.desktop-cat-carousel {
  position: relative;
  width: 100%;
}

.desktop-cat-track {
  display: flex;
  justify-content: center;
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}

.desktop-cat-slide {
  flex: 0 0 25%;
  width: 25%;
  max-width: 25%;
  box-sizing: border-box;
}

/* ==================== SOCIAL BRAND HOVER EFFECTS ==================== */
.social-icon-btn {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.social-icon-btn.facebook:hover {
  background-color: #1877F2 !important;
  border-color: #1877F2 !important;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(24, 119, 242, 0.4) !important;
  transform: scale(1.1);
}

.social-icon-btn.linkedin:hover {
  background-color: #0A66C2 !important;
  border-color: #0A66C2 !important;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(10, 102, 194, 0.4) !important;
  transform: scale(1.1);
}

.social-icon-btn.instagram:hover {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%) !important;
  border-color: transparent !important;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(220, 39, 67, 0.4) !important;
  transform: scale(1.1);
}

.social-icon-btn.whatsapp:hover {
  background-color: #25D366 !important;
  border-color: #25D366 !important;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.4) !important;
  transform: scale(1.1);
}

/* ==================== CATEGORIES CORNER BOTANICAL ACCENTS ==================== */
.category-corner-accent {
  position: absolute;
  pointer-events: none;
  user-select: none;
  z-index: 1;
  opacity: 0.22;
  transition: opacity 0.3s ease;
  width: clamp(150px, 20vw, 340px);
}

.category-corner-bottom-left,
.category-corner-left {
  left: -20px;
  bottom: -20px;
}

.category-corner-top-right {
  right: -15px;
  top: -15px;
}

@media (max-width: 640px) {
  .category-corner-accent {
    width: clamp(115px, 32vw, 165px);
    opacity: 0.18;
  }
  .category-corner-bottom-left,
  .category-corner-left {
    left: -20px;
    bottom: -15px;
  }
  .category-corner-top-right {
    right: -15px;
    top: -10px;
  }
}