/* Custom CSS for Midlands Food and Packaging Limited */
/* Premium B2B SaaS Style: Apple, Stripe, Linear, Vercel */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
  --primary: #0B4D7A;
  --primary-rgb: 11, 77, 122;
  --secondary: #1FA2FF;
  --secondary-rgb: 31, 162, 255;
  --accent: #2ECC71;
  --accent-rgb: 46, 204, 113;
  --background: #F7FAFC;
  --dark: #1A202C;
  --dark-rgb: 26, 32, 44;
  --white: #FFFFFF;

  /* Glassmorphism Variables */
  --glass-bg: rgba(255, 255, 255, 0.45);
  --glass-bg-hover: rgba(255, 255, 255, 0.65);
  --glass-border: rgba(255, 255, 255, 0.4);
  --glass-border-hover: rgba(255, 255, 255, 0.6);
  --glass-shadow: 0 10px 40px 0 rgba(11, 77, 122, 0.05);
  --glass-shadow-hover: 0 20px 50px 0 rgba(31, 162, 255, 0.12);
  --card-radius: 20px;

  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;

  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.2s ease-in-out;
}

/* Global Reset */
body {
  font-family: var(--font-body);
  background-color: var(--background);
  color: var(--dark);
  overflow-x: hidden;
  position: relative;
  line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--dark);
}

/* Background Glowing Blobs */
.bg-blobs {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
  z-index: -2;
  pointer-events: none;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.15;
  animation: float-blob 15s infinite alternate ease-in-out;
}

.blob-1 {
  width: 500px;
  height: 500px;
  background: var(--secondary);
  top: -10%;
  right: -5%;
  animation-duration: 25s;
}

.blob-2 {
  width: 400px;
  height: 400px;
  background: var(--primary);
  top: 40%;
  left: -10%;
  animation-duration: 20s;
}

.blob-3 {
  width: 450px;
  height: 450px;
  background: var(--accent);
  bottom: 10%;
  right: -5%;
  animation-duration: 30s;
}

@keyframes float-blob {
  0% {
    transform: translate(0, 0) scale(1);
  }

  50% {
    transform: translate(50px, -50px) scale(1.1);
  }

  100% {
    transform: translate(-30px, 30px) scale(0.95);
  }
}

/* Transparent Sticky Navbar */
.navbar-custom {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1050;
  transition: var(--transition-smooth);
  padding: 20px 0;
  background-color: white;
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar-custom.scrolled {
  padding: 12px 0;
  background-color: rgba(255, 255, 255, 0.85);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03);
  border-bottom: 1px solid rgba(26, 32, 44, 0.05);
}

.navbar-brand img {
  height: 40px;
  transition: var(--transition-smooth);
}

.nav-link-custom {
  color: var(--dark);
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 1.05rem;
  padding: 8px 16px;
  margin: 0 4px;
  border-radius: 30px;
  transition: var(--transition-smooth);
  position: relative;
}

.nav-link-custom::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transition: var(--transition-smooth);
  transform: translateX(-50%);
}

.dropdown-menu .dropdown-item {
  background: transparent;
}

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

.nav-link-custom:hover {
  color: var(--secondary) !important;
}

.nav-link-custom.active {
  color: var(--primary) !important;
}

/* Premium Gradient Button */
.btn-premium {
  position: relative;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 600;
  padding: 12px 28px;
  border-radius: 50px;
  border: none;
  overflow: hidden;
  z-index: 1;
  box-shadow: 0 4px 15px rgba(31, 162, 255, 0.3);
  transition: var(--transition-smooth);
}

.btn-premium::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--secondary), var(--accent));
  opacity: 0;
  z-index: -1;
  transition: var(--transition-smooth);
}

.btn-premium:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(46, 204, 113, 0.4);
  color: var(--white);
}

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

.btn-premium:active {
  transform: translateY(-1px);
}

.btn-outline-premium {
  background: transparent;
  color: var(--primary);
  font-family: var(--font-heading);
  font-weight: 600;
  padding: 11px 27px;
  border-radius: 50px;
  border: 2px solid var(--primary);
  transition: var(--transition-smooth);
}

.btn-outline-premium:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(11, 77, 122, 0.2);
}

/* Glassmorphism General Card */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  border-radius: var(--card-radius);
  padding: 30px;
  transition: var(--transition-smooth);
  height: 100%;
}

.glass-card:hover {
  background: var(--glass-bg-hover);
  border-color: var(--glass-border-hover);
  box-shadow: var(--glass-shadow-hover);
  transform: translateY(-10px);
}

.hero-title {
  font-size: 32px;
}

/* Automated Animated Hero Carousel (Swiper.js + GSAP) */
.hero-swiper {
  width: 100%;
  height: 95vh;
  position: relative;
  overflow: hidden;
}

.swiper-slide {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.slide-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: bottom;
  background-repeat: no-repeat;
  z-index: -2;
  transform: scale(1.1);
  /* Managed by GSAP parallax on active slide */
  transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.slide-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(26, 32, 44, 0.4) 0%, rgba(11, 77, 122, 0.3) 100%);
  z-index: -1;
  pointer-events: none;
}

.slide-content-panel {
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 20px 50px rgba(11, 77, 122, 0.15);
  border-radius: 24px;
  padding: 40px 40px;
  max-width: 680px;
  width: 100%;
  color: var(--white);
  z-index: 5;
  transition: var(--transition-smooth);
}

.slide-content-panel h2 {
  font-size: 38px;
  /* line-height: 1.15; */
  color: var(--white);
  margin-bottom: 20px;
  font-weight: 800;
  transform: translate(0px, 0px) !important;
}

.slide-content-panel p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 35px;
}

@media (max-width: 767.98px) {
  .hero-swiper {
    height: 100vh;
  }

  .slide-content-panel {
    padding: 30px 20px;
    margin: 15px;
    border-radius: var(--card-radius);
  }

  .slide-content-panel h2 {
    font-size: 2.2rem;
  }

  .slide-content-panel p {
    font-size: 1rem;
    margin-bottom: 25px;
  }
}

/* Swiper Controls Custom Styling */
.swiper-button-next,
.swiper-button-prev {
  width: 55px;
  height: 55px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  color: var(--white);
  transition: var(--transition-smooth);
  z-index: 10;
}

.swiper-button-next::after,
.swiper-button-prev::after {
  font-size: 1.25rem;
  font-weight: bold;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  background: var(--white);
  color: var(--primary);
  transform: scale(1.08);
}

.swiper-pagination-bullets.swiper-pagination-horizontal {
  bottom: 30px;
}

.swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background: rgba(255, 255, 255, 0.4);
  opacity: 1;
  margin: 0 6px !important;
  transition: var(--transition-smooth);
  border-radius: 50%;
}

.swiper-pagination-bullet-active {
  background: var(--secondary) !important;
  width: 32px;
  border-radius: 10px;
}

/* Autoplay Progress Line */
.swiper-progress-container {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.15);
  z-index: 10;
  pointer-events: none;
}

.swiper-progress-bar {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--secondary), var(--accent));
  transition: width 0.1s linear;
}

/* Floating Elements & Animations */
.slide-float-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

/* Floating Boxes (Slide 1) */
.float-box {
  position: absolute;
  width: 120px;
  height: 120px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  backdrop-filter: blur(5px);
  animation: box-float-anim 8s infinite alternate ease-in-out;
}

.float-box-1 {
  top: 20%;
  right: 15%;
  width: 110px;
  height: 110px;
  animation-delay: 0s;
}

.float-box-2 {
  bottom: 15%;
  right: 25%;
  width: 90px;
  height: 90px;
  animation-delay: 2s;
}

@keyframes box-float-anim {
  0% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-30px) rotate(45deg);
  }

  100% {
    transform: translateY(15px) rotate(90deg);
  }
}

/* Bubble Particle (Slide 2) */
.bubble-particle {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0.05) 70%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  animation: bubble-float 10s infinite linear;
}

.bubble-1 {
  width: 30px;
  height: 30px;
  left: 10%;
  bottom: -5%;
  animation-duration: 8s;
}

.bubble-2 {
  width: 50px;
  height: 50px;
  left: 75%;
  bottom: -5%;
  animation-duration: 12s;
  animation-delay: 1s;
}

.bubble-3 {
  width: 25px;
  height: 25px;
  left: 85%;
  bottom: -5%;
  animation-duration: 9s;
  animation-delay: 3s;
}

.bubble-4 {
  width: 40px;
  height: 40px;
  left: 25%;
  bottom: -5%;
  animation-duration: 11s;
  animation-delay: 2s;
}

@keyframes bubble-float {
  0% {
    transform: translateY(0) scale(1) translateX(0);
    opacity: 0;
  }

  10% {
    opacity: 0.6;
  }

  90% {
    opacity: 0.6;
  }

  100% {
    transform: translateY(-110vh) scale(1.1) translateX(30px);
    opacity: 0;
  }
}

/* Light Shine (Slide 3) */
.light-shine {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 60%);
  pointer-events: none;
  animation: shine-sweep 15s infinite alternate ease-in-out;
}

@keyframes shine-sweep {
  0% {
    transform: translate(-10%, -10%);
  }

  100% {
    transform: translate(10%, 10%);
  }
}

/* Floating General Particles */
.carousel-particle {
  position: absolute;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--secondary), var(--accent));
  opacity: 0.7;
  pointer-events: none;
  animation: float-slow-carousel 6s infinite alternate ease-in-out;
}

.c-part-1 {
  width: 15px;
  height: 15px;
  top: 15%;
  right: 10%;
}

.c-part-2 {
  width: 10px;
  height: 10px;
  bottom: 25%;
  left: 15%;
  animation-delay: 2s;
}

.c-part-3 {
  width: 12px;
  height: 12px;
  top: 75%;
  right: 30%;
  animation-delay: 1s;
}

@keyframes float-slow-carousel {
  0% {
    transform: translateY(0) rotate(0deg);
  }

  100% {
    transform: translateY(-20px) rotate(360deg);
  }
}


/* Company Highlights */
.highlight-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, rgba(11, 77, 122, 0.1), rgba(31, 162, 255, 0.1));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--primary);
  margin-bottom: 20px;
  transition: var(--transition-smooth);
}

.glass-card:hover .highlight-icon {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--white);
  transform: rotateY(180deg);
}

/* Why Choose Us Section */
.why-section {
  position: relative;
  padding: 100px 0;
}

/* Statistics Section */
.stats-section {
  background: linear-gradient(135deg, var(--dark), #101622);
  color: var(--white);
  padding: 80px 0;
  position: relative;
  border-radius: 40px;
  margin: 40px 0;
  overflow: hidden;
}

.stats-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 80% 20%, rgba(31, 162, 255, 0.15), transparent 50%);
  pointer-events: none;
}

.stat-num {
  font-size: 3.5rem;
  font-weight: 800;
  font-family: var(--font-heading);
  background: linear-gradient(135deg, var(--white), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 10px;
}

.stat-text {
  font-size: 1rem;
  color: #A0AEC0;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

/* Brand Marquee (Infinite Auto Slider) */
.brand-section {
  padding: 80px 0;
}

.brand-slider-wrapper {
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  padding: 20px 0;
}

.brand-slider-wrapper::before,
.brand-slider-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  width: 150px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.brand-slider-wrapper::before {
  left: 0;
  background: linear-gradient(90deg, var(--background), transparent);
}

.brand-slider-wrapper::after {
  right: 0;
  background: linear-gradient(-90deg, var(--background), transparent);
}

.brand-track {
  display: inline-flex;
  animation: scroll-brands 20s linear infinite;
  gap: 60px;
}

.brand-logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(5px);
  padding: 15px 40px;
  border-radius: 16px;
  height: 70px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--primary);
  opacity: 0.8;
  transition: var(--transition-smooth);
}

.brand-logo-item:hover {
  opacity: 1;
  background: var(--white);
  transform: scale(1.05);
  color: var(--secondary);
}

@keyframes scroll-brands {
  0% {
    transform: translateX(0);
  }

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

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, var(--primary) 0%, #05263d 100%);
  color: var(--white);
  padding: 100px 0;
  border-radius: 40px;
  position: relative;
  overflow: hidden;
  margin-bottom: 80px;
}

.cta-section .glow-ring {
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  border: 1px dashed rgba(31, 162, 255, 0.2);
  top: -100px;
  right: -100px;
  animation: spin-slow 30s linear infinite;
}

@keyframes spin-slow {
  100% {
    transform: rotate(360deg);
  }
}


/* About Page Specifics */
.about-hero {
  padding: 160px 0 80px 0;
  /* background: linear-gradient(180deg, rgba(31, 162, 255, 0.05), transparent); */
  background: url(../assets/banner.png) center no-repeat;
  background-size: cover;
}

.alternating-section {
  padding: 80px 0;
}

.timeline-wrapper {
  position: relative;
  padding: 40px 0;
}

.timeline-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 3px;
  background: linear-gradient(180deg, var(--primary), var(--secondary));
  transform: translateX(-50%);
}

.timeline-item {
  margin-bottom: 60px;
  position: relative;
}

.timeline-item::after {
  content: '';
  position: absolute;
  top: 20px;
  left: 50%;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent);
  border: 4px solid var(--white);
  box-shadow: 0 0 10px rgba(46, 204, 113, 0.6);
  transform: translateX(-50%);
  z-index: 3;
}

.timeline-content {
  width: 45%;
}

.timeline-item:nth-child(even) .timeline-content {
  margin-left: 55%;
}

@media (max-width: 767.98px) {
  .timeline-wrapper::before {
    left: 20px;
  }

  .timeline-item::after {
    left: 20px;
  }

  .timeline-content {
    width: calc(100% - 50px);
    margin-left: 50px !important;
  }
}

.table-custom {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border-radius: var(--card-radius);
  overflow: hidden;
  box-shadow: var(--glass-shadow);
  border: 1px solid var(--glass-border);
}

.table-custom th,
.table-custom td {
  padding: 20px;
  border-color: rgba(255, 255, 255, 0.2);
}

.table-custom th {
  background: rgba(11, 77, 122, 0.05);
  color: var(--primary);
  font-family: var(--font-heading);
}

/* Products Page Specifics */
.product-card {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  border-radius: var(--card-radius);
  overflow: hidden;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.product-card:hover {
  background: var(--glass-bg-hover);
  border-color: var(--glass-border-hover);
  box-shadow: var(--glass-shadow-hover);
  transform: translateY(-8px);
}

.product-img-wrapper {
  background: linear-gradient(135deg, rgba(31, 162, 255, 0.03), rgba(11, 77, 122, 0.08));
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  height: 240px;
}

.product-img-wrapper img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  transition: var(--transition-smooth);
}

.product-card:hover .product-img-wrapper img {
  transform: scale(1.08) translateY(-5px);
}

.product-body {
  padding: 24px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.product-title {
  font-size: 1.35rem;
  margin-bottom: 12px;
}

.soft-drink-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: -25px;
  min-height: 55px;
}

.product-desc {
  font-size: 0.95rem;
  color: #5A6A85;
  margin-bottom: 20px;
  flex-grow: 1;
}

.btn-learn-more {
  align-self: flex-start;
  color: var(--primary);
  font-family: var(--font-heading);
  font-weight: 600;
  text-decoration: none;
  font-size: 0.95rem;
  transition: var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-learn-more i {
  transition: var(--transition-fast);
}

.btn-learn-more:hover {
  color: var(--secondary);
}

.btn-learn-more:hover i {
  transform: translateX(4px);
}

/* Contact Page Form styling */
.form-floating-custom {
  position: relative;
  margin-bottom: 24px;
}

.form-control-custom {
  width: 100%;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(11, 77, 122, 0.15);
  border-radius: 12px;
  padding: 16px 20px;
  font-size: 1rem;
  outline: none;
  transition: var(--transition-smooth);
  color: var(--dark);
}

.form-control-custom:focus {
  background: var(--white);
  border-color: var(--secondary);
  box-shadow: 0 0 0 4px rgba(31, 162, 255, 0.15);
}

.form-control-custom::placeholder {
  color: #A0AEC0;
}

.map-container {
  border-radius: var(--card-radius);
  overflow: hidden;
  box-shadow: var(--glass-shadow);
  border: 1px solid var(--glass-border);
  height: 400px;
  margin-top: 40px;
}

/* Footer Section */
.footer-dark {
  background-color: var(--dark);
  color: #A0AEC0;
  padding: 80px 0 30px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-dark h5 {
  color: var(--white);
  font-weight: 600;
  margin-bottom: 25px;
}

.footer-links {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: #A0AEC0;
  text-decoration: none;
  transition: var(--transition-fast);
}

.footer-links a:hover {
  color: var(--secondary);
  padding-left: 4px;
}

.newsletter-form {
  position: relative;
}

.newsletter-form input {
  width: 100%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 12px 60px 12px 20px;
  border-radius: 30px;
  color: var(--white);
}

.newsletter-form button {
  position: absolute;
  right: 4px;
  top: 4px;
  bottom: 4px;
  border: none;
  background: var(--secondary);
  color: var(--white);
  border-radius: 50%;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.newsletter-form button:hover {
  background: var(--accent);
}

.social-icons a {
  display: inline-flex;
  text-decoration: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: white;
  color: black;
  margin-right: 12px;
  transition: var(--transition-fast);
}

.social-icons a:hover {
  color: var(--white);
  background: var(--secondary);
  transform: translateY(-3px);
}

/* Mouse Follow Glow Container */
.mouse-glow-bg {
  position: absolute;
  width: 35px;
  height: 35px;
  background: radial-gradient(circle, rgba(31, 162, 255, 0.3) 0%, transparent 70%);
  border: 2px solid rgba(31, 162, 255, 0.3);
  border-radius: 50%;
  pointer-events: none;
  z-index: 1000;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

/* Page Loader */
.loader-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--background);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease;
}

.loader-spinner {
  width: 50px;
  height: 50px;
  border: 4px solid rgba(11, 77, 122, 0.1);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: loader-spin 1s infinite linear;
}

@keyframes loader-spin {
  0% {
    transform: rotate(0deg);
  }

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

/* MEGA DROP DOWN MENU & MOBILE DRAWER */

/* Dropdown position relative for hover anchors */
.nav-item-mega {
  position: static !important;
  /* To allow mega dropdown relative to container/navbar */
}

/* Mega dropdown menu panel */
.mega-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(15px);
  width: 90%;
  max-width: 1100px;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(25px) saturate(180%);
  -webkit-backdrop-filter: blur(25px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 20px 50px rgba(11, 77, 122, 0.12);
  border-radius: 20px;
  padding: 40px;
  opacity: 0;
  visibility: hidden;
  z-index: 1000;
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
  pointer-events: none;
}

/* Show mega drop down on hover (on desktop) */
@media (min-width: 992px) {
  .nav-item-mega:hover .mega-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
  }
}

.mega-menu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.mega-menu-col {
  display: flex;
  flex-direction: column;
}

.mega-menu-col-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid rgba(11, 77, 122, 0.1);
  display: flex;
  align-items: center;
  gap: 10px;
}

.mega-menu-col-title i {
  color: var(--secondary);
}

.mega-menu-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
}

.mega-menu-list li {
  margin-bottom: 10px;
}

.mega-menu-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  border-radius: 8px;
  color: var(--dark);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: var(--transition-fast);
}

.mega-menu-link:hover {
  background: rgba(31, 162, 255, 0.08);
  color: var(--secondary);
  padding-left: 16px;
}

.mega-menu-link i {
  font-size: 0.8rem;
  opacity: 0;
  transform: translateX(-5px);
  transition: var(--transition-fast);
}

.mega-menu-link:hover i {
  opacity: 1;
  transform: translateX(0);
}

/* Mobile Hamburger & Nav Drawer */
.mobile-nav-toggle-btn {
  background: transparent;
  border: none;
  font-size: 1.5rem;
  color: var(--primary);
  display: none;
}

@media (max-width: 991.98px) {
  .mobile-nav-toggle-btn {
    display: block;
  }
}

.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  max-width: 400px;
  height: 100vh;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border-left: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.08);
  z-index: 2000;
  padding: 40px 30px;
  overflow-y: auto;
  transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-nav-drawer.open {
  right: 0;
}

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
}

.mobile-drawer-close {
  background: rgba(11, 77, 122, 0.08);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--primary);
  transition: var(--transition-fast);
}

.mobile-drawer-close:hover {
  background: var(--primary);
  color: var(--white);
}

.mobile-menu-links {
  list-style: none;
  padding-left: 0;
  margin-bottom: 40px;
}

.mobile-menu-links>li {
  margin-bottom: 20px;
}

.mobile-menu-link-main {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--dark);
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.mobile-menu-link-main:hover {
  color: var(--secondary);
}

/* Accordions for mobile dropdown */
.mobile-accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  padding-left: 15px;
  border-left: 2px solid rgba(31, 162, 255, 0.2);
  margin-top: 10px;
}

.mobile-accordion-body.open {
  max-height: 1000px;
  /* arbitrary large value */
}

.mobile-accordion-title-sec {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--primary);
  margin-top: 15px;
  margin-bottom: 10px;
}

.mobile-accordion-links {
  list-style: none;
  padding-left: 0;
}

.mobile-accordion-links li {
  margin-bottom: 8px;
}

.mobile-accordion-link {
  color: #5A6A85;
  text-decoration: none;
  font-size: 0.95rem;
  display: block;
  padding: 5px 0;
  transition: var(--transition-fast);
}

.mobile-accordion-link:hover {
  color: var(--secondary);
  padding-left: 5px;
}

/* Brand Details Page Styles */
.brand-hero-section {
  padding: 160px 0 100px 0;
  min-height: 50vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.brand-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 80% 20%, rgba(31, 162, 255, 0.1) 0%, transparent 60%);
  pointer-events: none;
  z-index: 1;
}

.brand-detail-logo {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary);
  padding: 20px 40px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  display: inline-block;
  box-shadow: var(--glass-shadow);
  margin-bottom: 30px;
}

.bottle-size-card {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  border-radius: 16px;
  padding: 20px;
  text-align: center;
  transition: var(--transition-smooth);
}

.bottle-size-card:hover {
  transform: translateY(-5px);
  background: var(--white);
  border-color: var(--secondary);
}

.bottle-size-card i {
  font-size: 1.8rem;
  color: var(--secondary);
  margin-bottom: 12px;
}

.bottle-size-val {
  font-weight: 700;
  color: var(--dark);
  font-size: 1.1rem;
}

.bottle-size-desc {
  font-size: 0.85rem;
  color: #5A6A85;
}

/* Category Filter Tabs for products.html */
.product-filter-btn {
  font-family: var(--font-heading);
  font-weight: 600;
  padding: 10px 24px;
  border-radius: 30px;
  border: 2px solid transparent;
  background: rgba(11, 77, 122, 0.05);
  color: var(--primary);
  transition: var(--transition-smooth);
}

.product-filter-btn:hover {
  background: rgba(11, 77, 122, 0.1);
  color: var(--primary);
}

.product-filter-btn.active {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(11, 77, 122, 0.2);
}


/* Product Card */

.hero {

  padding: 90px 0;
  background:
    linear-gradient(135deg, #0f172a, #1d4ed8);

  color: #fff;

}

.hero h1 {

  font-size: 58px;
  font-weight: 700;
  line-height: 1.2;
  margin: 20px 0;

}

.hero h1 span {

  color: #60a5fa;

}

.hero p {

  opacity: .9;
  font-size: 18px;
  max-width: 650px;

}

.hero-badge {

  display: inline-block;
  background: rgba(255, 255, 255, .15);

  padding: 10px 18px;

  border-radius: 50px;

  backdrop-filter: blur(15px);

}

.hero-search {

  background: #fff;

  padding: 18px;

  border-radius: 18px;

  box-shadow: var(--shadow);

}

.hero-search input {

  border: none;

  box-shadow: none;

}

.hero-search .input-group-text {

  background: #fff;
  border: none;

}


/*=================================================
            FILTERS
=================================================*/

.filter-section {

  margin-top: -35px;

}

.filter-section .container {

  background: #fff;

  padding: 25px;

  border-radius: 25px;

  box-shadow: var(--shadow);

}

.form-select {

  height: 55px;

  border-radius: 15px;

}

.btn-gradient {

  height: 55px;

  border: none;

  color: #fff;

  border-radius: 15px;

  background:

    linear-gradient(135deg,
      var(--primary),
      var(--secondary));

  transition: var(--transition);

}

.btn-gradient:hover {

  transform: translateY(-3px);

  box-shadow: 0 15px 30px rgba(37, 99, 235, .35);

}

/*=================================================
            PRODUCT CARD
=================================================*/

.product-card {

  background: #fff;

  border-radius: var(--radius);

  overflow: hidden;

  cursor: pointer;

  transition: var(--transition);

  box-shadow: 0 8px 20px rgba(0, 0, 0, .05);

  position: relative;

  height: 100%;

}

.product-card:hover {

  transform: translateY(-10px);

  box-shadow:
    0 25px 60px rgba(0, 0, 0, .12);

}

.product-card::before {

  content: '';

  position: absolute;

  width: 100%;
  height: 5px;

  background:

    linear-gradient(90deg,
      var(--primary),
      var(--secondary));

  top: 0;

  left: 0;

}

.product-image {

  position: relative;

  overflow: hidden;

  background: #fff;

  padding: 25px;

}

.product-image img {

  width: 100%;

  height: 230px;

  object-fit: contain;

  transition: .5s;

}

.product-card:hover img {

  transform: scale(1.08);

}

.product-content {

  padding: 25px;

}

.product-category {

  display: inline-block;

  background: #eef4ff;

  color: var(--primary);

  padding: 6px 14px;

  border-radius: 40px;

  font-size: 13px;

  font-weight: 600;

}

.product-title {

  margin-top: 15px;

  font-size: 22px;

  font-weight: 600;

  min-height: 65px;

}

.spec-list {

  margin: 20px 0;

}

.spec {

  display: flex;

  justify-content: space-between;

  margin-bottom: 12px;

  font-size: 15px;

}

.spec strong {

  color: #111;

}

.price-row {

  display: flex;

  justify-content: space-between;

  align-items: center;

  margin-top: 25px;

}

.price-row h3 {

  color: var(--primary);

  font-weight: 700;

}

.view-btn {

  width: 48px;
  height: 48px;
  /* border-radius: 50%; */
  border: none;
  color: #fff;
  background:

    linear-gradient(135deg,
      var(--primary),
      var(--secondary));

}

.view-btn:hover {
  color: white;
}

.btn-link {
  color: white;
  text-decoration: none;
}

/*=================================================
            MODAL
=================================================*/

.modal-content {

  border: none;
  border-radius: 30px;
  overflow: hidden;

}

.custom-close {

  position: absolute;

  right: 20px;

  top: 20px;

  z-index: 99;

  background: #fff;

  border-radius: 50%;

}

.modal-image {

  background: #f8fafc;

  display: flex;

  align-items: center;

  justify-content: center;

  height: 100%;

  padding: 50px;

}

.modal-image img {

  width: 100%;

  transition: .4s;

}

.modal-image:hover img {

  transform: scale(1.1);

}

.product-details {

  padding: 50px;

}

.product-details h2 {

  font-size: 38px;

  font-weight: 700;

  margin: 20px 0;

}

.price-box {

  display: flex;

  justify-content: space-between;

  background: #f8fafc;

  padding: 25px;

  border-radius: 18px;

  margin: 35px 0;

}

.price-box small {

  color: #888;

}

.price-box h3 {

  color: var(--success);

  font-weight: 700;

}

.price-box h4 {

  color: #666;

}

.specifications {

  border-top: 1px solid #eee;

  border-bottom: 1px solid #eee;

  padding: 20px 0;

}

.spec-item {

  display: flex;

  justify-content: space-between;

  margin-bottom: 18px;

}

.action-buttons {

  display: flex;

  gap: 15px;

  margin-top: 40px;

}

.action-buttons .btn {

  flex: 1;

  height: 55px;

  border-radius: 15px;

}

/*=================================================
            RESPONSIVE
=================================================*/

@media(max-width:992px) {

  .hero {

    padding: 60px 0;

  }

  .hero h1 {

    font-size: 42px;

  }

  .product-details {

    padding: 30px;

  }

  .modal-image {

    padding: 30px;

  }

}

@media(max-width:768px) {

  .hero h1 {

    font-size: 34px;

  }

  .price-box {

    flex-direction: column;
    gap: 20px;

  }

  .action-buttons {

    flex-direction: column;

  }

  .product-title {

    font-size: 19px;

    min-height: auto;

  }

}

@media(max-width:576px) {

  .hero {

    text-align: center;

  }

  .hero-search {

    margin-top: 30px;

  }

  .filter-section {

    margin-top: 20px;

  }

  .filter-section .container {

    padding: 20px;

  }

  .modal-dialog {

    margin: 10px;

  }

  .product-details h2 {

    font-size: 28px;

  }

}

.product-card {
  background: #fff;
  border-radius: 22px;
  overflow: hidden;
  cursor: pointer;
  transition: .35s;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .08);
  height: 100%;
  position: relative;
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 60px rgba(0, 0, 0, .15);
}

.product-image {
  position: relative;
  background: #ffff;
  padding: 25px;
  height: 260px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.product-image img {
  max-height: 190px;
  transition: .4s;
}

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

.product-tag {
  position: absolute;
  top: 15px;
  left: 15px;
  background: #2563eb;
  color: #fff;
  font-size: 12px;
  padding: 6px 14px;
  border-radius: 30px;
  font-weight: 600;
}

.product-content {
  padding: 25px;
}

.product-category {
  font-size: 13px;
  background: #eef4ff;
  color: #2563eb;
  padding: 6px 14px;
  border-radius: 30px;
  font-weight: 600;
}

.material-badge {
  background: #10b981;
  color: #fff;
  border-radius: 20px;
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 600;
}

.product-title {
  font-size: 21px;
  font-weight: 600;
  margin-bottom: -20px;
  min-height: 55px;
}

.product-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.info-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.price {
  color: #2563eb;
  font-weight: 700;
  font-size: 30px;
}

.view-btn {
  width: 160px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

/* Product Card */