/* Main stylesheet for Al-Haramein Sundries Limited */
:root {
  --brand: #0f8b8d;
  --brand-dark: #0b6b6d;
  --brand-light: #14b8bb;
  --accent-orange: #ff6b35;
  --accent-purple: #6c5ce7;
  --muted: #6c757d;
  --section-bg: #f8f9fa;
}

* {
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 25%, #f093fb 50%, #4facfe 75%, #00f2fe 100%);
  background-size: 400% 400%;
  animation: gradientShift 15s ease infinite;
  color: #222;
  line-height: 1.6;
  overflow-x: hidden;
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* NAVBAR with glassmorphism */
.navbar {
  background: rgba(15, 23, 42, 0.85) !important;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar-brand {
  color: #fff !important;
  font-weight: 700;
  font-size: 1.4rem;
  text-shadow: 0 0 20px rgba(20, 184, 187, 0.5);
  transition: all 0.3s ease;
}

.navbar-brand:hover {
  text-shadow: 0 0 30px rgba(20, 184, 187, 0.8);
  transform: scale(1.05);
}

.navbar .nav-link {
  color: rgba(255, 255, 255, 0.85) !important;
  font-weight: 500;
  position: relative;
  padding: 0.5rem 1rem !important;
  transition: all 0.3s ease;
}

.navbar .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--brand-light);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.navbar .nav-link:hover::after {
  width: 80%;
}

.navbar .nav-link:hover {
  color: white !important;
  transform: translateY(-2px);
}

/* HERO with particles effect */
.hero {
  background: linear-gradient(135deg, rgba(15, 139, 141, 0.9), rgba(107, 92, 231, 0.9)), 
              url('https://images.unsplash.com/photo-1517245386807-bb43f82c33c4?auto=format&fit=crop&w=1600&q=80');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  padding: 150px 0;
  color: white;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 50%, rgba(255, 107, 53, 0.2) 0%, transparent 50%),
              radial-gradient(circle at 80% 80%, rgba(108, 92, 231, 0.2) 0%, transparent 50%);
  animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 700;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  position: relative;
  z-index: 1;
}

.hero .lead {
  font-size: 1.4rem;
  opacity: 0.95;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  position: relative;
  z-index: 1;
}

.hero .btn {
  position: relative;
  z-index: 1;
  padding: 15px 40px;
  font-size: 1.1rem;
  border: 2px solid white;
  transition: all 0.3s ease;
  overflow: hidden;
}

.hero .btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: white;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
}

.hero .btn:hover::before {
  width: 300px;
  height: 300px;
}

.hero .btn:hover {
  color: var(--brand-dark) !important;
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.hero .btn span {
  position: relative;
  z-index: 1;
}

/* ABOUT SECTION with modern card design */

.section-bg {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 30px;
  margin: 40px 0;
  padding: 80px 0;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  position: relative;
}

.section-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--brand), var(--accent-purple), var(--accent-orange), var(--brand-light));
  background-size: 300% 100%;
  animation: gradientSlide 3s ease infinite;
  border-radius: 30px 30px 0 0;
}

@keyframes gradientSlide {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.section-bg img {
  border-radius: 20px;
  box-shadow: 0 15px 50px rgba(15, 139, 141, 0.3);
  transition: all 0.3s ease;
}

.section-bg img:hover {
  transform: scale(1.05) rotate(2deg);
  box-shadow: 0 20px 60px rgba(15, 139, 141, 0.5);
}

.section-title {
  font-weight: 700;
  font-size: 2.5rem;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--brand-dark), var(--accent-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  display: inline-block;
  width: auto;

  display: block;
  text-align: center;
  width: 100%;
}

.section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--brand), var(--accent-orange));
  margin: 15px auto; /* keeps underline centered */
  border-radius: 2px;
  animation: expandWidth 2s ease-in-out infinite;
}


@keyframes expandWidth {
  0%, 100% { width: 80px; }
  50% { width: 120px; }
}

.why-list {
  list-style: none;
  margin-left: 0;
  padding-left: 0;
}

.why-list li {
  margin: 12px 0;
  padding: 15px 15px 15px 50px;
  position: relative;
  background: linear-gradient(135deg, rgba(15, 139, 141, 0.05), rgba(108, 92, 231, 0.05));
  border-radius: 10px;
  border-left: 4px solid var(--brand);
  transition: all 0.3s ease;
}

.why-list li:hover {
  transform: translateX(10px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  border-left-color: var(--accent-orange);
}

.why-list li::before {
  content: '✓';
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: white;
  background: linear-gradient(135deg, var(--brand), var(--brand-light));
  width: 25px;
  height: 25px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;  
  font-size: 0.9rem;
}

/* CAROUSEL with stunning design */
.carousel-section {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 30px;
  margin: 40px 20px;
  padding: 60px 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

#productCarousel {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
}

/* Wrapper div that centers content */
.carousel-content-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.carousel-content-wrapper > img,
.carousel-content-wrapper > .carousel-caption {
    max-width: 800px;
    width: 100%;
}

.carousel-img {
    height: 450px;
    object-fit: contain;
    width: 100%;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border-radius: 15px 15px 0 0;
}

.carousel-caption {
    position: relative !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
    padding: 25px 30px !important;
    border-radius: 0 0 15px 15px;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin-top: 0;
}

/* Unique background colors for each slide */
.carousel-item:nth-child(1) .carousel-caption {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.95), rgba(255, 165, 0, 0.95)) !important;
}

.carousel-item:nth-child(2) .carousel-caption {
    background: linear-gradient(135deg, rgba(15, 139, 141, 0.95), rgba(20, 184, 187, 0.95)) !important;
}

.carousel-item:nth-child(3) .carousel-caption {
    background: linear-gradient(135deg, rgba(108, 92, 231, 0.95), rgba(147, 51, 234, 0.95)) !important;
}

.carousel-item:nth-child(4) .carousel-caption {
    background: linear-gradient(135deg, rgba(34, 139, 34, 0.95), rgba(0, 128, 0, 0.95)) !important;
}

.carousel-item:nth-child(5) .carousel-caption {
    background: linear-gradient(135deg, rgba(85, 107, 47, 0.95), rgba(107, 142, 35, 0.95)) !important;
}

.carousel-item:nth-child(6) .carousel-caption {
    background: linear-gradient(135deg, rgba(139, 69, 19, 0.95), rgba(160, 82, 45, 0.95)) !important;
}

.carousel-caption h5 {
  font-weight: 700;
  font-size: 1.5rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: var(--brand);
  border-radius: 50%;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.carousel-item:nth-child(1) .carousel-caption {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.95), rgba(255, 165, 0, 0.95)) !important;
}

.carousel-item:nth-child(2) .carousel-caption {
    background: linear-gradient(135deg, rgba(15, 139, 141, 0.95), rgba(20, 184, 187, 0.95)) !important;
}

.carousel-item:nth-child(3) .carousel-caption {
    background: linear-gradient(135deg, rgba(108, 92, 231, 0.95), rgba(147, 51, 234, 0.95)) !important;
}

.carousel-caption h5 {
  font-weight: 700;
  font-size: 1.5rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: var(--brand);
  border-radius: 50%;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* CONTACT SECTION with vibrant design */
.section-bg-2 {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 30px;
  margin: 40px 0;
  padding: 80px 0;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  position: relative;
}

.section-bg-2::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--accent-orange), var(--brand), var(--accent-purple));
  background-size: 300% 100%;
  animation: gradientSlide 3s ease infinite;
  border-radius: 30px 30px 0 0;
}

.contact-box {
  border: 2px solid rgba(15, 139, 141, 0.2);
  background: white;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
  border-radius: 20px;
  overflow: hidden;
  position: relative;
}

.contact-box::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(15, 139, 141, 0.03) 0%, transparent 70%);
  animation: rotate 20s linear infinite;
}

@keyframes rotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.contact-info-section {
  border-right: 2px solid rgba(15, 139, 141, 0.15);
  padding: 30px;
  background: linear-gradient(135deg, rgba(15, 139, 141, 0.05), rgba(108, 92, 231, 0.05));
  position: relative;
  z-index: 1;
}

.contact-info-section h5 {
  color: var(--brand-dark);
  font-weight: 700;
}

.contact-form-section {
  padding: 30px;
  position: relative;
  z-index: 1;
}

.contact-form-section h5 {
  color: var(--brand-dark);
  font-weight: 700;
}

.form-control {
  border: 2px solid rgba(15, 139, 141, 0.2);
  border-radius: 10px;
  padding: 12px 15px;
  transition: all 0.3s ease;
}

.form-control:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 0.2rem rgba(15, 139, 141, 0.25);
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand), var(--accent-purple)) !important;
  border: none !important;
  padding: 12px 30px;
  font-weight: 600;
  border-radius: 10px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--accent-orange), var(--brand-light));
  transition: left 0.3s ease;
}

.btn-primary:hover::before {
  left: 0;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(15, 139, 141, 0.4);
}

.btn-primary span {
  position: relative;
  z-index: 1;
}

/* FOOTER with modern gradient */
footer {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
  margin-top: 60px;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand), var(--accent-purple), var(--accent-orange), var(--brand-light));
  background-size: 300% 100%;
  animation: gradientSlide 3s ease infinite;
}

footer::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  top: 0;
  background: radial-gradient(circle at 20% 50%, rgba(15, 139, 141, 0.1) 0%, transparent 50%),
              radial-gradient(circle at 80% 80%, rgba(108, 92, 231, 0.1) 0%, transparent 50%);
  opacity: 0.5;
}

footer h5 {
  font-weight: 700;
  color: var(--brand-light);
  margin-bottom: 20px;
  position: relative;
}

footer .container {
  position: relative;
  z-index: 1;
}

.footer-link {
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  position: relative;
}

.footer-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--brand-light);
  transition: width 0.3s ease;
}

.footer-link:hover::after {
  width: 100%;
}

.footer-link:hover {
  color: var(--brand-light) !important;
  transform: translateX(5px);
}

/* BACK TO TOP with animation */
#backToTop {
  position: fixed;
  right: 25px;
  bottom: 25px;
  z-index: 1200;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 0;
  background: linear-gradient(135deg, var(--brand), var(--accent-purple));
  color: white;
  font-weight: 700;
  font-size: 20px;
  display: none;
  box-shadow: 0 8px 25px rgba(15, 139, 141, 0.4);
  transition: all 0.3s ease;
  cursor: pointer;
}

#backToTop:hover {
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 12px 35px rgba(15, 139, 141, 0.6);
  animation: bounce 0.6s ease infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(-5px) scale(1.1); }
  50% { transform: translateY(-10px) scale(1.1); }
}

/* Responsive adjustments */
@media (max-width: 767px) {
  .hero {
    padding: 100px 0;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .carousel-img {
    height: 250px;
  }
  
  #productCarousel {
    margin: 0 -10px;
  }
  
  .section-bg {
    border-radius: 0;
    margin: 20px 0;
    padding: 50px 0;
  }

  .carousel-caption {
    position: relative;
    bottom: auto;
    left: 0;
    right: 0;
    transform: none;
    max-width:RetryMContinuecss;
    max-width: 100%;
    width: 100%;
    padding: 15px !important;
    margin-top: -5px;
    border-radius: 0 0 15px 15px;
  }
  
  .carousel-caption h5 {
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
  }
  
  .carousel-caption p {
    font-size: 0.75rem;
    margin-bottom: 0;
  }

  .contact-info-section {
    border-right: none;
    border-bottom: 2px solid rgba(15, 139, 141, 0.15);
    text-align: center;
  }
  
  .section-title {
    font-size: 2rem;
  }
}

/* Add floating animation for hero button */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.hero .btn {
  animation: float 3s ease-in-out infinite;
}

/* Smooth transitions for all interactive elements */
* {
  transition: color 0.3s ease, background-color 0.3s ease;
}

/* NEW BUTTON STYLE FOR "VIEW ALL PRODUCTS" */
.btn-view-all {
    background: linear-gradient(135deg, var(--brand), var(--accent-purple));
    color: white;
    padding: 15px 35px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    border: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    box-shadow: 0 8px 25px rgba(15, 139, 141, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-view-all::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--accent-orange), var(--brand-light));
    transition: left 0.4s ease;
}

.btn-view-all:hover::before {
    left: 0;
}

.btn-view-all:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(15, 139, 141, 0.5);
    color: white;
}

.btn-view-all span,
.btn-view-all svg {
    position: relative;
    z-index: 1;
}

/* PRODUCTS PAGE HERO */
.products-hero {
    background: linear-gradient(135deg, rgba(15, 139, 141, 0.9), rgba(107, 92, 231, 0.9)), 
                url('https://images.unsplash.com/photo-1556742049-0cfed4f6a45d?auto=format&fit=crop&w=1600&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 120px 0 80px 0;
    color: white;
    position: relative;
    overflow: hidden;
}

.products-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(255, 107, 53, 0.2) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(108, 92, 231, 0.2) 0%, transparent 50%);
    animation: pulse 8s ease-in-out infinite;
}

.products-hero h1 {
    font-size: 3rem;
    font-weight: 700;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 1;
}

.products-hero .lead {
    font-size: 1.3rem;
    opacity: 0.95;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 1;
}

/* BACK TO HOME BUTTON */
.btn-back-home {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    color: white;
    padding: 10px 25px;
    border-radius: 50px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    font-weight: 500;
    position: relative;
    z-index: 1;
}

.btn-back-home:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    color: white;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* PRODUCTS GRID SECTION */
.products-grid-section {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 30px;
    margin: 40px 0;
    position: relative;
}

.products-grid-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--brand), var(--accent-purple), var(--accent-orange), var(--brand-light));
    background-size: 300% 100%;
    animation: gradientSlide 3s ease infinite;
    border-radius: 30px 30px 0 0;
}

/* PRODUCT CARDS */
.product-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 2px solid transparent;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(15, 139, 141, 0.25);
    border-color: var(--brand-light);
}

.product-card-img-wrapper {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.product-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.4s ease;
}

.product-card:hover .product-card-img {
    transform: scale(1.1);
}

.product-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(15, 139, 141, 0.85), rgba(108, 92, 231, 0.85));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s ease;
}

.product-card:hover .product-card-overlay {
    opacity: 1;
}

.product-icon {
    font-size: 4rem;
    transform: scale(0.5);
    transition: all 0.4s ease;
}

.product-card:hover .product-icon {
    transform: scale(1);
}

.product-card-body {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-card-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--brand-dark);
    margin-bottom: 15px;
    background: linear-gradient(135deg, var(--brand-dark), var(--accent-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.product-card-text {
    color: #666;
    line-height: 1.7;
    margin-bottom: 20px;
    flex-grow: 1;
}

.product-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.product-features li {
    padding: 8px 0 8px 30px;
    position: relative;
    color: #555;
    font-size: 0.95rem;
}

.product-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: white;
    background: linear-gradient(135deg, var(--brand), var(--brand-light));
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.8rem;
    top: 50%;
    transform: translateY(-50%);
}

/* CONTACT CTA SECTION */
.contact-cta-section {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 30px;
    margin: 40px 0;
    position: relative;
}

.contact-cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--accent-orange), var(--brand), var(--accent-purple));
    background-size: 300% 100%;
    animation: gradientSlide 3s ease infinite;
    border-radius: 30px 30px 0 0;
}

.contact-cta-box {
    background: linear-gradient(135deg, rgba(15, 139, 141, 0.1), rgba(108, 92, 231, 0.1));
    border: 2px solid var(--brand-light);
    border-radius: 20px;
    padding: 50px 40px;
    position: relative;
    overflow: hidden;
}

.contact-cta-box::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(15, 139, 141, 0.05) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

.contact-cta-box h3 {
    color: var(--brand-dark);
    font-weight: 700;
    font-size: 2rem;
}

.contact-cta-box .lead {
    color: #555;
    font-size: 1.1rem;
}

.btn-contact-cta {
    background: linear-gradient(135deg, var(--accent-orange), var(--brand-light));
    color: white;
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    border: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-contact-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--brand), var(--accent-purple));
    transition: left 0.4s ease;
}

.btn-contact-cta:hover::before {
    left: 0;
}

.btn-contact-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(255, 107, 53, 0.5);
    color: white;
}

.btn-contact-cta span,
.btn-contact-cta svg {
    position: relative;
    z-index: 1;
}

/* BRAND DISTRIBUTION VIDEO SECTION */
.video-section {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 30px;
    margin: 40px 0;
    padding: 80px 0;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    position: relative;
}

.video-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--accent-orange), var(--brand), var(--accent-purple), var(--brand-light));
    background-size: 300% 100%;
    animation: gradientSlide 3s ease infinite;
    border-radius: 30px 30px 0 0;
}

.video-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    border: 2px solid transparent;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.video-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(15, 139, 141, 0.3);
    border-color: var(--brand-light);
}

.video-card-header {
    padding: 25px;
    background: linear-gradient(135deg, rgba(15, 139, 141, 0.1), rgba(108, 92, 231, 0.1));
    border-bottom: 2px solid rgba(15, 139, 141, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.video-card-header h4 {
    margin: 0;
    font-weight: 700;
    font-size: 1.4rem;
    background: linear-gradient(135deg, var(--brand-dark), var(--accent-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.badge-distributor {
    background: linear-gradient(135deg, var(--accent-orange), var(--brand-light));
    color: white;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
    display: inline-block;
}

.video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    overflow: hidden;
}

.video-player {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    object-fit: cover;
}

.video-player::-webkit-media-controls-panel {
    background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.7));
}

.video-card-footer {
    padding: 20px 25px;
    background: linear-gradient(135deg, rgba(15, 139, 141, 0.05), rgba(108, 92, 231, 0.05));
    border-top: 2px solid rgba(15, 139, 141, 0.1);
}

.video-card-footer p {
    color: #555;
    font-size: 0.95rem;
    font-weight: 500;
}

/* Animation for video cards on hover */
.video-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, var(--brand), var(--accent-purple), var(--accent-orange), var(--brand-light));
    border-radius: 20px;
    opacity: 0;
    z-index: -1;
    transition: opacity 0.4s ease;
}

.video-card:hover::before {
    opacity: 0.3;
}

/* RESPONSIVE ADJUSTMENTS FOR PRODUCTS PAGE */
@media (max-width: 767px) {
    .products-hero {
        padding: 80px 0 60px 0;
    }
    
    .products-hero h1 {
        font-size: 2rem;
    }
    
    .products-hero .lead {
        font-size: 1rem;
    }
    
    .product-card-img-wrapper {
        height: 200px;
    }
    
    .contact-cta-box {
        padding: 30px 20px;
    }
    
    .contact-cta-box h3 {
        font-size: 1.5rem;
    }
    
    .btn-view-all {
        padding: 12px 25px;
        font-size: 1rem;
    }

/* Add this inside the existing @media (max-width: 767px) block */
.video-section {
    border-radius: 0;
    margin: 20px 0;
    padding: 50px 0;
}

.video-card-header {
    padding: 20px;
}

.video-card-header h4 {
    font-size: 1.1rem;
}

.badge-distributor {
    font-size: 0.75rem;
    padding: 6px 15px;
}

.video-card-footer {
    padding: 15px 20px;
}
}